/*
 * PicoBot site. Cool paper background, ink-navy text, one "Pico yellow" used as a
 * solid block colour (buttons, stickers, the recommended plan) and Discord blurple
 * only where something is a link. Solid offset shadows instead of soft grey blur.
 * Display: Bricolage Grotesque. Text: Figtree.
 */
:root {
  /* light: neutral white paper, near-black ink, one lemon accent */
  --paper: #fafaf8;
  --paper-2: #f0f0eb;
  --card: #ffffff;
  --ink: #111114;
  --ink-2: #4b4b55;
  --ink-3: #6b6b75;
  --rule: #e4e4de;
  --dots: #d9d9d2;
  --pico: #ffd23f;
  --on-pico: #111114;
  --blurple: #3b4cca;
  --edge: #111114;       /* offset shadows */
  --edge-line: #111114;  /* outlines of buttons and boxes */
  --best: #fff6d1;
  --header-bg: rgba(250, 250, 248, 0.9);
  --on-ink: #ffffff;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --text: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --mono: ui-monospace, 'Cascadia Code', Consolas, monospace;
  --max: 1120px;
  --r-lg: 18px;
  --r-md: 12px;
  color-scheme: light;
}

/* dark: same character, ink and paper swapped; shadows stay black so boxes still "lift" */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #111216; --paper-2: #1a1c22; --card: #1b1d24;
    --ink: #ececf1; --ink-2: #a8abb8; --ink-3: #8a8e9c; --rule: #2a2d37; --dots: #24272f;
    --blurple: #a3acff; --edge: #000000; --edge-line: #454a58; --best: #2b2614;
    --header-bg: rgba(17, 18, 22, 0.88); --on-ink: #111216;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --paper: #111216; --paper-2: #1a1c22; --card: #1b1d24;
  --ink: #ececf1; --ink-2: #a8abb8; --ink-3: #8a8e9c; --rule: #2a2d37; --dots: #24272f;
  --blurple: #a3acff; --edge: #000000; --edge-line: #454a58; --best: #2b2614;
  --header-bg: rgba(17, 18, 22, 0.88); --on-ink: #111216;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blurple); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--blurple); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 750; }
h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
p, li { text-wrap: pretty; }
.lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-2); max-width: 600px; margin: 0; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.mono { font-family: var(--mono); }
/* No label above every heading: headings say it themselves. */
.eyebrow { display: none; }
.hl { color: inherit; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; color: var(--ink); }

section { padding: 88px 0; }
section.tight { padding: 56px 0; }
section[id] { scroll-margin-top: 84px; }
.sec-head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 680px; }
@media (max-width: 640px) { section { padding: 60px 0; } }

/* ------------------------------------------------------------ header */
.top { position: sticky; top: 0; z-index: 20; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand img, .brand .mark { width: 32px; height: 32px; border-radius: 50%; }
.brand .mark { background: var(--pico); color: var(--on-pico); display: grid; place-items: center; font-weight: 800; box-shadow: 2px 2px 0 var(--edge); }
.nav { display: flex; gap: 2px; margin-right: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15.5px; padding: 10px 12px; border-radius: 10px; transition: color 0.15s, background-color 0.15s; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current='page'] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--pico); border-radius: 0; }
.top .cta { display: flex; gap: 10px; align-items: center; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; padding: 9px 14px; border: 2px solid var(--edge-line); border-radius: 10px; font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu .sheet { position: absolute; right: 16px; left: 16px; top: 64px; background: var(--card); border: 2px solid var(--edge-line); border-radius: var(--r-md); padding: 8px; display: grid; gap: 2px; box-shadow: 5px 5px 0 var(--edge); }
.menu .sheet a { padding: 12px; text-decoration: none; border-radius: 8px; color: var(--ink); font-weight: 500; }
.menu .sheet a:hover { background: var(--paper); }
@media (max-width: 860px) { .nav, .top .cta { display: none; } .menu { display: block; } }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 12px; border: 2px solid var(--edge-line);
  font: 700 15.5px/1 var(--text); text-decoration: none; white-space: nowrap; cursor: pointer;
  background: var(--card); color: var(--ink); box-shadow: 3px 3px 0 var(--edge);
  transition: transform 0.12s, box-shadow 0.12s, background-color 0.15s; touch-action: manipulation;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--edge); text-decoration: none; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--edge); }
.btn.primary { background: var(--pico); color: var(--on-pico); }
.btn.lg { min-height: 52px; padding: 0 24px; font-size: 16.5px; }
.btn svg { width: 19px; height: 19px; }

/* ------------------------------------------------------------ hero */
.hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero::before { /* dotted paper, fading out downwards */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--dots) 1.2px, transparent 1.3px); background-size: 22px 22px;
  mask-image: linear-gradient(#000 20%, transparent 85%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }
.hero .copy { display: grid; gap: 24px; align-content: start; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .proof { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; color: var(--ink-2); }
.hero .proof b { color: var(--ink); font-family: var(--display); font-size: 21px; margin-right: 3px; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; gap: 48px; } }

/* Discord chat window: it really is Discord's dark UI, so it stays dark */
.chat {
  background: #313338; color: #dbdee1; border-radius: var(--r-lg); padding: 18px 18px 20px;
  border: 2px solid var(--edge-line); box-shadow: 8px 8px 0 var(--pico), 8px 8px 0 2px var(--edge-line);
  font-family: var(--text); font-size: 15px; line-height: 1.4; transform: rotate(1deg);
}
.chat .chan { display: flex; align-items: center; gap: 6px; color: #949ba4; font-weight: 600; font-size: 14px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid #3f4147; }
.msg { display: grid; grid-template-columns: 40px 1fr; gap: 14px; margin-top: 14px; }
.msg .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; }
.msg .name { font-weight: 600; color: #f2f3f5; }
.msg .name.bot { color: var(--pico); }
.msg .tag { background: #5865f2; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; margin-left: 5px; vertical-align: 2px; }
.msg .time { color: #949ba4; font-size: 12px; margin-left: 6px; }
.msg .mention { background: rgba(88, 101, 242, 0.3); color: #c9cdfb; border-radius: 3px; padding: 0 2px; }
.v2 { margin-top: 6px; border-left: 4px solid var(--pico); background: #2b2d31; border-radius: 6px; padding: 12px 14px; display: grid; gap: 6px; max-width: 420px; }
.v2 b { color: #f2f3f5; }
.v2 .row { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.v2 .b { background: #4e5058; color: #fff; font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 5px; }
.v2 .b.g { background: #248046; }
.v2 small { color: #949ba4; font-size: 12px; }
@media (prefers-reduced-motion: no-preference) { .chat { transition: transform 0.4s; } .chat:hover { transform: rotate(0deg); } }

/* ------------------------------------------------------------ facts strip */
.strip { display: flex; flex-wrap: wrap; gap: 14px 44px; padding: 24px 0; border-top: 2px solid var(--edge-line); border-bottom: 2px solid var(--edge-line); }
.strip > div { display: flex; align-items: baseline; gap: 10px; }
.strip .n { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.strip .l { font-size: 15px; color: var(--ink-2); }

/* ------------------------------------------------------------ feature lists (ruled list, not a card grid) */
.grid { display: grid; gap: 0 56px; }
.g3, .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .g3, .g2 { grid-template-columns: 1fr; } }
.card { padding: 26px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-content: start; }
.card > :not(.ico) { grid-column: 2; }
.card:not(:has(.ico)) { grid-template-columns: 1fr; }
.card:not(:has(.ico)) > * { grid-column: 1; }
.card .ico { grid-row: span 3; color: var(--on-pico) !important; width: 42px; height: 42px; border-radius: 12px; background: var(--pico); border: 2px solid var(--edge-line); display: grid; place-items: center; color: var(--ink); }
.card .ico svg { width: 20px; height: 20px; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.card ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; color: var(--ink-2); font-size: 15.5px; }

/* alternating feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px 0; }
.feature + .feature { border-top: 1px solid var(--rule); }
.feature .txt { display: grid; gap: 16px; }
.feature .txt p { margin: 0; color: var(--ink-2); }
.feature.flip .txt { order: 2; }
.feature .panel-shot { background: var(--card); border: 2px solid var(--edge-line); border-radius: var(--r-lg); padding: 14px 18px; box-shadow: 6px 6px 0 var(--edge); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 28px; } .feature.flip .txt { order: 0; } }
.kv { display: grid; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px dashed var(--rule); font-size: 15.5px; }
.kv div:last-child { border-bottom: 0; }
.pill { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.pill.off { color: var(--ink-3); font-weight: 500; }

/* ------------------------------------------------------------ steps (a real sequence, so numbered) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { display: grid; gap: 8px; align-content: start; }
.steps .mono { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; color: var(--ink); }
.steps .mono::after { content: ''; display: block; width: 44px; height: 6px; background: var(--pico); margin-top: 10px; border-radius: 3px; }
.steps p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; max-width: 480px; } }
.price { background: var(--card); border: 2px solid var(--edge-line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 16px; grid-template-rows: auto auto 1fr auto; position: relative; }
.price.best { background: var(--best); box-shadow: 6px 6px 0 var(--edge); }
.price .badge { position: absolute; top: -15px; right: 20px; background: var(--pico); color: var(--on-pico); border: 2px solid var(--edge-line); font-weight: 700; font-size: 13px; padding: 5px 11px; border-radius: 999px; transform: rotate(3deg); }
.price .amt { font-family: var(--display); font-size: 36px; font-weight: 800; letter-spacing: -0.03em; }
.price .ai { font-weight: 600; color: var(--ink); }
.price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; align-content: start; }
.price li { display: flex; gap: 10px; align-items: flex-start; }
.price li svg { flex: none; width: 17px; height: 17px; margin-top: 3px; color: var(--ink); }
.price li.no { color: var(--ink-3); }
.price li.no svg { color: var(--ink-3); }
.price .btn { width: 100%; }

.table-wrap { overflow-x: auto; background: var(--card); border: 2px solid var(--edge-line); border-radius: var(--r-md); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--rule); }
th { font-weight: 700; background: var(--paper); }
tr:last-child td { border-bottom: 0; }
td.c, th.c { text-align: center; }
.strip .n, .price .amt, td.c { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ commands page */
.cmds { display: grid; }
.cmd { padding: 16px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 8px; }
.cmd .head { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.cmd .head p { margin: 0; color: var(--ink-2); }
.cmd .head code { font-size: 15px; font-weight: 700; color: var(--on-pico); background: var(--pico); border: 1.5px solid var(--edge-line); }
.cmd .subs { display: flex; flex-wrap: wrap; gap: 6px; }
.cmd .subs span { font-family: var(--mono); font-size: 13px; color: var(--ink-2); background: var(--card); border: 1px solid var(--rule); border-radius: 6px; padding: 4px 8px; }
.cat { margin: 44px 0 6px; }

/* ------------------------------------------------------------ FAQ: question left, answer right, always visible */
.faq { display: grid; max-width: 940px; }
.faq details { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--rule); }
.faq summary { list-style: none; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; cursor: default; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .faq details { grid-template-columns: 1fr; gap: 8px; } }

/* ------------------------------------------------------------ CTA band + footer */
.band { color: var(--on-pico); background: var(--pico); border: 2px solid var(--edge-line); border-radius: var(--r-lg); padding: 44px 48px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: 8px 8px 0 var(--edge); }
.band h2 { color: var(--on-pico); font-size: clamp(24px, 3vw, 34px); max-width: 580px; }
.band .btn.primary { background: #ffffff; color: #111114; }
@media (max-width: 640px) { .band { padding: 28px; } }

footer { border-top: 2px solid var(--edge-line); padding: 40px 0 36px; margin-top: 80px; font-size: 15px; color: var(--ink-2); }
footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; }
footer .cols > div:first-child { max-width: 340px; }
footer .fh { display: none; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--ink); text-decoration: none; display: inline-block; padding: 3px 0; font-weight: 500; }
footer a:hover { text-decoration: underline; }
footer .bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 14px; }

/* language switcher */
.langs { display: flex; gap: 4px; flex-wrap: wrap; }
.langs a { padding: 5px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.langs a:hover { background: var(--paper-2); color: var(--ink); }
.langs a[aria-current] { background: var(--ink); color: var(--on-ink); }

/* ------------------------------------------------------------ legal / page heads */
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.page-head { padding: 64px 0 32px; }
.page-head .wrap { display: grid; gap: 16px; }
.page-head h1 { font-size: clamp(36px, 5vw, 58px); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } .chat { transform: none; } }

/* theme switch */
.theme-btn { width: 46px; padding: 0; }
.theme-btn svg { width: 20px; height: 20px; }
.theme-btn .moon { display: none; }
:root[data-theme='dark'] .theme-btn .sun, :root:not([data-theme]) .theme-btn .sun { display: none; }
:root[data-theme='dark'] .theme-btn .moon { display: inline; }
:root[data-theme='light'] .theme-btn .sun { display: inline; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .theme-btn .moon { display: inline; } }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .theme-btn .sun { display: inline; } }

/* Discord now-playing card, drawn like the real one */
.np { gap: 10px; }
.np-top { display: flex; justify-content: space-between; gap: 14px; }
.np-top > div { display: grid; gap: 3px; }
.np-title { color: #00a8fc; font-weight: 600; text-decoration: none; }
.np-cover { flex: none; width: 74px; height: 74px; border-radius: 8px; background: linear-gradient(135deg, #f3a35b, #c2410c 55%, #3b0764); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.np-bar { display: flex; align-items: center; gap: 8px; }
.np-bar code { background: #1e1f22; color: #dbdee1; font-size: 12px; padding: 2px 5px; border-radius: 4px; }
.np-track { position: relative; flex: 1; height: 4px; background: #4e5058; border-radius: 2px; }
.np-track span { position: absolute; left: 0; top: 0; bottom: 0; background: #dbdee1; border-radius: 2px; }
.np-track span::after { content: ''; position: absolute; right: -6px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: #5865f2; border: 2px solid #dbdee1; }
.np-meta { color: #dbdee1 !important; font-size: 13px !important; }
.v2 .b.bl { background: #5865f2; }
.v2 .b.r { background: #da373c; }

/* plan comparison table */
.cmp { position: relative; overflow-x: auto; background: var(--card); border: 2px solid var(--edge-line); border-radius: var(--r-lg); box-shadow: 6px 6px 0 var(--edge); }
.cmp-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 15px; }
.cmp-table th, .cmp-table td { border-bottom: 1px solid var(--rule); padding: 11px 16px; background: none; }
.cmp-table thead th { position: sticky; top: 0; background: var(--card); vertical-align: bottom; border-bottom: 2px solid var(--edge-line); }
.cmp-feat { width: 36%; text-align: left; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.cmp-plan { text-align: center; padding: 26px 12px 16px !important; position: relative; }
.cmp-plan .cmp-name { display: block; font-weight: 700; font-size: 15px; }
.cmp-plan .cmp-amt { display: block; font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; margin: 2px 0; }
.cmp-plan .cmp-per { display: block; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.cmp-badge { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); background: var(--pico); color: var(--on-pico); border: 2px solid var(--edge-line); font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.cmp-table .hi { background: color-mix(in srgb, var(--pico) 12%, transparent) !important; }
.cmp-table thead .hi { background: color-mix(in srgb, var(--pico) 16%, var(--card)) !important; }
.cmp-table tbody th { text-align: left; font-weight: 500; }
.cmp-table td { text-align: center; }
.cmp-sec th { background: var(--paper) !important; font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink); padding: 8px 16px !important; }
.cmp-yes, .cmp-no { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; }
.cmp-yes { background: var(--ink); color: var(--on-ink); }
.cmp-yes.hi { background: var(--pico); color: var(--on-pico); border: 1.5px solid var(--edge-line); }
.cmp-no { background: var(--paper-2); color: var(--ink-3); }
.cmp-yes svg, .cmp-no svg { width: 14px; height: 14px; }
.cmp-txt { font-weight: 600; font-size: 14px; }
.cmp-cta td, .cmp-cta th { border-bottom: 0; padding: 16px 12px; }
.cmp-cta .btn { width: 100%; min-height: 42px; font-size: 14.5px; }
.cmp-note { font-size: 14px; margin-top: 14px; }

/* billing switch + checkout dialog */
.bill { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 18px; background: var(--card); border: 2px solid var(--edge-line); border-radius: 999px; box-shadow: 3px 3px 0 var(--edge); }
.bill button { font: inherit; font-weight: 700; font-size: 14.5px; border: 0; border-radius: 999px; padding: 8px 18px; background: none; color: var(--ink-3); cursor: pointer; min-height: 40px; }
.bill button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.bill-save { display: inline-block; margin-left: 6px; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--pico); color: var(--on-pico); }
.cmp .by { display: none; }
.cmp[data-bill="year"] .bm { display: none; }
.cmp[data-bill="year"] .by { display: inline; }
.buy { border: 2px solid var(--edge-line); border-radius: var(--r-lg); box-shadow: 6px 6px 0 var(--edge); background: var(--card); color: var(--ink); padding: 0; width: min(440px, calc(100vw - 32px)); }
.buy::backdrop { background: rgb(0 0 0 / 0.45); }
.buy-f { display: grid; gap: 10px; padding: 22px; }
.buy-f h3 { margin: 0; font-family: var(--display); font-size: 22px; }
.buy-f p { margin: 0; }
.buy-f label { font-weight: 700; font-size: 14px; margin-top: 4px; }
.buy-f .input { font: inherit; font-size: 16px; padding: 10px 12px; border: 2px solid var(--edge-line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.buy-f small { font-size: 13px; line-height: 1.5; }
.buy-msg { min-height: 1.2em; font-size: 14px; font-weight: 600; color: var(--ink); }
.buy-act { display: flex; gap: 8px; justify-content: flex-end; }
.pay-ok { margin: 0 0 16px; padding: 12px 16px; border: 2px solid var(--edge-line); border-radius: 12px; background: var(--pico); color: var(--on-pico); font-weight: 600; }

/* Early access strip above the hero: gifts for early users and for bug reports. */
.early { background: var(--pico); color: var(--on-pico); border-bottom: 2px solid var(--edge-line); }
.early .wrap { display: flex; align-items: center; justify-content: center; gap: 12px 16px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.early p { margin: 0; font-size: 15px; line-height: 1.45; }
.early-tag { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 999px; background: var(--on-pico); color: var(--pico); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; vertical-align: 1px; }
.early .btn { padding: 6px 12px; font-size: 14px; }
@media (max-width: 640px) { .early p { font-size: 14px; } }
