/* Solariza: shared design tokens for the page, calculator and dialogs. */
:root {
  --ink: #071914;
  --ink-deep: #03100c;
  --forest: #0a352a;
  --surface: #08251b;
  --green: #16d87a;
  --green-hover: #37e98d;
  --green-soft: #8affbd;
  --white: #f7fffb;
  --text-secondary: #c5d8ce;
  --muted: #a8beb4;
  --error: #ffaaaa;
  --green-rgb: 22, 216, 122;
  --soft-rgb: 138, 255, 189;
  --line: rgba(var(--soft-rgb), .18);
  --line-strong: rgba(var(--soft-rgb), .32);
  --glass: rgba(10, 53, 42, .46);
  --surface-hover: rgba(var(--green-rgb), .09);
  --sans: 'Manrope', Arial, sans-serif;
  --mono: 'DM Mono', monospace;
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-h3: 1.25rem;
  --text-h2: clamp(2rem, 4.1vw, 3.5rem);
  --text-dialog: clamp(1.5rem, 3vw, 2rem);
  --leading-body: 1.65;
  --leading-heading: 1.1;
  --tracking-heading: -.045em;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-section: clamp(72px, 9vw, 112px);
  --gutter: 32px;
  --panel-padding: 32px;
  --radius-sm: 8px;
  --radius-panel: 12px;
  --radius-pill: 999px;
  --focus-ring: 3px solid var(--green-soft);
  font-synthesis: none;
  color-scheme: dark;
}

/* Foundation */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); scroll-padding-top: var(--space-8); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--white);
  font: 400 var(--text-base)/var(--leading-body) var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
:where(a, button, input, select, summary):focus-visible { outline: var(--focus-ring); outline-offset: var(--space-1); }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: var(--green-soft); }
.section-shell, .topbar, .footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip-link { position: fixed; z-index: 100; top: -80px; left: var(--space-4); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font-weight: 800; text-decoration: none; }
.skip-link:focus { top: var(--space-4); }
.site-aurora { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .54; background: radial-gradient(circle at 77% 7%, rgba(var(--green-rgb), .13), transparent 22%), radial-gradient(circle at 4% 50%, rgba(var(--green-rgb), .06), transparent 23%); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

/* Typography: one hierarchy across all content surfaces. */
h2 { font-size: var(--text-h2); line-height: var(--leading-heading); letter-spacing: var(--tracking-heading); font-weight: 700; }
h3 { font-size: var(--text-h3); line-height: 1.3; letter-spacing: -.025em; font-weight: 700; }
h1 em, h2 em { color: var(--green); font-style: normal; text-shadow: 0 0 32px rgba(var(--green-rgb), .16); }
.eyebrow, .panel-label, .card-kicker { color: var(--green-soft); font: 500 var(--text-xs)/1.5 var(--mono); letter-spacing: .1em; }
.eyebrow { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-4); }
.panel-label, .card-kicker { display: block; margin-bottom: var(--space-6); }
.section-heading { max-width: 780px; margin-bottom: var(--space-12); }

/* Navigation and shared actions */
.topbar { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.wordmark { display: inline-flex; flex-shrink: 0; align-items: center; line-height: 0; text-decoration: none; border-radius: var(--radius-sm); }
.wordmark-logo { display: block; width: auto; height: 48px; }
.desktop-nav { display: flex; align-items: center; gap: var(--space-6); margin-left: auto; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-secondary); font-size: var(--text-sm); font-weight: 700; text-decoration: none; transition: color .2s; white-space: nowrap; }
.desktop-nav a:hover { color: var(--green-soft); }
.nav-cta { flex-shrink: 0; min-height: 44px; padding: var(--space-3) var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--glass); color: var(--white); font-size: var(--text-xs); font-weight: 800; line-height: 1.5; transition: background .2s, transform .2s; }
.nav-cta:hover { transform: translateY(-2px); background: var(--surface-hover); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-4); min-height: 56px; padding: var(--space-4) var(--space-6); border: 0; border-radius: var(--radius-sm); font-size: var(--text-xs); font-weight: 800; line-height: 1.5; letter-spacing: .035em; text-align: center; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.button > [aria-hidden='true'] { flex-shrink: 0; }
.button:hover { transform: translateY(-2px); }
.button-primary, .button-inverse { background: var(--green); color: var(--ink); box-shadow: 0 12px 32px rgba(var(--green-rgb), .18), inset 0 1px 0 rgba(255, 255, 255, .4); }
.button-primary:hover, .button-inverse:hover { background: var(--green-hover); box-shadow: 0 16px 40px rgba(var(--green-rgb), .25); }
.text-link, .source-link { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; color: var(--green-soft); font-size: var(--text-sm); font-weight: 700; text-decoration: none; transition: color .2s; }
.text-link:hover, .source-link:hover { color: var(--white); }

/* Hero */
.hero { min-height: 688px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; padding-block: var(--space-16) var(--space-section); }
.hero-copy { position: relative; z-index: 3; min-width: 0; max-width: 680px; }
.pulse-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: signal 2s infinite; }
.welcome { display: inline-block; margin-bottom: var(--space-6); padding: var(--space-2) var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--glass); color: var(--text-secondary); font-size: var(--text-xs); line-height: var(--leading-body); }
.welcome strong { color: var(--green-soft); }
h1 { max-width: 670px; margin-bottom: var(--space-6); font-size: clamp(2.75rem, 5.7vw, 5.125rem); line-height: 1.02; letter-spacing: -.06em; font-weight: 800; }
.hero-description { max-width: 565px; margin-bottom: var(--space-8); color: var(--text-secondary); font-size: var(--text-lg); }
.hero-description strong { color: var(--white); font-weight: 700; }
.hero-actions { display: flex; gap: var(--space-6); align-items: center; flex-wrap: wrap; }
.trust-line { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); color: var(--muted); font-size: var(--text-xs); }
.trust-line i { width: 1px; height: 16px; background: var(--line); }
.trust-icon { color: var(--green); font-size: var(--text-base); }
.hero-visual { position: relative; min-width: 0; min-height: 568px; display: flex; align-items: center; justify-content: center; perspective: 900px; isolation: isolate; }
.energy-orb { position: relative; z-index: 3; display: block; width: min(95%, 520px); aspect-ratio: 1; object-fit: contain; filter: saturate(1.18) contrast(1.06) drop-shadow(0 24px 44px rgba(0, 0, 0, .45)); transform: translateZ(18px); transition: transform .18s ease-out; mix-blend-mode: screen; }
.orb-fallback { position: absolute; z-index: 2; width: 52%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 28%, var(--green-soft) 0%, var(--green-hover) 9%, #0a7a4a 38%, var(--forest) 67%, transparent 70%); box-shadow: 0 0 56px 20px rgba(var(--green-rgb), .24), 0 0 136px 48px rgba(var(--green-rgb), .11); animation: breathe 5s ease-in-out infinite; }
.orbit { position: absolute; z-index: 1; left: 50%; top: 50%; border: 1px solid var(--line); border-radius: 50%; transform-style: preserve-3d; }
.orbit-one { width: 75%; height: 27%; transform: translate(-50%, -50%) rotateX(68deg) rotateZ(-18deg); animation: spin-orbit 15s linear infinite; }
.orbit-two { width: 74%; height: 36%; transform: translate(-50%, -50%) rotateX(73deg) rotateY(14deg) rotateZ(44deg); animation: spin-orbit 19s linear infinite reverse; }
.orb-halo { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.halo-one { width: 84%; aspect-ratio: 1; background: radial-gradient(circle, rgba(var(--green-rgb), .1) 0, transparent 61%); animation: halo 5s ease-in-out infinite; }
.halo-two { width: 100%; aspect-ratio: 1; opacity: .4; }
.orb-particle { position: absolute; z-index: 4; width: 6px; aspect-ratio: 1; border-radius: 50%; background: var(--green-soft); box-shadow: 0 0 12px 4px rgba(var(--green-rgb), .6); }
.particle-one { top: 20%; left: 19%; animation: float-one 7s ease-in-out infinite; }
.particle-two { right: 15%; bottom: 29%; width: 4px; animation: float-one 5s ease-in-out -1s infinite reverse; }
.particle-three { top: 27%; right: 27%; width: 3px; animation: float-one 8s ease-in-out -3s infinite; }
.orb-card { position: absolute; z-index: 5; display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-3); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: rgba(8, 37, 27, .72); box-shadow: 0 12px 24px rgba(0, 0, 0, .22); backdrop-filter: blur(8px); color: var(--green-soft); font-family: var(--mono); }
.orb-card span { font-size: var(--text-xs); letter-spacing: .1em; }
.orb-card b { font-size: var(--text-sm); letter-spacing: .05em; }
.card-energy { left: 7%; top: 33%; }
.card-saving { right: 3%; bottom: 23%; }
.card-saving b { font-size: 1.5rem; line-height: 1; }
.visual-caption { position: absolute; z-index: 6; bottom: 3%; color: var(--muted); font: 500 var(--text-xs)/1.5 var(--mono); text-align: center; }
.visual-caption span { color: var(--green); }

/* Shared section rhythm and panels */
.explain, .benefits, .calculator, .faq, .final-cta { padding-block: var(--space-section); }
.explain-layout, .faq-layout { display: grid; gap: var(--space-16); align-items: start; }
.explain-layout { grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); }
.explain-panel, .benefit-card, .calculator-panel { border: 1px solid var(--line); border-radius: var(--radius-panel); padding: var(--panel-padding); background: var(--glass); }
.signal-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); background: rgba(3, 16, 12, .48); }
.signal-strip > div { min-height: 80px; display: flex; justify-content: center; align-items: center; gap: var(--space-4); padding: var(--space-4); border-right: 1px solid var(--line); color: var(--text-secondary); font-size: var(--text-sm); font-weight: 700; }
.signal-strip > div:last-child { border-right: 0; }
.strip-index { color: var(--green); font: 500 var(--text-xs)/1.5 var(--mono); }
.explain-panel { position: sticky; top: var(--space-8); background: linear-gradient(140deg, var(--glass), var(--surface)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.explain-panel > p { margin-bottom: var(--space-6); color: var(--text-secondary); font-size: var(--text-lg); }
.explain-panel .small-copy { color: var(--muted); font-size: var(--text-sm); }
.source-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.source-link { font-size: var(--text-xs); }
.steps-list { list-style: none; padding: 0; margin: 0; }
.steps-list li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-6); padding-bottom: var(--space-10); }
.steps-list li:last-child { padding-bottom: 0; }
.steps-list li:not(:last-child)::before { content: ''; position: absolute; top: 56px; left: 24px; bottom: 8px; width: 1px; background: linear-gradient(var(--green), transparent); }
.step-number { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--green); font: 500 var(--text-xs)/1.5 var(--mono); box-shadow: inset 0 0 16px rgba(var(--green-rgb), .08); }
.steps-list h3 { margin: var(--space-2) 0 var(--space-3); }
.steps-list p { max-width: 390px; color: var(--muted); font-size: var(--text-base); }
.benefits { background: linear-gradient(180deg, transparent, rgba(10, 53, 42, .3) 48%, transparent); }
.benefit-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.benefit-card { position: relative; min-height: 288px; overflow: hidden; padding: var(--space-6); transition: transform .2s, border-color .2s, background .2s; }
.benefit-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-hover); }
.benefit-card h3 { position: relative; z-index: 2; margin: var(--space-4) 0 var(--space-3); }
.benefit-card p { position: relative; z-index: 2; color: var(--muted); font-size: var(--text-sm); }
.benefit-featured { border-color: var(--line-strong); background: radial-gradient(circle at 10% 85%, rgba(var(--green-rgb), .18), transparent 38%), var(--glass); }
.benefit-card .percent { color: var(--text-secondary); font: 500 var(--text-base)/1.5 var(--mono); }
.percent strong { display: block; margin-top: var(--space-2); color: var(--green); font: 800 clamp(3.5rem, 5vw, 4.5rem)/1 var(--sans); letter-spacing: -.06em; }
.benefit-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--green); font: 1.5rem var(--mono); }
.light-radar { position: absolute; width: 240px; height: 240px; right: -104px; bottom: -112px; border-radius: 50%; border: 1px solid var(--line); }
.light-radar i { position: absolute; inset: 17%; border: 1px solid var(--line); border-radius: 50%; }
.light-radar i:nth-child(2) { inset: 35%; }
.light-radar i:nth-child(3) { inset: 49%; background: var(--green); box-shadow: 0 0 16px var(--green); }
.legal-inline { max-width: 780px; margin-top: var(--space-6); color: var(--muted); font-size: var(--text-xs); }

/* Calculator */
.calculator { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: var(--space-16); }
.calculator-copy h2 { max-width: 550px; margin-bottom: var(--space-6); }
.calculator-copy > p:not(.eyebrow) { max-width: 455px; color: var(--text-secondary); font-size: var(--text-base); }
.calculator-copy > p.calculator-note { margin-top: var(--space-6); padding-left: var(--space-4); border-left: 2px solid var(--green); color: var(--muted); font-size: var(--text-sm); }
.calculator-panel { position: relative; min-width: 0; overflow: hidden; background: radial-gradient(circle at 100% 0%, rgba(var(--green-rgb), .12), transparent 34%), var(--surface); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 20px 48px rgba(0, 0, 0, .18); }
.calculator-panel-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6); }
.calculator-panel-head .panel-label { margin: 0; }
.calc-badge { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--green-soft); font: 500 var(--text-xs)/1.5 var(--mono); letter-spacing: .05em; }
.calc-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.calc-label { display: block; margin-bottom: var(--space-2); color: var(--text-secondary); font-size: var(--text-sm); font-weight: 700; }
.calc-input-wrap { display: flex; align-items: center; gap: var(--space-3); padding-inline: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(3, 16, 12, .45); color: var(--green-soft); font: 500 var(--text-sm)/1.5 var(--mono); }
.calc-input-wrap:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(var(--green-rgb), .12); }
.calc-input-wrap input { min-width: 0; min-height: 56px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--white); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.calc-input-wrap input:focus, .calc-input-wrap input:focus-visible { outline: none; box-shadow: none; }
.calc-range { display: block; width: 100%; height: 44px; min-height: 44px; margin: var(--space-2) 0 0; padding: 0; border: 0; appearance: none; background: transparent; cursor: pointer; accent-color: var(--green); }
.calc-range::-webkit-slider-runnable-track { height: 4px; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--green), var(--line-strong)); }
.calc-range::-moz-range-track { height: 4px; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--green), var(--line-strong)); }
.calc-range::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -8px; appearance: none; border: 3px solid var(--ink); border-radius: 50%; background: var(--green-soft); box-shadow: 0 0 0 2px var(--green); }
.calc-range::-moz-range-thumb { width: 14px; height: 14px; border: 3px solid var(--ink); border-radius: 50%; background: var(--green-soft); box-shadow: 0 0 0 2px var(--green); }
.range-ends { display: flex; justify-content: space-between; color: var(--muted); font: 400 var(--text-xs)/1.5 var(--mono); }
.calc-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-6); }
.calc-result-main, .calc-result-secondary { min-width: 0; min-height: 144px; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(3, 16, 12, .45); }
.result-label { display: block; min-height: 3em; margin-bottom: var(--space-3); color: var(--muted); font: 500 var(--text-xs)/1.5 var(--mono); letter-spacing: .03em; }
.calc-result-main strong, .calc-result-secondary strong { display: block; color: var(--green-soft); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.2; letter-spacing: -.04em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.calc-result-secondary strong { color: var(--white); }
.calc-result-main small, .calc-result-secondary small { display: block; margin-top: var(--space-2); color: var(--muted); font-size: var(--text-xs); line-height: 1.5; }
.calc-meter { height: 4px; margin-top: var(--space-3); overflow: hidden; border-radius: var(--radius-pill); background: var(--line); }
.calc-meter span { display: block; width: 15%; height: 100%; border-radius: inherit; background: var(--green); box-shadow: 0 0 12px rgba(var(--green-rgb), .7); }
.calc-footnote { margin-block: var(--space-4) var(--space-6); color: var(--muted); font-size: var(--text-xs); }
.calc-cta { width: 100%; }

/* Conversion, FAQ and footer */
.conversion { display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); width: calc(100% - var(--gutter) * 2); max-width: 1176px; padding: var(--space-16) var(--panel-padding); overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-panel); background: linear-gradient(110deg, var(--forest), var(--surface)); }
.conversion-content { position: relative; z-index: 2; min-width: 0; max-width: 610px; }
.conversion h2 { margin-bottom: var(--space-6); }
.conversion-content > p:not(.eyebrow) { max-width: 460px; margin-bottom: var(--space-8); color: var(--text-secondary); font-size: var(--text-base); }
.conversion-content > small { display: block; margin-top: var(--space-4); color: var(--muted); font-size: var(--text-xs); }
.conversion-glow { position: absolute; z-index: 0; width: 540px; height: 540px; right: -72px; top: 50%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--green-rgb), .22), rgba(var(--green-rgb), .08) 37%, transparent 65%); transform: translateY(-50%); }
.conversion-gauge { position: relative; z-index: 2; flex-shrink: 0; margin-right: var(--space-8); text-align: center; }
.gauge-ring { display: flex; align-items: center; justify-content: center; width: 176px; height: 176px; border: 12px solid var(--line); border-top-color: var(--green); border-right-color: var(--green-hover); border-radius: 50%; box-shadow: 0 0 44px rgba(var(--green-rgb), .19), inset 0 0 24px rgba(var(--green-rgb), .1); transform: rotate(-35deg); }
.gauge-ring span { color: var(--white); font-size: 3rem; font-weight: 800; letter-spacing: -.06em; transform: rotate(35deg); }
.gauge-ring small { color: var(--green); font-size: 1.25rem; }
.conversion-gauge p { margin-top: var(--space-4); color: var(--muted); font: 500 var(--text-xs)/1.5 var(--mono); }
.faq-layout { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); }
.faq-intro { color: var(--muted); font-size: var(--text-base); }
.faq-intro p { max-width: 320px; margin-bottom: var(--space-6); }
.faq-list { min-width: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: var(--space-6) var(--space-10) var(--space-6) 0; color: var(--white); font-size: var(--text-base); font-weight: 700; line-height: 1.5; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: var(--space-1); top: var(--space-4); color: var(--green); font: 400 2rem/1.5 var(--sans); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { max-width: 710px; padding: 0 var(--space-10) var(--space-6) 0; color: var(--muted); font-size: var(--text-sm); }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-10); border-top: 1px solid var(--line); }
.final-cta h2 { max-width: 670px; }
.final-cta .button { flex: 0 0 auto; }
.footer { display: grid; grid-template-columns: 1fr auto; gap: var(--space-6); padding-top: var(--space-8); padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.footer-links { display: flex; gap: var(--space-4); align-items: center; flex-wrap: wrap; }
.footer-links a, .footer-button { display: inline-flex; align-items: center; min-height: 44px; padding: var(--space-2) 0; border: 0; background: transparent; color: var(--muted); font-size: var(--text-xs); line-height: 1.5; text-decoration: none; cursor: pointer; }
.footer-links a:hover, .footer-button:hover { color: var(--green-soft); }
.footer > p { grid-column: 1 / -1; color: var(--muted); font-size: var(--text-xs); }
.whatsapp-fab { position: fixed; z-index: 20; right: max(var(--space-5), env(safe-area-inset-right, 0px)); bottom: calc(var(--space-5) + env(safe-area-inset-bottom, 0px)); display: flex; gap: var(--space-2); align-items: center; min-height: 48px; padding: var(--space-3) var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--green); box-shadow: 0 12px 28px rgba(0, 0, 0, .3); color: var(--ink); font-size: var(--text-xs); font-weight: 800; text-decoration: none; transition: transform .2s, background .2s; }
.whatsapp-fab:hover { transform: translateY(-2px); background: var(--green-hover); }
.whatsapp-fab span:first-child { font-size: 1.25rem; line-height: 1; }

/* Dialogs and form: same typography, spacing and surfaces. */
.lead-dialog, .policy-dialog { width: min(710px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: var(--panel-padding); overflow: auto; border: 1px solid var(--line-strong); border-radius: var(--radius-panel); background: var(--surface); color: var(--white); box-shadow: 0 24px 80px rgba(0, 0, 0, .6); }
.policy-dialog { width: min(600px, calc(100% - 32px)); }
.lead-dialog::backdrop, .policy-dialog::backdrop { background: rgba(3, 16, 12, .84); backdrop-filter: blur(8px); }
.dialog-head { display: flex; gap: var(--space-4); justify-content: space-between; align-items: flex-start; margin-bottom: var(--space-6); }
.dialog-head > div { min-width: 0; }
.dialog-head .eyebrow { margin-bottom: var(--space-2); }
.dialog-head h2, .form-success h2 { font-size: var(--text-dialog); line-height: 1.2; letter-spacing: var(--tracking-heading); }
.dialog-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--green-soft); font-size: 1.75rem; line-height: 1; }
.dialog-close:hover { background: var(--surface-hover); }
.dialog-notice { display: flex; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-6); padding: var(--space-4); border-radius: var(--radius-sm); background: var(--surface-hover); color: var(--text-secondary); font-size: var(--text-sm); }
.dialog-notice > span { display: grid; place-items: center; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border: 1px solid var(--green); border-radius: 50%; color: var(--green); font: 500 var(--text-xs)/1 var(--mono); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.field { display: flex; min-width: 0; flex-direction: column; color: var(--text-secondary); font-size: var(--text-sm); font-weight: 700; }
.field-full { grid-column: 1 / -1; }
.optional { color: var(--muted); font-weight: 400; }
input, select { width: 100%; min-width: 0; min-height: 48px; margin-top: var(--space-2); padding: var(--space-3) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(3, 16, 12, .45); color: var(--white); font-size: var(--text-base); line-height: 1.5; transition: border-color .2s, box-shadow .2s; }
select { appearance: none; padding-right: var(--space-10); background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
select option { background: var(--forest); }
input::placeholder { color: var(--muted); opacity: 1; }
input:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(var(--green-rgb), .12); }
input[aria-invalid='true'], select[aria-invalid='true'] { border-color: var(--error); }
.field-error { min-height: 22px; padding-top: var(--space-1); color: var(--error); font-size: var(--text-xs); font-weight: 500; line-height: 1.5; }
.consent { display: flex; gap: var(--space-3); align-items: flex-start; margin-top: var(--space-4); color: var(--text-secondary); font-size: var(--text-sm); line-height: var(--leading-body); cursor: pointer; }
.consent input { flex: 0 0 20px; width: 20px; min-height: 20px; height: 20px; margin: var(--space-1) 0 0; padding: 0; appearance: auto; accent-color: var(--green); }
.consent button { padding: 0; border: 0; background: transparent; color: var(--green-soft); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.consent-error { display: block; margin-left: var(--space-8); }
.form-conditions { margin: var(--space-4) 0 var(--space-6); color: var(--muted); font-size: var(--text-xs); }
.submit-button { width: 100%; }
.loading-text { display: none; }
.is-loading .submit-text { display: none; }
.is-loading .loading-text { display: inline; }
.is-loading { pointer-events: none; opacity: .7; }
.form-status { min-height: 20px; margin-top: var(--space-4); color: var(--error); font-size: var(--text-xs); text-align: center; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; }
.success-mark { display: grid; place-items: center; width: 56px; height: 56px; margin: var(--space-2) auto var(--space-6); border: 1px solid var(--green); border-radius: 50%; color: var(--green); font-size: 1.5rem; box-shadow: 0 0 24px rgba(var(--green-rgb), .17); }
.form-success .eyebrow { justify-content: center; }
.form-success h2 { margin-bottom: var(--space-4); }
.form-success p:not(.eyebrow) { max-width: 480px; margin: 0 auto var(--space-6); color: var(--text-secondary); font-size: var(--text-base); }
.restart-button { display: block; min-height: 44px; margin: var(--space-4) auto 0; padding: var(--space-2); border: 0; background: transparent; color: var(--green-soft); font-size: var(--text-sm); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.policy-content { color: var(--text-secondary); font-size: var(--text-base); }
.policy-content p + p { margin-top: var(--space-6); }

/* Motion */
.reveal { animation: rise .8s both; }
.hero-copy.reveal { animation-delay: .08s; }
.hero-visual.reveal { animation-delay: .2s; }
.benefit-cards .reveal:nth-child(2), .steps-list .reveal:nth-child(2) { animation-delay: .1s; }
.benefit-cards .reveal:nth-child(3), .steps-list .reveal:nth-child(3) { animation-delay: .18s; }
.benefit-cards .reveal:nth-child(4) { animation-delay: .26s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes signal { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--green-rgb), .55); } 50% { box-shadow: 0 0 0 8px rgba(var(--green-rgb), 0); } }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .8; } }
@keyframes halo { 50% { transform: scale(1.07); opacity: .38; } }
@keyframes spin-orbit { to { transform: translate(-50%, -50%) rotateX(68deg) rotateZ(342deg); } }
@keyframes float-one { 50% { transform: translate(12px, -16px); } }

/* Responsive tokens keep the same visual system on smaller screens. */
@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .nav-cta { margin-left: auto; }
  .benefit-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .explain-layout, .faq-layout, .calculator { gap: var(--space-10); }
  .conversion-gauge { margin-right: 0; }
  .final-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: var(--space-12); }
  .hero-copy { max-width: 720px; }
  h1 { font-size: clamp(2.75rem, 8vw, 4.5rem); }
  .hero-visual { min-height: 440px; width: 100%; max-width: 560px; margin: var(--space-8) auto 0; }
  .energy-orb { max-width: 440px; }
  .explain-layout, .faq-layout, .calculator { grid-template-columns: minmax(0, 1fr); }
  .explain-panel { position: static; }
  .calculator-copy h2, .calculator-copy > p:not(.eyebrow), .faq-intro p { max-width: 690px; }
  .conversion { gap: var(--space-8); }
  .conversion-gauge { display: none; }
  .footer { grid-template-columns: minmax(0, 1fr); }
  .footer > p { grid-column: auto; }
}
@media (max-width: 690px) {
  :root { --gutter: 20px; --panel-padding: 24px; }
  .topbar { min-height: 80px; gap: var(--space-3); }
  .wordmark-logo { height: 40px; }
  .hero { min-height: auto; padding-bottom: var(--space-12); }
  .hero-description { font-size: var(--text-base); }
  .hero-actions { gap: var(--space-4); align-items: flex-start; }
  .hero-actions .button, .conversion .button, .final-cta .button { width: 100%; }
  .hero-actions .text-link { min-height: 44px; }
  .trust-line { gap: var(--space-2); }
  .trust-line i { display: none; }
  .hero-visual { min-height: 360px; margin-top: var(--space-6); }
  .energy-orb { width: min(100%, 360px); }
  .card-energy { left: 0; top: 24%; }
  .card-saving { right: 0; bottom: 22%; }
  .visual-caption { bottom: 0; }
  .section-heading { margin-bottom: var(--space-8); }
  .signal-strip { grid-template-columns: minmax(0, 1fr); }
  .signal-strip > div { min-height: 56px; justify-content: flex-start; padding-inline: var(--gutter); border-right: 0; border-bottom: 1px solid var(--line); }
  .signal-strip > div:last-child { border-bottom: 0; }
  .explain-panel > p { font-size: var(--text-base); }
  .steps-list li { gap: var(--space-4); padding-bottom: var(--space-8); }
  .benefit-cards { grid-template-columns: minmax(0, 1fr); }
  .benefit-card { min-height: 0; }
  .benefit-card p { max-width: 480px; }
  .conversion { padding-block: var(--space-10); }
  .conversion-content > p:not(.eyebrow) { margin-bottom: var(--space-6); }
  .conversion-glow { width: 400px; height: 400px; right: -160px; }
  .footer-links { gap: var(--space-2) var(--space-5); }
  .whatsapp-fab { right: var(--space-4); bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0px)); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .field-full { grid-column: auto; }
  .lead-dialog, .policy-dialog { padding: var(--space-6); }
  .dialog-head { gap: var(--space-3); }
  .dialog-notice { font-size: var(--text-sm); }
  .form-success .button { width: 100%; }
}
@media (max-width: 400px) {
  .topbar { gap: var(--space-2); }
  .topbar .wordmark-logo { height: 32px; }
  .nav-cta { flex-shrink: 1; max-width: 136px; padding: var(--space-2) var(--space-3); }
  .nav-cta span { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .calc-results { grid-template-columns: minmax(0, 1fr); }
  .calc-result-main, .calc-result-secondary { min-height: 0; }
  .result-label { min-height: 0; }
  .calculator-panel { padding: var(--space-5); }
  .calc-input-wrap { padding-inline: var(--space-3); }
  .lead-dialog, .policy-dialog { padding: var(--space-4); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .energy-orb { transform: none !important; }
}
