/* =========================================================
   The Living Nodes — nodes.ivirth.in
   Design tokens: sun-up light, golden hour, dusk, night.
   ========================================================= */
:root {
  --mist: #EEF5F0;
  --mist-2: #E1EDE6;
  --canopy: #0E3B36;
  --ink: #0E2A27;
  --ink-soft: #3E5854;
  --sun: #F6A623;
  --sun-deep: #C77A00;
  --gold: #FCEFD0;
  --dusk: #1B2750;
  --night: #0D1226;
  --night-2: #151B36;
  --signal: #4FD1C5;
  --clay: #B8632F;
  --line: rgba(14, 42, 39, .14);

  --bg: var(--mist);
  --fg: var(--ink);
  --fg-soft: var(--ink-soft);
  --card: #fff;
  --edge: var(--line);

  --f-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-lg: clamp(22px, 3vw, 36px);
  --r-md: 20px;
  --r-sm: 12px;
  --pad: clamp(1.1rem, 4vw, 3rem);
  --max: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --hdr: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--mist); color: var(--ink);
  font-family: var(--f-body); font-size: clamp(1rem, .96rem + .2vw, 1.125rem); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--night); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--sun); color: var(--night); padding: .7rem 1rem; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- section themes ---------- */
[data-theme="gold"]  { --bg: var(--gold); --fg: var(--ink); --fg-soft: #5B5137; --card: #FFF9E9; --edge: rgba(94, 66, 10, .2); }
[data-theme="dusk"]  { --bg: var(--dusk); --fg: #F1F4FF; --fg-soft: #B9C3E6; --card: rgba(255,255,255,.06); --edge: rgba(255,255,255,.16); }
[data-theme="night"] { --bg: var(--night); --fg: #F1F4FF; --fg-soft: #AEB8DA; --card: rgba(255,255,255,.05); --edge: rgba(255,255,255,.14); }

.section { position: relative; background: var(--bg); color: var(--fg); padding-block: clamp(4.5rem, 10vw, 9rem); }
.section[data-theme] { border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: calc(var(--r-lg) * -1); z-index: 1; }
.section + .section:not([data-theme]) { z-index: 0; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.section-head p { margin-top: 1.1rem; color: var(--fg-soft); max-width: 40rem; }
h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.1rem); line-height: 1; letter-spacing: -.03em; font-variation-settings: "opsz" 72; text-wrap: balance; }
h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 1.1rem + .5vw, 1.55rem); line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.1;
  transform: translate(var(--bx), var(--by)); transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  will-change: transform; min-height: 48px; text-align: center;
}
.btn-sun { background: var(--sun); color: var(--night); }
.btn-sun:hover { background: #FFB840; }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--mist); border-color: var(--ink); }

/* ---------- progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--signal), var(--sun)); }

/* ---------- header ---------- */
.site-header {
  --hf: var(--ink);
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hdr);
  display: flex; align-items: center; gap: 1.5rem; padding-inline: var(--pad);
  color: var(--hf); transition: background .35s, color .35s, box-shadow .35s, transform .4s var(--ease);
}
.site-header.scrolled { background: color-mix(in srgb, var(--hbg, #EEF5F0) 82%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--hline, rgba(14,42,39,.12)); }
.site-header.on-dark { --hf: #F1F4FF; --hbg: #0D1226; --hline: rgba(255,255,255,.12); }
.site-header.on-gold { --hbg: #FCEFD0; }
.site-header.hide { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand-mark { width: 60px; height: 60px; flex: none; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(180deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text small { font-size: .78rem; font-weight: 500; letter-spacing: .04em; opacity: .8; }
.brand-text b { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.nav { display: flex; gap: clamp(.9rem, 1.6vw, 1.7rem); margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .96rem; position: relative; padding-block: .4rem; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-cta { padding: .7rem 1.2rem; min-height: 44px; font-size: .95rem; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; position: relative; margin-left: auto; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1060px) {
  .menu-btn { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: .4rem;
    padding: calc(var(--hdr) + 1rem) var(--pad) 2rem; background: var(--night); color: #F1F4FF;
    clip-path: circle(0 at calc(100% - 2.6rem) 2.4rem); transition: clip-path .6s var(--ease); visibility: hidden;
  }
  .nav.open { clip-path: circle(150% at calc(100% - 2.6rem) 2.4rem); visibility: visible; }
  .nav a { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -.03em; }
  .site-header.menu-open { --hf: #F1F4FF; background: transparent; box-shadow: none; backdrop-filter: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; padding: calc(var(--hdr) + 2rem) var(--pad) clamp(4rem, 8vw, 7rem);
  display: grid; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1000px) { .hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); } }
.hero::before { content: ""; position: absolute; inset: 0 -50vw; z-index: -1; background:
  radial-gradient(60vmax 40vmax at 85% 10%, rgba(246,166,35,.18), transparent 60%),
  radial-gradient(50vmax 40vmax at 0% 100%, rgba(79,209,197,.2), transparent 60%); pointer-events: none; }
h1 { font-family: var(--f-display); font-weight: 800; font-variation-settings: "opsz" 96; font-size: clamp(2.9rem, 1rem + 6.6vw, 6.2rem); line-height: .93; letter-spacing: -.045em; color: var(--canopy); }
h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
h1 .line > span { display: inline-block; }
.js h1 .line > span { transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.js h1 .line:nth-child(2) > span { animation-delay: .12s; }
.js h1 .line:nth-child(3) > span { animation-delay: .24s; color: var(--sun-deep); }
@keyframes rise { to { transform: none; } }
.lede { margin-top: clamp(1.2rem, 2.5vw, 2rem); font-size: clamp(1.08rem, 1rem + .5vw, 1.32rem); color: var(--ink-soft); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: clamp(1.5rem, 3vw, 2.4rem); }
.js .lede, .js .hero-actions { opacity: 0; animation: fadeIn .9s .55s var(--ease) forwards; }
.js .hero-actions { animation-delay: .7s; }
@keyframes fadeIn { to { opacity: 1; } }

/* simulator */
.sim { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: clamp(.6rem, 1.4vw, 1rem); box-shadow: 0 30px 60px -30px rgba(14,59,54,.35); }
.js .sim { opacity: 0; transform: translateY(24px); animation: simIn 1.1s .35s var(--ease) forwards; }
@keyframes simIn { to { opacity: 1; transform: none; } }
.sim-stage { position: relative; border-radius: calc(var(--r-lg) - 10px); overflow: hidden; aspect-ratio: 640 / 420; background: #9CD3F0; }
.sim-stage svg { width: 100%; height: 100%; }
.sim-clock { position: absolute; left: 14px; top: 12px; color: var(--clockc, var(--canopy)); display: flex; flex-direction: column; line-height: 1; pointer-events: none; transition: color .4s; }
.sim-clock span { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sim-clock small { font-size: .85rem; font-weight: 500; margin-top: .25rem; opacity: .85; }
.sim-controls { display: flex; align-items: center; gap: .9rem; padding: .9rem .4rem .3rem; }
.play { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--canopy); color: #fff; display: grid; place-items: center; transition: transform .25s var(--ease), background .25s; }
.play:hover { transform: scale(1.08); background: #145148; }
.play svg { width: 22px; height: 22px; fill: currentColor; }
.play .i-play { display: none; } .play[aria-pressed="false"] .i-play { display: block; } .play[aria-pressed="false"] .i-pause { display: none; }
input[type="range"] { flex: 1; -webkit-appearance: none; appearance: none; height: 12px; border-radius: 99px; background: linear-gradient(90deg, #26305C 0%, #F2A36B 10%, #9CD3F0 28%, #9CD3F0 58%, #F29A4B 76%, #1B2750 92%, #0D1226 100%); outline-offset: 6px; cursor: pointer; min-height: 44px; background-clip: content-box; padding-block: 16px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sun); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); margin-top: -8px; transition: transform .2s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--sun); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
input[type="range"]::-webkit-slider-runnable-track { height: 12px; border-radius: 99px; background: transparent; }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.sim-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; padding: .8rem .4rem .2rem; }
.sim-stats dt { font-size: .82rem; color: var(--ink-soft); }
.sim-stats dd { display: flex; flex-direction: column; }
.sim-stats b { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--canopy); }
.sim-stats small { font-size: .78rem; color: var(--ink-soft); }
.sim-note { font-size: .78rem; color: var(--ink-soft); padding: .5rem .4rem 0; }
@media (max-width: 560px) { .sim-stats { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; } }

/* particles */
#particles circle { fill: #FFD37A; }

/* facts */
.facts { background: var(--canopy); color: var(--mist); position: relative; z-index: 1; }
.facts ul { max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto; padding: clamp(2rem, 4vw, 3rem) var(--pad); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.6rem 2rem; }
.facts li { display: flex; flex-direction: column; gap: .3rem; border-left: 2px solid rgba(246,166,35,.6); padding-left: 1rem; }
.facts b { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); line-height: 1; letter-spacing: -.03em; color: var(--sun); font-variant-numeric: tabular-nums; }
.facts span { font-size: .95rem; opacity: .85; max-width: 16ch; }

/* =========================================================
   WHY
   ========================================================= */
.why { background: var(--mist); }
.why-grid { display: grid; gap: clamp(.8rem, 1.6vw, 1.2rem); grid-template-columns: 1fr; }
.why-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: clamp(1.3rem, 2.4vw, 2rem); display: flex; flex-direction: column; gap: .7rem; transition: transform .35s var(--ease), border-color .35s; }
.why-card:hover { transform: translateY(-4px); border-color: var(--sun); }
.why-card p { color: var(--ink-soft); }
.why-big { background: var(--canopy); color: var(--mist); border-color: var(--canopy); border-radius: var(--r-lg); justify-content: space-between; min-height: 22rem; }
.why-big h3 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.why-big p { color: rgba(238,245,240,.82); max-width: 30rem; }
.why-art { width: 100%; max-width: 26rem; color: var(--mist); margin-top: auto; }
.why-art .flow { stroke-dashoffset: 0; animation: dash 1.6s linear infinite; }
.why-art .why-sun { transform-origin: 220px 34px; animation: spin 24s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
@keyframes spin { to { transform: rotate(360deg); } }
.why-wide { background: var(--sun); border-color: var(--sun); color: var(--night); }
.why-wide p { color: rgba(13,18,38,.82); }
@media (min-width: 720px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(11rem, auto); }
  .why-big { grid-column: 1 / 3; grid-row: 1 / 3; }
  .why-wide { grid-column: 2 / 4; }
}
@media (min-width: 720px) and (max-width: 979px) { .why-big { grid-column: 1 / 4; grid-row: auto; min-height: 18rem; } .why-wide { grid-column: 1 / 4; } }

/* =========================================================
   BENCH
   ========================================================= */
.bench-grid { display: grid; gap: clamp(1.2rem, 3vw, 3rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 980px) { .bench-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } .configurator { position: sticky; top: calc(var(--hdr) + 1rem); } }
.bench-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #cfd9d3; aspect-ratio: 16 / 9; }
.bench-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform 1.2s var(--ease); }
.bench-photo:hover img { transform: scale(1.03); }
.bench-photo.swap img { opacity: 0; }
.bench-photo figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); background: rgba(13,18,38,.72); color: #fff; padding: .4rem .8rem; border-radius: 999px; font-size: .85rem; backdrop-filter: blur(8px); }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin-top: .8rem; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: none; aspect-ratio: 16 / 9; opacity: .6; transition: opacity .25s, border-color .25s, transform .25s var(--ease); }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.thumbs button[aria-selected="true"] { opacity: 1; border-color: var(--canopy); }

.configurator { background: var(--card); border: 1.5px solid var(--edge); border-radius: var(--r-lg); padding: clamp(1.2rem, 2.4vw, 2rem); display: flex; flex-direction: column; gap: 1.2rem; }
.cfg-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; }
.cfg-toggles { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
@media (max-width: 460px) { .cfg-toggles { grid-template-columns: 1fr; } }
.switch { display: flex; align-items: center; gap: .75rem; padding: .8rem; border-radius: 16px; border: 1.5px solid var(--edge); cursor: pointer; position: relative; transition: border-color .25s, background .25s; }
.switch:hover { border-color: var(--canopy); }
.switch:has(input:checked) { background: var(--canopy); color: var(--mist); border-color: var(--canopy); }
.switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.switch:has(input:focus-visible) { outline: 3px solid var(--sun); outline-offset: 3px; }
.switch .track { flex: none; width: 42px; height: 24px; border-radius: 99px; background: rgba(14,42,39,.22); position: relative; transition: background .25s; }
.switch .track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.switch input:checked ~ .track { background: var(--sun); }
.switch input:checked ~ .track::after { transform: translateX(18px); }
.sw-text { display: flex; flex-direction: column; line-height: 1.2; }
.sw-text b { font-weight: 600; font-size: .98rem; }
.sw-text small { font-size: .78rem; opacity: .75; }

.cfg-schematic { color: var(--canopy); background: color-mix(in srgb, var(--bg) 60%, #fff); border-radius: 16px; padding: .6rem; }
.cfg-schematic svg { width: 100%; max-height: 210px; }
.lyr { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.lyr-ev, .lyr-ai { opacity: 0; transform: translateY(8px); }
#cfgSvg.on-ev .lyr-ev, #cfgSvg.on-ai .lyr-ai { opacity: 1; transform: none; }
.bolt { animation: blink 1.6s ease-in-out infinite; }
.scan { animation: dash 1.2s linear infinite; }
@keyframes blink { 50% { opacity: .35; } }

.cfg-name { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); letter-spacing: -.02em; line-height: 1.1; }
.cfg-tag { color: var(--fg-soft); margin-top: .35rem; font-size: .98rem; }
.cfg-specs { display: grid; gap: .45rem; margin: 1rem 0; }
.cfg-specs li { position: relative; padding-left: 1.4rem; font-size: .96rem; }
.cfg-specs li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: .7rem; border-radius: 3px; background: var(--sun); }
.cfg-specs li.new { animation: pop .6s var(--ease); font-weight: 600; }
@keyframes pop { from { opacity: 0; transform: translateX(-10px); } }
.cfg-fit { font-size: .94rem; margin-bottom: 1.1rem; color: var(--fg-soft); }
.cfg-fit strong { color: var(--fg); }

.table-wrap { margin-top: clamp(2.5rem, 6vw, 5rem); overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .96rem; }
.compare caption { text-align: left; font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; padding-bottom: 1rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1rem 1.2rem 1rem 0; border-top: 1.5px solid var(--edge); }
.compare thead th { font-weight: 600; color: var(--fg-soft); font-size: .88rem; border-top: 0; }
.compare tbody th { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.compare tbody tr { transition: background .25s; }
.compare tbody tr:hover { background: rgba(255,255,255,.5); }
@media (max-width: 760px) {
  .table-wrap { overflow: visible; }
  .compare { min-width: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare tr { border-top: 1.5px solid var(--edge); padding: 1rem 0; }
  .compare th, .compare td { border: 0; padding: .15rem 0; }
  .compare td:nth-of-type(2)::before { content: "Battery: "; font-weight: 600; }
  .compare td:nth-of-type(3)::before { content: "Best for: "; font-weight: 600; }
}

/* =========================================================
   PLACES (accordion)
   ========================================================= */
.accordion { display: grid; gap: .7rem; }
.acc-item { background: var(--card); border: 1.5px solid var(--edge); border-radius: var(--r-md); overflow: hidden; transition: background .4s, border-color .4s; }
.acc-item.is-open { background: rgba(246,166,35,.12); border-color: rgba(246,166,35,.6); }
.acc-item h3 { font-size: inherit; }
.acc-item button { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; background: none; border: 0; text-align: left; color: inherit; min-height: 64px; }
.acc-num { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--sun); transition: background .3s, color .3s; }
.acc-item.is-open .acc-num { background: var(--sun); color: var(--night); }
.acc-num svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.acc-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); letter-spacing: -.015em; line-height: 1.15; }
.acc-title .short { display: none; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc-panel > div { overflow: hidden; padding-inline: 1.2rem; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel p { color: var(--fg-soft); max-width: 34rem; padding-bottom: .4rem; }
.acc-variant { color: var(--sun) !important; font-weight: 600; padding-bottom: 1.2rem !important; margin-top: .3rem; }

@media (min-width: 900px) {
  .accordion { display: flex; height: clamp(400px, 46vw, 500px); gap: .8rem; }
  .acc-item { flex: 1 1 0; min-width: 0; position: relative; border-radius: var(--r-lg); transition: flex-grow .7s var(--ease), background .4s, border-color .4s; }
  .acc-item.is-open { flex-grow: 6; }
  .acc-item button { position: absolute; inset: 0; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1.2rem; padding: 1.3rem; }
  .acc-item .acc-title { writing-mode: vertical-rl; transform: rotate(180deg); align-self: center; white-space: nowrap; margin-top: auto; padding-bottom: .4rem; }
  .acc-item:not(.is-open) .acc-title .full { display: none; }
  .acc-item:not(.is-open) .acc-title .short { display: inline; }
  .acc-item.is-open .acc-title { writing-mode: horizontal-tb; transform: none; align-self: flex-start; margin-top: 0; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; text-wrap: balance; max-width: 16ch; white-space: normal; }
  .acc-item:not(.is-open) .acc-num { align-self: center; }
  .acc-panel { position: absolute; left: 0; right: 0; bottom: 0; display: block; opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .5s var(--ease); pointer-events: none; }
  .acc-panel > div { padding: 0 1.3rem 1.3rem; }
  .acc-item.is-open .acc-panel { opacity: 1; transform: none; transition-delay: .25s; pointer-events: auto; }
  .acc-item:not(.is-open):hover { background: rgba(255,255,255,.1); }
}

/* =========================================================
   DATA
   ========================================================= */
.data-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 980px) { .data-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.data-copy > p { margin-top: 1.2rem; color: var(--fg-soft); max-width: 36rem; }
.data-points { display: grid; gap: 1.2rem; margin-top: 2rem; }
.data-points li { border-left: 2px solid var(--signal); padding-left: 1.1rem; }
.data-points p { color: var(--fg-soft); margin-top: .3rem; font-size: .98rem; }
.dash { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1.5px solid var(--edge); border-radius: var(--r-lg); padding: clamp(1rem, 2.4vw, 1.8rem); }
.dash-top { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; color: var(--fg-soft); margin-bottom: 1.1rem; }
.live { display: inline-flex; align-items: center; gap: .5rem; color: var(--signal); font-weight: 600; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(79,209,197,.7); } 100% { box-shadow: 0 0 0 12px rgba(79,209,197,0); } }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
@media (max-width: 460px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
.metric { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: .8rem .9rem; border-radius: 16px; border: 1.5px solid var(--edge); background: rgba(255,255,255,.03); color: var(--fg); transition: background .25s, border-color .25s, transform .25s var(--ease); min-height: 44px; }
.metric:hover { transform: translateY(-2px); border-color: rgba(79,209,197,.6); }
.metric small { font-size: .8rem; color: var(--fg-soft); }
.metric b { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.metric span { font-size: .78rem; color: var(--fg-soft); }
.metric.is-active { background: rgba(79,209,197,.14); border-color: var(--signal); }
.chart { margin-top: 1rem; height: clamp(130px, 22vw, 190px); border-radius: 14px; overflow: hidden; background: rgba(0,0,0,.2); }
.chart svg { width: 100%; height: 100%; }
.chart .grid path { stroke: rgba(255,255,255,.08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dash-note { font-size: .8rem; color: var(--fg-soft); margin-top: .8rem; }

/* =========================================================
   UMBRELLA
   ========================================================= */
.umbrella { background: var(--mist-2); }
.tabs { position: relative; display: flex; width: fit-content; padding: 5px; border-radius: 999px; background: rgba(14,42,39,.08); margin-bottom: clamp(1.4rem, 3vw, 2.4rem); max-width: 100%; }
.tabs [role="tab"] { position: relative; z-index: 1; border: 0; background: none; flex: 1 1 auto; min-width: 0; padding: .8rem clamp(.7rem, 3vw, 1.7rem); border-radius: 999px; font-weight: 600; min-height: 46px; color: var(--ink); transition: color .3s; white-space: nowrap; }
.tabs [aria-selected="true"] { color: var(--mist); }
.tab-ink { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--canopy); transition: transform .5s var(--ease), width .5s var(--ease); }
.tabpanel { display: grid; gap: clamp(1.4rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1fr); align-items: center; }
.tabpanel[hidden] { display: none; }
.tabpanel:not([hidden]) { animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
@media (min-width: 960px) { .tabpanel { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.tp-img { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1.5px solid var(--line); }
.tp-img img { width: 100%; height: auto; }
.tp-copy > p { margin-top: .9rem; color: var(--ink-soft); max-width: 34rem; }
.tp-copy h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; }
.spec-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.1rem 1.5rem; margin-top: 1.8rem; }
.spec-list li { display: flex; flex-direction: column; gap: .15rem; padding-top: .8rem; border-top: 2px solid var(--canopy); }
.spec-list b { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.spec-list span { font-size: .93rem; color: var(--ink-soft); }

/* =========================================================
   PILOTS
   ========================================================= */
.pilots-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .pilots-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.pilots-copy > p { margin-top: 1.2rem; color: var(--fg-soft); max-width: 34rem; }
.pilot-detail { margin-top: 2rem; padding: 1.4rem 1.5rem; border-radius: var(--r-md); background: var(--card); border: 1.5px solid var(--edge); min-height: 11rem; }
.pilot-detail h3 { font-size: 1.6rem; font-weight: 800; }
.pilot-detail p { color: var(--fg-soft); margin-top: .5rem; }
.pilot-detail .pd-var { color: var(--sun); font-weight: 600; }
.pilot-detail.swap > * { animation: pop .55s var(--ease); }
.triangle { position: relative; }
.triangle svg { width: 100%; max-width: 560px; margin-inline: auto; overflow: visible; }
.pnode { cursor: pointer; outline: none; }
.pnode text { fill: #F1F4FF; font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.pnode .ring { transition: fill .3s, r .4s var(--ease), stroke-width .3s; }
.pnode:hover .ring, .pnode:focus-visible .ring, .pnode.active .ring { fill: #F6A623; r: 26; }
.pnode:focus-visible .ring { stroke: #fff; stroke-width: 4; }
.pnode.active text { fill: var(--sun); }
.edge { animation: dash 3s linear infinite; }
.tri-hint { text-align: center; margin-top: .6rem; color: var(--fg-soft); font-size: .9rem; }

/* =========================================================
   BUILT
   ========================================================= */
.built-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2rem 1.6rem; }
.built-grid li { padding-top: 1rem; border-top: 3px solid var(--canopy); position: relative; }
.built-grid li::before { content: ""; position: absolute; left: 0; top: -3px; width: 44px; height: 3px; background: var(--sun); transition: width .5s var(--ease); }
.built-grid li:hover::before { width: 100%; }
.built-grid p { margin-top: .5rem; color: var(--ink-soft); font-size: .98rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--mist); padding-top: 0; }
.faq-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .faq .section-head { position: sticky; top: calc(var(--hdr) + 1rem); align-self: start; } }
.faq-list { border-top: 1.5px solid var(--line); }
details { border-bottom: 1.5px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 1.3rem 3rem 1.3rem 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); letter-spacing: -.015em; position: relative; min-height: 48px; }
summary::-webkit-details-marker { display: none; }
summary::before, summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 18px; height: 2px; background: var(--canopy); transition: transform .35s var(--ease); }
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0); }
details p { padding: 0 3rem 1.4rem 0; color: var(--ink-soft); max-width: 40rem; animation: pop .5s var(--ease); }
summary:hover { color: var(--sun-deep); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding-bottom: clamp(5rem, 9vw, 8rem); }
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } }
.contact-copy p { margin-top: 1.2rem; color: var(--fg-soft); max-width: 30rem; }
.form { display: grid; gap: 1.2rem 1.4rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full, .form-foot { grid-column: 1 / -1; }
.field label { font-size: .9rem; color: var(--fg-soft); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--fg); background: rgba(255,255,255,.05); border: 1.5px solid var(--edge); border-radius: 14px; padding: .9rem 1rem; min-height: 50px; transition: border-color .25s, background .25s, box-shadow .25s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sun) 50%), linear-gradient(135deg, var(--sun) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.6rem; }
.field select option { color: #111; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sun); background: rgba(246,166,35,.08); box-shadow: 0 0 0 4px rgba(246,166,35,.2); }
.field.invalid input, .field.invalid textarea { border-color: #FF8A7A; }
.form-foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.form-status { color: var(--signal); font-size: .95rem; }
.form-status.err { color: #FF9C8F; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: #080B1A; color: #DDE3F8; padding-block: clamp(2.5rem, 5vw, 4rem); position: relative; z-index: 2; }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr; } .copy { grid-column: 1 / -1; } }
.site-footer .brand { color: #F1F4FF; }
.foot-note { margin-top: 1rem; max-width: 30rem; color: #AEB8DA; font-size: .96rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-content: flex-start; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover, .copy a:hover { color: var(--sun); }
.copy { font-size: .86rem; color: #8E99BF; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.4rem; }

/* =========================================================
   MOTION PREFERENCES
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js h1 .line > span, .js .lede, .js .hero-actions, .js .sim { opacity: 1; transform: none; }
}
@media print {
  .site-header, .progress, .sim-controls { display: none; }
  .section { padding-block: 2rem; }
}

@media (max-width: 380px) { .tabs [role="tab"] { font-size: .9rem; } .brand-text b { font-size: 1.2rem; } }

/* --- Upgrade: compare table + process --- */
.compare .section-head p { max-width: 60ch; color: var(--fg-soft); margin: .6rem 0 0; }
.cmp-scroll { overflow-x: auto; border: 1px solid var(--edge); border-radius: var(--r-md); background: var(--card); margin-top: 1.6rem; }
.cmp { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .95rem; }
.cmp th, .cmp td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--edge); }
.cmp thead th { background: var(--canopy); color: #fff; font-family: var(--f-display); font-weight: 700; }
.cmp tbody th { font-weight: 600; }
.cmp tbody tr:last-child > * { border-bottom: 0; background: var(--gold); }
.cmp td:nth-child(5), .cmp thead th:nth-child(5) { box-shadow: inset 3px 0 0 var(--sun); }
.cmp-note { margin-top: 1rem; color: var(--fg-soft); }
.steps { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--edge); border-radius: var(--r-md); padding: 1.4rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.steps li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(14,42,39,.12); }
.steps b { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--sun); color: var(--ink); font-family: var(--f-display); }
.steps h3 { margin: .9rem 0 .3rem; font-family: var(--f-display); }
.steps p { margin: 0; color: var(--fg-soft); }

/* --- Multi-page: page hero, product cards, CTA band --- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-hero { padding: calc(var(--hdr) + clamp(2.5rem, 7vw, 5rem)) 0 clamp(2rem, 5vw, 3.5rem); background: radial-gradient(90% 120% at 85% 0%, var(--gold) 0%, transparent 60%), var(--mist); }
.page-hero .kicker { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--sun-deep); margin: 0 0 .8rem; }
.page-hero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -.03em; margin: 0; max-width: 18ch; color: var(--canopy); }
.page-hero .lede-p { max-width: 58ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--fg-soft); margin: 1.1rem 0 0; }
.nav a.active, .nav a[aria-current="page"] { color: var(--sun-deep); }
.site-header.on-dark .nav a.active { color: var(--sun); }
.section-head .sub { color: var(--fg-soft); margin: .6rem 0 0; }
.pgrid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); margin-top: 1.6rem; }
.pcard { background: var(--card); border: 1px solid var(--edge); border-radius: var(--r-md); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pcard:hover, .pcard:focus-within { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(14,42,39,.16); }
.pcard a { display: block; color: inherit; text-decoration: none; height: 100%; }
.pcard img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pc-body { padding: 1.2rem 1.3rem 1.4rem; }
.pc-tag { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sun-deep); }
.pc-body h3 { font-family: var(--f-display); font-size: 1.45rem; margin: .3rem 0 .4rem; }
.pc-body p { margin: 0 0 .9rem; color: var(--fg-soft); }
.pc-more { font-weight: 700; color: var(--canopy); }
.cta-band { text-align: center; }
.cta-band h2 { font-family: var(--f-display); font-size: clamp(1.8rem, 4.5vw, 3rem); margin: 0 0 .6rem; }
.cta-band p { margin: 0 auto 1.4rem; max-width: 50ch; opacity: .85; }

/* --- WhatsApp + contact methods --- */
.wa-float { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.1rem; border-radius: 999px; background: #25D366; color: #06331a; font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.28); transition: transform .3s var(--ease); }
.wa-float:hover, .wa-float:focus-visible { transform: translateY(-3px) scale(1.03); }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: .85rem; } }
@media print { .wa-float { display: none; } }
.btn-wa { display: inline-flex; align-items: center; gap: .5rem; background: #25D366; color: #06331a; border: 0; border-radius: 999px; padding: .95rem 1.4rem; font: inherit; font-weight: 700; cursor: pointer; }
.btn-wa:hover { filter: brightness(1.06); }
.form-foot { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.contact-methods { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .7rem; }
.contact-methods a { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-sm); color: inherit; text-decoration: none; transition: background .25s, transform .25s var(--ease); }
.contact-methods a:hover { background: rgba(255,255,255,.08); transform: translateX(4px); }
.contact-methods span { opacity: .85; }

/* --- Case study --- */
.casestudy .kicker { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--sun-deep); margin: 0 0 .6rem; }
.cs-grid { display: grid; gap: 1.6rem; margin-top: 1.6rem; }
@media (min-width: 900px) { .cs-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.cs-story h3, .cs-facts h3 { font-family: var(--f-display); margin: 1.2rem 0 .3rem; }
.cs-story h3:first-child { margin-top: 0; }
.cs-story p { margin: 0; color: var(--fg-soft); max-width: 62ch; }
.cs-facts { background: var(--canopy); color: #fff; border-radius: var(--r-md); padding: 1.5rem; }
.cs-facts h3 { margin-top: 0; color: var(--sun); }
.cs-facts dl { margin: 0; }
.cs-facts dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.cs-facts dl > div:last-child { border-bottom: 0; }
.cs-facts dt { opacity: .75; }
.cs-facts dd { margin: 0; font-weight: 600; text-align: right; }
