/* atmopay — one small stylesheet, no framework.
   The visual language comes from the "AtmoPay Landing" design: an ink-dark
   marketing and chrome surface, a light working surface, ruled sections
   rather than boxes, and one blue that means "this is the action". */
:root {
  /* Light surfaces. The design builds on the palette the app already had, so
     these are unchanged and every existing view keeps its meaning. */
  --ink: #16202b;
  --muted: #5b6b7b;
  --line: #e3e9ef;
  --accent: #1f6feb;
  --ok: #1a7f37;
  --danger: #b4232c;
  --bg: #f6f8fa;
  --paper: #fff;
  --wash: #eef2f6;

  /* Dark surfaces. New: the topbar, the hero, the balance card and every code
     block sit on ink, which needs its own rule, muted and accent — the light
     ones fail contrast there. --on-ink-dim is 5.3:1 on ink. */
  --ink-line: #2a3947;
  --ink-hover: #1c2836;
  --on-ink: #b3c1cf;
  --on-ink-dim: #8494a4;
  --accent-on-ink: #5b9bf8;
  --accent-label: #8fb6f5;
  --code-on-ink: #cfe0f5;

  --accent-hover: #4a8bf5;
  --accent-deep: #1a5cc4;

  --radius: 14px;
  --radius-sm: 9px;
  --glow: 0 6px 20px rgba(31, 111, 235, .34);
  --glow-hi: 0 10px 28px rgba(31, 111, 235, .44);

  --mono: ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 -apple-system, "Segoe UI", system-ui, sans-serif;
       color: var(--ink); background: var(--bg); }
a { color: var(--accent); }
a:hover { color: var(--accent-deep); }
code { background: var(--wash); padding: 0 4px; border-radius: 4px; font-size: 0.85em;
       overflow-wrap: anywhere; }

/* Reveal on load. Held to two shapes so the page settles rather than performs,
   and dropped entirely for anyone who asked for less motion. */
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.rise { animation: riseIn .8s cubic-bezier(.2, .7, .3, 1) both; }
.fade { animation: fadeIn .6s both; }
.d1 { animation-delay: .06s; } .d2 { animation-delay: .2s; } .d3 { animation-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important;
                           transition-duration: .001s !important; }
}

/* ---- Chrome ------------------------------------------------------------ */
/* The topbar is ink on every surface, so the app reads as one product with
   the landing page rather than as an admin panel bolted to a website. */
.topbar { background: var(--ink); color: #fff; }
.topbar-inner { max-width: 1100px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 12px; }
.brand { font-weight: 800; font-size: 18px; letter-spacing: -0.5px; color: #fff; text-decoration: none; }
.brand span { color: var(--accent-on-ink); }
.badge { font-size: 12px; color: var(--accent-label); border: 1px solid var(--ink-line);
         border-radius: 999px; padding: 2px 10px; }
.topbar nav { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.who { color: var(--on-ink); font-size: 13.5px; }
.topbar .linkish { color: var(--on-ink); }
.topbar .linkish:hover { color: #fff; }

.wrap { max-width: 1100px; margin: 24px auto; padding: 0 20px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }

/* ---- Type -------------------------------------------------------------- */
/* One kicker, used above every section that needs naming. */
.kicker, .checkout-kicker {
  margin: 0 0 2px; font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--accent);
}
.on-ink .kicker { color: var(--accent-on-ink); }

/* ---- Cards ------------------------------------------------------------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 22px; overflow: hidden; }
.card h1 { margin: 0 0 8px; font-size: 34px; line-height: 1.05; letter-spacing: -1.4px; font-weight: 800; }
.card h2 { margin: 0 0 12px; font-size: 19px; letter-spacing: -0.4px; }
.card table { table-layout: auto; width: 100%; }
.hero { max-width: 460px; margin: 48px auto; }
.sub { color: var(--muted); margin: 4px 0 14px; font-size: 17px; line-height: 1.55; }
.fineprint { color: var(--muted); font-size: 12.5px; margin-top: 14px; }
.empty { color: var(--muted); font-style: italic; }
.stat { font-size: 15px; }

/* A card on ink. Used for the balance, and for anything that should read as
   "this is the money" rather than "this is a form". */
.card.on-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.card.on-ink h2, .card.on-ink h3 { color: #fff; }
.card.on-ink small, .card.on-ink .stat-label { color: var(--on-ink-dim); }
.card.on-ink a { color: var(--accent-on-ink); }

/* ---- Forms and buttons -------------------------------------------------- */
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack.tight { gap: 8px; margin-top: 14px; }
.row { display: flex; gap: 12px; }
.row label { flex: 1; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
input[type=text], input[type=password] {
  padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; background: var(--paper); color: var(--ink);
}
input[type=text]:focus, input[type=password]:focus, textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
textarea { padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm);
           font-size: 13px; font-family: var(--mono); }

.primary, .secondary {
  border: 0; border-radius: var(--radius-sm); padding: 12px 18px; font-size: 15px;
  font-weight: 700; cursor: pointer; font-family: inherit;
  transition: background .18s, transform .18s, box-shadow .18s;
}
.primary { background: var(--accent); color: #fff; box-shadow: var(--glow); }
.primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--glow-hi); }
.secondary { background: var(--wash); color: var(--ink); }
.secondary:hover { background: var(--line); }
.linkish { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0;
           font-size: 13.5px; font-family: inherit; }
.linkish:hover { color: var(--accent-deep); text-decoration: underline; }
.linkish.danger { color: var(--danger); }
.buttonish { display: inline-block; padding: 12px 18px; border-radius: var(--radius-sm);
             background: var(--wash); color: var(--ink); font-size: 15px; font-weight: 700;
             text-decoration: none; transition: background .18s; }
.buttonish:hover { background: var(--line); color: var(--ink); }
.publish { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.publish small { color: var(--muted); }
.checkline { flex-direction: row; align-items: center; gap: 8px; font-size: 13px; }

/* ---- Tables ------------------------------------------------------------ */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12.5px;
     padding: 6px 8px; border-bottom: 1px solid var(--line); }
td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top;
     overflow-wrap: break-word; }
td.num, td.act { text-align: right; white-space: nowrap; }
small { color: var(--muted); }

.pill { border-radius: 999px; padding: 1px 10px; font-size: 12.5px; font-weight: 600; }
.pill.ok { background: #e6f4ea; color: var(--ok); }
.pill.off { background: #f6e7e8; color: var(--danger); }

.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 8px; }
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.photos figcaption { font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; }

.flash { border-radius: var(--radius-sm); padding: 11px 15px; margin: 0 0 16px; font-size: 14.5px; }
.flash.notice { background: #e6f4ea; color: var(--ok); }
.flash.alert { background: #f6e7e8; color: var(--danger); }
.banner { background: #fff8e6; border: 1px solid #e8d8a8; color: #6b5310; border-radius: 10px;
          padding: 12px 14px; font-size: 14px; margin: 0 0 20px; }

/* ---- Admin ------------------------------------------------------------- */
.admin-head { margin-bottom: 18px; }
.admin-head h1 { margin: 0 0 4px; font-size: 30px; letter-spacing: -1.1px; line-height: 1.1;
                 display: flex; align-items: center; gap: 10px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 16px 18px; display: flex; flex-direction: column; gap: 2px;
        transition: border-color .2s, transform .2s; }
.tile:hover { transform: translateY(-2px); }
.tile strong { font-size: 22px; font-weight: 800; letter-spacing: -0.8px; }
.tile span { color: var(--muted); font-size: 12.5px; }
.tile.accent { border-color: var(--accent); }
.tile.accent strong { color: var(--accent); }
.card.wide { grid-column: 1 / -1; }
.spaced { margin-top: 20px; }
.danger-text { color: var(--danger); }
.spacelink { display: block; margin: 6px 0; font-size: 12.5px; line-height: 1.45;
             padding: 4px 6px; overflow-wrap: anywhere; }

/* ---- Tiers and lines ---------------------------------------------------- */
/* A ruled row that nudges on hover — the design's list idiom, used for what a
   creator sells and for the tiers a supporter is choosing between. */
.tier-row { display: flex; align-items: center; justify-content: space-between; gap: 12px;
            padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 0;
            transition: padding-left .18s; }
.tier-row:hover { padding-left: 6px; }
.tier-row.muted { color: var(--muted); }
.tier-row .price { font-size: 19px; font-weight: 800; letter-spacing: -0.6px; white-space: nowrap; }
.tier-row .price small { font-size: 13px; font-weight: 600; }
/* Price and action share the right-hand end of a row, so the money stays in
   one column down the list however wide the label beside it runs. */
.tier-end { display: flex; align-items: center; gap: 14px; flex: none; }
.tier-end form { margin: 0; }
.line { font-size: 14px; display: flex; align-items: center; gap: 10px; }
.advanced summary { color: var(--muted); font-size: 13px; cursor: pointer; }
.advanced label { margin-top: 8px; }

/* ---- Modal -------------------------------------------------------------- */
/* First-visit demo/KYC explainer. Deliberately dismissible with one button and
   no way to "not show again" — it is shown once per creator, tracked server-side. */
.modal-backdrop { position: fixed; inset: 0; background: rgba(16, 24, 32, 0.55); display: flex;
                  align-items: center; justify-content: center; padding: 20px; z-index: 50;
                  animation: fadeIn .2s both; }
.modal { max-width: 520px; width: 100%; }
.modal h2 { margin-top: 0; }
.modal p { font-size: 14.5px; line-height: 1.5; }

/* ---- Test mode ---------------------------------------------------------- */
/* A band, an amber accent and a segmented switch — the point is that nobody
   can look at a page for a second and be unsure which of the two sets of
   money they are reading. */
.test-band { margin: 0; padding: 8px 16px; background: #7a4b00; color: #ffe9c2;
             font-size: 13px; text-align: center; }
.envswitch { display: inline-flex; border: 1px solid var(--ink-line); border-radius: var(--radius-sm); overflow: hidden; }
.envswitch form { margin: 0; }
.envbtn { border: 0; border-radius: 0; padding: 6px 12px; font-size: 12.5px; font-weight: 700;
          background: transparent; color: var(--on-ink-dim); cursor: pointer; font-family: inherit;
          transition: background .18s, color .18s; }
.envbtn:hover { color: #fff; }
.envbtn.on { background: var(--accent); color: #fff; }
body.env-test .envbtn.on { background: #7a4b00; color: #ffe9c2; }
body.env-test .badge { background: #ffe9c2; color: #7a4b00; border-color: #ffe9c2; }

/* ---- Dashboard ---------------------------------------------------------- */
/* Two independent columns, not a grid: the cards here differ wildly in height,
   and grid rows made every short card sit beside a tall one with the
   difference left as white space. */
.cols { display: flex; gap: 20px; align-items: flex-start; }
.col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 900px) { .cols { flex-direction: column; } }

/* The four numbers worth a glance, above everything else. Hairline rules
   rather than four boxes: one object, read left to right. */
/* Hairlines are drawn by the cells, not by a coloured sheet showing through
   1px gaps: a row that does not divide evenly into the column count (admin
   has six tiles in four columns) would leave the sheet bare where the missing
   cells are. Inset box-shadows cost no layout and the container clips the
   outermost ones. */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper);
             border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.stats-row > .stat-card, .stats-row > .tile {
  background: var(--paper); border: 0; border-radius: 0; padding: 16px 20px;
  box-shadow: -1px 0 0 var(--line), 0 -1px 0 var(--line);
  transition: background .2s;
}
.stats-row > .stat-card:hover, .stats-row > .tile:hover { background: var(--bg); transform: none; }
.stat-value { display: block; font-size: 30px; font-weight: 800; letter-spacing: -1.3px; }
.stat-label { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
@media (max-width: 700px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

.card h3 { margin: 18px 0 6px; font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.4px;
           color: var(--muted); font-weight: 700; }
.card h3:first-of-type { margin-top: 10px; }

/* Everything secondary is a disclosure. A dashboard whose every form is open
   is a dashboard nobody can scan. */
.disclose { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; }
.disclose > summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--accent);
                      list-style: none; }
.disclose > summary::-webkit-details-marker { display: none; }
.disclose > summary::before { content: "＋ "; font-weight: 400; }
.disclose[open] > summary::before { content: "－ "; }
.disclose > summary:hover { text-decoration: underline; }
.disclose.inline { border-top: 0; margin-top: 0; padding-top: 0; }
.disclose > *:not(summary) { margin-top: 10px; }

/* The balance, as a statement rather than a headline number: what was earned,
   what is still settling, what has gone, what can go now. A creator who can
   only see the last of those assumes the rest is lost. */
.balance { width: 100%; margin: 4px 0 6px; }
.balance th { text-align: left; font-weight: 400; color: var(--muted); padding: 3px 0; border: 0; }
.balance td { text-align: right; white-space: nowrap; padding: 3px 0; border: 0; }
.balance tr.total th, .balance tr.total td { border-top: 1px solid var(--line);
                                             font-weight: 800; color: var(--ink); padding-top: 7px; }
/* The money panel: the one place in the app that gets the landing page's ink
   treatment, because it is the number a creator opens the dashboard to read. */
.balance-panel { background: var(--ink); color: #fff; border-radius: var(--radius);
                 padding: 20px 22px; margin: 4px 0 16px; }
.balance-panel .kicker { color: var(--accent-label); letter-spacing: .7px; }
.card.on-ink .balance th, .balance-panel .balance th { color: var(--on-ink); }
.card.on-ink .balance td, .balance-panel .balance td { color: #fff; }
.balance-panel .balance th, .balance-panel .balance td { border-top: 1px solid var(--ink-line); padding: 6px 0; }
.card.on-ink .balance tr.total th, .card.on-ink .balance tr.total td {
  border-top-color: var(--ink-line); color: #fff; }
.headline-amount { display: block; font-size: 44px; font-weight: 800; letter-spacing: -2px; margin: 4px 0 14px; }

/* ---- Code --------------------------------------------------------------- */
.codeblock { margin: 0; background: var(--ink); border-radius: 12px; padding: 18px;
             font: 13px/1.9 var(--mono); color: var(--code-on-ink);
             white-space: pre-wrap; overflow-wrap: anywhere; }
.codeblock .label { display: block; font: 12px var(--mono); color: var(--accent-label); margin-bottom: 12px; }

/* ======================================================================== */
/* Landing page                                                             */
/* The marketing surface. Full-bleed ink and light bands alternating, a      */
/* narrower measure than the app (920px, not 1100px) because this is prose   */
/* and the app is data. Display type is clamped rather than broken into      */
/* breakpoints — one hero that scales is easier to keep honest than four.    */
/* ======================================================================== */
.lp-inner { max-width: 920px; margin: 0 auto; padding: 0 24px; }
.lp-section { max-width: 920px; margin: 0 auto; padding: 64px 24px; }
.lp-band { background: var(--bg); padding: 64px 0; }
.lp-band.ruled { border-top: 1px solid var(--line); }

.lp-h1 { margin: 18px 0 0; font-size: clamp(44px, 10.4vw, 104px); line-height: .9;
         letter-spacing: -.05em; font-weight: 800; }
.lp-h1 span { color: var(--accent-on-ink); }
.lp-h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); line-height: 1.05; letter-spacing: -.04em; }
.lp-h2.sm { font-size: clamp(24px, 3vw, 30px); letter-spacing: -.035em; line-height: 1.1; }
.lp-h2.lg { font-size: clamp(34px, 5.2vw, 52px); letter-spacing: -.042em; line-height: 1.03; }
.lp-lede { margin: 0; font-size: 19px; line-height: 1.55; max-width: 26em; text-wrap: pretty; }

/* ---- Hero --------------------------------------------------------------- */
/* The landing page is white; the app behind it is --bg. Bands then read as
   bands rather than as the same grey twice. */
.landing { background: var(--paper); }
.lp-hero { background: var(--ink); color: #fff; overflow: hidden; }
/* The marketing measure is 920px, so the topbar has to leave the app's 1100 —
   otherwise the brand hangs to the left of the headline it belongs to. */
.lp-hero .topbar-inner { max-width: 920px; padding: 18px 24px; }
.lp-hero .lp-inner.top { padding-top: 52px; }
.lp-hero .lp-lede { color: var(--on-ink); }
.lp-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 13.5px; }
.lp-nav a { color: var(--on-ink); text-decoration: none; }
.lp-nav a:hover { color: #fff; }
.lp-nav a.on { color: #fff; font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
@media (max-width: 640px) { .lp-nav a:not(.on) { display: none; } }

.lp-lede-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px;
                align-items: end; margin-top: 38px; }
@media (max-width: 760px) { .lp-lede-grid { grid-template-columns: 1fr; gap: 26px; align-items: start; } }
.lp-cta-col { display: flex; flex-direction: column; gap: 10px; }
.lp-cta { background: var(--accent); color: #fff; font-weight: 700; font-size: 16px;
          border-radius: 10px; padding: 15px 22px; text-align: center; text-decoration: none;
          box-shadow: var(--glow); transition: background .18s, transform .18s, box-shadow .18s; }
.lp-cta:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: var(--glow-hi); }
.lp-cta-note { color: var(--on-ink-dim); font-size: 12.5px; text-align: center; }

/* The rail of things other people's apps do with your offer. Marquee because
   the list has no end — that is the point being made. */
.lp-rail { margin-top: 52px; border-top: 1px solid var(--ink-line);
           border-bottom: 1px solid var(--ink-line); padding: 16px 0; overflow: hidden; }
.lp-rail-track { display: flex; gap: 44px; width: max-content; animation: drift 26s linear infinite;
                 color: var(--on-ink-dim); font-size: 15px; font-weight: 600; white-space: nowrap; }
.lp-rail-track .sep { color: var(--ink-line); }
@media (prefers-reduced-motion: reduce) { .lp-rail-track { animation: none; } }

.lp-stats { max-width: 920px; margin: 0 auto; padding: 34px 24px 12px; }
.lp-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
                 background: var(--ink-line); border-radius: 2px; overflow: hidden; }
@media (max-width: 700px) { .lp-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.lp-stat { background: var(--ink); padding: 16px 20px 14px; transition: background .2s; }
.lp-stat:hover { background: var(--ink-hover); }
.lp-stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -1.3px; color: #fff; }
.lp-stat span { display: block; color: var(--on-ink-dim); font-size: 12.5px; margin-top: 3px; }
.lp-stats-note { color: var(--on-ink-dim); font-size: 12.5px; margin: 12px 0 0; }
.lp-hero-foot { padding-bottom: 56px; }

/* ---- How it works ------------------------------------------------------- */
/* Ruled columns with ghost numerals, not cards. Three steps that belong to
   one line read as a sequence; three boxes read as three products. */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
@media (max-width: 760px) { .lp-steps { grid-template-columns: 1fr; } }
.lp-step { padding: 22px 24px; border-right: 1px solid var(--line); }
.lp-step:first-child { padding-left: 0; }
.lp-step:last-child { padding-right: 0; border-right: 0; }
@media (max-width: 760px) {
  .lp-step { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .lp-step:last-child { border-bottom: 0; }
}
.lp-num { font-size: 44px; font-weight: 800; letter-spacing: -2px; color: var(--line); line-height: 1; }
.lp-step h3 { margin: 6px 0; font-size: 19px; letter-spacing: -.4px; }
.lp-step p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---- Dashboard mock ----------------------------------------------------- */
.lp-mock { display: flex; gap: 18px; align-items: flex-start; margin-top: 26px; }
@media (max-width: 760px) { .lp-mock { flex-direction: column; } }
.lp-mock-list { flex: 1; background: var(--paper); border: 1px solid var(--line);
                border-radius: var(--radius); padding: 22px; min-width: 0; }
.lp-mock-list h3 { margin: 0 0 14px; font-size: 19px; letter-spacing: -.4px; }
.lp-mock-balance { width: 290px; flex: none; background: var(--ink); color: #fff;
                   border-radius: var(--radius); padding: 22px; }
@media (max-width: 760px) { .lp-mock-balance { width: 100%; } }
.lp-mock-balance .kicker { color: var(--accent-label); letter-spacing: .7px; }
.lp-mock-balance .row-line { display: flex; justify-content: space-between; font-size: 13.5px;
                             color: var(--on-ink); padding: 5px 0; border-top: 1px solid var(--ink-line); }
.lp-mock-balance .row-line b { color: #fff; font-weight: 600; }

/* ---- Receipts / developers ---------------------------------------------- */
.lp-two { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.lp-two.even { grid-template-columns: 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .lp-two, .lp-two.even { grid-template-columns: 1fr; gap: 26px; } }
.lp-two p { color: var(--muted); font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.lp-card-ink { background: var(--ink); border-radius: var(--radius); padding: 20px;
               transition: transform .25s; }
.lp-card-ink:hover { transform: translateY(-4px); }

/* ---- FAQ ---------------------------------------------------------------- */
.lp-faq { border-top: 2px solid var(--ink); }
.lp-faq-row { padding: 16px 0; border-bottom: 1px solid var(--line);
              display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
@media (max-width: 760px) { .lp-faq-row { grid-template-columns: 1fr; gap: 6px; } }
.lp-faq-row h3 { margin: 0; font-size: 17px; letter-spacing: -.3px; }
.lp-faq-row p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---- Closing ------------------------------------------------------------ */
.lp-close { background: var(--ink); color: #fff; padding: 72px 24px; text-align: center; }
.lp-close p.lead { color: var(--on-ink); margin: 0 0 26px; font-size: 19px; }
.lp-close .lp-cta { display: inline-block; padding: 15px 26px; }
.lp-foot { color: var(--on-ink-dim); font-size: 12.5px; margin: 30px 0 0; }

/* ---- Developer band ------------------------------------------------------ */
/* Ink, full bleed, hero weight. The page reads light for creators and dark for
   developers, so the audience switch is visible before a word is read. */
.lp-devband { background: var(--ink); color: #fff; padding: 72px 0; }
.lp-devband .lp-h2 { margin: 8px 0 14px; }
.lp-devband .lp-lede { color: var(--on-ink); max-width: 40em; font-size: 18px; }
.spaced-lg { margin-top: 44px; }

/* The 70/30 split, drawn. Bar and columns share the same 7fr/3fr tracks and the
   same gap, so each column sits under its own segment and the proportion is
   readable before a label is. Blue against slate — never a red/green pair. */
.lp-splitbar { display: grid; grid-template-columns: 7fr 3fr; gap: 20px; margin: 40px 0 18px; }
.lp-splitbar .seg { height: 10px; border-radius: 999px; }
.lp-splitbar .delivery { background: var(--accent); }
.lp-splitbar .origination { background: #55677c; }
.lp-compare { display: grid; grid-template-columns: 7fr 3fr; gap: 20px; }
.lp-share b { display: block; font-size: 46px; font-weight: 800; letter-spacing: -2.4px;
               line-height: 1; margin-bottom: 8px; }
.lp-share b.delivery { color: var(--accent-on-ink); }
.lp-share b.origination { color: #93a5b8; }
.lp-share h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.35px; color: #fff; }
.lp-share h3 em { color: var(--on-ink-dim); font-style: normal; font-weight: 600; }
.lp-share p { margin: 0; color: var(--on-ink); font-size: 15px; line-height: 1.6; }
@media (max-width: 760px) {
  .lp-splitbar, .lp-compare { grid-template-columns: 1fr; gap: 14px; }
  .lp-splitbar { margin-bottom: 14px; }
  .lp-splitbar .seg { height: 8px; }
}
/* On ink the code block needs to lift off the band rather than disappear into it. */
.lp-devband .codeblock { background: var(--ink-hover); border: 1px solid var(--ink-line); }
.lp-devband code { background: var(--ink-hover); color: var(--code-on-ink); }
.lp-dev-note { color: var(--on-ink-dim); font-size: 14px; line-height: 1.6; margin: 14px 0 0; }
.lp-devlink { display: inline-block; margin-top: 10px; color: var(--accent-on-ink);
              font-weight: 700; font-size: 15px; text-decoration: none; }
.lp-devlink:hover { color: #fff; }


/* ---- Dashboard sidebar --------------------------------------------------- */
/* One card at a time behind a left-hand menu, grouped by how often a creator
   needs it. Radios drive it because this app ships no JavaScript; the inputs
   are visually hidden but still focusable, and focus is drawn on their label. */
.dash { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 28px; align-items: start; }
.navradio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dashnav { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 2px; }
.navgroup { margin: 16px 0 4px; padding: 0 10px; font-size: 11.5px; font-weight: 700;
            letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.navgroup:first-child { margin-top: 0; }
.dashnav label, .dashnav a { display: block; padding: 8px 10px; border-radius: 8px; cursor: pointer;
                 font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none;
                 transition: background .15s, color .15s; }
.dashnav label:hover, .dashnav a:hover { background: var(--wash); color: var(--ink); }
/* The operator sidebar is real links, so "you are here" is an attribute rather
   than a checked radio. */
.dashnav a[aria-current="page"] { background: var(--ink); color: #fff; }
.viewpanel { display: none; }

/* One rule per view: check the radio, light its label, show its panel. */
#v-money-paid:checked ~ .dashnav label[for="v-money-paid"],
#v-money-who:checked  ~ .dashnav label[for="v-money-who"],
#v-set-sell:checked   ~ .dashnav label[for="v-set-sell"],
#v-set-gated:checked  ~ .dashnav label[for="v-set-gated"],
#v-set-apps:checked   ~ .dashnav label[for="v-set-apps"],
#v-dev-hooks:checked  ~ .dashnav label[for="v-dev-hooks"],
#v-dev-services:checked ~ .dashnav label[for="v-dev-services"] { background: var(--ink); color: #fff; }
#v-money-paid:focus-visible ~ .dashnav label[for="v-money-paid"],
#v-money-who:focus-visible  ~ .dashnav label[for="v-money-who"],
#v-set-sell:focus-visible   ~ .dashnav label[for="v-set-sell"],
#v-set-gated:focus-visible  ~ .dashnav label[for="v-set-gated"],
#v-set-apps:focus-visible   ~ .dashnav label[for="v-set-apps"],
#v-dev-hooks:focus-visible  ~ .dashnav label[for="v-dev-hooks"],
#v-dev-services:focus-visible ~ .dashnav label[for="v-dev-services"] { outline: 2px solid var(--accent); outline-offset: 2px; }
#v-money-paid:checked ~ .dashmain #p-money-paid,
#v-money-who:checked  ~ .dashmain #p-money-who,
#v-set-sell:checked   ~ .dashmain #p-set-sell,
#v-set-gated:checked  ~ .dashmain #p-set-gated,
#v-set-apps:checked   ~ .dashmain #p-set-apps,
#v-dev-hooks:checked  ~ .dashmain #p-dev-hooks,
#v-dev-services:checked ~ .dashmain #p-dev-services { display: block; }

/* Narrow: the menu becomes a scrollable strip above the card. */
@media (max-width: 800px) {
  .dash { grid-template-columns: 1fr; gap: 16px; }
  .dashnav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .navgroup { display: none; }
  .dashnav label { border: 1px solid var(--line); background: var(--paper); }
}
