/* Outclass site pages (pricing, legal) and the admin console: same tokens as workspace.css —
   white canvas, white raised cards, one blue. Text-bearing blue uses the deeper step for AA contrast. */
:root {
  --bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #F1F2F4; --ink: #111111; --ink-2: #4B5563; --ink-3: #666666;
  --line: #E5E7EB; --accent: #2A6FE0; --accent-hover: #2460C4; --accent-text: #1F5FCC; --accent-ring: #3A83F7; --accent-soft: #DCEAFF;
  --danger: #c4314b; --danger-soft: #FCE8EC; --success: #237a39; --success-soft: #E3F4E7; --warn: #8a5a00; --warn-soft: #FFF3D6;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px;
  --shadow-1: 0 0 0 1px rgba(23, 23, 23, 0.07), 0 1px 2px rgba(23, 23, 23, 0.05);
  --shadow-3: 0 0 0 1px rgba(23, 23, 23, 0.09), 0 4px 12px rgba(23, 23, 23, 0.06), 0 16px 40px rgba(23, 23, 23, 0.12);
  --font: Inter, ui-sans-serif, system-ui, sans-serif; --mono: 'Geist Mono', ui-monospace, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 14px/1.5 var(--font); letter-spacing: -0.006em; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-text); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-ring); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.brand-mark { width: 22px; height: 22px; border-radius: 6px; background: url(/mascot.png) center / contain no-repeat; display: inline-block; flex: none; } /* the mascot (app/mascot.png) */
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- site shell ---------- */
.site { max-width: 1120px; margin: 0 auto; padding: 0 16px 48px; }
.site-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.site-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; }
.site-head nav { display: flex; gap: 20px; }
.site-head nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.site-head nav a[aria-current] { color: var(--ink); }
.site-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.site-foot a { color: var(--ink-2); }
.btn-site { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-sm); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); font-weight: 500; text-decoration: none; transition: background-color 150ms ease-out, scale 150ms ease-out; }
.btn-site:hover { background: var(--surface-2); }
.btn-primary-site { background: var(--accent); color: #fff; box-shadow: none; }
.btn-primary-site:hover { background: var(--accent-hover); }
@media (prefers-reduced-motion: no-preference) { .btn-site:active { scale: 0.97; } }

/* ---------- pricing ---------- */
.pr-hero { text-align: center; padding: 40px 0 28px; }
.pr-hero h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; font-weight: 600; }
.pr-hero p { color: var(--ink-2); max-width: 560px; margin: 12px auto 0; font-size: 16px; }
.pr-empty { text-align: center; padding: 80px 16px; color: var(--ink-2); }
.pr-empty h1 { margin-bottom: 12px; }
/* Monthly / Annual switch: blue track, brushed-silver knob with a dotted grip. No JavaScript: :has() swaps the prices. */
.pr-toggle { display: flex; align-items: center; gap: 14px; width: fit-content; margin: 0 auto 32px; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.pr-t-y { color: var(--ink-3); }
.pr-toggle:has(.pr-switch:checked) .pr-t-y { color: var(--ink); font-weight: 500; }
.pr-toggle:has(.pr-switch:not(:checked)) .pr-t-m { color: var(--ink); font-weight: 500; }
.pr-switch {
  appearance: none; position: relative; flex: none; width: 70px; height: 38px; margin: 0; padding: 0; cursor: pointer;
  border-radius: 10px; border: 1px solid #c9ccd2;
  background: linear-gradient(180deg, #e3e5e9, #d3d6db);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), 0 0 0 3px #fff, 0 0 0 4px #d5d8dd;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.pr-switch:checked { background: linear-gradient(180deg, #3f8cff, #2a6fe0); border-color: #2460c4; }
.pr-switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 32px; height: 32px; border-radius: 8px;
  background:
    radial-gradient(circle, rgba(120, 125, 135, 0.55) 1px, transparent 1.4px) center / 6px 6px,
    linear-gradient(160deg, #ffffff, #e6e8ec 55%, #c9ccd2);
  background-clip: content-box, border-box; padding: 7px; box-sizing: border-box;
  box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.pr-switch:checked::after { transform: translateX(32px); }
.pr-switch:focus-visible { outline: 2px solid var(--accent-ring); outline-offset: 5px; }
.pr-save { padding: 4px 10px; border-radius: 999px; background: #e3f8e8; border: 1px solid #b8ebc5; color: #1d6b34; font-size: 12px; font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .pr-switch, .pr-switch::after { transition: none; } }
.pr-y { display: none; }
.pr:has(.pr-switch:checked) .pr-y { display: block; }
.pr:has(.pr-switch:checked) .pr-m { display: none; }
.pr-top { display: flex; align-items: center; justify-content: space-between; min-height: 28px; }
.pr-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.pr-pop { padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 500; }
.pr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: 16px; }
.pr-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.pr-featured { box-shadow: 0 0 0 2px var(--accent-ring), 0 8px 24px rgba(23, 23, 23, 0.08); }
.pr-card h2 { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.pr-tag { margin: 0; color: var(--ink-2); min-height: 42px; }
.pr-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.pr-price strong { font-size: 30px; letter-spacing: -0.02em; font-weight: 600; font-variant-numeric: tabular-nums; }
.pr-price span { color: var(--ink-3); font-size: 13px; }
.pr-na { color: var(--ink-3); }
.pr-note { margin: 0; font-size: 12px; padding: 8px 10px; border-radius: var(--r-sm); background: var(--warn-soft); color: var(--warn); }
.pr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; flex: 1; }
.pr-list li { padding-left: 22px; position: relative; color: var(--ink-2); }
.pr-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-text); font-weight: 600; }
.pr-fine { color: var(--ink-3); font-size: 13px; text-align: center; margin: 16px auto 0; max-width: 680px; }
.pr-h2 { font-size: 22px; font-weight: 600; margin: 56px 0 16px; letter-spacing: -0.01em; }
.pr-scroll { overflow-x: auto; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.pr-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.pr-table th, .pr-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.pr-table th[scope="row"], .pr-table thead th:first-child { text-align: left; font-weight: 500; color: var(--ink-2); }
.pr-table tr:last-child > * { border-bottom: 0; }
.pr-no { color: var(--ink-3); }
.pr-costs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px; }
.pr-costs div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-1); }
.pr-costs strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-faq { display: grid; gap: 8px; }
.pr-faq details { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-1); padding: 0 16px; }
.pr-faq summary { padding: 14px 0; font-weight: 500; cursor: pointer; }
.pr-faq p { margin: 0 0 14px; color: var(--ink-2); }

/* ---------- legal ---------- */
.legal-wrap { display: grid; grid-template-columns: 200px minmax(0, 720px); justify-content: center; gap: 32px; margin-top: 24px; align-items: start; }
.legal-nav { position: sticky; top: 24px; }
.legal-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-nav a { display: block; padding: 6px 10px; border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; font-size: 13px; }
.legal-nav a:hover { background: var(--surface-2); color: var(--ink); }
.legal-nav a[aria-current] { background: var(--surface-2); color: var(--ink); font-weight: 500; }
.legal { margin: 0; padding: 32px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.legal h1 { font-size: 28px; letter-spacing: -0.02em; }
.legal h2 { font-size: 17px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal-meta { color: var(--ink-3); font-size: 13px; }
.legal-summary { padding: 10px 12px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--ink) !important; }
.legal-history { margin-top: 32px; padding-top: 8px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .legal-wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; } .legal-nav { position: static; } .legal-nav ul { display: flex; flex-wrap: wrap; gap: 4px; } }
@media (max-width: 600px) { .legal { padding: 20px; } }

/* ---------- admin console ---------- */
.adm { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.adm-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 2px; padding: 16px 12px; border-right: 1px solid var(--line); background: var(--surface); overflow-y: auto; }
.adm-side .site-brand { padding: 4px 8px 16px; }
.adm-nav { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 0 10px; border: 0; border-radius: var(--r-sm); background: none; color: var(--ink-2); font-weight: 500; text-align: left; cursor: pointer; }
.adm-nav:hover { background: var(--surface-2); color: var(--ink); }
.adm-nav[aria-current="page"] { background: var(--accent-soft); color: var(--accent-text); }
.adm-who { margin-top: auto; padding: 12px 8px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.adm-who strong { display: block; color: var(--ink); font-size: 13px; }
.adm-main { min-width: 0; padding: 24px 28px 64px; }
.adm-main > h1 { font-size: 22px; letter-spacing: -0.01em; margin-bottom: 4px; }
.adm-sub { color: var(--ink-3); margin: 0 0 20px; }
.btn.adm-menu { display: none; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 20px; }
.kpi { padding: 14px 16px; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-1); }
.kpi span { display: block; color: var(--ink-3); font-size: 12px; }
.kpi strong { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.kpi small { color: var(--ink-3); font-size: 12px; }
.card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: 16px; margin-bottom: 16px; }
.card > h2 { font-size: 15px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { color: var(--ink-3); font-weight: 500; font-size: 12px; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .num { text-align: right; }
.tbl button.link { border: 0; background: none; padding: 0; color: var(--accent-text); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.mono { font-family: var(--mono); font-size: 12px; }
.pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.pill.ok { background: var(--success-soft); color: var(--success); }
.pill.bad { background: var(--danger-soft); color: var(--danger); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.info { background: var(--accent-soft); color: var(--accent-text); }
.alerts { display: grid; gap: 6px; margin-bottom: 20px; }
.alert { padding: 10px 12px; border-radius: var(--r-sm); background: var(--warn-soft); color: var(--warn); }
.alert.error { background: var(--danger-soft); color: var(--danger); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 0; border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--shadow-1); color: var(--ink); font-weight: 500; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--surface-2); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: none; }
.btn.primary:hover { background: var(--accent-hover); }
.btn.danger { color: var(--danger); }
.btn.sm { min-height: 28px; padding: 0 10px; font-size: 13px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.grow { flex: 1; }
.field { display: grid; gap: 4px; font-size: 13px; }
.field > span { color: var(--ink-2); font-weight: 500; }
.field small { color: var(--ink-3); }
.input, .select, .textarea { width: 100%; min-height: 34px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.textarea { min-height: 120px; resize: vertical; font-family: var(--mono); font-size: 12px; line-height: 1.5; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--accent-ring); outline-offset: 0; border-color: transparent; }
.form { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; align-items: end; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.muted { color: var(--ink-3); }
.empty { padding: 24px; text-align: center; color: var(--ink-3); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 96px; padding-top: 8px; }
.bars div { flex: 1; min-width: 4px; border-radius: 3px 3px 0 0; background: var(--accent-ring); }
.bars-x { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 11px; margin-top: 4px; }
dialog.adm-dlg { width: min(520px, calc(100vw - 32px)); border: 0; border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-3); }
dialog.adm-dlg::backdrop { background: rgba(17, 17, 17, 0.32); }
dialog.adm-dlg h2 { font-size: 17px; margin-bottom: 4px; }
dialog.adm-dlg form { display: grid; gap: 12px; margin-top: 12px; }
.adm-gate { max-width: 420px; margin: 12vh auto; padding: 28px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-1); display: grid; gap: 14px; }
.adm-gate h1 { font-size: 20px; }
.adm-gate code { word-break: break-all; font-family: var(--mono); font-size: 12px; background: var(--surface-2); padding: 8px; border-radius: var(--r-sm); display: block; }
.adm-err { color: var(--danger); font-size: 13px; margin: 0; }
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; padding: 10px 16px; border-radius: var(--r-md); background: var(--ink); color: #fff; box-shadow: var(--shadow-3); z-index: 10; max-width: calc(100vw - 32px); }
.toast.err { background: var(--danger); }
@media (max-width: 860px) {
  .adm { grid-template-columns: 1fr; }
  .adm-side { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 5; translate: -100% 0; transition: translate 200ms ease-out; box-shadow: var(--shadow-3); }
  .adm.nav-open .adm-side { translate: 0 0; }
  .btn.adm-menu { display: inline-flex; margin-bottom: 12px; }
  .adm-main { padding: 16px 16px 48px; }
}
@media (prefers-reduced-motion: reduce) { .adm-side { transition: none; } }
.adm-qr { width: 200px; height: 200px; margin: 0 auto; padding: 8px; background: #fff; border-radius: var(--r-sm); box-shadow: var(--shadow-1); }
.adm-qr svg { width: 100%; height: 100%; display: block; }

/* Headings and the brand name use the landing hero's font. ponytail: !important beats the per-component font shorthands; scope it if a heading ever needs another face. */
:is(h1, h2, h3, .brand, .site-brand, .sb-team) { font-family: "National Park", Inter, ui-sans-serif, system-ui, sans-serif !important; font-weight: 500 !important; letter-spacing: -0.02em; }

/* The wordmark: "outclass" in ink, ".design" in gray, the hero's thin National Park (same as /welcome). */
.wm { font-family: "National Park", Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 400; letter-spacing: -0.02em; }
.wm-d { color: #8a8a91; }

/* Header: Log in matches the landing page's (thin brushed-metal ring, light beam); signed in shows the avatar. */
.site-head nav { align-items: center; }
@property --beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.site-head nav { gap: 8px; }
.site-head nav a.metal-btn, .site-head nav a.metal-btn-dark {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; color: #0a0a0a;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #ffffff, #eef0f3) padding-box,
    conic-gradient(from var(--beam), #c9ccd2, #f7f8fa 8%, #8d929b 14%, #c9ccd2 22%, #c9ccd2 50%, #ffffff 58%, #7d828b 64%, #c9ccd2 72%) border-box;
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, 0.08);
  animation: beam 3.5s linear infinite;
}
.site-head nav a.metal-btn-dark {
  color: #fff;
  background:
    linear-gradient(180deg, #3a3a3f, #0a0a0a 55%, #1c1c20) padding-box,
    conic-gradient(from var(--beam), #6b6f77, #f2f3f5 8%, #44474d 14%, #6b6f77 22%, #6b6f77 50%, #e4e6ea 58%, #3a3d43 64%, #6b6f77 72%) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(0, 0, 0, 0.2);
}
@media (prefers-reduced-motion: no-preference) { .site-head nav a:active { scale: 0.97; } }
@keyframes beam { to { --beam: 360deg; } }
.site-avatar {
  display: block; width: 36px; height: 36px; padding: 2px; border-radius: 50%; border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--beam), #c9ccd2, #f7f8fa 8%, #8d929b 14%, #c9ccd2 22%, #c9ccd2 50%, #ffffff 58%, #7d828b 64%, #c9ccd2 72%) border-box;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  animation: beam 12s linear infinite; /* same beam as Log in, much slower */
}
.site-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .site-head nav a.metal-btn, .site-head nav a.metal-btn-dark, .site-avatar { animation: none; } }

/* Wordmark the size of the app's top bar: mascot beside "outclass.design". */
.site-head .site-brand { gap: 10px; font-size: 20px; font-weight: 400; letter-spacing: -0.02em; }
.site-head .brand-mark { width: 32px; height: 24px; border-radius: 0; background-image: url(/mascot-peek.png); }
.site-brand .wm-d { color: #8a8a91; }

/* Pricing: the landing keycaps as a soft blurred glow behind the top of the page. */
.site-pricing { position: relative; isolation: isolate; }
.site-pricing::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 40px; left: 50%; width: min(1100px, 140vw); height: 460px; transform: translateX(-50%);
  background: url(/keycaps.webp) center / contain no-repeat;
  filter: blur(56px) saturate(1.4); opacity: 0.32;
}

/* Annual switch: the same brushed-metal ring and light beam as the Log in button. */
.pr-switch {
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, #e3e5e9, #d3d6db) padding-box,
    conic-gradient(from var(--beam), #c9ccd2, #f7f8fa 8%, #8d929b 14%, #c9ccd2 22%, #c9ccd2 50%, #ffffff 58%, #7d828b 64%, #c9ccd2 72%) border-box;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
  animation: beam 3.5s linear infinite;
}
.pr-switch:checked {
  background:
    linear-gradient(180deg, #3f8cff, #2a6fe0) padding-box,
    conic-gradient(from var(--beam), #c9ccd2, #f7f8fa 8%, #8d929b 14%, #c9ccd2 22%, #c9ccd2 50%, #ffffff 58%, #7d828b 64%, #c9ccd2 72%) border-box;
}
@media (prefers-reduced-motion: reduce) { .pr-switch { animation: none; } }
/* Keycaps glow: less blur, so the keys read as shapes. */
.site-pricing::before { filter: blur(22px) saturate(1.3); opacity: 0.28; }

/* Pro card: the keycaps' colours as a soft mesh inside the card (purple, cream, blue, pink), text stays dark on light. */
.pr-featured {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(139, 110, 245, 0.22), transparent 60%),
    radial-gradient(90% 70% at 100% 0%, rgba(70, 140, 245, 0.22), transparent 60%),
    radial-gradient(90% 70% at 100% 100%, rgba(255, 60, 160, 0.16), transparent 60%),
    radial-gradient(100% 80% at 0% 100%, rgba(255, 200, 140, 0.22), transparent 60%),
    #ffffff;
}
/* Choose Pro: white with the Log in button's brushed-metal ring and light beam. */
.pr-featured .btn-site.btn-primary-site {
  color: #0a0a0a; border: 1px solid transparent;
  background:
    linear-gradient(180deg, #ffffff, #eef0f3) padding-box,
    conic-gradient(from var(--beam), #c9ccd2, #f7f8fa 8%, #8d929b 14%, #c9ccd2 22%, #c9ccd2 50%, #ffffff 58%, #7d828b 64%, #c9ccd2 72%) border-box;
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, 0.08);
  animation: beam 3.5s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .pr-featured .btn-site.btn-primary-site { animation: none; } }

/* Plan cards (alpacalabs-style): blurred keycap banner with a fine dot texture, name + price pill, "What you get" list, full-width pill button. */
.pr-cards { grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); gap: 24px; }
.pr-card, .pr-featured { padding: 0; gap: 0; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(17, 17, 17, 0.04), 0 8px 24px rgba(17, 17, 17, 0.05); }
.pr-banner { position: relative; height: 112px; overflow: hidden; background: #e9edf5; }
.pr-banner::before { content: ""; position: absolute; inset: -40px; background: url(/keycaps.webp) no-repeat; filter: blur(18px) saturate(1.5); }
.pr-banner-free::before { background-size: 260% auto; background-position: 4% 55%; }   /* purple and cream keys */
.pr-banner-pro::before { background-size: 260% auto; background-position: 62% 50%; }   /* blue mascot and pink key */
.pr-banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255, 255, 255, 0.55) 0.8px, transparent 1.2px) 0 0 / 4px 4px; mix-blend-mode: soft-light; }
.pr-banner .pr-pop { position: absolute; z-index: 1; top: 12px; right: 12px; }
.pr-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.pr-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pr-card .pr-head h2 { font-size: 22px; font-weight: 500; margin: 0; }
.pr-pill { display: inline-block; padding: 3px 9px; border-radius: 8px; background: #f3f4f6; border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-pill-paid { background: #eaf3ff; border-color: #cfe2ff; color: #1f5fcc; }
.pr-card .pr-tag { margin: 12px 0 0; min-height: 0; color: var(--ink-2); line-height: 1.5; }
.pr-get { margin: 26px 0 12px; font-size: 13px; font-weight: 500; color: var(--ink); }
.pr-card .pr-list { gap: 12px; margin-bottom: 32px; }
.pr-card .pr-list li { padding-left: 26px; color: var(--ink-2); }
.pr-card .pr-list li::before { content: ""; top: 2px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m8 12.5 2.6 2.6L16 9.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.pr-cta { margin-top: auto; height: 46px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.pr-card:not(.pr-featured) .pr-cta { background: #2b2b2b; color: #fff; border: 0; }
.pr-y, .pr-m { display: inline; }
.pr-y { display: none; }
.pr:has(.pr-switch:checked) .pr-y { display: inline; }
.pr-banner-pro::before { background-size: 240% auto; background-position: 66% 92%; filter: blur(22px) saturate(1.5); } /* mascot's blue body and the pink key, below the eyes */

/* Compact: the whole top of the pricing page fits at 100% zoom. */
.site-pricing .site-head { padding: 14px 0; }
.site-pricing .pr-hero { padding: 20px 0 16px; }
.site-pricing .pr-hero h1 { font-size: clamp(26px, 3vw, 34px); }
.site-pricing .pr-hero p { margin-top: 8px; font-size: 15px; }
.site-pricing .pr-toggle { margin-bottom: 20px; }
.site-pricing .pr-cards { grid-template-columns: repeat(auto-fit, minmax(270px, 340px)); gap: 20px; }
.pr-banner { height: 64px; }
.pr-body { padding: 16px 20px 20px; }
.pr-card .pr-head h2 { font-size: 20px; }
.pr-card .pr-tag { margin-top: 8px; font-size: 14px; }
.pr-get { margin: 16px 0 10px; }
.pr-card .pr-list { gap: 9px; margin-bottom: 20px; font-size: 14px; }
.pr-cta { height: 40px; font-size: 14px; }

/* Banners: soft abstract art that fades into the card (no image). Pro: lime silk waves. Free: a lavender glass drop with ripples. */
.pr-banner { height: 92px; background: none; -webkit-mask: linear-gradient(#000 45%, transparent); mask: linear-gradient(#000 45%, transparent); }
.pr-banner::after { display: none; }
.pr-banner::before { inset: 0; filter: none; background-size: auto; }
.pr-banner-pro::before {
  background:
    linear-gradient(118deg, transparent 22%, rgba(255, 255, 255, 0.55) 34%, transparent 46%),
    linear-gradient(118deg, transparent 52%, rgba(255, 255, 255, 0.35) 60%, transparent 70%),
    radial-gradient(70% 90% at 82% 110%, rgba(63, 98, 18, 0.45), transparent 70%),
    radial-gradient(60% 80% at 10% -10%, #f7fee7, transparent 70%),
    linear-gradient(160deg, #ecfccb 0%, #d9f99d 30%, #a3e635 62%, #65a30d 100%);
}
.pr-banner-free::before {
  background:
    radial-gradient(circle at 56% 40%, rgba(255, 255, 255, 0.95) 0 3%, rgba(221, 214, 254, 0.9) 7%, rgba(167, 139, 250, 0.85) 15%, rgba(139, 92, 246, 0.35) 19%, transparent 21%),
    repeating-radial-gradient(ellipse 120% 60% at 56% 62%, rgba(255, 255, 255, 0.5) 0 1.5px, transparent 2px 14px),
    radial-gradient(80% 90% at 56% 50%, #ddd6fe, transparent 75%),
    linear-gradient(180deg, #f5f3ff, #e9e5ff);
}
.pr-banner .pr-pop { background: #1f2937; }
.pr-banner { height: 100px; -webkit-mask: linear-gradient(#000 58%, transparent); mask: linear-gradient(#000 58%, transparent); }
.pr-banner-pro::before {
  background:
    radial-gradient(120% 70% at 30% 130%, transparent 48%, rgba(255, 255, 255, 0.6) 52%, transparent 58%),
    radial-gradient(130% 80% at 75% 140%, transparent 50%, rgba(255, 255, 255, 0.45) 54%, transparent 60%),
    radial-gradient(90% 120% at 95% 100%, #3f6212, transparent 65%),
    radial-gradient(70% 100% at 0% 0%, #f7fee7, transparent 65%),
    linear-gradient(150deg, #d9f99d 0%, #bef264 35%, #84cc16 70%, #4d7c0f 100%);
}
.pr-banner-free::before {
  background:
    radial-gradient(circle at 56% 38%, #ffffff 0 2.5%, #ede9fe 6%, #c4b5fd 12%, #8b5cf6 17%, rgba(139, 92, 246, 0) 18.5%),
    radial-gradient(60% 22% at 56% 62%, rgba(139, 92, 246, 0.25), transparent 70%),
    repeating-radial-gradient(ellipse 140% 50% at 56% 64%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.5px 12px),
    linear-gradient(180deg, #ede9fe, #ddd6fe 70%, #f5f3ff);
}
/* No drop: just the ripple lines, on both banners. */
.pr-banner-free::before {
  background:
    repeating-radial-gradient(ellipse 140% 50% at 56% 64%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.5px 12px),
    linear-gradient(180deg, #ede9fe, #ddd6fe 70%, #f5f3ff);
}
.pr-banner-pro::before {
  background:
    repeating-radial-gradient(ellipse 140% 50% at 56% 64%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.5px 12px),
    radial-gradient(90% 120% at 95% 100%, #3f6212, transparent 65%),
    radial-gradient(70% 100% at 0% 0%, #f7fee7, transparent 65%),
    linear-gradient(150deg, #d9f99d 0%, #bef264 35%, #84cc16 70%, #4d7c0f 100%);
}

