/* Victron Energy Africa Hub v29.3 · one light brand world (Victron Brand Guide Nov 2025), so the page sets every colour itself.
   Layout: a 1248 px column with a 96 px gutter; light sections alternate with Victron Blue bands; one 3D stage. */
:root {
  --blue: #004899; --blue2: #336CAD; --ink: #000000; --grey: #707579; --bg: #F0EFEB; --bg2: #FAF9F5; --white: #FFFFFF; --orange: #FF6633; --coral: #ED6B70;
  --grad: linear-gradient(180deg, #336CAD 0%, #004899 100%);
  --display: 'museo-sans', 'Mulish', 'Segoe UI', system-ui, sans-serif;
  --body: 'museo-sans', 'Mulish', 'Segoe UI', system-ui, sans-serif;
  --label: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(20px, 6.6vw, 96px); --col: 1248px; --r: 16px; --r2: 24px;
  --shadow: 0 16px 32px rgba(0, 20, 51, .14);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg2); color: var(--ink); font: 300 16px/24px var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 99; }
.skip:focus { left: 16px; }
.wrap { max-width: calc(var(--col) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* type */
.h1 { font: 900 clamp(44px, 6.1vw, 88px)/1.045 var(--display); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.h2 { font: 900 clamp(32px, 3.4vw, 48px)/1.25 var(--display); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.h2 .l2, .h1 .l2 { display: block; color: var(--blue); }
.on-blue .h2, .on-blue .h2 .l2 { color: var(--white); }
.on-blue .h2 .l2 { font-weight: 200; }
.h3 { font: 700 24px/30px var(--display); margin: 0; text-wrap: balance; }
.h4 { font: 500 20px/25px var(--display); margin: 0; }
.lead { font: 300 20px/30px var(--body); margin: 0; max-width: 62ch; }
.small { font: 300 14px/21px var(--body); margin: 0; }
.label { font: 500 14px/16px var(--label); letter-spacing: .01em; }
.fig { font: 900 28px/35px var(--display); font-variant-numeric: tabular-nums; }
.link { font: 700 16px/20px var(--display); color: var(--blue); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.on-blue .link { color: var(--white); }

/* buttons, chips */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 26px; font: 500 16px/20px var(--display); text-decoration: none; white-space: nowrap; transition: transform .2s, background .2s; }
.btn:active { transform: translateY(1px); }
.btn.blue { background: var(--blue); color: var(--white); }
.btn.blue:hover { background: #003a7a; }
.btn.white { background: var(--white); color: var(--blue); }
.btn.line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--white); }
.btn.orange { background: var(--orange); color: var(--ink); }
.btn.sm { min-height: 40px; padding: 0 18px; border-radius: 20px; font: 500 14px/16px var(--label); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 20px; background: var(--white); border: 1px solid rgba(0, 0, 0, .14); font: 500 14px/16px var(--label); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip .ct { background: var(--bg); color: var(--ink); border-radius: 10px; padding: 2px 7px; font-size: 12px; }
.chip[aria-pressed="true"] .ct { background: var(--white); color: var(--blue); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; display: inline-block; }

/* sections */
.sec { padding-block: clamp(72px, 8vw, 112px); }
.sec.light { background: var(--bg); }
.sec.paper { background: var(--bg2); }
.sec.on-blue { background: var(--blue); color: var(--white); }
.shead { display: flex; flex-wrap: wrap; gap: 24px 32px; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.shead > div:first-child { display: grid; gap: 16px; min-width: 0; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(250, 249, 245, .94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.logo { display: block; width: 168px; flex: none; }
.logo svg { width: 100%; height: auto; display: block; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font: 400 14px/16px var(--label); text-decoration: none; padding: 8px 0; }
.nav a:hover { color: var(--blue); }
.tr { display: flex; align-items: center; gap: 12px; margin-left: 16px; }
.loc { border: 1px solid rgba(0, 0, 0, .2); border-radius: 18px; padding: 9px 14px; font: 400 14px/16px var(--label); background: var(--white); }
.menu { display: none; }
@media (max-width: 1100px) { .nav { display: none; } .menu { display: inline-flex; margin-left: auto; } .tr { margin-left: 0; } .nav.open { display: grid; position: absolute; top: 80px; left: 0; right: 0; background: var(--bg2); padding: 16px var(--gutter) 24px; gap: 4px; border-bottom: 1px solid rgba(0,0,0,.08); } .nav.open a { padding: 12px 0; font-size: 16px; } }
@media (max-width: 560px) { .loc { display: none; } .logo { width: 140px; } .top .btn.blue { padding: 0 16px; } }

/* chapter rail */
.rail { position: fixed; left: 28px; top: 50%; transform: translateY(-50%); z-index: 30; display: grid; gap: 14px; justify-items: center; }
.rail a { width: 6px; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .3); display: block; position: relative; transition: height .3s, background .3s; }
.rail a.on { height: 22px; background: var(--orange); }
.rail.dark a { background: rgba(255, 255, 255, .5); }
.rail.dark a.on { background: var(--orange); }
.rail a span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--ink); color: var(--white); font: 500 12px/14px var(--label); padding: 5px 8px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; }
@media (max-width: 1360px) { .rail { display: none; } }

/* hero */
.hero { position: relative; background: var(--bg2); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 580px) 1fr; gap: 40px; min-height: 820px; align-items: center; }
.hcopy { display: grid; gap: 28px; padding-block: 56px; position: relative; z-index: 3; }
.hcopy .h1 .l2 { color: var(--blue); }
.hbtns { display: flex; flex-wrap: wrap; gap: 16px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 28px; background: var(--white); border: 1px solid rgba(0, 0, 0, .12); }
.seg button { padding: 12px 20px; border-radius: 24px; font: 500 16px/20px var(--display); }
.seg button[aria-pressed="true"] { background: var(--blue); color: var(--white); }
.doors { display: grid; gap: 12px; }
.panel3d { position: absolute; top: 0; bottom: 0; right: 0; width: 45.8%; }
.photo { position: absolute; inset: 0; clip-path: polygon(24.2% 0, 100% 0, 100% 100%, 0 100%, 0 19.5%); background: #2a2a2a url(../img/hero/stand.jpg) center / cover no-repeat; }
.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 72, 153, 0) 0%, rgba(0, 72, 153, .08) 24%, rgba(0, 72, 153, .9) 48%, #004899 100%); }
.slash { position: absolute; left: -28px; top: 0; width: 172px; height: 172px; background: linear-gradient(135deg, transparent calc(50% - 6px), var(--blue) calc(50% - 6px), var(--blue) calc(50% + 6px), transparent calc(50% + 6px)); transform: scaleX(-1); }
.ptag { position: absolute; right: 16px; top: 16px; background: rgba(0, 0, 0, .5); color: var(--white); border-radius: 14px; padding: 6px 12px; font: 500 14px/16px var(--label); z-index: 4; }
.objs { position: absolute; inset: 0; z-index: 3; }
.obj { position: absolute; transform: translateX(0); filter: drop-shadow(0 18px 18px rgba(0, 10, 30, .35)); transition: opacity .3s, transform .3s; }
.obj { touch-action: pan-y; cursor: grab; }
.obj:active { cursor: grabbing; }
.obj img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.obj.sel::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: -10px; height: 4px; border-radius: 2px; background: var(--orange); }
.obj button { position: absolute; inset: 0; border-radius: 12px; cursor: inherit; }
.obj:hover { transform: translateY(-4px); }
.objs.dim .obj:not(.sel) { opacity: .4; }
.ring { position: absolute; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; pointer-events: none; }
.flow { position: absolute; pointer-events: none; overflow: visible; }
.flow path { stroke: var(--orange); stroke-width: 2; fill: none; stroke-dasharray: 8 10; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -36; } }
.turnring { position: absolute; border: 2px solid rgba(255, 255, 255, .95); border-radius: 50%; pointer-events: none; }
.handle { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); border: 2px solid var(--white); pointer-events: none; }
.badge { position: absolute; background: var(--orange); color: var(--ink); border-radius: 18px; padding: 10px 16px; font: 500 14px/16px var(--label); pointer-events: none; }
.helper { position: absolute; left: 50%; top: 16px; transform: translateX(-30%); background: rgba(0, 0, 0, .45); color: var(--white); border-radius: 16px; padding: 8px 14px; font: 500 14px/16px var(--label); z-index: 4; white-space: nowrap; }
.pop { position: absolute; z-index: 6; width: 260px; background: var(--white); color: var(--ink); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); display: grid; gap: 6px; }
.pop .x { position: absolute; right: 10px; top: 8px; font-size: 18px; line-height: 1; padding: 4px; }
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .panel3d { position: relative; width: auto; aspect-ratio: 660 / 820; max-height: 760px; margin-inline: calc(-1 * var(--gutter)); }
  .hcopy { padding-block: 40px 32px; }
}

/* next steps (role) */
.next { background: var(--white); border-top: 1px solid rgba(0, 0, 0, .06); }
.next .wrap { padding-block: 40px; display: grid; gap: 20px; }
.ncards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ncard { background: var(--bg); border-radius: var(--r); padding: 24px; display: grid; gap: 8px; text-decoration: none; }
.ncard:hover { outline: 2px solid var(--blue); }
@media (max-width: 800px) { .ncards { grid-template-columns: 1fr; } }

/* stage */
.stagewrap { background: var(--blue); }
.stage { position: relative; height: clamp(860px, 68vw, 980px); overflow: hidden; color: var(--white); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage .photo2 { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .5s; }
.stage .photo2.on { opacity: 1; animation: kb 14s ease-out both; }
@keyframes kb { from { transform: scale(1.06); } to { transform: scale(1); } }
.stage .ptint { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 40, 90, .55), rgba(0, 40, 90, .05) 60%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.stage .ptint.on { opacity: 1; }
.stage .scrimT { position: absolute; left: 0; right: 0; top: 0; height: 360px; background: linear-gradient(180deg, rgba(0, 72, 153, .9), rgba(0, 72, 153, .55) 60%, rgba(0, 72, 153, 0)); pointer-events: none; }
.stage .scrimB { position: absolute; left: 0; right: 0; bottom: 0; height: 240px; background: linear-gradient(0deg, rgba(0, 72, 153, .85), rgba(0, 72, 153, 0)); pointer-events: none; }
.stage .in { position: relative; height: 100%; max-width: calc(var(--col) + 2 * var(--gutter)); margin-inline: auto; padding: 40px var(--gutter); display: grid; grid-template-rows: auto auto 1fr auto; gap: 24px; pointer-events: none; }
.stage .in > * { pointer-events: auto; }
.stage .in .gap { pointer-events: none; }
.sthead { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-start; }
.sthead > div:first-child { display: grid; gap: 16px; min-width: 0; }
.tog { display: inline-flex; padding: 4px; border-radius: 22px; background: rgba(0, 72, 153, .9); }
.tog button { padding: 9px 16px; border-radius: 18px; font: 500 14px/16px var(--label); color: var(--white); }
.tog button[aria-pressed="true"] { background: var(--white); color: var(--blue); }
.mtabs { display: flex; gap: 4px; padding: 4px; border-radius: 28px; background: rgba(0, 72, 153, .9); overflow-x: auto; scrollbar-width: none; justify-self: start; max-width: 100%; }
.mtabs button { padding: 12px 18px; border-radius: 24px; font: 500 16px/20px var(--display); color: var(--white); white-space: nowrap; }
.mtabs button[aria-selected="true"] { background: var(--white); color: var(--blue); }
.mtabs button:hover:not([aria-selected="true"]) { background: rgba(255, 255, 255, .12); }
.cap { width: min(460px, 100%); align-self: start; background: rgba(0, 72, 153, .92); border-radius: var(--r); padding: 22px 24px; display: grid; gap: 10px; }
.cap .tm { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cap p { margin: 0; }
.cap .sys { display: flex; flex-wrap: wrap; gap: 6px; }
.cap .sys button { background: rgba(255, 255, 255, .14); border-radius: 14px; padding: 6px 10px; font: 500 14px/16px var(--label); color: var(--white); }
.cap .sys button:hover { background: rgba(255, 255, 255, .28); }
.cap .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.dialrow { display: flex; align-items: center; gap: 16px; }
.dial { width: 84px; height: 84px; flex: none; touch-action: none; cursor: grab; }
.dial:active { cursor: grabbing; }
.dial text { fill: var(--white); font: 700 14px var(--display); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; background: rgba(0, 72, 153, .92); border-radius: var(--r); padding: 16px 24px; }
.player { display: grid; gap: 12px; min-width: 0; flex: 1 1 360px; }
.player .row { display: flex; align-items: center; gap: 14px; }
.pz { width: 44px; height: 44px; border-radius: 22px; display: grid; place-items: center; color: var(--white); }
.pz:hover { background: rgba(255, 255, 255, .12); }
.prog { height: 4px; background: rgba(255, 255, 255, .25); border-radius: 2px; max-width: 540px; }
.prog i { display: block; height: 100%; width: 0; background: var(--white); border-radius: 2px; }
.ro { display: flex; }
.ro div { padding: 6px 20px; border-left: 1px solid rgba(255, 255, 255, .2); min-width: 112px; display: grid; gap: 2px; }
.ro small { font: 500 14px/16px var(--label); }
.ro b { font: 500 20px/25px var(--display); font-variant-numeric: tabular-nums; }
.ro .bad b::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); margin-right: 8px; vertical-align: 2px; }
.lbl { position: absolute; z-index: 2; background: var(--blue); color: var(--white); border-radius: 17px; padding: 8px 14px; font: 500 14px/16px var(--label); pointer-events: none; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.load { position: absolute; right: var(--gutter); top: 50%; font: 500 14px/16px var(--label); color: var(--white); opacity: .8; }
@media (max-width: 760px) { .stage { height: auto; min-height: 980px; } .ro div { min-width: 0; padding: 6px 14px; } .cap { width: 100%; } }

/* sign-up */
.signup .card { background: var(--blue); color: var(--white); border-radius: var(--r2); padding: clamp(32px, 4.4vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 32px 64px; align-items: center; position: relative; overflow: hidden; }
.signup .card > * { position: relative; }
.signup canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.form { display: grid; gap: 12px; }
.form .row { display: flex; gap: 12px; flex-wrap: wrap; }
.field { flex: 1 1 260px; min-height: 52px; border-radius: 8px; border: 0; padding: 0 18px; background: var(--white); color: var(--ink); font: 300 16px/20px var(--body); }
.msg { font: 500 14px/18px var(--label); }
@media (max-width: 900px) { .signup .card { grid-template-columns: 1fr; } }

/* products */
.eco { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 32px; align-items: start; }
.gtabs { display: grid; gap: 8px; }
.gtab { text-align: left; background: var(--white); border-radius: var(--r); padding: 0 24px; min-height: 86px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; position: relative; }
.gtab .n { font: 900 28px/35px var(--display); color: var(--blue); }
.gtab .t { font: 500 20px/25px var(--display); }
.gtab img { height: 44px; width: auto; }
.gtab .more { display: none; grid-column: 1 / -1; padding-bottom: 24px; gap: 8px; }
.gtab[aria-selected="true"] { background: var(--blue); color: var(--white); padding-top: 24px; }
.gtab[aria-selected="true"]::before { content: ''; position: absolute; left: 0; top: 28px; width: 4px; height: 48px; background: var(--orange); }
.gtab[aria-selected="true"] .n { color: var(--orange); }
.gtab[aria-selected="true"] .more { display: grid; }
.gtab[aria-selected="true"] img { display: none; }
.help { border: 1px solid rgba(0, 0, 0, .12); border-radius: var(--r); padding: 24px; display: grid; gap: 8px; }
.ppanel { background: var(--white); border-radius: var(--r2); overflow: hidden; min-width: 0; }
.pstage { position: relative; background: var(--grad); color: var(--white); min-height: 400px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: stretch; }
.pcap { padding: 40px; display: grid; gap: 6px; align-content: start; position: relative; z-index: 2; }
.pfigs { display: grid; gap: 12px; margin-top: 24px; }
.pfigs small { display: block; font: 300 14px/21px var(--body); opacity: .9; }
.turn { position: relative; display: grid; place-items: end center; padding: 32px 24px 44px; touch-action: pan-y; cursor: grab; user-select: none; }
.turn:active { cursor: grabbing; }
.turn img { max-height: 300px; width: auto; position: relative; z-index: 2; filter: drop-shadow(0 18px 16px rgba(0, 10, 30, .4)); pointer-events: none; }
.turn .rings { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); width: 480px; height: 96px; }
.turn .rings i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; }
.turn .badge { right: 24px; top: 70px; }
.turn .angles { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; align-items: center; }
.turn .angles i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.turn .angles i.on { width: 10px; height: 10px; background: var(--white); }
.turn .note { position: absolute; bottom: 12px; right: 16px; font: 500 12px/14px var(--label); opacity: .8; }
.range { padding: 32px 40px 40px; display: grid; gap: 20px; }
.rinfo { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.rinfo p { margin: 0; max-width: 62ch; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 16px; }
.pcard { background: var(--bg); border-radius: var(--r); padding: 12px 12px 16px; display: grid; gap: 10px; align-content: start; border: 2px solid transparent; }
.pcard.on { border-color: var(--blue); }
.pcard .im { background: var(--white); border-radius: 12px; height: 150px; display: grid; place-items: center; position: relative; padding: 12px; }
.pcard .im img { max-height: 126px; width: auto; object-fit: contain; }
.pcard .im .tg { position: absolute; left: 8px; top: 8px; background: var(--blue); color: var(--white); border-radius: 12px; padding: 4px 8px; font: 500 12px/14px var(--label); }
.pcard .tx { display: grid; gap: 4px; padding-inline: 4px; }
.pcard .nm { font: 700 16px/20px var(--display); min-height: 40px; }
.pcard .ln { min-height: 42px; }
.pcard .ac { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.pcard .ac button { font: 500 14px/16px var(--label); color: var(--blue); }
.pcard .ac button.sp { font: 700 16px/20px var(--display); }
.racts { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
@media (max-width: 1100px) { .eco { grid-template-columns: 1fr; } .gtabs { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } .gtab[aria-selected="true"] { grid-column: 1 / -1; } .help { display: none; } }
@media (max-width: 760px) { .pstage { grid-template-columns: 1fr; } .pcap { padding: 28px 24px 0; } .range { padding: 24px; } .turn .rings { width: 320px; } }

/* installer */
.buy { position: relative; overflow: hidden; }
.buy .wrap { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 48px; position: relative; z-index: 2; }
.buy .left { display: grid; gap: 40px; align-content: start; }
.mapbox { position: relative; min-height: 640px; }
.mapbox svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ghost { position: absolute; right: 0; top: -24px; font: 200 clamp(80px, 13vw, 200px)/1 var(--display); color: var(--white); pointer-events: none; text-align: right; }
.plist { background: var(--white); color: var(--ink); border-radius: var(--r); padding: 28px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.ctry { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg); border-radius: 8px; padding: 0 16px; min-height: 52px; }
.ctry select { border: 0; background: transparent; font: 500 20px/25px var(--display); padding: 10px 0; flex: 1; min-width: 0; }
.partner { display: grid; grid-template-columns: 28px 1fr auto; gap: 4px 14px; padding-block: 18px; border-top: 1px solid rgba(0, 0, 0, .12); }
.partner .num { width: 28px; height: 28px; border-radius: 14px; background: var(--blue); color: var(--white); display: grid; place-items: center; font: 500 14px/16px var(--label); }
.partner.on .num { background: var(--orange); color: var(--ink); }
.partner .acts { grid-column: 2 / -1; display: flex; gap: 16px; flex-wrap: wrap; }
.partner .acts a { color: var(--blue); text-decoration: none; font: 500 16px/20px var(--display); }
.pinbtn { cursor: pointer; }
.pnote { opacity: .85; }
@media (max-width: 1000px) { .buy .wrap { grid-template-columns: 1fr; } .mapbox { min-height: 460px; order: -1; } .ghost { font-size: 88px; top: 0; } }

/* stories */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r2); overflow: hidden; background: var(--blue); color: var(--white); }
.feat img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.feat .tx { padding: clamp(28px, 4vw, 56px); display: grid; gap: 20px; align-content: center; }
.feat .figs { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.feat .figs b { display: block; font: 900 28px/35px var(--display); color: var(--orange); }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.ccard { background: var(--white); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: 180px 1fr; text-decoration: none; }
.ccard .im { position: relative; }
.ccard .im img { width: 100%; height: 180px; object-fit: cover; }
.ccard .im span { position: absolute; left: 12px; top: 12px; background: var(--white); border-radius: 14px; padding: 6px 10px; font: 500 14px/16px var(--label); }
.ccard .bd { padding: 20px 24px 24px; display: grid; gap: 16px; align-content: space-between; }
.ccard .bd > div { display: grid; gap: 10px; }
.ccard:hover .h4 { color: var(--blue); }
.foot { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 40px; }
.empty { grid-column: 1 / -1; background: var(--white); border-radius: var(--r); padding: 32px; }
@media (max-width: 1100px) { .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .feat { grid-template-columns: 1fr; } .cards4 { grid-template-columns: 1fr; } }

/* learn */
.learn .wrap > .body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 32px; }
.sess { display: grid; grid-template-columns: 112px 1fr auto; gap: 8px 24px; align-items: center; padding-block: 24px; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.sess .dd { font: 900 64px/64px var(--display); font-variant-numeric: tabular-nums; text-align: center; }
.sess .mm { display: block; font: 500 14px/16px var(--label); text-align: center; margin-top: 6px; }
.vp { background: var(--white); color: var(--ink); border-radius: var(--r); padding: 32px; display: grid; gap: 16px; align-content: space-between; }
.vp .h3 { color: var(--blue); }
.vp hr { border: 0; border-top: 1px solid rgba(0, 0, 0, .12); margin: 8px 0; width: 100%; }
.on-blue .chip { background: transparent; border-color: rgba(255, 255, 255, .6); color: var(--white); }
.on-blue .chip[aria-pressed="true"] { background: var(--white); color: var(--blue); border-color: var(--white); }
@media (max-width: 1000px) { .learn .wrap > .body { grid-template-columns: 1fr; } .sess { grid-template-columns: 72px 1fr; } .sess .dd { font-size: 44px; line-height: 44px; } .sess .btn { grid-column: 2; justify-self: start; } }

/* news */
.newsg { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 48px; }
.npin { display: grid; gap: 16px; text-decoration: none; align-content: start; }
.npin .im { position: relative; }
.npin img { border-radius: var(--r); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.npin .im span { position: absolute; left: 16px; top: 16px; background: var(--orange); border-radius: 14px; padding: 6px 10px; font: 500 14px/16px var(--label); }
.nrow { display: grid; grid-template-columns: 176px 1fr auto; gap: 24px; align-items: center; padding-block: 20px; border-top: 1px solid rgba(0, 0, 0, .12); text-decoration: none; }
.nrow:first-child { border-top: 0; }
.nrow img { width: 176px; height: 104px; object-fit: cover; border-radius: 12px; }
.nrow:hover .h4, .npin:hover .h3 { color: var(--blue); }
@media (max-width: 1000px) { .newsg { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .nrow { grid-template-columns: 112px 1fr; } .nrow img { width: 112px; height: 72px; } .nrow .arr { display: none; } }

/* faq */
.faqg { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 64px; }
.faqg .left { display: grid; gap: 16px; align-content: start; }
.stuck { background: var(--white); border-radius: var(--r); padding: 24px; display: grid; gap: 8px; margin-top: 8px; }
details { border-bottom: 1px solid rgba(0, 0, 0, .16); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding-block: 26px; font: 500 20px/25px var(--display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--blue); font-weight: 700; }
details[open] summary::after { content: '\2212'; }
details p { margin: 0 0 24px; max-width: 64ch; }
@media (max-width: 900px) { .faqg { grid-template-columns: 1fr; gap: 32px; } }

/* footer */
.ft { background: var(--blue); color: var(--white); position: relative; overflow: hidden; }
.ft .wrap { padding-block: 64px 40px; display: grid; gap: 40px; position: relative; z-index: 2; }
.payoff { font: 900 clamp(32px, 3.4vw, 48px)/1.25 var(--display); }
.payoff span { font-weight: 200; }
.fcols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 1px solid rgba(255, 255, 255, .3); padding-top: 40px; }
.fcols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fcols a { text-decoration: none; font: 400 14px/16px var(--label); }
.fcols a:hover { text-decoration: underline; }
.fcols h4 { margin: 0 0 6px; font: 500 14px/16px var(--label); }
.fbot { border-top: 1px solid rgba(255, 255, 255, .3); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font: 400 14px/16px var(--label); }
.ft canvas { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 220px; opacity: .6; }
@media (max-width: 900px) { .fcols { grid-template-columns: 1fr 1fr; } .fcols > div:first-child { grid-column: 1 / -1; } }

/* tray, drawer, toast */
.trayb { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: inline-flex; align-items: center; gap: 12px; background: var(--white); border-radius: 28px; padding: 10px 10px 10px 20px; box-shadow: var(--shadow); font: 700 16px/20px var(--display); }
.trayb .c { width: 32px; height: 32px; border-radius: 16px; background: var(--blue); color: var(--white); display: grid; place-items: center; font: 500 14px/16px var(--label); }
.trayb.bump { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.08); } }
.shade { position: fixed; inset: 0; background: rgba(0, 20, 51, .45); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s; }
.shade.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100%); z-index: 61; background: var(--bg2); transform: translateX(105%); transition: transform .3s ease; overflow-y: auto; padding: calc(24px + env(safe-area-inset-top, 0px)) 32px calc(32px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 20px; align-content: start; }
.drawer.on { transform: none; }
.drawer .x { justify-self: end; font: 500 14px/16px var(--label); padding: 10px 14px; border-radius: 18px; border: 1px solid rgba(0, 0, 0, .2); }
.drawer .dimg { background: var(--white); border-radius: var(--r); height: 240px; display: grid; place-items: center; padding: 16px; }
.drawer .dimg img { max-height: 208px; width: auto; }
.specs { width: 100%; border-collapse: collapse; }
.specs td { padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, .12); vertical-align: top; }
.specs td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; padding-left: 16px; }
.titem { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; background: var(--white); border-radius: 12px; padding: 10px 14px 10px 10px; }
.titem img { width: 64px; height: 52px; object-fit: contain; }
.titem button { font: 500 14px/16px var(--label); color: var(--blue); }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 70; background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 12px; font: 500 14px/18px var(--label); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.proto { background: var(--ink); color: var(--white); font: 500 12px/16px var(--label); text-align: center; padding: 8px 16px; }

/* additions */
.cshadow { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,12,40,.55), rgba(0,12,40,0)); pointer-events: none; }
.pulse { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,102,51,.25); pointer-events: none; }
.forrole { display: flex; flex-wrap: wrap; gap: 8px 20px; min-height: 20px; }
.pop .h4 { padding-right: 20px; }
.pop .live { color: var(--grey); }
.pop .row { display: flex; gap: 16px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.mob-hide { }
@media (max-width: 1000px) { .helper { left: 16px; transform: none; top: 12px; } .ptag { display: none; } }
.chips.dark .chip { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: var(--white); }
.stage .loc2 { font: 500 14px/16px var(--label); opacity: .85; }
.stage.is-photo canvas { opacity: 0; transition: opacity .4s; }
.stage canvas { transition: opacity .4s; }
.dialrow[hidden] { display: none; }
.proto a { color: var(--white); }
.sessions { display: grid; }
.more-s { margin-top: 24px; justify-self: start; }
.ghost.sm { font-size: clamp(56px, 8vw, 140px); }
.sample { display: inline-block; background: var(--bg); color: var(--ink); border-radius: 10px; padding: 3px 8px; font: 500 12px/14px var(--label); }
.on-blue .sample { background: rgba(255,255,255,.16); color: var(--white); }
.ft .neg svg { width: 168px; height: auto; }
.ft svg.sine { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; opacity: .7; pointer-events: none; }
.drawer form { display: grid; gap: 10px; }
.drawer .field { border: 1px solid rgba(0,0,0,.2); flex: none; width: 100%; }
.err { color: #b3261e; font: 500 14px/18px var(--label); }
.signup .err { color: var(--white); }
.pstage .static { display: grid; place-items: center; padding: 32px; }
.pstage .static img { max-height: 280px; width: auto; }
.mapbox .pin { cursor: pointer; }
.mapbox path { transition: fill .3s, opacity .3s; }
[hidden] { display: none !important; }
.stage .in { z-index: 3; }
.stage .photo2, .stage canvas, .stage .ptint { z-index: 0; }
.stage .scrimT, .stage .scrimB { z-index: 1; }
.stage .lbl, .stage .load { z-index: 2; }

.cap .link { color: var(--white); }
.feat { text-decoration: none; }
.shead .chips { max-width: 640px; }
.drawer { visibility: hidden; transition: transform .3s ease, visibility 0s .3s; }
.drawer.on { visibility: visible; transition: transform .3s ease; }
@media (max-width: 560px) { .top .wrap { gap: 10px; } .top .btn.blue { min-height: 40px; padding: 0 14px; font-size: 14px; } .menu { padding: 0 14px; } .logo { width: 124px; } }
@media (max-width: 380px) { .top .btn.blue { display: none; } }
.stage.is-photo canvas { visibility: hidden; }
.stage.is-photo .scrimT { height: 320px; opacity: .75; }
.stage.is-photo .scrimB { opacity: .7; }
.stage .ptint { background: linear-gradient(90deg, rgba(0, 40, 90, .45), rgba(0, 40, 90, 0) 55%); }
.stage .photo2 { transition: none; }
.stage .photo2.on { opacity: 1; animation: kb2 14s ease-out both; }
@keyframes kb2 { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .stage .photo2.on { animation: none !important; opacity: 1; } }
/* section flow: the sign-up card straddles the seam into the product section; Latest and FAQ share one ground with a rule */
.sec.signup { background: linear-gradient(180deg, var(--bg2) 0 55%, var(--bg) 55% 100%); padding-bottom: 0; }
.sec.signup + .sec.light { padding-top: clamp(64px, 6vw, 88px); }
#faq.sec { background: var(--bg); padding-top: 0; }
#faq .faqg { border-top: 1px solid rgba(0, 0, 0, .12); padding-top: clamp(56px, 6vw, 80px); }
#news.sec { padding-bottom: clamp(56px, 6vw, 80px); }
@media (max-width: 1000px) { .buy .left { display: contents; } .buy .left > :first-child { order: -2; } .buy .mapbox { order: -1; min-height: 400px; } }
