/* mriv.bet — brand: Swamp Ink / Acid Lily / Frog Green / Night Violet / Coin Gold */
:root{
  --ink: oklch(0.17 0.028 162); --ink-2: oklch(0.2 0.032 162); --ink-3: oklch(0.18 0.03 162); --ink-4: oklch(0.21 0.035 162); --ink-5: oklch(0.15 0.025 162);
  --text: oklch(0.96 0.012 150); --text-2: oklch(0.84 0.015 150); --text-3: oklch(0.79 0.015 150); --muted: oklch(0.7 0.01 150); --muted-2: oklch(0.66 0.015 150);
  --lily: oklch(0.82 0.18 145); --lily-hi: oklch(0.92 0.14 145); --frog: oklch(0.72 0.17 148); --violet: oklch(0.62 0.18 300); --violet-2: oklch(0.72 0.14 300); --gold: oklch(0.85 0.16 96);
  --on-lily: oklch(0.18 0.04 160); --line: oklch(1 0 0 / 0.1); --line-2: oklch(1 0 0 / 0.08);
  --display: 'Bricolage Grotesque', sans-serif; --body: Archivo, Helvetica, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; background:var(--ink); color:var(--text); font-family:var(--body); -webkit-font-smoothing:antialiased; line-height:1.5; }
.page{ max-width:100%; overflow-x:hidden; background:radial-gradient(1200px 600px at 78% -10%, oklch(0.28 0.06 300 / 0.55), transparent 70%), var(--ink); }
a{ color:var(--lily); text-decoration:none; } a:hover{ color:var(--lily-hi); }
h1,h2{ font-family:var(--display); font-weight:800; letter-spacing:-0.025em; margin:0; }
h2{ font-size:clamp(32px,3.6vw,48px); margin-top:12px; }
h2.mb{ margin-bottom:44px; }
p{ margin:0; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 24px; }
.section{ padding:96px 24px; }
.narrow{ max-width:900px; }
.mono{ font-family:var(--mono); }
.accent{ color:var(--lily); }
.muted{ color:var(--text-3); font-size:14px; line-height:1.55; }
.small{ font-size:13.5px; }
.kicker{ font-family:var(--mono); font-size:12px; letter-spacing:.14em; color:var(--violet-2); }
.kicker.light{ color:oklch(0.86 0.12 145); }
.intro{ color:oklch(0.8 0.015 150); line-height:1.65; max-width:58ch; margin-top:16px; }
.intro.mb{ margin-bottom:34px; }
.intro.light{ color:oklch(0.93 0.015 150); margin-bottom:26px; }
.band{ background:var(--ink-2); border-block:1px solid var(--line-2); position:relative; }

/* buttons */
.btn{ display:inline-block; padding:15px 28px; border-radius:999px; font-weight:600; font-size:16px; border:1px solid transparent; cursor:pointer; font-family:var(--body); transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; line-height:1.2; text-align:center; }
.btn-sm{ padding:10px 18px; font-size:14px; }
.btn-lg{ padding:16px 28px; }
.btn-block{ display:block; margin-top:26px; padding:13px; font-size:15px; }
.btn-primary{ background:var(--lily); color:var(--on-lily); }
.btn-primary:hover{ transform:translateY(-3px); box-shadow:0 14px 34px oklch(0.82 0.18 145 / 0.32); color:var(--on-lily); }
.btn-ghost{ border-color:oklch(1 0 0 / 0.18); color:oklch(0.94 0.01 150); background:transparent; }
.btn-ghost:hover{ border-color:var(--violet); background:oklch(0.62 0.18 300 / 0.12); color:var(--text); }
.btn-light{ background:oklch(0.96 0.015 150); color:oklch(0.2 0.05 300); padding:14px 26px; font-size:15px; }
.btn-light:hover{ filter:brightness(1.05); color:oklch(0.2 0.05 300); }

/* header */
.site-header{ position:sticky; top:0; z-index:50; backdrop-filter:blur(14px); background:oklch(0.17 0.028 162 / 0.78); border-bottom:1px solid var(--line-2); }
.bar{ display:flex; align-items:center; gap:28px; padding:14px 24px; }
.brand{ display:flex; align-items:center; gap:10px; color:inherit; }
.brand svg{ width:34px; height:34px; }
.wordmark{ font-family:var(--display); font-weight:800; font-size:20px; letter-spacing:-0.02em; color:var(--text); }
.nav{ display:flex; gap:22px; margin-left:auto; font-size:14px; flex-wrap:wrap; align-items:center; }
.nav a{ color:oklch(0.82 0.015 150); } .nav a:hover{ color:var(--lily-hi); }
.nav .nav-cta{ display:none; }
.header-cta{ margin-left:0; }
.menu-btn{ display:none; margin-left:auto; width:40px; height:36px; border:1px solid var(--line); border-radius:10px; background:transparent; flex-direction:column; align-items:center; justify-content:center; gap:5px; cursor:pointer; }
.menu-btn span{ width:18px; height:2px; background:var(--text); border-radius:2px; }
@media (max-width:820px){
  .nav{ display:none; position:absolute; top:100%; left:0; right:0; flex-direction:column; align-items:stretch; gap:0; background:var(--ink-2); border-bottom:1px solid var(--line); padding:8px 16px 16px; }
  .nav.open{ display:flex; }
  .nav a{ padding:12px 8px; border-bottom:1px solid var(--line-2); }
  .nav .nav-cta{ display:block; margin-top:12px; border:0; }
  .header-cta{ display:none; }
  .menu-btn{ display:flex; }
}

/* hero */
.hero{ padding:84px 24px 40px; display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:48px; align-items:center; }
.hero h1{ font-size:clamp(42px,5.2vw,68px); line-height:.98; letter-spacing:-0.03em; margin-top:22px; }
.lead{ font-size:18px; line-height:1.6; color:var(--text-2); max-width:46ch; margin-top:22px; text-wrap:pretty; }
.pill{ display:inline-flex; align-items:center; gap:8px; padding:9px 16px; border-radius:999px; border:1px solid oklch(0.72 0.17 148 / 0.4); background:oklch(0.72 0.17 148 / 0.08); font-family:var(--mono); font-size:12px; color:oklch(0.84 0.14 145); white-space:nowrap; }
.pill .dot{ width:7px; height:7px; border-radius:50%; background:var(--lily); flex:none; }
.cta-row{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }
.stats{ display:flex; gap:34px; margin-top:44px; flex-wrap:wrap; font-family:var(--mono); }
.stats .num{ font-size:26px; color:var(--lily); }
.stats .lbl{ font-size:12px; color:var(--muted); letter-spacing:.06em; }
.mascot-wrap{ position:relative; display:flex; justify-content:center; }
.mascot-wrap .glow{ position:absolute; inset:8% 6%; border-radius:50%; background:radial-gradient(circle, oklch(0.62 0.18 300 / 0.4), transparent 68%); filter:blur(12px); }
.mascot-wrap svg{ width:100%; max-width:430px; display:block; position:relative; }
.croak{ position:absolute; top:2%; left:-2%; z-index:3; transform-origin:bottom right; }
.bubble{ padding:14px 22px; border-radius:18px 18px 18px 4px; background:oklch(0.96 0.015 150); color:oklch(0.2 0.04 160); font-family:var(--display); font-weight:800; font-size:clamp(22px,2.6vw,34px); letter-spacing:-0.02em; box-shadow:0 16px 40px oklch(0.1 0.03 160 / 0.45); }
.bob{ position:relative; }

/* ticker */
.ticker{ border-block:1px solid var(--line-2); background:var(--ink-2); overflow:hidden; padding:14px 0; }
.ticker-track{ display:flex; width:max-content; gap:46px; font-family:var(--mono); font-size:13px; color:oklch(0.74 0.06 150); letter-spacing:.08em; }

/* sections */
.section-head{ display:flex; align-items:end; justify-content:space-between; gap:30px; flex-wrap:wrap; }
.section-head .intro{ max-width:40ch; margin:0; }
.grid{ display:grid; gap:18px; margin-top:44px; }
.grid-4{ grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); }
.grid-3{ grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); align-items:start; }
.two-col{ display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:48px; align-items:start; }
.two-col .grid{ margin-top:0; }
.card{ padding:26px 22px 30px; border-radius:18px; border:1px solid var(--line); background:linear-gradient(170deg, oklch(0.22 0.035 162), var(--ink-2)); }
.card.feature{ background:var(--ink-3); padding:28px 24px; }
.card.small{ padding:16px 18px; border-radius:14px; background:var(--ink-3); }
.card.quote{ background:var(--ink-2); padding:28px 24px; }
.card-title{ font-family:var(--display); font-weight:600; font-size:21px; margin:12px 0 8px; letter-spacing:-0.015em; }
.card-title-sm{ font-weight:600; font-size:15px; margin-bottom:5px; }
.card p{ font-size:14.5px; line-height:1.6; color:var(--text-3); }
.lift{ transition:transform .25s ease, border-color .25s ease; }
.lift:hover{ transform:translateY(-5px); border-color:oklch(0.72 0.17 148 / 0.5); }
.clock{ font-family:var(--mono); font-size:12px; color:var(--lily); }
.tag{ width:38px; height:38px; border-radius:11px; background:oklch(0.62 0.18 300 / 0.2); border:1px solid oklch(0.62 0.18 300 / 0.45); display:flex; align-items:center; justify-content:center; font-family:var(--mono); font-size:15px; color:oklch(0.78 0.13 300); }
.feature .card-title{ font-size:20px; margin:16px 0 8px; }
.peekers{ position:absolute; top:-26px; right:8%; z-index:3; width:96px; height:40px; }
.peekers svg{ position:absolute; inset:0; width:96px; height:40px; }
.peek-bubble{ position:absolute; left:100%; margin-left:10px; top:-36px; padding:7px 14px; border-radius:14px 14px 4px 14px; background:var(--lily); color:var(--on-lily); font-family:var(--display); font-weight:800; font-size:15px; white-space:nowrap; }
@media (max-width:640px){ .peekers{ right:24px; } .peek-bubble{ left:auto; right:0; margin:0; top:-44px; } }
.stat-rows{ display:grid; gap:10px; font-family:var(--mono); font-size:13px; color:oklch(0.8 0.02 150); margin-top:26px; }
.stat-rows div{ display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--line-2); }
.scenes{ grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:14px; }
.scene-card{ border-radius:14px; border:1px solid var(--line); background:var(--ink-4); overflow:hidden; transition:transform .25s ease, border-color .25s ease; }
.scene-card:hover{ transform:scale(1.03); border-color:oklch(0.82 0.18 145 / 0.55); }
.scene{ display:block; width:100%; background:oklch(0.185 0.03 162); }
.scene-meta{ padding:13px 15px; }
.scene-tag{ font-family:var(--mono); font-size:10.5px; color:oklch(0.68 0.02 150); letter-spacing:.06em; }
.scene-title{ font-family:var(--display); font-weight:600; font-size:16px; margin-top:4px; }

/* console */
.console{ border-radius:22px; border:1px solid oklch(1 0 0 / 0.12); background:var(--ink-3); overflow:hidden; }
.console-bar{ display:flex; align-items:center; gap:8px; padding:12px 18px; border-bottom:1px solid var(--line); background:oklch(0.21 0.033 162); }
.console-bar .dot{ width:10px; height:10px; border-radius:50%; } .dot.violet{ background:var(--violet); } .dot.lily{ background:var(--lily); } .dot.dim{ background:oklch(0.4 0.02 160); }
.console-bar .mono{ font-size:12px; color:oklch(0.7 0.02 150); margin-left:10px; }
.console-body{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,216px),1fr)); min-height:380px; }
.console-tabs{ border-right:1px solid var(--line); padding:16px 12px; display:grid; gap:6px; align-content:start; }
.ctab{ text-align:left; padding:11px 14px; border-radius:11px; border:1px solid transparent; background:transparent; color:oklch(0.82 0.015 150); font-family:var(--body); font-size:14px; cursor:pointer; transition:background .2s ease, color .2s ease; }
.ctab:hover{ background:oklch(1 0 0 / 0.06); color:var(--text); }
.ctab.active{ color:var(--lily); font-weight:600; }
.console-panel{ padding:26px 28px; }
.cpanel{ display:none; } .cpanel.active{ display:block; animation:fade .24s ease-out; }
@keyframes fade{ from{ opacity:0; transform:translateY(12px);} to{ opacity:1; transform:none; } }
.cpanel-title{ font-family:var(--display); font-weight:600; font-size:22px; letter-spacing:-0.015em; }
.cpanel p{ color:var(--text-3); font-size:14.5px; line-height:1.6; margin:8px 0 24px; max-width:54ch; }
.kv-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:14px; }
.kv{ display:flex; justify-content:space-between; align-items:center; gap:12px; padding:15px 18px; border-radius:13px; border:1px solid var(--line); background:var(--ink-4); font-size:14px; color:oklch(0.88 0.012 150); }
.kv .mono{ font-size:12.5px; color:var(--lily); }
.cpanel .cta-row{ margin-top:26px; gap:12px; }
@media (max-width:640px){ .console-tabs{ border-right:0; border-bottom:1px solid var(--line); grid-template-columns:1fr 1fr; } }

/* pricing */
.plan{ padding:30px 26px; border-radius:20px; background:var(--ink-2); position:relative; }
.badge{ display:inline-block; padding:5px 11px; border-radius:999px; background:var(--violet); font-family:var(--mono); font-size:10.5px; letter-spacing:.1em; margin-bottom:14px; }
.plan-name{ font-family:var(--display); font-weight:600; font-size:24px; }
.plan-price{ display:flex; align-items:baseline; gap:8px; margin:14px 0 4px; }
.price{ font-family:var(--display); font-weight:800; font-size:42px; letter-spacing:-0.03em; color:var(--lily); line-height:1; }
.plan-rev{ font-family:var(--mono); font-size:12px; color:oklch(0.74 0.015 150); }
.plan hr{ border:0; height:1px; background:var(--line); margin:22px 0; }
.plan-items{ display:grid; gap:11px; }
.plan-items div{ display:flex; gap:10px; font-size:14.5px; color:oklch(0.85 0.012 150); line-height:1.45; }

/* payments / compliance */
.chips{ display:flex; gap:10px; flex-wrap:wrap; margin-top:24px; }
.chip{ padding:9px 15px; border-radius:999px; border:1px solid oklch(1 0 0 / 0.14); font-family:var(--mono); font-size:12.5px; color:oklch(0.86 0.012 150); transition:border-color .2s ease, color .2s ease; }
.chip:hover{ border-color:var(--lily); color:oklch(0.86 0.14 145); }
.stack{ display:grid; gap:12px; margin-top:24px; }
.stack.tight{ gap:9px; margin-top:0; }
.stack.faq{ gap:10px; margin-top:0; }

/* quotes */
.quote p{ font-size:16px; line-height:1.6; color:oklch(0.91 0.012 150); margin-bottom:20px; text-wrap:pretty; }
.who{ display:flex; align-items:center; gap:12px; }
.avatar{ width:34px; height:34px; border-radius:50%; background:oklch(0.62 0.18 300 / 0.25); border:1px solid oklch(0.62 0.18 300 / 0.5); display:flex; align-items:center; justify-content:center; font-family:var(--mono); font-size:12px; color:oklch(0.8 0.12 300); }
.who-name{ font-size:14px; font-weight:600; } .who-role{ font-size:12.5px; color:oklch(0.72 0.015 150); }

/* affiliate */
.affiliate{ background:linear-gradient(140deg, oklch(0.28 0.075 300), oklch(0.22 0.05 200)); border-block:1px solid var(--line); }
.affiliate .section{ padding:88px 24px; align-items:center; }
.aff-row{ display:flex; justify-content:space-between; align-items:baseline; padding:18px 20px; border-radius:14px; background:oklch(1 0 0 / 0.1); border:1px solid oklch(1 0 0 / 0.16); font-size:14px; color:oklch(0.94 0.012 150); }
.aff-val{ font-family:var(--display); font-weight:800; font-size:26px; color:oklch(0.88 0.16 145); }

/* faq */
.faq-item{ padding:0; border-radius:14px; background:var(--ink-2); overflow:hidden; }
.faq-q{ width:100%; text-align:left; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:20px 22px; background:transparent; border:none; color:oklch(0.94 0.012 150); font-family:var(--body); font-size:16px; font-weight:500; cursor:pointer; transition:background .2s ease; }
.faq-q:hover{ background:oklch(1 0 0 / 0.04); }
.faq-q .sign{ color:var(--lily); font-size:18px; }
.faq-a{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .25s ease; }
.faq-a > p{ overflow:hidden; padding:0 22px; font-size:15px; line-height:1.65; color:oklch(0.8 0.015 150); max-width:68ch; }
.faq-item.open .faq-a{ grid-template-rows:1fr; } .faq-item.open .faq-a > p{ padding-bottom:22px; }

/* signup */
.signup{ position:relative; border-top:1px solid var(--line-2); background:radial-gradient(800px 400px at 50% 120%, oklch(0.32 0.09 145 / 0.45), transparent 70%), var(--ink-3); overflow:hidden; }
.signup .section{ max-width:760px; text-align:center; padding:96px 24px 110px; }
.signup svg{ display:block; margin:0 auto 8px; width:140px; }
.signup h2{ font-size:clamp(34px,4.4vw,56px); letter-spacing:-0.03em; line-height:1.02; margin:14px 0; }
.signup .intro{ margin:0 auto 32px; font-size:17px; max-width:48ch; }
.lead-form{ display:grid; grid-template-columns:1fr 1fr; gap:10px; max-width:560px; margin:0 auto; }
.lead-form input{ padding:16px 20px; border-radius:999px; border:1px solid oklch(1 0 0 / 0.16); background:oklch(0.22 0.032 162); color:var(--text); font-family:var(--body); font-size:15px; outline:none; min-width:0; }
.lead-form input:focus{ border-color:var(--lily); }
.lead-form input:nth-child(3), .lead-form button{ grid-column:span 1; }
.lead-form button{ font-size:15px; padding:16px 28px; }
@media (max-width:560px){ .lead-form{ grid-template-columns:1fr; } }
.form-msg{ min-height:24px; margin-top:14px; font-size:14px; color:var(--lily-hi); }
.form-msg.err{ color:oklch(0.8 0.16 25); }
.fine{ font-family:var(--mono); font-size:11.5px; color:var(--muted-2); margin-top:18px; letter-spacing:.04em; }

/* footer */
.footer{ border-top:1px solid var(--line-2); background:var(--ink-5); }
.foot-grid{ padding:54px 24px; display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:32px; }
.foot-grid .wordmark{ font-size:19px; }
.foot-grid p{ margin-top:10px; max-width:34ch; color:oklch(0.72 0.015 150); }
.foot-title{ font-family:var(--mono); font-size:11px; letter-spacing:.12em; color:var(--muted-2); margin-bottom:14px; }
.foot-grid a{ font-size:14px; color:oklch(0.84 0.012 150); } .foot-grid a:hover{ color:var(--lily-hi); }
.copyright{ border-top:1px solid oklch(1 0 0 / 0.07); padding:20px 24px; text-align:center; font-family:var(--mono); font-size:11.5px; color:oklch(0.6 0.015 150); }

/* motion kit (only when motion is welcome) */
@media (prefers-reduced-motion: no-preference){
  @keyframes rise{ from{ opacity:.001; transform:translateY(26px); } to{ opacity:1; transform:none; } }
  @keyframes blink{ 0%,92%,100%{ transform:scaleY(1); } 96%{ transform:scaleY(.08); } }
  @keyframes bob{ from{ transform:translateY(-8px) rotate(-1.2deg); } to{ transform:translateY(8px) rotate(1.2deg); } }
  @keyframes marq{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
  @keyframes coin{ from{ transform:translateY(0) rotate(0); opacity:.55; } to{ transform:translateY(-16px) rotate(180deg); opacity:.2; } }
  @keyframes croak{ 0%,62%,100%{ transform:scale(1) rotate(-2deg); } 68%{ transform:scale(1.12) rotate(1deg); } 74%{ transform:scale(.98) rotate(-3deg); } 82%{ transform:scale(1.05) rotate(0); } }
  @keyframes shimmy{ 0%,100%{ transform:translateX(0); } 25%{ transform:translateX(-3px); } 75%{ transform:translateX(3px); } }
  .rise{ animation:rise .8s ease both; }
  .bob{ animation:bob 4.5s ease-in-out infinite alternate; }
  .croak{ animation:croak 5s ease-in-out infinite; }
  .peek-bubble{ animation:shimmy 4s ease-in-out infinite; }
  .ticker-track{ animation:marq 28s linear infinite; }
  .rise-scroll{ animation:rise .7s ease both; animation-timeline:view(); animation-range:entry 0% cover 26%; }
  .mascot-wrap svg g[data-eye]{ animation:blink 6s ease-in-out infinite; }
  .mascot-wrap svg circle[data-coin]{ animation:coin 3.4s ease-in-out infinite alternate; }
}

.lead-form .cf-turnstile{ grid-column:1/-1; min-height:65px; }
.lead-form .cf-turnstile:empty{ display:none; }
