/* ==========================================================================
   Griv — homepage. Structure follows winden.co section for section;
   content, product UI and brand are Griv's.
   ========================================================================== */

:root {
  /* Brand */
  --lava: #F76905;
  --lava-hi: #FF7E24;
  --wood: #291107;
  --wood-2: #3A1A0C;
  --wood-3: #1C0A03;
  --cream: #FEEDE0;
  --yellow: #FEF495;
  --peridot: #DDF94D;
  --gold: #B98A12;
  --clay: #7A4A2A;

  /* Neutrals */
  --bg: #FFFFFF;
  --tile: #FAF6F2;
  --tile-2: #F4ECE5;
  --line: rgba(41, 17, 7, .08);
  --line-2: rgba(41, 17, 7, .14);
  --ink: #291107;
  --ink-2: #6F625B;
  --ink-3: #9A8D86;
  --on-dark: #FFF6EF;
  --on-dark-2: rgba(255, 246, 239, .66);
  --ok-bg: #EEF9C9;
  --ok-ink: #3E5200;

  /* Type */
  --font: "Noto Sans", sans-serif;
  --fs-hero: clamp(42px, 5.6vw, 76px);
  --fs-h2: clamp(34px, 4.5vw, 64px);
  --fs-h2-sm: clamp(32px, 3.9vw, 56px);
  --fs-h3: 24px;
  --fs-sub: clamp(17px, 1.4vw, 20px);
  --fs-body: 16px;
  --fs-sm: 14px;
  --track-tight: -.045em;

  /* Space, radius, shadow */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 144px;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(41, 17, 7, .06), 0 4px 14px -6px rgba(41, 17, 7, .14);
  --sh-2: 0 1px 2px rgba(41, 17, 7, .06), 0 18px 40px -18px rgba(41, 17, 7, .28);
  --sh-glow: 0 10px 30px -8px rgba(247, 105, 5, .55);

  --container: 1232px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --t-fast: .25s;
  --t-med: .6s;
  --t-slow: 1s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
svg use { fill: currentColor; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--wood); color: var(--on-dark); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--lava); outline-offset: 3px; border-radius: 8px; }
.ic { width: 14px; height: 14px; flex: none; }
main { overflow-x: clip; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: var(--r-pill);
  background: var(--lava); color: var(--wood); font-weight: 500; font-size: 16px; letter-spacing: -.01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), var(--sh-glow);
  transition: background-color var(--t-fast), transform var(--t-fast) var(--ease), box-shadow var(--t-fast);
  border: 0; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--lava-hi); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-lg { height: 50px; padding: 0 24px; }
.btn .ic { width: 14px; height: 14px; transition: transform var(--t-fast) var(--ease); }
.btn:hover .ic { transform: translateX(2px); }
.btn-ghost { background: rgba(255,255,255,.02); color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(255,246,239,.16); }
.btn-ghost:hover { background: rgba(255,255,255,.07); }
.btn-ghost .play { width: 16px; height: 16px; background: var(--on-dark); color: var(--wood); border-radius: 50%; padding: 4px 3px 4px 5px; }

/* ---------- Nav (floats over the hero, becomes a light bar on scroll) ---------- */
.nav { position: fixed; z-index: 50; top: 20px; left: 20px; right: 20px; }
.nav-inner {
  height: 124px; padding: 0 max(24px, calc((100% - 1232px) / 2));
  display: flex; align-items: center; gap: 40px; border-radius: 20px;
  transition: background-color .35s, box-shadow .35s, height .35s var(--ease);
}
.nav.over .nav-inner, .nav.solid .nav-inner { height: 84px; }
.nav.over .nav-inner { background: rgba(28, 10, 3, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 rgba(255,246,239,.08); }
.nav.solid .nav-inner { background: rgba(250, 246, 242, .9); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav-logo { position: relative; display: block; }
.nav-logo img { height: 30px; width: auto; transition: opacity .3s; }
.nav-logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav.solid .logo-dark { opacity: 1; } .nav.solid .logo-light { opacity: 0; }
.nav-links { display: flex; gap: 6px; }
.nav-links a, .nav-login { color: var(--on-dark); font-size: 16px; padding: 8px 14px; border-radius: var(--r-pill); transition: color .3s, background-color .2s; }
.nav-links a:hover, .nav-login:hover { background: rgba(255,255,255,.08); }
.nav.solid .nav-links a, .nav.solid .nav-login { color: var(--ink); }
.nav.solid .nav-links a:hover, .nav.solid .nav-login:hover { background: rgba(41,17,7,.05); }
.nav-login-m { display: none; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.btn-nav { height: 44px; padding: 0 22px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.08); border-radius: 50%; cursor: pointer; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: var(--on-dark); transition: transform .3s var(--ease), background-color .3s; }
.nav-toggle span:first-child { top: 18px; } .nav-toggle span:last-child { top: 25px; }
.nav.solid .nav-toggle { background: rgba(41,17,7,.06); } .nav.solid .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Shared section head ---------- */
.sec { padding: 120px 0 80px; }
.sec-head { display: grid; justify-items: center; text-align: center; gap: 0; }
.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  padding: 6px 12px; border: 1px solid var(--line-2); border-radius: var(--r-pill); margin-bottom: 24px;
}
.h2 { font-size: var(--fs-h2); font-weight: 500; line-height: 1.08; letter-spacing: var(--track-tight); max-width: 15em; text-wrap: balance; }
.h2-sm { font-size: var(--fs-h2-sm); }
.sub { margin-top: 18px; font-size: var(--fs-sub); color: var(--ink-2); max-width: 40em; text-wrap: balance; }

/* ---------- Product UI primitives ---------- */
.ui { background: #fff; border-radius: 14px; box-shadow: var(--sh-1); }
.av { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lava); color: var(--wood); font-size: 10.5px; font-weight: 700; letter-spacing: -.02em; flex: none; }
.av.sm { width: 22px; height: 22px; font-size: 9px; }
.av.alt { background: var(--wood); color: var(--on-dark); }
.tav { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c); color: #fff; font-size: 10.5px; font-weight: 700; flex: none; box-shadow: 0 0 0 2px #fff; }
.fi { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--tile-2); color: var(--wood); flex: none; font-size: 14px; }
.fi svg { width: 16px; height: 16px; }
.fi.in { background: #FFE6D3; color: var(--lava); } .fi.out { background: var(--wood); color: var(--on-dark); }
.fi.ok { background: var(--peridot); }
.fi.dress svg { width: 12px; height: 18px; }
.tag { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: var(--r-pill); background: #FFE6D3; color: #9A3B00; }
.tag.ok { background: var(--ok-bg); color: var(--ok-ink); }
.pos { color: #3E7A16; }

/* ==========================================================================
   1 · HERO
   ========================================================================== */
.hero { padding: 20px 20px 0; }
.hero-panel {
  position: relative; overflow: hidden; border-radius: 20px;
  background: radial-gradient(120% 80% at 50% 0%, #3A1A0C 0%, var(--wood) 42%, var(--wood-3) 100%);
  color: var(--on-dark);
}
.hero-glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(38% 34% at 6% 96%, rgba(247,105,5,.75), transparent 70%),
    radial-gradient(30% 40% at 96% 92%, rgba(254,244,149,.5), transparent 70%),
    radial-gradient(40% 30% at 78% 70%, rgba(247,105,5,.35), transparent 70%),
    radial-gradient(40% 30% at 22% 66%, rgba(185,138,18,.28), transparent 70%);
  filter: saturate(1.1);
}
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 152px 20px 0; }
.badge { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--on-dark); padding: 5px 14px; border-radius: var(--r-pill); border: 1px solid rgba(255,246,239,.16); background: rgba(255,255,255,.04); transition: background-color .2s; }
.badge:hover { background: rgba(255,255,255,.08); }
.badge i { width: 1px; height: 12px; background: rgba(255,246,239,.25); }
.h-hero {
  margin-top: 14px; font-size: var(--fs-hero); font-weight: 500; line-height: 1.02; letter-spacing: -.05em;
  background: linear-gradient(180deg, #FFF6EF 20%, #E7CDBB 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  max-width: 13em;
}
.hero-sub { margin-top: 26px; font-size: 18px; color: var(--on-dark-2); max-width: 46em; text-wrap: balance; }
.hero-ctas { display: flex; gap: 12px; margin-top: 32px; }
.hero-how { display: flex; align-items: center; gap: 20px; margin-top: 68px; text-align: left; }
.how-thumb { position: relative; width: 112px; height: 63px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #F76905, #7A2E00); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.mini-card { position: absolute; width: 46px; height: 30px; border-radius: 5px; }
.mini-card.c1 { left: 16px; top: 24px; background: var(--wood); transform: rotate(-14deg); }
.mini-card.c2 { left: 52px; top: 14px; background: var(--cream); transform: rotate(10deg); }
.how-play { position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--wood); display: grid; place-items: center; }
.how-play svg { width: 10px; height: 10px; margin-left: 2px; }
.how-txt { display: grid; gap: 2px; }
.how-txt b { font-weight: 500; font-size: 18px; display: inline-flex; align-items: center; gap: 6px; }
.how-txt small { font-size: 14px; color: var(--on-dark-2); }
.hero-how:hover .how-txt .ic { transform: translateX(3px); }
.how-txt .ic { transition: transform var(--t-fast) var(--ease); }

/* product ecosystem */
.eco { position: relative; width: 100%; max-width: 1180px; margin-top: 60px; display: flex; justify-content: center; }
.console {
  position: relative; z-index: 2; width: 560px; max-width: 100%; text-align: left;
  padding: 44px 56px 40px; border-radius: 40px 40px 0 0;
  background: rgba(28, 10, 3, .72); border: 1px solid rgba(255,246,239,.12); border-bottom: 0;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 -30px 80px -40px rgba(247,105,5,.4);
}
.con-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.con-biz { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 16px; }
.seg { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: rgba(255,255,255,.06); border: 1px solid rgba(255,246,239,.1); }
.seg button { border: 0; background: transparent; color: var(--on-dark-2); font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: var(--r-pill); cursor: pointer; transition: background-color .3s, color .3s; }
.seg button[aria-selected="true"] { background: var(--on-dark); color: var(--wood); }
.con-body { margin-top: 26px; }
.con-label { font-size: 14px; color: var(--on-dark-2); margin-bottom: 10px; }
.con-rows { display: grid; gap: 8px; min-height: 196px; }
.con-rows li {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(255,246,239,.1); background: rgba(255,255,255,.03);
  animation: rowIn .55s var(--ease) both;
}
.con-rows li:nth-child(2) { animation-delay: .08s; } .con-rows li:nth-child(3) { animation-delay: .16s; }
.con-rows .fi { background: rgba(255,255,255,.08); color: var(--on-dark); width: 34px; height: 34px; }
.con-rows .fi.in { background: rgba(247,105,5,.18); color: var(--lava-hi); }
.con-rows b { display: block; font-weight: 500; font-size: 15px; }
.con-rows small { display: block; font-size: 12.5px; color: var(--on-dark-2); }
.con-rows em { font-style: normal; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.con-rows em.pos { color: #C8EE45; }
.con-rows em.st { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); background: rgba(221,249,77,.16); color: #DDF94D; }
.con-rows em.st.wait { background: rgba(254,244,149,.14); color: var(--yellow); }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.con-total {
  margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 26px 30px; border-radius: 20px; border: 1px solid rgba(255,246,239,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(247,105,5,.22));
}
.con-total > span { font-size: 18px; color: var(--on-dark-2); }
.con-total strong { display: grid; justify-items: end; font-weight: 400; }
.con-total strong > span { font-size: 32px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--on-dark); }
.con-total small { font-size: 13px; color: #C8EE45; }

.float {
  position: absolute; z-index: 1; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(255,246,239,.96); color: var(--wood);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); width: 280px;
  animation: bob 7s ease-in-out infinite;
}
.float b { display: block; font-size: 14px; font-weight: 600; }
.float small { display: block; font-size: 12px; color: var(--ink-2); }
.float > em { margin-left: auto; font-style: normal; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.float > em.tag { font-size: 12px; }
.f1 { left: 0; top: 40px; transform: rotate(-3deg); }
.f2 { left: 70px; top: 220px; animation-delay: -2s; transform: rotate(2deg); }
.f3 { right: 0; top: 60px; animation-delay: -4s; transform: rotate(3deg); }
.f4 { right: 60px; top: 240px; animation-delay: -1s; transform: rotate(-2deg); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ==========================================================================
   2 · TICKER
   ========================================================================== */
.ticker { position: relative; overflow: hidden; padding: 30px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tick-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .tick-track { animation-play-state: paused; }
.tick-list { display: flex; gap: 40px; padding-right: 40px; }
.tick-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.tick-list b { color: var(--ink); font-weight: 500; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ==========================================================================
   Bento tiles (shared by sections 3 and 6)
   ========================================================================== */
.bento { display: grid; gap: 8px; margin-top: 8px; }
.why .b-top, .suite .b-two { margin-top: 96px; }
.b-top, .b-two { grid-template-columns: 1fr 1fr; }
.b-bot { grid-template-columns: 2fr 1fr; }
.b-three { grid-template-columns: repeat(3, 1fr); }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--tile);
  padding: 0 40px 40px; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.tile .art { position: relative; width: 100%; height: 380px; display: grid; place-items: center; }
.tile h3 { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.03em; color: #3A2B24; }
.tile p { margin-top: 10px; color: var(--ink-2); font-size: 16px; max-width: 26em; text-wrap: balance; }

/* tile: every way to get paid */
.t-paid .art { align-content: center; gap: 0; grid-template-rows: auto auto auto; padding-top: 30px; }
.bal-pill { display: flex; padding: 6px; gap: 0; background: #fff; border-radius: var(--r-pill); box-shadow: var(--sh-1); outline: 1px solid var(--line); outline-offset: 6px; }
.bp { display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 8px; text-align: left; }
.bp + .bp { border-left: 1px solid var(--line); }
.bp small { display: block; font-size: 12px; color: var(--ink-2); }
.bp b { display: block; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bi { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--wood); color: var(--lava); }
.bi svg { width: 16px; height: 16px; }
.bi.soft { background: #FFE6D3; color: var(--lava); }
.drop { display: grid; place-items: center; width: 52px; height: 30px; margin: 16px auto; border-radius: var(--r-pill); background: var(--lava); color: var(--wood); box-shadow: var(--sh-glow); position: relative; }
.drop::before, .drop::after { content: ""; position: absolute; left: 50%; width: 1px; height: 16px; border-left: 1px dashed var(--line-2); }
.drop::before { bottom: 100%; } .drop::after { top: 100%; }
.drop svg { width: 14px; height: 14px; transform: rotate(-45deg); }
.pay-rows { width: 100%; max-width: 480px; height: 120px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.pay-rows li { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 12px; align-items: center; text-align: left; padding: 14px 18px; background: #fff; border-radius: 12px; box-shadow: var(--sh-1); font-size: 14px; margin-bottom: 8px; transition: transform .7s var(--ease); }
.pay-rows .pm { font-weight: 500; } .pay-rows .pf { color: var(--ink-3); font-size: 13px; } .pay-rows b { font-weight: 500; font-variant-numeric: tabular-nums; color: #3E7A16; }

/* tile: tools → one platform */
.stack-art { overflow: hidden; }
.tools { position: absolute; inset: 0; }
.tools li {
  position: absolute; left: 50%; top: 50%; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y)));
  padding: 9px 15px; border-radius: var(--r-pill); background: #fff; box-shadow: var(--sh-1); font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  transition: transform 1s var(--ease), opacity .8s, filter .8s;
}
.stack-art .tools li:nth-child(odd) { filter: grayscale(1); }
.one {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 16px 20px 16px 16px; border-radius: 18px; background: #fff; box-shadow: var(--sh-2);
  transform: scale(.85); opacity: 0; transition: transform .8s var(--ease) .5s, opacity .6s .5s;
}
.one-mark { width: 40px; height: 40px; color: var(--lava); }
.one b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.one small { display: block; font-size: 13px; color: var(--ink-2); }
.stack-art.merged .tools li { transform: translate(-50%, -50%) scale(.4); opacity: 0; }
.stack-art.merged .one { transform: none; opacity: 1; }

/* tile: everything connected */
.t-flow { flex-direction: row; align-items: center; text-align: left; padding: 40px 40px 40px 72px; gap: 32px; min-height: 440px; }
.flow-copy { flex: 0 0 340px; }
.h-tile { font-size: clamp(36px, 3.9vw, 56px); font-weight: 500; letter-spacing: var(--track-tight); line-height: 1.05; color: #3A2B24; }
.t-flow .flow-copy p { margin-top: 18px; max-width: 22em; }
.flow-art { position: relative; flex: 1; display: grid; justify-items: center; align-content: center; gap: 20px; }
.flow-art::before { content: ""; position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; margin: -180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(247,105,5,.18), transparent); }
.fstack { position: relative; width: 300px; height: 160px; }
.fcard {
  position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 14px 16px; background: #fff; border-radius: 16px; box-shadow: var(--sh-2);
  transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.fcard b { display: block; font-size: 15px; font-weight: 500; }
.fcard small { display: block; font-size: 13px; color: var(--ink-2); }
.fcard em { margin-left: auto; font-style: normal; font-weight: 600; font-size: 14px; }
.flow-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--r-pill); background: var(--lava); color: var(--wood); font-size: 14px; font-weight: 500; box-shadow: var(--sh-glow); }
.flow-btn svg { width: 14px; height: 14px; animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* tile: cards */
.chips-art { overflow: hidden; }
.ghost-word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); font-size: 190px; font-weight: 700; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(41,17,7,.07); white-space: nowrap; }
.chips { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px; max-width: 330px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: var(--r-pill); background: #fff; box-shadow: var(--sh-1); font-size: 14px; font-weight: 500; }
.chips svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--lava); color: var(--wood); }

/* ==========================================================================
   4 · DEMO (video role)
   ========================================================================== */
.demo-in { padding: 64px 40px; }
.demo-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; }
.demo-in::after { content: ""; position: absolute; right: -120px; top: -140px; width: 760px; height: 760px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: repeating-radial-gradient(circle, rgba(247,105,5,.05) 0 1px, transparent 1px 42px), radial-gradient(closest-side, rgba(247,105,5,.12), transparent); }
.demo .h2 { max-width: none; }
.ai-pill { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; font-size: .52em; letter-spacing: -.02em; padding: .22em .55em .26em .45em; border-radius: var(--r-pill); background: var(--lava); color: var(--wood); box-shadow: var(--sh-glow); transform: translateY(-.12em); }
.ai-pill svg { width: .9em; height: .9em; }
.video { position: relative; justify-self: end; width: 100%; max-width: 460px; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 120% at 20% 100%, #F76905 0%, #7A2E00 45%, var(--wood) 85%);
  box-shadow: 0 0 0 2px rgba(247,105,5,.35), 0 40px 80px -30px rgba(247,105,5,.55); }
.v-poster { position: absolute; inset: 0; transition: opacity .6s, transform .8s var(--ease); }
.pcard { position: absolute; width: 200px; height: 128px; border-radius: 14px; display: grid; }
.pcard.p1 { left: 64px; top: 64px; background: linear-gradient(135deg, #FF8A3D, #F76905); transform: rotate(-16deg); place-items: end start; padding: 16px; }
.pcard.p1 svg { width: 34px; height: 34px; color: var(--wood); }
.pcard.p2 { left: 200px; top: 28px; background: linear-gradient(135deg, #3A1A0C, #1C0A03); transform: rotate(14deg); box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); place-items: end end; padding: 14px 18px; }
.pcard.p2 span { font-size: 30px; font-weight: 700; letter-spacing: -.04em; color: var(--cream); }
.v-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(255,246,239,.9); color: var(--wood); box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .3s var(--ease), opacity .3s, left .6s var(--ease), top .6s var(--ease), width .4s, height .4s, margin .4s; }
.v-play:hover { transform: scale(1.06); }
.v-play svg { width: 26px; height: 26px; margin-left: 4px; }
.v-play .i-z { display: none; margin-left: 0; }
.video.playing .v-play { left: calc(100% - 34px); top: 34px; width: 40px; height: 40px; margin: -20px; }
.video.playing .v-play svg { width: 14px; height: 14px; margin-left: 0; }
.video.playing .v-play .i-p { display: none; } .video.playing .v-play .i-z { display: block; }
.video.playing .v-poster { opacity: 0; transform: scale(1.06); }
.v-stage { position: absolute; inset: 0; opacity: 0; transition: opacity .5s .2s; display: grid; place-items: center; }
.video.playing .v-stage { opacity: 1; }
.v-steps { position: relative; width: 250px; height: 112px; }
.v-steps li { position: absolute; inset: 0; padding: 16px 18px; display: grid; gap: 2px; text-align: left; border-radius: 16px; opacity: 0; transform: translateY(18px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.v-steps li.on { opacity: 1; transform: none; }
.v-steps li.past { opacity: 0; transform: translateY(-18px) scale(.96); }
.v-steps small { font-size: 12px; color: var(--ink-2); }
.v-steps b { font-size: 26px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.v-steps .okb { display: inline-flex; align-items: center; gap: 6px; color: var(--ok-ink); }
.v-steps .okb svg { width: 22px; height: 22px; background: var(--peridot); border-radius: 50%; padding: 3px; color: var(--wood); }
.v-steps span { font-size: 13px; color: var(--ink-2); }
.v-bar { position: absolute; left: 24px; right: 24px; bottom: 18px; height: 3px; border-radius: 3px; background: rgba(255,246,239,.18); overflow: hidden; }
.v-bar i { display: block; height: 100%; width: 0; background: var(--cream); }

/* ==========================================================================
   5 · GRIV AI (sticky story)
   ========================================================================== */
.ai .sec-head .btn { margin-top: 28px; }
.ai .h2 { max-width: 14em; }
.ai-grid { display: grid; grid-template-columns: 560px 1fr; gap: 80px; margin-top: 96px; }
.ai-cards { display: grid; gap: 8px; }
.ai-card { height: 640px; border-radius: var(--r-xl); background: var(--tile); display: grid; place-items: center; padding: 40px; position: relative; overflow: hidden; }
.ai-card::before { content: ""; position: absolute; left: 50%; top: 50%; width: 300px; height: 360px; transform: translate(-50%, -50%); border-radius: 22px; border: 1px solid var(--line); }
.pane { position: relative; width: 300px; padding: 22px; border-radius: 18px; box-shadow: var(--sh-2); text-align: left; }
.pane-head b { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.pane-head small { display: block; font-size: 13px; color: var(--ink-2); }
.am { width: 18px; height: 18px; color: var(--lava); }
.meters { display: grid; gap: 16px; margin-top: 20px; }
.meters li { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-size: 14px; }
.meters i { grid-column: 1 / -1; grid-row: 2; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 2px, transparent 2px 5px); position: relative; overflow: hidden; }
.meters i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--c); border-radius: 2px; transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.ai-card.in .meters i::after { transform: none; }
.meters li:nth-child(2) i::after { transition-delay: .12s; } .meters li:nth-child(3) i::after { transition-delay: .24s; } .meters li:nth-child(4) i::after { transition-delay: .36s; }
.meters b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ask { padding: 0; overflow: hidden; }
.ask .q { margin: 18px 18px 14px auto; width: max-content; max-width: 86%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--wood); color: var(--on-dark); font-size: 14px; }
.thinking { display: flex; width: max-content; margin: 0 auto 14px; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--r-pill); background: var(--lava); color: var(--wood); font-size: 14px; font-weight: 500; box-shadow: var(--sh-glow); }
.thinking svg { width: 16px; height: 16px; }
.ai-card.in .thinking svg { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.85); } }
.checks li { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.checks li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px dashed var(--line-2); flex: none; transition: background-color .3s, border-color .3s; }
.checks li.ok { color: var(--ink); }
.checks li.ok::before { border: 0; background: var(--peridot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5' fill='none' stroke='%23291107' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.answer .a { margin-top: 12px; font-size: 15px; line-height: 1.55; color: #3A2B24; }
.answer .a b { font-weight: 600; color: var(--wood); }
.acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.act { border: 1px solid var(--line-2); background: #fff; border-radius: var(--r-pill); padding: 7px 12px; font-size: 13px; font-weight: 500; cursor: pointer; transition: background-color .2s, border-color .2s; }
.act:hover { background: var(--tile); }
.act.primary { background: var(--lava); border-color: var(--lava); color: var(--wood); }
.act.primary:hover { background: var(--lava-hi); }
.done { display: block; min-height: 0; font-size: 13px; color: var(--ok-ink); margin-top: 0; transition: margin .3s; }
.done:not(:empty) { margin-top: 12px; }

.ai-steps { display: grid; gap: 8px; }
/* each step is as tall as its card, with the text centred — so step N sits level with card N */
.ai-steps li { position: relative; height: 640px; max-width: 300px; display: flex; flex-direction: column; justify-content: center; }
.ai-steps li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: calc(50% + 170px); bottom: calc(-50% + 170px - 8px); width: 1px; background: linear-gradient(var(--line-2), var(--line-2)) top / 1px calc(50% - 10px) no-repeat, linear-gradient(var(--line-2), var(--line-2)) bottom / 1px calc(50% - 10px) no-repeat; }
.s-ic { display: block; width: 40px; height: 40px; color: var(--wood); }
.ai-steps h3 { margin-top: 28px; font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -.035em; }
.ai-steps p { margin-top: 16px; color: var(--ink-2); max-width: 18em; }

/* ==========================================================================
   6 · ALL-IN-ONE PLATFORM
   ========================================================================== */
.b-two .art { height: 360px; }
.acct { display: flex; gap: 32px; align-items: flex-start; }
.acct-bal { width: 248px; padding: 14px 16px 6px; text-align: left; }
.acct-top { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.acct-bal b { display: block; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.acct-bal small { font-size: 12px; color: var(--ink-2); }
.spark { width: 100%; height: 90px; margin-top: 8px; }
.spark .ar { fill: rgba(247,105,5,.12); } .spark .ln { fill: none; stroke: var(--lava); stroke-width: 2; }
.acct-feed { width: 210px; display: grid; gap: 8px; text-align: left; position: relative; }
.tabs2 { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 13px; text-align: center; }
.tabs2 span { padding: 6px 0; border-radius: 9px; color: var(--ink-3); } .tabs2 .on { background: var(--tile); color: var(--ink); box-shadow: var(--sh-1); }
.row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; font-size: 13px; }
.row b { display: block; font-weight: 500; } .row small { display: block; font-size: 11px; color: var(--ink-3); }
.row em { margin-left: auto; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.today { justify-self: center; margin-top: 8px; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: var(--r-pill); background: var(--lava); color: var(--wood); font-size: 13px; font-weight: 500; box-shadow: var(--sh-glow); }
.inv-list { width: 100%; max-width: 460px; padding: 0; overflow: hidden; }
.inv-list li { display: grid; grid-template-columns: 28px 120px 1fr auto; gap: 12px; align-items: center; padding: 13px 16px; font-size: 14px; text-align: left; }
.inv-list li + li { border-top: 1px solid var(--line); }
.inv-list b { font-weight: 500; } .inv-list small { color: var(--ink-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .inv-list em { font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }
.inv-doc { position: relative; margin-top: -10px; width: 250px; padding: 22px 20px 34px; display: grid; justify-items: center; gap: 2px; text-align: center; }
.im { width: 28px; height: 28px; color: var(--lava); margin-bottom: 8px; }
.inv-doc b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.inv-doc small { font-size: 11px; color: var(--ink-2); } .inv-doc .due { color: var(--ink-3); font-size: 10px; }
.paynow { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border-radius: var(--r-pill); background: var(--lava); color: var(--wood); font-size: 14px; font-weight: 500; box-shadow: var(--sh-glow); }

.b-three .art { height: 340px; }
.b-three .tile { padding: 0 32px 40px; }
.po { width: 236px; padding: 10px; text-align: left; }
.po-who { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; padding: 2px 4px 10px; }
.po-who > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 12.5px; }
.po-who .ic { width: 12px; height: 12px; color: var(--ink-3); }
.po-amt { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px; border: 1px solid var(--line-2); border-radius: 10px; font-variant-numeric: tabular-nums; }
.po-amt b { font-weight: 500; } .po-amt span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.po-node { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--lava); color: var(--wood); box-shadow: var(--sh-glow), 0 0 0 8px rgba(247,105,5,.12); position: relative; }
.po-node svg { width: 18px; height: 18px; }
.s-payout .art { grid-template-rows: auto auto auto; align-content: center; gap: 22px; }
.po-when { width: 220px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-align: left; }
.po-when .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; border: 1px solid var(--line-2); }
.po-when b { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.po-when em { font-style: normal; font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: var(--r-pill); background: var(--lava); color: var(--wood); }
.po-when small { font-size: 12px; color: var(--ink-2); }

.s-store .art { align-content: center; gap: 0; }
.prods { display: grid; grid-template-columns: repeat(3, 64px); gap: 6px; }
.prod { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: #fff; box-shadow: var(--sh-1); color: var(--wood); }
.prod.alt { color: var(--clay); }
.prod .pd { width: 16px; height: 26px; } .prod .ps { width: 38px; height: 22px; } .prod .pb { width: 26px; height: 28px; }
.ord { margin-top: 20px; width: 220px; padding: 0; overflow: hidden; text-align: left; }
.ord > div { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; font-size: 13px; }
.ord > div + div { border-top: 1px solid var(--line); }
.ord .ch { color: var(--ink-2); font-size: 12px; } .ord b { font-weight: 500; }
.synced { margin: -14px auto 0; position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: var(--r-pill); background: var(--lava); color: var(--wood); font-size: 13px; font-weight: 500; box-shadow: var(--sh-glow); }
.synced svg { width: 13px; height: 13px; }

.s-recon .art { align-content: center; gap: 0; }
.rec { width: 240px; padding: 16px; text-align: left; }
.rec-top { display: flex; align-items: center; gap: 12px; }
.donut { width: 44px; height: 44px; }
.donut .dn { transition: stroke-dashoffset 1.4s var(--ease); }
.rec-top b { display: block; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rec-top small { font-size: 12px; color: var(--ink-2); }
.rec-node { display: grid; place-items: center; width: 50px; height: 50px; margin: 14px auto; border-radius: 50%; background: var(--lava); color: var(--wood); box-shadow: var(--sh-glow), 0 0 0 8px rgba(247,105,5,.12); position: relative; }
.rec-node svg { width: 20px; height: 20px; }
.rec-node::before, .rec-node::after { content: ""; position: absolute; left: 50%; height: 14px; border-left: 1px dashed var(--line-2); }
.rec-node::before { bottom: calc(100% + 8px); } .rec-node::after { top: calc(100% + 8px); }
.rec-rows { width: 240px; padding: 6px 0; font-size: 12px; }
.rec-rows > div { display: grid; grid-template-columns: 1fr 14px 1fr 14px 1fr; align-items: center; gap: 4px; padding: 7px 12px; text-align: center; }
.rec-rows > div:first-child { color: var(--ink-3); font-size: 11px; }
.rec-rows i { height: 1px; background: var(--line-2); }
.okt { font-weight: 600; color: var(--ok-ink); background: var(--ok-bg); border-radius: var(--r-pill); padding: 2px 0; }

/* ==========================================================================
   7 · SUPPORT
   ========================================================================== */
.help .h2 { max-width: 12em; }
.help-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1104px; margin: 64px auto 0; }
.help-cols li { display: grid; justify-items: center; text-align: center; padding: 72px 32px; border-left: 1px solid; border-right: 1px solid; border-image: linear-gradient(transparent, var(--line), transparent) 1; }
.help-cols svg { width: 32px; height: 32px; color: var(--wood); }
.help-cols h3 { margin-top: 36px; font-size: 22px; font-weight: 500; letter-spacing: -.03em; color: #3A2B24; }
.help-cols p { margin-top: 8px; color: var(--ink-2); max-width: 17em; }

/* ==========================================================================
   8 · CTA (grows with you)
   ========================================================================== */
.cta { padding: 160px 20px 0; }
.cta-panel { position: relative; overflow: hidden; max-width: 1208px; margin: 0 auto; border-radius: var(--r-xl); background: radial-gradient(80% 90% at 50% 40%, #1C0A03, var(--wood-3)); color: var(--on-dark); }
.cta-art { position: absolute; inset: 0; pointer-events: none; }
.rib { position: absolute; width: 1500px; height: 1083px; }
.rib > div { position: absolute; inset: 0; will-change: transform; }
.rib svg { width: 100%; height: 100%; overflow: visible; }
.rib .ln use { fill: none; stroke: rgba(255, 214, 180, .055); stroke-width: 2; vector-effect: non-scaling-stroke; }
.r1 .lt { fill: url(#ribLight); } .r2 .lt { fill: url(#ribLight2); }
.rib .dk { fill: #170802; }
.r1 { left: -820px; top: -470px; transform: rotate(30deg); }
.r2 { right: -820px; bottom: -520px; transform: rotate(210deg); }
.rib-lt { animation: ribDrift 7s ease-in-out infinite alternate; }
.rib-ln { animation: ribLines 7s ease-in-out infinite alternate; }
.r2 .rib-lt, .r2 .rib-ln { animation-delay: -3.5s; }
@keyframes ribDrift { from { transform: rotate(-3deg) scale(1); } to { transform: rotate(4deg) scale(1.05) translate(18px, 10px); } }
@keyframes ribLines { from { transform: rotate(-5deg) scale(.98); } to { transform: rotate(5deg) scale(1.04); } }
.beam { position: absolute; left: 58%; top: -20%; width: 2px; height: 70%; transform: rotate(18deg); background: linear-gradient(transparent, rgba(255, 220, 190, .85) 55%, transparent); filter: blur(.5px); box-shadow: 0 0 18px rgba(247, 105, 5, .6); animation: beam 9s ease-in-out infinite; opacity: 0; }
@keyframes beam { 0%, 100% { opacity: 0; translate: -120px 0; } 30%, 60% { opacity: .9; } 50% { translate: 80px 0; } }
.cta-panel:not(.live) .cta-art * { animation-play-state: paused; }
.cta-in { position: relative; display: grid; justify-items: center; text-align: center; padding: 140px 24px 72px; }
.h-cta { font-size: clamp(38px, 5vw, 72px); font-weight: 500; line-height: 1.08; letter-spacing: -.05em; max-width: 11em;
  background: linear-gradient(180deg, #FFF6EF 30%, #E7CDBB 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* 3D Griv mark: stacked layers give real depth as it turns */
.m3d { position: relative; margin-top: 88px; width: 56px; height: 56px; perspective: 360px; }
.m3d::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -18px; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(247, 105, 5, .55), transparent); filter: blur(4px); }
.m3d-in { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(12deg); animation: m3d 5.5s ease-in-out infinite alternate; }
.m3d svg { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: visible; }
.m3d .lay { transform: translateZ(calc(var(--z) * -1px)); color: hsl(22 100% calc(34% - var(--z) * 2%)); }
.m3d .face use { fill: url(#m3dFace); }
.m3d .face { transform: translateZ(.5px); filter: drop-shadow(0 0 .5px rgba(255, 210, 170, .7)); }
@keyframes m3d { from { transform: rotateY(-26deg) rotateX(12deg); } to { transform: rotateY(26deg) rotateX(-6deg); } }
.cta-panel:not(.live) .m3d-in { animation-play-state: paused; }
.cta-v { margin-top: 30px; font-size: 20px; color: var(--on-dark-2); }
.grow { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin: 28px 0 32px; }
.grow li { position: relative; font-size: 14px; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid rgba(255,246,239,.16); color: var(--on-dark-2); transition: background-color .4s, color .4s, border-color .4s; }
.grow li + li { margin-left: 26px; }
.grow li + li::before { content: ""; position: absolute; right: 100%; top: 50%; width: 26px; height: 1px; background: rgba(255,246,239,.2); }
.grow li.on { background: var(--on-dark); border-color: var(--on-dark); color: var(--wood); }
.cta-ps { margin-top: 32px; font-size: 14px; color: var(--on-dark-2); max-width: 22em; }

/* ==========================================================================
   9 · FOOTER
   ========================================================================== */
.foot { padding: 120px 0 56px; }
.foot .wrap { max-width: 1200px; }
.foot-top { display: grid; grid-template-columns: 1.2fr 2.4fr; gap: 48px; }
.foot-brand img { height: 30px; width: auto; }
.foot-brand p { margin-top: 16px; font-size: 14px; color: var(--ink-2); max-width: 18em; }
.social { display: flex; gap: 8px; margin-top: 24px; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-2); transition: color .2s, border-color .2s; }
.social a:hover { color: var(--ink); border-color: var(--ink); }
.social svg { width: 16px; height: 16px; }
.foot-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.foot-cols h3 { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.foot-cols ul { display: grid; gap: 10px; }
.foot-cols a { font-size: 14px; color: var(--ink-2); transition: color .2s; }
.foot-cols a:hover { color: var(--ink); }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; }
.copy { margin-top: auto; padding-top: 40px; font-size: 14px; color: var(--ink); }
.foot-legal { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); display: grid; gap: 14px; max-width: 1100px; }
.foot-legal p { font-size: 12px; line-height: 1.75; color: var(--ink-2); }

/* ==========================================================================
   Motion: reveals
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .b-top .reveal:nth-child(2), .js .b-two .reveal:nth-child(2), .js .b-bot .reveal:nth-child(2), .js .b-three .reveal:nth-child(2), .js .help-cols .reveal:nth-child(2) { transition-delay: .1s; }
.js .b-three .reveal:nth-child(3), .js .help-cols .reveal:nth-child(3) { transition-delay: .2s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .f1, .f3 { top: 0; } .f2 { left: 0; } .f4 { right: 0; }
  .float { width: 240px; }
  .ai-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .t-flow { padding-left: 48px; }
  .flow-copy { flex-basis: 280px; }
}

@media (max-width: 1000px) {
  .nav-inner { padding: 0 16px 0 24px; gap: 16px; }
  .nav-login { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px;
    background: var(--tile); border-radius: var(--r-lg); box-shadow: var(--sh-2);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .nav-links a, .nav.solid .nav-links a { color: var(--ink); font-size: 18px; padding: 14px 16px; }
  .nav-login-m { display: block; }
  .floats-hide, .float { display: none; }
  .b-bot { grid-template-columns: 1fr; }
  .b-three { grid-template-columns: 1fr 1fr; }
  .demo-in { grid-template-columns: 1fr; }
  .demo .h2 { padding-left: 0; text-align: center; }
  .video { justify-self: center; }
  .foot-top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --s10: 104px; }
  .sec { padding: 88px 0 40px; }
  .demo-in { padding: 40px 0; }
  .nav-inner { padding: 0 16px 0 20px; }
  .r1 { left: -1000px; top: -560px; } .r2 { right: -1000px; bottom: -600px; }
  .m3d { margin-top: 56px; }
  .nav { top: 12px; left: 12px; right: 12px; }
  .nav-inner, .nav.over .nav-inner, .nav.solid .nav-inner { height: 64px; }
  .btn-nav { height: 40px; padding: 0 16px; font-size: 14px; }
  .hero { padding: 12px 12px 0; }
  .hero-in { padding-top: 112px; }
  .br-d { display: none; }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; width: 100%; max-width: 420px; }
  .hero-ctas .btn { width: 100%; height: 56px; }
  .hero-how { margin-top: 44px; }
  .eco { margin-top: 44px; }
  .console { padding: 28px 20px 24px; border-radius: 28px 28px 0 0; }
  .con-head { flex-direction: column; align-items: flex-start; }
  .con-total { padding: 18px 18px; }
  .con-total > span { font-size: 15px; }
  .con-total strong > span { font-size: 24px; }
  .b-top, .b-two, .b-three { grid-template-columns: 1fr; }
  .why .b-top, .suite .b-two { margin-top: 56px; }
  .tile { padding: 0 24px 32px; }
  .tile .art { height: 320px; }
  .t-flow { flex-direction: column; padding: 40px 24px 32px; text-align: center; min-height: 0; }
  .flow-copy { flex-basis: auto; }
  .t-flow .flow-copy p { margin-inline: auto; }
  .flow-art { width: 100%; padding: 16px 0 8px; }
  .tools li { font-size: 12px; padding: 7px 11px; transform: translate(calc(-50% + var(--x) * .62), calc(-50% + var(--y) * .9)); }
  .pay-rows li { grid-template-columns: 1fr auto; } .pay-rows .pf { display: none; }
  .bal-pill .bp { padding-right: 10px; }
  .b-two .s-collect .art { height: auto; padding: 32px 0 8px; }
  .acct { flex-direction: column; align-items: center; gap: 12px; } .acct-bal, .acct-feed { width: 260px; }
  .acct-bal .spark { height: 60px; }
  .v-poster { transform-origin: 30% 50%; scale: .74; }
  .video.playing .v-poster { scale: .74; }
  .row small { display: none; }
  .inv-list li { grid-template-columns: 28px 1fr auto; } .inv-list small { display: none; }
  .ghost-word { font-size: 130px; }

  /* AI: interleave each step with its card, Winden-style */
  .ai-grid { display: block; margin-top: 56px; }
  .ai-cards { display: contents; }
  .ai-steps { display: contents; }
  .ai-grid { display: flex; flex-direction: column; gap: 0; }
  .ai-steps li { order: var(--o); padding: 48px 0 24px; max-width: none; height: auto; display: block; }
  .ai-steps li::after { display: none; }
  .ai-steps li:nth-child(1) { --o: 1; } .ai-steps li:nth-child(2) { --o: 3; } .ai-steps li:nth-child(3) { --o: 5; }
  .ai-card:nth-child(1) { order: 2; } .ai-card:nth-child(2) { order: 4; } .ai-card:nth-child(3) { order: 6; }
  .ai-card { height: 440px; padding: 24px; }
  .ai-steps h3 { font-size: 26px; margin-top: 20px; }
  .ai-steps li:first-child { padding-top: 0; }
  .pane { width: 100%; max-width: 300px; }

  .help-cols { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
  .help-cols li { padding: 40px 16px; border: 0; border-bottom: 1px solid var(--line); }
  .help-cols li:last-child { border-bottom: 0; }
  .cta { padding: 96px 12px 0; }
  .cta-in { padding: 96px 20px 56px; }
  .cta-v { font-size: 17px; }
  .grow { gap: 8px; } .grow li + li { margin-left: 0; } .grow li + li::before { display: none; }
  .cta-in .btn { width: 100%; max-width: 360px; height: 56px; }
  .foot { padding-top: 96px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .m3d-in { animation: none; transform: rotateY(-24deg) rotateX(12deg); }
  .beam { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .tick-track { animation: none; }
  .ticker { overflow-x: auto; }
}
