:root {
  --blue: #0878f9;
  --blue-deep: #063ec8;
  --navy: #071c43;
  --yellow: #ffc31a;
  --ink: #101b32;
  --muted: #59667d;
  --line: #dfe7f3;
  --soft: #f2f7ff;
  --white: #fff;
  --max: 1180px;
  --radius-lg: 34px;
  --radius-md: 22px;
  --shadow: 0 26px 70px rgba(9, 55, 130, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: 110px 0; }
.section--soft { background: var(--soft); }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(3.2rem, 6.4vw, 5.8rem); line-height: 1.04; letter-spacing: -.065em; }
h2 { margin-bottom: 22px; font-size: clamp(2.15rem, 4vw, 3.9rem); line-height: 1.12; letter-spacing: -.045em; }
h3 { margin-bottom: 12px; font-size: 1.3rem; letter-spacing: -.025em; }
.lead { max-width: 620px; color: var(--muted); font-size: clamp(1.04rem, 1.4vw, 1.22rem); }
.accent { color: var(--blue); }
.accent-yellow { color: var(--yellow); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 15px; color: #fff; background: var(--navy); border-radius: 10px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(223,231,243,.8); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 126px; }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: .94rem; font-weight: 700; }
.nav-links a { padding: 8px 0; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--blue); }
.nav-toggle { display: none; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff; font-weight: 800; cursor: pointer; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 13px; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .nav-toggle:focus-visible, a:focus-visible { outline: 3px solid rgba(8,120,249,.28); outline-offset: 4px; }
.btn--primary { color: #fff; background: var(--blue); box-shadow: 0 14px 28px rgba(8,120,249,.22); }
.btn--secondary { color: var(--blue); background: #fff; border-color: var(--blue); }
.btn--yellow { color: var(--navy); background: var(--yellow); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }

.hero { min-height: 760px; display: grid; align-items: center; padding: 90px 0 100px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 58px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-visual { min-width: 0; }
.hero-visual img { width: 100%; max-height: 580px; object-fit: cover; object-position: center; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero-note { margin-top: 18px; color: #7a8699; font-size: .86rem; }

.section-head { max-width: 700px; margin-bottom: 58px; }
.section-head.center { margin-inline: auto; text-align: center; }
.value-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-item { padding: 38px 34px; }
.value-item + .value-item { border-left: 1px solid var(--line); }
.value-index { display: block; margin-bottom: 26px; color: var(--blue); font-size: .82rem; font-weight: 900; letter-spacing: .12em; }
.value-item p { margin-bottom: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 74px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.reverse .split-copy { order: 2; }
.split.reverse .product-visual { order: 1; }
.product-visual { display: grid; min-height: 390px; place-items: center; padding: 36px; background: var(--soft); border-radius: var(--radius-lg); overflow: hidden; }
.product-visual img { max-height: 370px; object-fit: contain; }
.product-visual--dark { background: var(--navy); }
.detail-list { padding: 0; margin: 28px 0 0; list-style: none; border-top: 1px solid var(--line); }
.detail-list li { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.detail-list b { color: var(--blue); }

.journey { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 0; }
.journey-step { padding: 38px 34px; background: #fff; border: 1px solid var(--line); }
.journey-step + .journey-step { border-left: 0; }
.journey-step:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.journey-step:last-child { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.journey-step strong { display: block; margin-bottom: 18px; color: var(--blue); font-size: 2.2rem; }
.journey-step p { margin-bottom: 0; color: var(--muted); }

.global-band { padding: 84px 0; background: var(--soft); }
.global-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.language-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.language-list span { padding: 20px; color: var(--blue); background: #fff; border: 1px solid var(--line); border-radius: 16px; font-weight: 800; text-align: center; }

.contact-band { padding: 76px 0; text-align: center; }
.contact-band h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); }
.contact-band .btn-row { justify-content: center; }
.site-footer { padding: 52px 0; color: #6d788b; background: #f6f8fc; border-top: 1px solid var(--line); font-size: .82rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 40px; }
.footer-brand img { width: 112px; margin-bottom: 18px; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; gap: 18px; font-weight: 700; }

/* Version 1: Global Signal */
.theme-global .brand, .theme-human .brand { padding: 5px 12px; background: var(--blue-deep); border-radius: 12px; }
.theme-global .hero h1 { font-size: clamp(3.15rem, 5.9vw, 5.45rem); }
.theme-global .hero-visual img { aspect-ratio: 1.08 / .95; object-position: 54% center; }
.theme-global .global-band { background: #eaf3ff; }
.theme-global .energy-messenger { color: var(--ink); background: #eaf3ff; }
.theme-global .energy-messenger .lead { color: var(--muted); }
.theme-global .feature-points { border-top-color: #cbd8ea; }
.theme-global .feature-points article { border-bottom-color: #cbd8ea; }
.theme-global .feature-points b { color: var(--blue); }
.theme-global .feature-points span { color: var(--muted); }
.theme-global .feature-showcase-visual { box-shadow: var(--shadow); }
.theme-global .partner-section { background: var(--blue-deep); }

/* Version 2: Connected Energy */
.theme-energy { --soft: #edf4ff; }
.theme-energy .site-header { color: #fff; background: rgba(2,42,139,.96); border-bottom-color: rgba(255,255,255,.14); }
.theme-energy .brand { padding: 0; background: transparent; border-radius: 0; }
.theme-energy .brand img { width: 140px; }
.theme-energy .nav-links a:hover, .theme-energy .nav-links a:focus-visible { color: var(--yellow); }
.theme-energy .nav-toggle { color: #fff; background: transparent; border-color: rgba(255,255,255,.4); }
.theme-energy .hero { color: #fff; background: #073bc8; }
.theme-energy .hero .lead, .theme-energy .hero-note { color: #dce8ff; }
.theme-energy .hero-visual img { max-height: 600px; aspect-ratio: .92 / 1; object-fit: cover; object-position: 43% center; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.energy-signature { padding: 34px 0; background: #fff; border-bottom: 1px solid var(--line); }
.signature-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.signature-grid p { margin: 0; padding: 12px 28px; }
.signature-grid p + p { border-left: 1px solid var(--line); }
.signature-grid strong, .signature-grid span { display: block; }
.signature-grid strong { color: var(--blue); font-size: 1.08rem; }
.signature-grid span { margin-top: 3px; color: var(--muted); font-size: .88rem; }
.energy-messenger { color: #fff; background: #053aa8; }
.energy-messenger .lead { color: #d8e6ff; }
.feature-showcase { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.feature-showcase-visual { margin: 0; min-height: 520px; display: grid; place-items: center; padding: 34px; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.feature-showcase-visual img { width: 100%; max-height: 500px; object-fit: contain; }
.feature-points { margin-top: 36px; border-top: 1px solid rgba(255,255,255,.2); }
.feature-points article { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.feature-points b { color: var(--yellow); }
.feature-points span { color: #d8e6ff; }
.theme-energy .energy-cash { color: #fff; background: #071d4a; }
.theme-energy .energy-cash .lead { color: #d4def0; }
.theme-energy .energy-cash .product-visual { background: #0d2b65; }
.energy-detail-list { padding: 0; margin: 32px 0 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.energy-detail-list li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.energy-detail-list b { color: var(--yellow); }
.energy-detail-list span { color: #d4def0; }
.platform-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.platform-item { min-height: 190px; padding: 26px 24px; background: #fff; border: 1px solid #cbd8ea; border-radius: 18px; box-shadow: 0 12px 30px rgba(9, 55, 130, .06); }
.platform-item span { display: inline-flex; min-width: 38px; height: 30px; align-items: center; justify-content: center; margin-bottom: 20px; padding: 0 10px; color: var(--blue); background: #eaf3ff; border-radius: 999px; font-size: .76rem; font-weight: 900; letter-spacing: .1em; }
.platform-item h3 { margin-bottom: 8px; font-size: 1.14rem; }
.platform-item p { max-width: 420px; margin-bottom: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.partner-section { padding: 110px 0; color: #fff; background: #0b2d73; }
.partner-section .lead { color: #d7e4fb; }
.partner-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.partner-list { border-top: 1px solid rgba(255,255,255,.2); }
.partner-list article { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.partner-list b { color: var(--yellow); font-size: 1.08rem; }
.partner-list span { color: #d7e4fb; }
.theme-energy .energy-global { color: #fff; background: #062765; }
.theme-energy .energy-global .lead { color: #d7e3fb; }
.theme-energy .energy-global .language-list span { color: #fff; background: #0b3c94; border-color: rgba(255,255,255,.18); }
.energy-faq { background: #fff; }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.faq-list { border-top: 2px solid var(--navy); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; font-size: 1.08rem; font-weight: 800; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { flex: 0 0 auto; color: var(--blue); font-size: .78rem; font-weight: 800; }
.faq-item p { margin: 0; padding: 0 48px 24px 0; color: var(--muted); }
.theme-energy .contact-band { background: var(--soft); }
.theme-energy .site-footer { color: #cbd7ea; background: #041b46; border-top-color: rgba(255,255,255,.14); }
.theme-energy .site-footer strong, .theme-energy .site-footer a { color: #fff; }

/* Version 3: Human Network */
.theme-human .site-header { position: relative; }
.theme-human .hero { min-height: 700px; }
.theme-human .hero h1 { font-size: clamp(3rem, 5.6vw, 5.15rem); }
.theme-human .hero-visual img { aspect-ratio: 1.2 / .9; object-position: center; box-shadow: none; }
.theme-human .human-signature { background: #f6f8fc; }
.theme-human .human-messenger { background: var(--navy); }
.theme-human .human-partner { background: #102b5b; }
.theme-human .platform-item { border-radius: 8px; box-shadow: none; }
.manifesto { padding: 64px 0; color: #fff; background: var(--navy); }
.manifesto-grid { display: grid; grid-template-columns: .8fr 2.2fr; gap: 72px; align-items: center; }
.manifesto-grid h2 { margin-bottom: 0; font-size: clamp(2rem, 3vw, 3rem); }
.manifesto .value-list { border-color: rgba(255,255,255,.18); }
.manifesto .value-item { padding-block: 20px; }
.manifesto .value-item + .value-item { border-color: rgba(255,255,255,.18); }
.manifesto .value-item p { color: #c9d4e8; }
.story { display: grid; grid-template-columns: .7fr 1.3fr; gap: 76px; align-items: start; }
.story .journey { grid-template-columns: 1fr; }
.story .journey-step { border-radius: 0; border-width: 0 0 1px; }
.story .journey-step + .journey-step { border-left: 0; }
.story .journey-step:first-child, .story .journey-step:last-child { border-radius: 0; }
.reward-rows { border-top: 1px solid var(--line); }
.reward-row { display: grid; grid-template-columns: 150px .7fr 1.3fr; gap: 38px; align-items: center; padding: 38px 0; border-bottom: 1px solid var(--line); }
.reward-row img { width: 84px; max-height: 84px; object-fit: contain; }
.reward-row p { margin-bottom: 0; color: var(--muted); }
.theme-human .contact-band { background: #eaf3ff; }

[data-reveal] { opacity: 1; transform: none; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .section { padding: 78px 0; }
  .hero { min-height: auto; padding: 64px 0 78px; }
  .hero-grid, .split, .global-grid, .manifesto-grid, .story, .feature-showcase, .partner-grid, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-visual, .feature-showcase-visual { width: 100%; max-width: 100%; min-width: 0; }
  .hero-visual { order: -1; }
  .hero-visual img { max-height: 430px; }
  .split.reverse .split-copy, .split.reverse .product-visual { order: initial; }
  .value-list, .journey { grid-template-columns: 1fr; }
  .value-item + .value-item { border-left: 0; border-top: 1px solid var(--line); }
  .journey-step, .journey-step:first-child, .journey-step:last-child { border-radius: 0; }
  .journey-step + .journey-step { border-top: 0; border-left: 1px solid var(--line); }
  .language-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .reward-row { grid-template-columns: 90px 1fr; }
  .reward-row p { grid-column: 2; }
  .signature-grid { grid-template-columns: repeat(2, 1fr); }
  .signature-grid p:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .signature-grid p:nth-child(4) { border-top: 1px solid var(--line); }
  .feature-showcase-visual { order: -1; min-height: 390px; }
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { min-height: 68px; }
  .brand img { width: 108px; }
  .nav-toggle { display: inline-flex; }
  .nav-links { position: fixed; inset: 68px 0 auto; display: none; padding: 24px 20px 30px; color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 8px; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 8px; }
  h1 { font-size: clamp(2.6rem, 13vw, 4.2rem); }
  h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-grid { gap: 38px; }
  .hero-visual img { max-height: 330px; border-radius: 22px; }
  .btn { width: 100%; }
  .product-visual { min-height: 300px; padding: 22px; }
  .product-visual img { max-height: 280px; }
  .language-list { grid-template-columns: 1fr 1fr; }
  .reward-row { grid-template-columns: 68px 1fr; gap: 20px; }
  .reward-row img { width: 58px; }
  .signature-grid { grid-template-columns: 1fr; }
  .signature-grid p + p, .signature-grid p:nth-child(3), .signature-grid p:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
  .feature-showcase-visual { min-height: 300px; padding: 20px; }
  .feature-showcase-visual img { max-height: 280px; }
  .feature-points article, .energy-detail-list li, .partner-list article { grid-template-columns: 1fr; gap: 4px; }
  .platform-grid { grid-template-columns: minmax(0, 1fr); }
  .platform-item { min-height: auto; padding: 24px; }
  .faq-item summary { min-height: 68px; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
