/* ===== Homepage v2 hero chart (21 Oct 2026) — see /assets/js/hero-chart.js =====
   One canvas behind the whole hero; the chart is drawn inside .chart-band, above the wordmark. */
.chart-hero{ position:relative; overflow:hidden; isolation:isolate; padding-top:clamp(8px,2vw,24px); }
.chart-canvas{ position:absolute; inset:0; width:100%; height:100%; display:block; z-index:0; pointer-events:none; }
.chart-hero .wrap{ position:relative; z-index:1; }
.chart-band{ height:clamp(220px,23vw,310px); }
.chart-caption{ margin:6px auto 18px; text-align:center; font-size:14px; font-weight:500; color:var(--text-2); max-width:52ch; line-height:1.5; }
.chart-caption span{ font-size:12px; color:var(--muted); }
.chart-hero h1.display{ font-size:clamp(3rem,7vw,5.6rem); letter-spacing:.04em; margin:0 0 14px; }
@media (max-width:640px){ .chart-band{ height:200px; } .chart-caption{ font-size:13px; } }

/* Risk warnings on the homepage (Alice, 21 Oct: the boxed amber version drew "too much
   attention"). Plain centred line, no box. Stays at 14px in --text-2 so it keeps the legibility
   floor counsel set for legal text (10pt minimum, adequate contrast). Drew's doc comment asks
   for risks to be "prominently displayed": this is quieter, not hidden. */
.risk-line{ font-size:14px; line-height:1.55; color:var(--text-2); text-align:center; max-width:70ch; }
.risk-line em{ font-style:italic; }

/* Nav pills centred in the header from 720px up (Alice, 21 Oct). style.css only centres them
   from 940px, because other pages carry a header CTA on the right; this page has none, so
   between 720 and 939px the pills were sitting against the right edge. */
@media (min-width:720px){ .nav-links{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); } }

/* Team cutout beside Dan's line (21 Oct): the picture gets the wider column on desktop. */
.team-split{ max-width:1040px; margin-inline:auto; }
@media (min-width:860px){ .team-split{ grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:48px; } }
.team-split img{ width:100%; max-width:560px; height:auto; margin-inline:auto; filter:drop-shadow(0 18px 40px rgba(0,8,20,.55)); }

/* ===== Variant D4 (22 Oct): THE FUTURE as three fanned prototype screens ("How it works") ===== */
.app-fan-section{ position:relative; }
.app-fan{ position:relative; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(12px,2vw,28px);
  align-items:start; max-width:1080px; margin:clamp(24px,3vw,40px) auto 0; padding-top:8px; }
.app-fan::before{ content:""; position:absolute; left:50%; top:46%; width:min(900px,90%); height:70%;
  transform:translate(-50%,-50%); background:radial-gradient(closest-side, rgba(2,150,240,.32), rgba(2,150,240,0));
  pointer-events:none; z-index:0; }
.fan-item{ position:relative; z-index:1; margin:0; display:flex; flex-direction:column; align-items:center; gap:22px; }
.fan-item .app-device{ width:min(300px,100%); transition:transform .5s var(--ease); }
.fan-left .app-device{ transform:translateY(34px) rotate(-4deg) scale(.92); }
.fan-right .app-device{ transform:translateY(34px) rotate(4deg) scale(.92); }
.fan-mid{ z-index:2; }
.fan-mid .app-device{ box-shadow:0 40px 90px rgba(0,10,25,.7), 0 0 70px rgba(2,192,252,.25), inset 0 1px 0 rgba(255,255,255,.14); }
.fan-item:hover .app-device{ transform:none; }
.app-fan .app-screen{ height:560px; display:flex; flex-direction:column; }
.app-fan .ap-body{ flex:1; align-content:start; }
.fan-left figcaption, .fan-right figcaption{ margin-top:30px; }
.fan-item figcaption{ text-align:center; max-width:30ch; color:var(--text-2); font-size:15px; line-height:1.55; }
.fan-item figcaption strong{ display:block; color:#fff; font-size:17px; font-weight:600; margin-bottom:4px; }
.fan-n{ display:inline-grid; place-items:center; width:30px; height:30px; border-radius:50%; margin-bottom:10px;
  font-weight:700; font-size:14px; color:#04203F; background:linear-gradient(135deg,#0199E0,#02C0FC);
  box-shadow:0 0 18px rgba(2,192,252,.5); }

/* mock-screen parts the token.html screen doesn't have */
.ap-title{ font-weight:700; font-size:12.5px; color:#111724; }
.ap-assets{ display:grid; gap:6px; }
.ap-asset{ display:flex; align-items:center; gap:9px; background:#fff; border-radius:12px; padding:10px 11px;
  box-shadow:0 0 0 1px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.07); transition:background .35s; }
.ap-coin{ width:22px; height:22px; border-radius:50%; display:grid; place-items:center; color:#fff;
  font-size:10px; font-weight:800; flex:none; }
.ap-sym{ font-weight:700; font-size:11.5px; }
.ap-name{ font-size:10.5px; color:#7C8794; }
.ap-check{ margin-left:auto; width:16px; height:16px; border-radius:50%; border:1.5px solid #C5CDD8; flex:none;
  transition:background .35s, border-color .35s; }
.ap-asset.is-on{ background:#F3F7FF; }
.ap-asset.is-on .ap-check{ background:#275CE0; border-color:#275CE0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E");
  background-size:12px; background-position:center; background-repeat:no-repeat; }
.ap-run{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:26px; }
.ap-run-badge{ width:74px; height:74px; border-radius:50%; background:#111724; color:#22C993; display:grid; place-items:center;
  transform:scale(.6); opacity:.25; transition:transform .5s var(--ease), opacity .5s; }
.ap-run-badge svg{ width:34px; height:34px; }
.ap-run.is-done .ap-run-badge{ transform:scale(1); opacity:1; }
.ap-steps{ list-style:none; margin:0; padding:0; display:grid; gap:12px; width:100%; max-width:200px; }
.ap-step{ position:relative; padding-left:30px; font-size:12px; font-weight:600; color:#B3BCC8; line-height:20px; }
.ap-step::before{ content:""; position:absolute; left:0; top:0; width:20px; height:20px; border-radius:50%;
  border:1.5px solid #D5DCE5; box-sizing:border-box; }
.ap-step.is-busy{ color:#111724; }
.ap-step.is-busy::before{ border-color:#22C993; border-right-color:transparent; animation:ap-spin .8s linear infinite; }
.ap-step.is-done{ color:#98A2B0; text-decoration:line-through; }
.ap-step.is-done::before{ border:none; background:#E3F8EF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322C993' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.ap-step.is-last.is-done{ color:#111724; text-decoration:none; }
.ap-step.is-last.is-done::before{ background-color:#111724; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E"); }
@keyframes ap-spin{ to{ transform:rotate(360deg); } }

/* phones: the three screens become a swipeable row; the middle one starts in view */
@media (max-width:860px){
  .app-fan{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:18px; margin-inline:calc(var(--gutter)*-1);
    padding:8px var(--gutter) 12px; scrollbar-width:none; }
  .app-fan::-webkit-scrollbar{ display:none; }
  .fan-item{ flex:0 0 78%; scroll-snap-align:center; }
  .fan-left .app-device, .fan-right .app-device{ transform:none; }
  .fan-left figcaption, .fan-right figcaption{ margin-top:0; }
  .app-fan .app-screen{ height:auto; min-height:540px; }
}
@media (prefers-reduced-motion: reduce){ .ap-step.is-busy::before{ animation:none; } }

/* ===== Variant D5 copy (22 Oct) ===== */
.hero-hook{ margin:0 auto 10px; text-align:center; color:#fff; font-weight:600; font-size:clamp(1.3rem,2.4vw,1.75rem); letter-spacing:-.01em; }
.ocean-goal{ text-align:center; margin-top:clamp(28px,4vw,40px); color:#fff; }
.future-kicker{ margin:0 0 8px; text-align:center; font-size:13px; font-weight:600; letter-spacing:.2em; color:var(--capri); }
.future-sub{ margin:6px 0 14px; text-align:center; color:#fff; font-weight:600; font-size:clamp(1.1rem,1.8vw,1.35rem); }
.fan-n{ width:auto; min-width:30px; padding:0 8px; border-radius:999px; }

/* ===== Testimonials mockup (22 Oct): snap carousel, three cards on desktop ===== */
.t-head{ display:flex; flex-wrap:wrap; gap:16px; align-items:flex-end; justify-content:space-between; margin-bottom:28px; }
.t-head .section-title{ margin:0; }
.t-nav{ display:flex; gap:10px; }
.t-btn{ width:48px; height:48px; border-radius:999px; border:1px solid var(--border); background:rgba(255,255,255,.04);
  color:#fff; display:grid; place-items:center; cursor:pointer; transition:background .2s, border-color .2s, opacity .2s; }
.t-btn svg{ width:20px; height:20px; }
.t-btn:hover:not(:disabled){ background:rgba(2,192,252,.14); border-color:rgba(2,192,252,.5); }
.t-btn:disabled{ opacity:.35; cursor:default; }
.t-track{ display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 40px)/3); gap:20px;
  overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; padding:4px 2px 10px; }
.t-track::-webkit-scrollbar{ display:none; }
.t-card{ scroll-snap-align:start; margin:0; display:flex; flex-direction:column; gap:20px; padding:28px;
  border-radius:var(--r-xl); border:1px solid var(--hair);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); box-shadow:var(--shadow); }
.t-mark{ width:30px; height:22px; fill:var(--capri); opacity:.85; }
.t-card blockquote{ margin:0; color:#fff; font-size:1.08rem; line-height:1.6; font-weight:400; flex:1; }
.t-card figcaption{ display:flex; align-items:center; gap:12px; font-size:14px; color:var(--text-2); }
.t-card figcaption strong{ display:block; color:#fff; font-weight:600; font-size:15px; }
.t-meta{ display:block; font-size:13px; color:var(--muted); }
.t-avatar{ width:44px; height:44px; flex:none; border-radius:50%; display:grid; place-items:center; font-weight:700; color:#04203F; }
.t-blue{ background:linear-gradient(135deg,#0199E0,#02C0FC); }
.t-teal{ background:linear-gradient(135deg,#35B4EE,#A8E6FB); }
.t-amber{ background:linear-gradient(135deg,#F5A623,#FFD27A); }
.t-note{ margin:18px 0 0; font-size:14px; color:var(--text-2); }
@media (max-width:900px){ .t-track{ grid-auto-columns:calc((100% - 20px)/2); } }
@media (max-width:600px){ .t-track{ grid-auto-columns:85%; } .t-nav{ display:none; } }
