/* Fizz Sales Reps (salesreps). Identity: field sales. A night-blue route map with pins, a rep's phone in hand,
   signal orange for money earned. Heavy sans display, mono for order numbers. No serif, no ruled paper. */
:root {
  --bg: #f5f7fc; --surface: #ffffff; --sunk: #eef2fa; --line: #dde3f0; --line-2: #e9edf6;
  --ink: #0d1630; --ink-2: #47526e; --ink-3: #6b7590;
  --blue: #1e3fae; --blue-2: #2f5bea; --blue-soft: #e5ecff; --on-blue: #ffffff;
  --orange: #c2410c; --orange-2: #ff7a2f; --orange-soft: #fff0e6;
  --green: #137a4a; --green-soft: #e3f5ec; --red: #b42318; --red-soft: #fdecea;
  --night: #0a1633; --night-2: #11214a; --night-ink: #e9eefc; --night-ink-2: #a9b6da; --night-line: rgba(160, 182, 240, .16);
  --shadow: 0 1px 2px rgba(13, 22, 48, .06), 0 8px 24px -12px rgba(13, 22, 48, .18);
  --shadow-lg: 0 2px 6px rgba(13, 22, 48, .08), 0 30px 70px -30px rgba(13, 22, 48, .45);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070d1f; --surface: #0e1730; --sunk: #0b1329; --line: #1f2b4a; --line-2: #18223d;
    --ink: #e8edfb; --ink-2: #aab4d0; --ink-3: #8691b0;
    --blue: #8eabff; --blue-2: #a9c0ff; --blue-soft: #16244d; --on-blue: #071030;
    --orange: #ff9b5c; --orange-2: #ff7a2f; --orange-soft: #3a1f0e;
    --green: #5fd39b; --green-soft: #0f3324; --red: #ff8b80; --red-soft: #3b1513;
    --night: #050b1c; --night-2: #0b1633;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 26px -12px rgba(0, 0, 0, .7);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 34px 80px -30px rgba(0, 0, 0, .9);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: var(--blue-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--orange-2); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; }
.sr, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; margin: 0; }
h3 { letter-spacing: -0.015em; line-height: 1.2; font-weight: 700; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: .92em; }
.num { font-variant-numeric: tabular-nums; }

/* Header: sits on the night-blue map */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--night) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(12px); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid var(--night-line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--night-ink); text-decoration: none; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand small { font-weight: 500; color: var(--night-ink-2); font-size: .8rem; letter-spacing: 0; }
.nav { display: flex; gap: 24px; font-size: .92rem; }
.nav a { color: var(--night-ink-2); text-decoration: none; }
.nav a:hover { color: #fff; }
@media (max-width: 820px) { .nav a:not(.nav-keep) { display: none; } .brand small { display: none; } }

/* Buttons and the CTA the build fills in */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cta-btn, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem var(--sans); text-decoration: none;
  color: #1a0d03; background: linear-gradient(180deg, #ff9250, var(--orange-2)); border: 0; border-radius: 12px; padding: 14px 22px; cursor: pointer;
  box-shadow: 0 10px 26px -10px rgba(255, 122, 47, .75), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .2s var(--ease), box-shadow .2s; }
.cta-btn:hover, .btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(255, 122, 47, .85), inset 0 1px 0 rgba(255, 255, 255, .35); color: #1a0d03; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.small { padding: 9px 14px; font-size: .88rem; border-radius: 10px; }
.cta-note { font-size: .84rem; color: var(--ink-3); max-width: 24em; line-height: 1.45; }
.hero .cta-note, .end .cta-note { color: var(--night-ink-2); }

/* Hero: night map with a dashed route between buyers */
.hero { position: relative; background: radial-gradient(1200px 600px at 78% 10%, #1c3a8f 0%, transparent 60%), radial-gradient(800px 500px at 0% 100%, #142b6b 0%, transparent 60%), var(--night);
  color: var(--night-ink); overflow: hidden; padding: 64px 0 88px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.route-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
@media (max-width: 1080px) { .route-bg { display: none; } }
.route-bg path { fill: none; stroke: rgba(255, 146, 80, .38); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.route-bg circle { fill: var(--orange-2); }
.route-bg circle.o { fill: none; stroke: rgba(255, 146, 80, .45); stroke-width: 1.5; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffb27f; margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-2); box-shadow: 0 0 0 4px rgba(255, 122, 47, .22); }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); color: #fff; max-width: 11em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffb27f, #ff7a2f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--night-ink-2); margin: 22px 0 26px; max-width: 30em; }
.chip-price { display: block; margin: 0 0 26px; padding: 12px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: var(--night-ink-2); max-width: 34em; line-height: 1.45; }
.chip-price strong { color: #fff; font-size: 1.05rem; margin-right: 4px; }
.chip-price a { display: inline-block; margin-left: 6px; }
.chip-price a { color: var(--night-ink-2); font-size: .78rem; }
.hero .fine { margin: 18px 0 0; font-size: .82rem; color: var(--night-ink-2); max-width: 30em; }

/* Demo: a rep's phone + the commission card */
.demo { margin: 0; position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: center; }
.phone { position: relative; width: 300px; height: 612px; border-radius: 46px; padding: 12px; background: linear-gradient(160deg, #2b3654, #0d1428 60%);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .14) inset, 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 80px -10px rgba(47, 91, 234, .45); }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 20px; background: #05070f; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: #f6f8fd; color: #0d1630; font-size: 13px; line-height: 1.4; }
.status-bar svg { width: 38px; height: 12px; }
.status-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 26px 0 30px; height: 40px; font-size: 11.5px; font-weight: 700; color: #0d1630; }
.app-bar { display: flex; align-items: center; gap: 8px; padding: 6px 16px 10px; border-bottom: 1px solid #e3e8f3; background: #fff; }
.app-bar b { font-size: 15px; letter-spacing: -0.01em; }
.app-bar .back { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #eef2fa; color: #1e3fae; font-weight: 800; }
.app-bar small { display: block; font-size: 11px; color: #6b7590; font-weight: 500; }
.view { position: absolute; inset: 40px 0 0; display: flex; flex-direction: column; transition: transform .45s var(--ease), opacity .35s; background: #f6f8fd; }
.view[hidden] { display: flex; opacity: 0; transform: translateX(30px); pointer-events: none; visibility: hidden; }
.v-body { flex: 1; overflow: hidden; padding: 12px 14px; }
.search { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid #e0e6f2; color: #8a93ad; margin: 0 0 12px; }
.buyer { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; margin: 0 0 8px;
  border-radius: 12px; background: #fff; border: 1px solid #e3e8f3; transition: border-color .2s, box-shadow .2s, transform .2s; }
.buyer:hover, .buyer.tap { border-color: #2f5bea; box-shadow: 0 0 0 3px rgba(47, 91, 234, .15); }
.buyer:focus-visible { outline: 3px solid var(--orange-2); }
.buyer .av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: #fff; background: #1e3fae; }
.buyer .av.b { background: #0f766e; } .buyer .av.c { background: #9a3412; }
.buyer b { display: block; font-size: 13.5px; }
.buyer small { color: #6b7590; font-size: 11.5px; }
.buyer .chev { color: #9aa3bd; font-weight: 700; }
.mini-h { font-size: 11px; font-weight: 700; color: #6b7590; text-transform: uppercase; letter-spacing: .06em; margin: 4px 2px 8px; }
.prod { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; margin: 0 0 8px; background: #fff; border: 1px solid #e3e8f3; border-radius: 12px; }
.prod .ph { width: 40px; height: 40px; border-radius: 9px; background: linear-gradient(135deg, #dfe8ff, #c6d5ff); position: relative; }
.prod .ph.t { background: linear-gradient(135deg, #e5f3ea, #c7e6d2); } .prod .ph.c { background: linear-gradient(135deg, #fff0e2, #ffd9b8); }
.prod b { display: block; font-size: 12.5px; line-height: 1.25; }
.prod small { display: block; font-size: 11px; color: #6b7590; }
.prod .pb { color: #137a4a; font-weight: 700; justify-self: start; width: max-content; }
.prod .pb.on { background: #e3f5ec; border-radius: 4px; padding: 0 4px; }
.step { display: flex; align-items: center; gap: 6px; }
.step button { all: unset; cursor: pointer; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #1e3fae; color: #fff; font-weight: 800; font-size: 15px; }
.step button:focus-visible { outline: 3px solid var(--orange-2); }
.step button.tap { animation: tap .35s var(--ease); }
.step output { min-width: 20px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
@keyframes tap { 50% { transform: scale(.86); } }
.bar { padding: 10px 14px 18px; background: #fff; border-top: 1px solid #e3e8f3; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bar small { display: block; color: #6b7590; font-size: 11px; }
.bar b { font-size: 15px; font-variant-numeric: tabular-nums; }
.pbtn { all: unset; box-sizing: border-box; cursor: pointer; text-align: center; padding: 10px 14px; border-radius: 11px; background: #1e3fae; color: #fff; font-weight: 700; font-size: 13px; }
.pbtn:focus-visible { outline: 3px solid var(--orange-2); }
.pbtn[disabled] { opacity: .45; cursor: default; }
.pbtn.ghost { background: #eef2fa; color: #1e3fae; }
.pbtn.full { display: block; width: 100%; }
.pbtn.tap { animation: tap .35s var(--ease); }
.rv-line { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px dashed #dfe5f1; font-size: 12.5px; }
.rv-line span:last-child { font-variant-numeric: tabular-nums; }
.totals { margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #e3e8f3; font-size: 12.5px; }
.totals div { display: flex; justify-content: space-between; padding: 2px 0; }
.totals .t { font-weight: 800; font-size: 14px; border-top: 1px solid #e3e8f3; margin-top: 4px; padding-top: 6px; }
.totals .src { color: #137a4a; font-size: 11px; font-weight: 600; }
.totals.pending { color: #8a93ad; }
.field { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid #e3e8f3; margin: 0 0 8px; font-size: 12px; }
.field span { color: #6b7590; } .field b { font-family: var(--mono); font-size: 11.5px; color: #0d1630; }
.done { text-align: center; padding: 40px 18px 0; }
.done .tick { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #e3f5ec; color: #137a4a; }
.done .tick svg { width: 30px; height: 30px; }
.done h3 { font-size: 18px; color: #0d1630; margin: 0 0 6px; }
.done p { color: #47526e; font-size: 12.5px; }
.done .ord { display: inline-block; margin: 6px 0 18px; font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 8px; background: #eef2fa; color: #1e3fae; }

/* Commission card next to the phone */
.earn { background: rgba(255, 255, 255, .97); color: #0d1630; border-radius: 20px; padding: 18px 18px 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .2); }
.earn-h { display: grid; gap: 2px; }
.earn-h b { font-size: 14px; }
.earn-h small { color: #6b7590; font-size: 11.5px; }
.earn-total { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin: 6px 0 2px; transition: color .4s; }
.earn-total.bump { color: #c2410c; }
.earn-sub { font-size: 11.5px; color: #6b7590; margin: 0 0 10px; }
.earn ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e3e8f3; min-height: 120px; }
.earn li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 9px 0; border-bottom: 1px solid #eef1f7; font-size: 12.5px; animation: rowin .5s var(--ease); }
.earn li small { grid-column: 1; color: #6b7590; font-size: 11px; }
.earn li .amt { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.earn li .amt.plus { color: #137a4a; } .earn li .amt.minus { color: #b42318; }
.earn li.empty { color: #8a93ad; display: block; animation: none; }
@keyframes rowin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.earn .admin-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; padding: 10px; border-radius: 12px; background: #f3f5fb; font-size: 11.5px; color: #47526e; }
.earn .admin-act .pbtn { padding: 8px 12px; font-size: 12px; background: #0d1630; }
.demo-cap { grid-column: 1 / -1; margin: 4px 0 0; font-size: .82rem; color: var(--night-ink-2); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.linkish { all: unset; cursor: pointer; color: #ffb27f; text-decoration: underline; text-underline-offset: 3px; }
.linkish:focus-visible { outline: 3px solid var(--orange-2); }
.legend { display: inline-flex; gap: 8px; align-items: center; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: #fff; display: inline-block; }
.legend i.adm { background: #0d1630; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }

@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .demo { max-width: 680px; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 60px; }
  .demo { grid-template-columns: 1fr; justify-items: center; }
  .earn { width: 100%; max-width: 360px; }
  .demo-cap { justify-content: center; text-align: center; }
}
@media (max-width: 340px) { .phone { transform: scale(.92); transform-origin: top center; margin-bottom: -48px; } }

/* Sections */
.band { padding: 104px 0; }
.band.alt { background: var(--surface); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
@media (max-width: 700px) { .band { padding: 68px 0; } }
.shead { max-width: 44em; margin: 0 0 44px; }
.shead h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.shead p { color: var(--ink-2); font-size: 1.08rem; margin: 14px 0 0; }
.kicker { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin: 0 0 12px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }

/* Route: four stops */
.route { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 8px 0 0; }
.route-line { position: absolute; left: 12.5%; right: 12.5%; top: 34px; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.route-line i { position: absolute; inset: 0; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--blue-2), var(--orange-2)); transition: width 1.8s var(--ease) .2s; }
.reveal.in .route-line i { width: 100%; }
.stop { position: relative; text-align: center; padding: 0 6px; }
.pin { position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line);
  color: var(--blue); box-shadow: var(--shadow); transform: scale(.85); opacity: .4; transition: transform .5s var(--ease), opacity .5s, box-shadow .5s; }
.pin svg { width: 30px; height: 30px; }
.reveal.in .pin { transform: none; opacity: 1; }
.reveal.in .stop:nth-child(3) .pin { transition-delay: .5s; } .reveal.in .stop:nth-child(4) .pin { transition-delay: .9s; } .reveal.in .stop:nth-child(5) .pin { transition-delay: 1.3s; }
.stop:last-child .pin { color: var(--orange); box-shadow: 0 0 0 6px var(--orange-soft), var(--shadow); }
.stop b { display: block; font-size: 1.08rem; letter-spacing: -0.01em; }
.stop span { color: var(--ink-2); font-size: .92rem; }
@media (max-width: 760px) {
  .route { grid-template-columns: 1fr; gap: 0; }
  .route-line { left: 33px; right: auto; top: 34px; bottom: 34px; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
  .route-line i { width: 100%; height: 0; transition: height 1.8s var(--ease) .2s; }
  .reveal.in .route-line i { width: 100%; height: 100%; }
  .stop { display: grid; grid-template-columns: 68px 1fr; gap: 0 18px; text-align: left; align-items: center; padding: 0 0 22px; }
  .stop .pin { margin: 0; grid-row: span 2; }
  .stop b { align-self: end; } .stop span { align-self: start; }
}

/* Access: what reps get, what stays yours */
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.access .panel { padding: 28px; }
.access h3 { font-size: 1.2rem; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.access h3 .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.access h3 .ic.lock { background: var(--orange-soft); color: var(--orange); }
.access h3 svg { width: 18px; height: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line-2); color: var(--ink-2); }
.ticks li::before { content: "\2713"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; background: var(--green-soft); color: var(--green); margin-top: 1px; }
.ticks.x li::before { content: "\00d7"; font-size: 1rem; background: var(--red-soft); color: var(--red); }
.ticks b { color: var(--ink); font-weight: 650; }
.admin-ghost { position: relative; margin: 18px 0 0; height: 120px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--sunk); }
.admin-ghost .sb { position: absolute; left: 0; top: 0; bottom: 0; width: 28%; background: color-mix(in srgb, var(--ink) 8%, var(--sunk)); }
.admin-ghost .ln { position: absolute; left: 34%; height: 9px; border-radius: 5px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.admin-ghost .ln:nth-child(2) { top: 20px; width: 40%; } .admin-ghost .ln:nth-child(3) { top: 44px; width: 56%; } .admin-ghost .ln:nth-child(4) { top: 68px; width: 48%; } .admin-ghost .ln:nth-child(5) { top: 92px; width: 30%; }
.admin-ghost .lk { position: absolute; inset: 0; display: grid; place-items: center; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); background: color-mix(in srgb, var(--surface) 35%, transparent); }
.admin-ghost .lk span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: .86rem; font-weight: 700; color: var(--ink); }
.admin-ghost .lk svg { width: 16px; height: 16px; color: var(--orange); }
@media (max-width: 760px) { .access { grid-template-columns: 1fr; } .access .panel { padding: 22px; } }

/* Commission ledger with tabs */
.ledger-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.tabs button { all: unset; cursor: pointer; padding: 9px 14px; border-radius: 999px; font-size: .9rem; font-weight: 650; color: var(--ink-2); background: var(--sunk); border: 1px solid var(--line); transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tabs button:focus-visible { outline: 3px solid var(--orange-2); }
.ev-note { color: var(--ink-2); min-height: 3.2em; }
.lg { padding: 6px 0; overflow: hidden; }
.lg table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.lg th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); font-weight: 700; padding: 12px 20px 8px; }
.lg td { padding: 11px 20px; border-top: 1px solid var(--line-2); }
.lg .r { text-align: right; font-variant-numeric: tabular-nums; }
.lg tr.add td { animation: rowin .5s var(--ease); }
.lg .k { display: inline-block; font-size: .72rem; font-weight: 750; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.lg .k.sale { background: var(--blue-soft); color: var(--blue); } .lg .k.adj { background: var(--orange-soft); color: var(--orange); } .lg .k.ref { background: var(--red-soft); color: var(--red); }
.lg td.plus { color: var(--green); font-weight: 700; } .lg td.minus { color: var(--red); font-weight: 700; }
.lg tfoot td { font-weight: 800; font-size: 1.02rem; border-top: 2px solid var(--ink); }
.lg small { color: var(--ink-3); display: block; font-size: .78rem; }
@media (max-width: 860px) { .ledger-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .lg th, .lg td { padding-left: 12px; padding-right: 12px; } .lg .hide-s { display: none; } }

/* Months */
.months { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; }
.month { padding: 22px 24px; position: relative; }
.month h3 { font-size: 1.15rem; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.month .st { font-size: .74rem; font-weight: 750; padding: 3px 10px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; letter-spacing: 0; }
.month .st.paid { background: var(--green-soft); color: var(--green); } .month .st.open { background: var(--blue-soft); color: var(--blue); }
.month .st svg { width: 13px; height: 13px; }
.month dl { margin: 14px 0 0; }
.month dl div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: .92rem; }
.month dt { color: var(--ink-2); } .month dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.month dl div.hl { background: var(--orange-soft); margin: 0 -12px; padding: 8px 12px; border-radius: 10px; border-top-color: transparent; }
.month dl div.hl dd { color: var(--red); }
.month dl div.tot dd, .month dl div.tot dt { font-weight: 800; color: var(--ink); }
.month.paid { opacity: .92; }
.month.paid::after { content: ""; position: absolute; inset: 0; border-radius: 20px; background: repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in srgb, var(--ink) 3%, transparent) 10px 20px); pointer-events: none; }
.arrow-note { grid-column: 1 / -1; font-size: .9rem; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.arrow-note svg { width: 22px; height: 22px; color: var(--orange); flex: none; }
@media (max-width: 760px) { .months { grid-template-columns: 1fr; } }

/* Rates */
.rates { display: grid; gap: 10px; max-width: 760px; }
.rate { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.rate .n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--sunk); color: var(--ink-3); font-size: .9rem; }
.rate b { display: block; } .rate small { color: var(--ink-3); }
.rate .pct { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rate:nth-child(1) { margin-right: 0; } .rate:nth-child(2) { margin-left: 18px; } .rate:nth-child(3) { margin-left: 36px; } .rate:nth-child(4) { margin-left: 54px; }
.rate.win { border-color: var(--orange-2); box-shadow: 0 0 0 4px var(--orange-soft), var(--shadow); }
.rate.win .n { background: var(--orange-2); color: #1a0d03; } .rate.win .pct { color: var(--orange); }
.rate-note { margin: 18px 0 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 600px) { .rate:nth-child(n) { margin-left: 0; } .rate { padding: 12px 14px; } .rate .pct { font-size: 1.25rem; } }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fact { padding: 24px 22px; }
.fact svg { width: 26px; height: 26px; color: var(--blue); }
.fact h3 { font-size: 1.05rem; margin: 14px 0 8px; }
.fact p { color: var(--ink-2); font-size: .93rem; margin: 0; }
.notyet { margin: 22px 0 0; font-size: .92rem; color: var(--ink-2); }
.notyet b { color: var(--ink); }
@media (max-width: 960px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* Compare cards (markup from the build) */
.cmp-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: stretch; }
.cmp-card { position: relative; display: flex; flex-direction: column; padding: 24px 18px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.cmp-card.us { background: radial-gradient(400px 220px at 30% 0%, #23439f 0%, transparent 70%), var(--night); color: var(--night-ink); border-color: transparent;
  box-shadow: 0 0 0 1px rgba(255, 122, 47, .5), 0 30px 60px -28px rgba(30, 63, 174, .8); }
@media (min-width: 1000px) { .cmp-card.us { transform: translateY(-12px); } }
.cmp-badge { position: absolute; top: -12px; left: 16px; font-size: .74rem; font-weight: 750; padding: 4px 11px; border-radius: 999px; background: var(--orange-2); color: #1a0d03; }
.cmp-name { font-size: 1.04rem; margin: 0 0 4px; letter-spacing: -0.01em; }
.cmp-plan { margin: 0 0 14px; color: var(--ink-3); font-size: .84rem; min-height: 2.6em; line-height: 1.35; }
.cmp-card.us .cmp-plan { color: var(--night-ink-2); }
.cmp-price { margin: 0; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.cmp-amount { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.cmp-card.us .cmp-amount { background: linear-gradient(90deg, #ffb27f, #ff7a2f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cmp-per { color: var(--ink-3); font-size: .88rem; }
.cmp-tag { display: inline-block; align-self: flex-start; margin: 10px 0 0; font-size: .76rem; font-weight: 650; padding: 3px 9px; border-radius: 7px; background: var(--orange-soft); color: var(--orange); }
.cmp-checks { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.cmp-card.us .cmp-checks { border-color: var(--night-line); }
.cmp-checks li { position: relative; padding: 9px 0 9px 28px; border-bottom: 1px solid var(--line-2); font-size: .86rem; color: var(--ink-2); line-height: 1.4; }
.cmp-card.us .cmp-checks li { color: var(--night-ink); border-color: var(--night-line); }
.cmp-checks li:last-child { border-bottom: 0; }
.cmp-checks li::before { position: absolute; left: 0; top: 9px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; }
.cmp-checks li.yes::before { content: "\2713"; background: var(--green-soft); color: var(--green); }
.cmp-checks li.no::before { content: "\2013"; background: var(--sunk); color: var(--ink-3); }
.cmp-card.us .cmp-checks li.yes::before { background: rgba(95, 211, 155, .18); color: #7be0ae; }
.cmp-card.us .cmp-checks li.no::before { background: rgba(255, 255, 255, .08); color: var(--night-ink-2); }
.cmp-sources { font-size: .76rem; color: var(--ink-3); margin: 22px 0 0; max-width: 72em; }
.cmp-sources a { color: var(--ink-3); }
.cmp-win { margin: 16px 0 0; font-size: .92rem; color: var(--ink-2); max-width: 54em; }

/* Tool teaser */
.tool { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding: 36px; overflow: hidden; }
.tool h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; }
.tool p { color: var(--ink-2); }
.calc-peek { display: grid; gap: 8px; font-size: .92rem; }
.calc-peek div { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 12px; background: var(--sunk); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.calc-peek div.m { color: var(--red); } .calc-peek div.t { background: var(--night); color: #fff; border-color: transparent; font-weight: 800; }
.calc-peek div.t span:last-child { color: #ffb27f; }
@media (max-width: 760px) { .tool { grid-template-columns: 1fr; padding: 24px; } }

/* Guides list, FAQ (markup from the build) */
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.guide-list li { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s var(--ease), border-color .2s; }
.guide-list li:hover { transform: translateY(-2px); border-color: var(--blue-2); }
.guide-list a { font-size: 1.14rem; font-weight: 750; letter-spacing: -0.015em; color: var(--ink); text-decoration: none; line-height: 1.3; }
.guide-list a::after { content: "\00a0\2192"; color: var(--orange); }
.guide-list a:hover { color: var(--blue-2); }
.guide-list span { color: var(--ink-2); font-size: .93rem; }
@media (max-width: 400px) { .guide-list { grid-template-columns: 1fr; } }
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sunk); font-weight: 500; font-size: 1.2rem; line-height: 1; color: var(--ink-2); transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { color: var(--ink-2); padding: 0 44px 18px 0; }
.faq-a p:last-child { margin: 0; }

/* End CTA */
.end { position: relative; overflow: hidden; border-radius: 28px; padding: 56px 48px; background: radial-gradient(700px 300px at 85% 0%, #23439f, transparent 70%), var(--night); color: var(--night-ink); }
.end h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); color: #fff; max-width: 14em; }
.end p { color: var(--night-ink-2); margin: 14px 0 26px; max-width: 34em; }
.end svg.r { position: absolute; right: -20px; bottom: -10px; width: 380px; opacity: .5; pointer-events: none; }
.end svg.r path { fill: none; stroke: rgba(255, 146, 80, .55); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.end svg.r circle { fill: var(--orange-2); }
@media (max-width: 600px) { .end { padding: 36px 22px; border-radius: 22px; } .end svg.r { width: 240px; opacity: .3; } }

/* Footer */
.foot { padding: 34px 0 44px; font-size: .86rem; color: var(--ink-3); border-top: 1px solid var(--line-2); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot a { color: var(--ink-2); }

/* Articles, guides index, tool pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 0 80px; }
.crumbs { font-size: .86rem; color: var(--ink-3); margin: 0 0 18px; }
.crumbs a { color: var(--ink-3); }
.doc h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.updated { color: var(--ink-3); font-size: .9rem; margin: 16px 0 34px; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.6rem; margin: 2.1em 0 .55em; letter-spacing: -0.025em; }
.prose h3 { font-size: 1.2rem; margin: 1.7em 0 .45em; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--orange); font-weight: 700; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--orange-2); background: var(--orange-soft); border-radius: 0 12px 12px 0; font-size: 1.06rem; color: var(--ink); }
.prose blockquote p { margin: 0; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--sunk); padding: 1px 6px; border-radius: 6px; }
.prose pre { background: var(--sunk); padding: 14px; border-radius: 12px; overflow-x: auto; }
.prose .table, .table { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose th { text-align: left; background: var(--sunk); font-weight: 700; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.prose td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.aside-cta { margin: 48px 0 0; padding: 30px; border-radius: 22px; background: radial-gradient(500px 220px at 90% 0%, #23439f, transparent 70%), var(--night); color: var(--night-ink); }
.aside-cta h2 { font-size: 1.45rem; color: #fff; }
.aside-cta p { color: var(--night-ink-2); margin: 10px 0 20px; }
.related { margin: 48px 0 0; }
.related h2 { font-size: 1.3rem; margin: 0 0 16px; }
.related .guide-list { grid-template-columns: 1fr; }

/* Commission calculator */
.toolpage { max-width: 940px; margin: 0 auto; padding: 56px 0 80px; }
.toolpage h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); }
.toolpage .lead { color: var(--ink-2); font-size: 1.1rem; margin: 14px 0 30px; max-width: 40em; }
.calc { padding: 26px; margin: 0 0 22px; }
.calc h2 { font-size: 1.25rem; margin: 0 0 14px; letter-spacing: -0.015em; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
label { display: grid; gap: 6px; font-size: .86rem; font-weight: 650; color: var(--ink-2); }
input, select { font: 500 1rem var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; min-width: 0; }
input:focus { outline: 3px solid color-mix(in srgb, var(--blue-2) 40%, transparent); border-color: var(--blue-2); }
.lines { width: 100%; border-collapse: collapse; margin: 6px 0 0; }
.lines th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); padding: 6px 6px; }
.lines td { padding: 5px 6px; vertical-align: middle; }
.lines td.r, .lines th.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lines input { padding: 8px 10px; font-size: .95rem; }
.lines .del { all: unset; cursor: pointer; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-3); }
.lines .del:hover { background: var(--red-soft); color: var(--red); }
.lines .del:focus-visible { outline: 3px solid var(--orange-2); }
.lines .w-name { width: 34%; } .lines .w-n { width: 12%; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0 0; }
.hint { font-size: .84rem; color: var(--ink-3); }
.result { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 4px 0 0; }
.result div { padding: 16px; border-radius: 14px; background: var(--sunk); border: 1px solid var(--line); }
.result small { display: block; font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.result b { display: block; font-size: 1.5rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.result .neg b { color: var(--red); }
.result .tot { background: var(--night); border-color: transparent; }
.result .tot small { color: var(--night-ink-2); } .result .tot b { color: #ffb27f; }
.workings { margin: 16px 0 0; font-size: .88rem; color: var(--ink-2); }
.workings table { width: 100%; border-collapse: collapse; }
.workings th { text-align: left; font-size: .74rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.workings td { padding: 7px 8px; border-bottom: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.workings td.r, .workings th.r { text-align: right; }
.scroll-x { overflow-x: auto; }
@media (max-width: 640px) {
  .calc { padding: 18px; }
  .lines thead { display: none; }
  .lines, .lines tbody, .lines tr, .lines td { display: block; width: 100%; }
  .lines tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
  .lines td { padding: 0; }
  .lines td:first-child { grid-column: 1 / -1; }
  .lines td[data-l]::before { content: attr(data-l); display: block; font-size: .72rem; color: var(--ink-3); font-weight: 650; margin: 0 0 3px; }
  .lines td.r.basis { text-align: left; font-size: .9rem; font-weight: 650; color: var(--ink-2); align-self: center; }
  .lines td:last-child { justify-self: end; width: auto; }
}
.explain { margin: 40px 0 0; max-width: 46em; }
.explain h2 { font-size: 1.4rem; margin: 1.6em 0 .5em; letter-spacing: -0.02em; }
.explain p { color: var(--ink-2); }

/* Scroll reveal: visible without JS; JS adds .js-reveal then .in */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .pin { opacity: 1; transform: none; }
  .route-line i { width: 100%; }
}
