/* Vortex Hub design tokens (measured from vortexhub.dev) + shared components. */
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url(../fonts/dm-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url(../fonts/dm-sans-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url(../fonts/dm-sans-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url(../fonts/dm-sans-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-weight: 700; font-display: swap; src: url(../fonts/dm-sans-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-weight: 700; font-display: swap; src: url(../fonts/dm-sans-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url(../fonts/space-grotesk-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url(../fonts/space-grotesk-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url(../fonts/space-grotesk-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url(../fonts/space-grotesk-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(../fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(../fonts/jetbrains-mono-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(../fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #fdfdfa; --surface: #ffffff; --sunken: #efede6;
  --fg: #1f2128; --fg-2: #474a58; --fg-3: #646777; --fg-4: #a4a6b2;
  --line-1: rgba(20, 22, 40, .08); --line-2: rgba(20, 22, 40, .12); --line-3: rgba(20, 22, 40, .2);
  --brand: #5b52f0; --brand-hover: #4f46e5; --brand-fg: #463dd6; --brand-tint: rgba(91, 82, 240, .1); --on-brand: #ffffff;
  /* Fills under white text: the same in both themes (white on #5b52f0 is 5.37:1, on #4f46e5 6.29:1; dark --brand is only 4.20:1). */
  --brand-solid: #5b52f0; --brand-solid-hover: #4f46e5;
  --ok: #17784d; --ok-tint: rgba(23, 120, 77, .12); --warn: #8a5f0c; --warn-tint: rgba(176, 122, 18, .14); --bad: #c03a32; --bad-tint: rgba(192, 58, 50, .1); --echo: #1f9bb0;
  --night: #0d1117; --night-2: #171b21; --night-3: #20242b; --night-fg: #f5f5f2; --night-fg-2: #b9bbc4; --night-line: rgba(255, 255, 255, .1); --night-brand: #8b8eff;
  --shadow-pop: 0 0 0 1px rgba(20, 22, 40, .06), 0 2px 6px -1px rgba(20, 22, 40, .08), 0 16px 36px -10px rgba(20, 22, 40, .18);
  --radius: 8px; --radius-lg: 14px;
  --ink: #06090f; --ink-2: #0b0f17;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --nav-h: 64px;
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1117; --surface: #171b21; --sunken: #20242b;
    --fg: #f5f5f2; --fg-2: #cfd0d6; --fg-3: #9f9f99; --fg-4: #6c6f7a;
    --line-1: rgba(255, 255, 255, .07); --line-2: rgba(255, 255, 255, .11); --line-3: rgba(255, 255, 255, .2);
    --brand: #686bf4; --brand-hover: #7b7ef7; --brand-fg: #a9abff; --brand-tint: rgba(104, 107, 244, .18); --on-brand: #ffffff;
    --ok: #55d19b; --ok-tint: rgba(85, 209, 155, .14); --warn: #f0c25c; --warn-tint: rgba(240, 194, 92, .14); --bad: #ff8f86; --bad-tint: rgba(255, 143, 134, .14);
    --shadow-pop: 0 0 0 1px rgba(255, 255, 255, .06), 0 18px 40px -16px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1117; --surface: #171b21; --sunken: #20242b;
  --fg: #f5f5f2; --fg-2: #cfd0d6; --fg-3: #9f9f99; --fg-4: #6c6f7a;
  --line-1: rgba(255, 255, 255, .07); --line-2: rgba(255, 255, 255, .11); --line-3: rgba(255, 255, 255, .2);
  --brand: #686bf4; --brand-hover: #7b7ef7; --brand-fg: #a9abff; --brand-tint: rgba(104, 107, 244, .18); --on-brand: #ffffff;
  --ok: #55d19b; --ok-tint: rgba(85, 209, 155, .14); --warn: #f0c25c; --warn-tint: rgba(240, 194, 92, .14); --bad: #ff8f86; --bad-tint: rgba(255, 143, 134, .14);
  --shadow-pop: 0 0 0 1px rgba(255, 255, 255, .06), 0 18px 40px -16px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; margin: 0; color: inherit; }
p { margin: 0; }
a { color: var(--brand-fg); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--brand-solid); color: var(--on-brand); padding: 8px 14px; border-radius: var(--radius); z-index: 100; }
.skip:focus { top: 12px; }
.muted { color: var(--fg-3); }
.mono { font-family: var(--mono); }
.hidden { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--radius); border: 1px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; text-decoration: none; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .16s var(--ease-out); white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--brand-solid); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-solid-hover); color: var(--on-brand); }
.btn-quiet { background: var(--surface); border-color: var(--line-3); color: var(--fg); }
.btn-quiet:hover { background: var(--sunken); color: var(--fg); }
.btn-ghost { background: transparent; color: var(--fg-2); }
.btn-ghost:hover { background: var(--brand-tint); color: var(--fg); }
.btn-danger { background: transparent; border-color: var(--bad); color: var(--bad); }
.btn-danger:hover { background: var(--bad-tint); color: var(--bad); }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: 14px; }
.on-night .btn-quiet { background: transparent; border-color: var(--night-line); color: var(--night-fg); }
.on-night .btn-quiet:hover { background: rgba(255, 255, 255, .08); color: var(--night-fg); }

/* Forms */
.field { display: grid; gap: 6px; }
.field > label, .label { font-weight: 600; font-size: 14px; color: var(--fg-2); }
.input, .select, .textarea { width: 100%; min-height: 44px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line-3); border-radius: var(--radius); color: var(--fg); }
.textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--fg-4); }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.hint { font-size: 13px; color: var(--fg-3); }
.error { color: var(--bad); font-size: 14px; font-weight: 500; }
.notice { padding: 12px 14px; border-radius: var(--radius); background: var(--brand-tint); color: var(--fg); font-size: 14px; border: 1px solid var(--line-2); }
.notice.warn { background: var(--warn-tint); }
.notice.bad { background: var(--bad-tint); }
.notice.ok { background: var(--ok-tint); }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--sunken); color: var(--fg-2); white-space: nowrap; }
.chip.brand { background: var(--brand-tint); color: var(--brand-fg); }
.chip.ok { background: var(--ok-tint); color: var(--ok); }
.chip.warn { background: var(--warn-tint); color: var(--warn); }
.chip.bad { background: var(--bad-tint); color: var(--bad); }

/* Brand lockup */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.logo:hover { color: var(--fg); }
.logo img, .logo svg { width: 32px; height: 32px; }
.logo small { font-family: var(--body); font-weight: 500; font-size: 12px; letter-spacing: 0; color: var(--fg-3); }

/* Highlighted facts: numbers, names and dates the engine protects */
.fact { background: var(--brand-tint); color: inherit; border-radius: 4px; padding: 0 3px; box-shadow: inset 0 -2px 0 var(--brand); }
.diff-del { background: var(--bad-tint); text-decoration: line-through; text-decoration-color: var(--bad); border-radius: 3px; }
.diff-ins { background: var(--ok-tint); border-radius: 3px; box-shadow: inset 0 -2px 0 var(--ok); }
/* A removed run and the run that replaces it touch (renderDiff marks the second .diff-next): keep them apart */
.diff-next { margin-left: .3em; }

/* Toasts */
.toasts { position: fixed; right: 16px; bottom: 16px; display: grid; gap: 8px; z-index: 200; max-width: min(380px, calc(100vw - 32px)); }
.toast { background: var(--fg); color: var(--bg); padding: 12px 16px; border-radius: var(--radius); box-shadow: var(--shadow-pop); font-size: 14.5px; font-weight: 500; }
.toast.bad { background: var(--bad); color: #fff; }

/* ===================================================================================================
   Public site chrome, shared by index, integrity, auth, privacy, terms and 404 (and the /app footer).
   =================================================================================================== */
.wrap-xl { width: min(1280px, 100% - 40px); margin-inline: auto; }
.on-ink { background: var(--ink); color: var(--night-fg); }
.on-ink h1, .on-ink h2, .on-ink h3 { color: var(--night-fg); }
.kicker { display: block; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-fg); margin: 0 0 16px; }
.on-ink .kicker, .on-night .kicker { color: var(--night-brand); }
.tnum { font-variant-numeric: tabular-nums; display: inline-block; }
.integrity-line { font-size: 13.5px; color: var(--fg-3); }
.on-ink .integrity-line, .on-night .integrity-line { color: var(--night-fg-2); }

/* Wordmark: the swirl, then "Vortex" heavy and "Humanizer" lighter. */
.logo-wm { gap: 9px; font-size: 19px; }
.logo-wm img { width: 30px; height: 30px; }
.logo-wm small { font-family: var(--display); font-weight: 500; font-size: .84em; letter-spacing: -.02em; color: inherit; opacity: .62; margin-left: .22em; }

/* Nav: ink in both themes, like the hero it sits on. */
.site-nav { position: sticky; top: 0; z-index: 60; color: var(--night-fg); background: var(--ink); border-bottom: 1px solid transparent; transition: border-color .3s ease, background-color .3s ease; }
.site-nav.is-stuck { background: rgba(6, 9, 15, .95); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--night-line); }
.site-nav-in { position: relative; display: flex; align-items: center; gap: 18px; height: var(--nav-h); }
.site-nav .logo, .site-nav .logo:hover { color: var(--night-fg); }
.site-links { display: flex; align-items: center; gap: 2px; margin-left: 10px; }
.site-links a { color: var(--night-fg-2); text-decoration: none; padding: 8px 11px; border-radius: var(--radius); font-weight: 500; font-size: 14.5px; transition: color .15s ease, background-color .15s ease; }
.site-links a:hover, .site-links a[aria-current="page"] { color: var(--night-fg); background: rgba(255, 255, 255, .06); }
.site-links .menu-extra { display: none; }
.site-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav .btn-ghost { color: var(--night-fg-2); }
.site-nav .btn-ghost:hover { color: var(--night-fg); background: rgba(255, 255, 255, .08); }
.site-nav .btn-primary { background: #5b52f0; color: #fff; }
.site-nav .btn-primary:hover { background: #4f46e5; }
.site-nav :focus-visible { outline-color: var(--night-brand); }
.icon-btn { width: 36px; padding: 0 !important; }
.icon-btn svg { width: 18px; height: 18px; }
.nav-burger { display: none; }
.nav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--night-brand); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
@media (max-width: 880px) {
  .nav-burger { display: inline-flex; }
  .site-actions .nav-signin, .site-actions .nav-pref { display: none; }
  .site-links { position: absolute; left: -20px; right: -20px; top: var(--nav-h); flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 6px 20px 18px; background: var(--ink); border-bottom: 1px solid var(--night-line); opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s linear .2s; }
  .site-links.open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s; }
  .site-links a { padding: 13px 4px; font-size: 16px; border-radius: 0; border-bottom: 1px solid var(--night-line); }
  .site-links a:hover { background: transparent; }
  .site-links .menu-extra { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
  .site-links .menu-extra .btn { flex: 1; }
}
@media (max-width: 400px) { .logo-wm { font-size: 17px; } .logo-wm img { width: 26px; height: 26px; } .site-nav-in { gap: 10px; } }

/* Footer (spec section 4). The Vortex Hub wordmark swaps with the theme. */
.vx-foot { background: var(--bg); color: var(--fg-2); border-top: 1px solid var(--line-2); font-size: 14.5px; }
.vx-foot-in { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 28px 40px; padding: 56px 0 44px; }
.vx-foot-brand .logo { color: var(--fg); }
.vx-foot-tag { margin-top: 14px; color: var(--fg-3); max-width: 30ch; }
.vx-foot-col { display: grid; gap: 10px; align-content: start; }
.vx-foot-h { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 4px; }
.vx-foot-col a { color: var(--fg-2); text-decoration: none; width: fit-content; transition: color .15s ease; }
.vx-foot-col a:hover { color: var(--brand-fg); }
.vx-foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 20px 0 30px; border-top: 1px solid var(--line-1); }
.vx-foot-in + .vx-foot-base { border-top-color: var(--line-2); }
.vx-foot-copy { color: var(--fg-3); font-size: 13.5px; }
.vx-powered { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg-3); font-size: 13px; font-weight: 500; }
.vx-powered:hover { color: var(--fg); }
.vx-powered img { width: 120px; height: auto; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .vx-powered:hover img { transform: translateY(-1px) scale(1.02); } }
.vx-powered-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .vx-powered-dark { display: block; }
  :root:not([data-theme="light"]) .vx-powered-light { display: none; }
}
:root[data-theme="dark"] .vx-powered-dark { display: block; }
:root[data-theme="dark"] .vx-powered-light { display: none; }
@media (max-width: 760px) {
  .vx-foot-in { grid-template-columns: 1fr 1fr; padding: 44px 0 32px; }
  .vx-foot-brand { grid-column: 1 / -1; }
}

/* Scroll reveals (motion.js adds .reveal-on to <html> and .is-in to each element as it enters). */
.reveal-on [data-reveal] { transition: opacity .8s var(--ease-out) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms); }
.reveal-on [data-reveal]:not(.is-in) { opacity: 0; transform: translate3d(0, 20px, 0); }
.reveal-on [data-reveal="fade"]:not(.is-in) { transform: none; }
.reveal-on [data-reveal="scale"]:not(.is-in) { transform: scale(.97); }
.dyn { transition: opacity .55s var(--ease-out) var(--d, 0ms), transform .6s var(--ease-out) var(--d, 0ms); }
.dyn:not(.is-in) { opacity: 0; transform: translate3d(0, 10px, 0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-on [data-reveal]:not(.is-in), .dyn:not(.is-in) { transform: none !important; }
  .reveal-on [data-reveal], .dyn { transition: opacity .4s ease !important; }
}

/* Headless renderers (link previews, crawlers, automated screenshots) get the finished frame, not the intro. */
.is-static *, .is-static *::before, .is-static *::after { animation-delay: 0s !important; animation-duration: 0s !important; transition-duration: 0s !important; transition-delay: 0s !important; }

/* Monthly / Yearly switch (landing pricing and the plan picker in the app). */
.bill-toggle { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 22px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.bt { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--fg-2); font: 600 14.5px/1 var(--body); cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.bt:hover { color: var(--fg); }
.bt.is-on { background: var(--fg); color: var(--bg); }
.bt:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.bt-save { font: 500 11.5px/1 var(--mono); font-style: normal; letter-spacing: .04em; padding: 4px 7px; border-radius: 6px; background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.bt.is-on .bt-save { background: rgba(85, 209, 155, .22); color: #8be8b9; }

/* The plan picker in the app's dialog. */
.plan-pick { display: grid; gap: 14px; }
.plan-pick .bill-toggle { margin: 0; justify-self: start; }
.pp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pp-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
.pp-card.is-pre { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.pp-card h4 { margin: 0; font: 700 17px/1.2 var(--display); }
.pp-price { margin: 0; font-family: var(--display); color: var(--fg-2); } .pp-price b { font-size: 2rem; letter-spacing: -.04em; color: var(--fg); }
.pp-card ul { margin: 4px 0 8px; padding-left: 18px; font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.pp-card .btn { margin-top: auto; }
@media (max-width: 560px) { .pp-cards { grid-template-columns: minmax(0, 1fr); } }
