/* ======================================================================
   HyperPad.Fun — "Quiet liquidity." Pale-mint editorial-minimal.
   Flat, bright, oversized serif, hairline structure, one mint accent,
   launches as typographic rows, a slow flowing wave as the signature.
   ====================================================================== */
:root {
  --bg:        #e9f5f0;
  --bg-2:      #f3faf7;
  --paper:     #fbfdfc;
  --ink:       #0b2e2a;
  --ink-2:     #517069;
  --ink-3:     #8aa79f;
  --mint:      #0d9e84;
  --mint-2:    #12c2a3;
  --mint-soft: #cdeee5;
  --coral:     #d9574f;
  --amber:     #bd812a;
  --line:      rgba(11, 46, 42, 0.12);
  --line-2:    rgba(11, 46, 42, 0.26);

  --radius: 4px;
  --maxw: 1080px;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.022em; line-height: 1.04; margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 2px; }

/* signature: flowing liquidity wave */
#wave { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.55; }
main, .topbar, .foot { position: relative; z-index: 1; }
#top, #sales, #how { scroll-margin-top: 92px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 3px; }
.skip-link:focus { left: 14px; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(233, 245, 240, 0.78); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
/* embedded in the HyperPad hybrid shell: hide our own TOPBAR (the shell's sticky upper nav replaces
   it). Keep our FOOTER — the shell's iframe is full-height so its own footer is unreachable below it;
   ours is the natural one at the bottom of the content, and the shell hides its footer on the EVM
   rail so there's exactly one. */
html.embedded .topbar, html.embedded .skip-link { display: none !important; }
.nav { display: flex; align-items: center; gap: 26px; max-width: var(--maxw); margin: 0 auto; padding: 16px 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { color: var(--mint); display: grid; place-items: center; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: 12px; }
.nav-links a { color: var(--ink-2); font-size: 0.95rem; transition: color 0.2s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { background: none; border: none; color: var(--ink); padding: 0; font: inherit; font-size: 0.95rem; cursor: pointer; border-bottom: 1.5px solid var(--mint); padding-bottom: 2px; transition: color 0.2s; }
.nav-cta:hover { color: var(--mint); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.net-pill { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 0.72rem; color: var(--ink-2); }
.net-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.net-pill.wrong .dot { background: var(--amber); }

/* ---------- buttons / links ---------- */
.btn { font: inherit; font-weight: 600; cursor: pointer; border-radius: var(--radius); padding: 12px 22px; border: 1px solid var(--ink); color: var(--ink); background: transparent; transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s, transform 0.12s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--mint); border-color: var(--mint); color: #042a22; }
.btn-primary:hover:not(:disabled) { background: var(--mint-2); border-color: var(--mint-2); }
.btn-ghost:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.btn-connect { border-color: var(--mint); color: var(--mint); padding: 9px 17px; font-size: 0.9rem; }
.btn-connect:hover { background: var(--mint); color: #042a22; }
.btn-connect.connected { font-family: var(--mono); font-size: 0.8rem; }
.btn-full { width: 100%; justify-content: center; display: flex; }
.btn-danger { border-color: var(--coral); color: var(--coral); }
.btn-danger:hover:not(:disabled) { background: var(--coral); color: var(--bg); }
/* underlined text link (the "go" style) */
.link-go { font-weight: 600; border-bottom: 2px solid var(--mint); padding-bottom: 3px; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.link-go:hover { color: var(--mint); }
.link-go.mut { color: var(--ink-2); border-color: var(--line-2); }

/* ---------- hero ---------- */
.hero { max-width: var(--maxw); margin: 0 auto; padding: 50px 28px 30px; }
.hero-mark { display: block; width: 84px; height: 84px; margin: 0 0 18px; touch-action: none; animation: floaty 5.5s var(--ease) infinite; }
.hero-mark canvas { display: block; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.eyebrow { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mint); margin: 0 0 30px; display: inline-flex; align-items: center; gap: 11px; opacity: 0; animation: rise 0.7s var(--ease) 0.05s forwards; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(13,158,132,.45);} 70%,100% { box-shadow: 0 0 0 9px rgba(13,158,132,0);} }
.hero-title { font-weight: 800; font-size: clamp(2.2rem, 5.4vw, 4.1rem); line-height: 1.02; letter-spacing: -0.035em; opacity: 0; animation: rise 0.8s var(--ease) 0.12s forwards; }
.hero-title .grad { color: var(--mint); }
.hero-sub { max-width: 520px; color: var(--ink-2); font-size: 1.16rem; margin: 28px 0 36px; opacity: 0; animation: rise 0.8s var(--ease) 0.2s forwards; }
.hero-actions { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; opacity: 0; animation: rise 0.8s var(--ease) 0.28s forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.statbar { max-width: var(--maxw); margin: 0 auto; padding: 15px 28px; display: flex; gap: 26px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 0.82rem; color: var(--ink-2); position: relative; z-index: 1; }
.statbar b { font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--ink); margin-right: 7px; letter-spacing: -0.01em; }
.statbar .net { margin-left: auto; display: flex; align-items: center; gap: 7px; color: var(--ink-3); }
.statbar .net .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }

/* ---------- launches ---------- */
.sales { max-width: var(--maxw); margin: 0 auto; padding: 60px 28px; }
.sales-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 10px; }
.sales-head h2 { font-size: 1.85rem; }
.filters { display: flex; gap: 22px; }
.chip { font: inherit; font-size: 0.92rem; color: var(--ink-2); background: none; border: none; cursor: pointer; padding: 0 0 4px; border-bottom: 1.5px solid transparent; transition: color 0.2s, border-color 0.2s; }
.chip:hover { color: var(--ink); }
.chip.is-active { color: var(--ink); border-color: var(--mint); }

.banner { border: 1px solid var(--line-2); border-left: 2px solid var(--mint); background: var(--bg-2); border-radius: var(--radius); padding: 14px 16px; color: var(--ink-2); font-size: 0.92rem; margin: 22px 0 6px; }
.banner b { color: var(--mint); }
.banner code { font-family: var(--mono); font-size: 0.85em; color: var(--ink); }

/* shared progress bar (used by cards + drawer) */
.bar { position: relative; height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar > i { position: absolute; inset: 0 auto 0 0; background: var(--mint); border-radius: 99px; animation: fill 1s var(--ease) both; }
@keyframes fill { from { width: 0 !important; } }
.bar.is-live > i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); transform: translateX(-100%); animation: shimmer 2.6s var(--ease) infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes blink { 50% { opacity: 0.25; } }
.s-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 5px; vertical-align: 1px; }
.lr-status.live .s-dot, .lc-status.live .s-dot { animation: blink 1.4s steps(2) infinite; }
/* drawer status + meta (reused from detail) */
.lr-status { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint); }
.lr-status.upcoming { color: var(--amber); } .lr-status.ended, .lr-status.finalized { color: var(--ink-2); } .lr-status.cancelled { color: var(--coral); }
.lr-meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.84rem; color: var(--ink-2); }
.lr-meta b { color: var(--ink); font-weight: 500; }

/* launch cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(336px, 1fr)); gap: 18px; }
.launch-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 22px; cursor: pointer; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.launch-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.launch-card .bar { height: 9px; }
.lc-head { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.lc-avatar { width: 44px; height: 44px; border-radius: 11px; flex: none; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 0.95rem; color: #06372e; }
.lc-id { min-width: 0; }
.lc-id h3 { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1; }
.lc-id .addr { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); margin-top: 4px; }
.lc-status { margin-left: auto; align-self: flex-start; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint); padding: 5px 10px; border: 1px solid var(--mint); border-radius: 99px; white-space: nowrap; }
.lc-status.upcoming { color: var(--amber); border-color: rgba(189,129,42,.5); }
.lc-status.ended, .lc-status.finalized { color: var(--ink-2); border-color: var(--line-2); }
.lc-status.cancelled { color: var(--coral); border-color: rgba(217,87,79,.5); }
.lc-figs { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); margin-top: 12px; }
.lc-figs .raised { font-size: 0.92rem; color: var(--ink-2); }
.lc-figs .raised b { color: var(--ink); font-weight: 600; font-size: 1.02rem; }
.lc-figs .pct { font-size: 1.15rem; color: var(--mint); }
.lc-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.lc-stats > div:nth-child(2) { text-align: center; }
.lc-stats > div:last-child { text-align: right; }
.lc-stats .k { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.lc-stats .v { font-family: var(--mono); font-size: 0.86rem; margin-top: 6px; }
.lc-stats .v.mint { color: var(--mint); }
.lc-cta { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.lc-cta .go { color: var(--mint); font-weight: 600; font-size: 0.92rem; transition: gap 0.2s; }
.launch-card:hover .lc-cta .go { text-decoration: underline; text-underline-offset: 3px; }
.lc-cta .soft { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); }
.preview-tag { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.14em; color: var(--amber); border: 1px solid rgba(189,129,42,.4); padding: 2px 6px; border-radius: 3px; margin-left: 8px; vertical-align: 2px; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--ink-2); padding: 70px 0; border: 1px dashed var(--line); border-radius: 10px; }

/* generic stat label/value (cards, featured) */
.k { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.v { font-family: var(--mono); font-size: 0.86rem; margin-top: 6px; }
.v.mint { color: var(--mint); }

/* sale-type badges */
.badge { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 99px; padding: 4px 10px; white-space: nowrap; }
.badge.mint { color: var(--mint); border-color: rgba(13,158,132,.45); }
.lc-badges { display: flex; gap: 7px; flex-wrap: wrap; margin: -4px 0 16px; }

/* featured launch */
.featured-card { position: relative; z-index: 1; border: 1px solid var(--line-2); border-radius: 14px; background: linear-gradient(180deg, var(--bg-2), var(--paper)); padding: 26px; margin: 4px 0 34px; cursor: pointer; transition: border-color 0.2s var(--ease); }
.featured-card:hover { border-color: var(--mint); }
.ft-label { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint); margin-bottom: 20px; }
.ft-main { display: grid; grid-template-columns: 0.95fr 1.15fr; gap: 38px; align-items: center; }
.ft-head { display: flex; align-items: center; gap: 15px; }
.ft-head .lc-avatar { width: 54px; height: 54px; border-radius: 14px; font-size: 1.2rem; }
.ft-head .lc-id h3 { font-size: 1.7rem; }
.ft-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.ft-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
@media (max-width: 720px) { .ft-main { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- how ---------- */
.how { max-width: var(--maxw); margin: 0 auto; padding: 30px 28px 90px; }
.how h2 { font-size: 1.65rem; margin-bottom: 30px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.steps li { padding: 26px 24px 26px 0; border-left: 1px solid var(--line); padding-left: 24px; }
.steps li:first-child { border-left: 0; padding-left: 0; }
.step-n { font-family: var(--mono); color: var(--mint); font-size: 0.78rem; letter-spacing: 0.1em; }
.steps h3 { font-size: 1.18rem; margin: 16px 0 10px; }
.steps p { color: var(--ink-2); font-size: 0.92rem; margin: 0; }

/* ---------- footer ---------- */
.foot { max-width: var(--maxw); margin: 0 auto; padding: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 0.84rem; border-top: 1px solid var(--line); }
.foot a { color: var(--mint); border-bottom: 1px solid var(--line-2); }
.foot-mono { font-family: var(--mono); font-size: 0.76rem; }

/* ---------- drawers ---------- */
.drawer-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(11, 46, 42, 0.28); backdrop-filter: blur(4px); display: flex; justify-content: flex-end; animation: fade 0.25s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.drawer { position: relative; width: min(500px, 95vw); height: 100%; overflow-y: auto; background: var(--bg-2); border-left: 1px solid var(--line-2); padding: 30px; animation: slide 0.35s var(--ease); }
.drawer-wide { width: min(640px, 96vw); }
@keyframes slide { from { transform: translateX(30px); opacity: 0.5; } }
.drawer-close { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border-radius: 3px; background: none; border: 1px solid var(--line-2); color: var(--ink-2); cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.drawer-close:hover { color: var(--ink); border-color: var(--ink); }
.drawer-title { font-size: 1.6rem; margin-bottom: 6px; }
.drawer-sub { color: var(--ink-2); font-size: 0.95rem; margin: 0 0 24px; }

.d-head { display: flex; gap: 14px; align-items: center; margin: 4px 0 22px; }
.d-title { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; }
.d-sub { font-family: var(--mono); font-size: 0.76rem; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.d-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.d-cell { padding: 14px 16px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--paper); }
.d-cell:nth-child(-n+2) { border-top: 0; }
.d-cell:nth-child(odd) { border-left: 0; }
.d-cell .k { color: var(--ink-2); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; }
.d-cell .v { font-family: var(--mono); font-size: 0.98rem; margin-top: 6px; }
.d-section { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; background: var(--paper); }
.d-section h4 { font-size: 1.25rem; margin: 0 0 12px; }

/* platform admin panel + inline action inputs */
.d-admin { border-color: var(--line-2); border-style: dashed; }
.admin-warn { color: var(--amber); font-size: .82rem; margin: 0 0 12px; line-height: 1.4; }
.admin-b { margin-top: 8px; }
.admin-inl { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.admin-inl input { flex: 1; min-width: 110px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); color: var(--ink); font: inherit; font-size: .82rem; }
.admin-inl .btn { flex: 0 0 auto; }
.field-check { flex-direction: row; align-items: center; }
.field-check > span { display: flex; align-items: flex-start; gap: 8px; font-size: .85rem; color: var(--ink-2); line-height: 1.4; }
.field-check input { width: auto; margin-top: 2px; }
.you-row { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.86rem; padding: 5px 0; color: var(--ink-2); }
.you-row b { color: var(--ink); font-weight: 500; }

.input-wrap { display: flex; gap: 8px; align-items: stretch; }
.input-wrap input { flex: 1; }
.input-wrap .max { background: none; border: 1px solid var(--line-2); color: var(--mint); border-radius: var(--radius); padding: 0 14px; font-family: var(--mono); font-size: 0.78rem; cursor: pointer; }
.input-wrap .max:hover { border-color: var(--mint); }
.countdown { font-family: var(--mono); font-size: 1.1rem; color: var(--mint); }
.hint { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-3); margin-top: 8px; min-height: 1em; }
.hint.warn { color: var(--amber); }

/* ---------- forms ---------- */
.form { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row:has(.field:nth-child(3)) { grid-template-columns: repeat(3, 1fr); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 0.78rem; color: var(--ink-2); }
.field-hint { font-family: var(--mono); font-size: 0.68rem; line-height: 1.35; color: var(--ink-3); }
.field-hint.warn { color: var(--amber); }
input, select { font: inherit; font-family: var(--mono); font-size: 0.9rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 11px 13px; width: 100%; transition: border-color 0.2s, box-shadow 0.2s; }
input::placeholder { color: var(--ink-3); }
input:focus, select:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(13,158,132,.12); outline: none; }
select { cursor: pointer; }
.tabs { display: flex; gap: 24px; margin: 6px 0 20px; border-bottom: 1px solid var(--line); }
.tab { font: inherit; font-size: 0.92rem; color: var(--ink-2); background: none; border: none; border-bottom: 2px solid transparent; padding: 0 0 10px; margin-bottom: -1px; cursor: pointer; }
.tab.is-active { color: var(--ink); border-color: var(--mint); }
.rule { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; margin: 14px 0 2px; }
.rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-note { color: var(--ink-3); font-size: 0.82rem; line-height: 1.6; margin: 4px 0 0; }
.form-note b { color: var(--ink-2); }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; }
.form-fee { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-2); }

/* ---------- toasts ---------- */
.toasts { position: fixed; bottom: 22px; right: 22px; z-index: 60; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, 92vw); }
.toast { background: var(--paper); border: 1px solid var(--line-2); border-left: 2px solid var(--mint); border-radius: var(--radius); padding: 13px 15px; font-size: 0.88rem; box-shadow: 0 10px 30px rgba(11,46,42,.1); animation: toast-in 0.3s var(--ease); }
.toast.err { border-left-color: var(--coral); }
.toast.ok { border-left-color: var(--mint); }
.toast .t-title { font-weight: 600; margin-bottom: 3px; }
.toast .t-body { color: var(--ink-2); font-family: var(--mono); font-size: 0.76rem; word-break: break-word; }
.toast a { color: var(--mint); }
@keyframes toast-in { from { transform: translateY(12px); opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .steps, .form-row, .form-row:has(.field:nth-child(3)) { grid-template-columns: 1fr; }
  .d-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .ft-stats { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 40px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  #wave { display: none; }
  .hero-title, .eyebrow, .hero-sub, .hero-actions, .stats { opacity: 1 !important; transform: none !important; }
}
