/* Combo's Tweaks website: the app's design system (docs/design/DESIGN-SYSTEM.md) for the web. Dark only, like the
   app's default theme: the app's colour tokens, Poppins, Lucide icons, flat cards with hairline borders, and the
   purple-to-pink gradient only on the page's main call to action. website/build.mjs adds the plan table's own styles
   (from docs/pricing-table.html) under .plans. */

/* Poppins as small Latin-only WOFF2 files that website/fonts.mjs makes from the app's TTFs at build time. */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/poppins-400.30c8043a3a.woff2") format("woff2"); unicode-range: U+0000-08FF, U+0980-1CCF, U+1D00-A8DF, U+A900-FFFF; }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/poppins-600.c63f06842c.woff2") format("woff2"); unicode-range: U+0000-08FF, U+0980-1CCF, U+1D00-A8DF, U+A900-FFFF; }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/poppins-700.8af69fda11.woff2") format("woff2"); unicode-range: U+0000-08FF, U+0980-1CCF, U+1D00-A8DF, U+A900-FFFF; }

:root {
  color-scheme: dark;
  --bg: #0d0d14;
  --bg-deep: #0a0a10;
  --surface1: #13131d;
  --surface2: #1a1a27;
  --surface3: #222233;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f8;
  --text2: #a9a9be;
  --text3: #8b8ba3;
  --accent: #7c3aed;
  --accent-hover: #8b5cf6;
  --accent-text: #b79cff;
  --gradient: linear-gradient(90deg, #7c3aed, #9333ea, #db2777);
  --gradient-outline: linear-gradient(90deg, #8b5cf6, #a855f7, #e0337f);
  --success: #22c55e;
  --success-text: #4ade80;
  --warning: #f59e0b;
  --warning-text: #fbbf24;
  --info: #3b82f6;
  --info-text: #60a5fa;
  --plus: #2dd4bf;
  --plus-text: #5eead4;
  --premium-text: #f5d0fe;
  --radius-card: 12px;
  --radius-button: 10px;
  --radius-chip: 8px;
  --header-height: 64px;
  --page: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text2);
  font: 400 16px/1.65 Poppins, "Segoe UI", system-ui, sans-serif;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: #d2c2ff; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.25; margin: 0; }
h1 { font-size: clamp(32px, 5.2vw, 52px); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 600; }
h3 { font-size: 22px; font-weight: 600; }
p { margin: 0; }
code, .mono { font-family: Consolas, "Cascadia Mono", ui-monospace, monospace; font-size: 0.92em; color: var(--text); }
/* Email addresses in the code font too: Poppins draws "1" almost like "l" (nikvol1978 read as "nikvoll978"). */
a[href^="mailto:"] { font-family: Consolas, "Cascadia Mono", ui-monospace, monospace; font-size: 0.95em; }
code { padding: 1px 6px; border-radius: 6px; background: var(--surface2); border: 1px solid var(--border); overflow-wrap: anywhere; }

.skip { position: absolute; left: 16px; top: -48px; z-index: 10; padding: 8px 14px; border-radius: var(--radius-button); background: var(--surface2); color: var(--text); }
.skip:focus { top: 12px; }

.page { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

svg.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
svg.icon.small { width: 16px; height: 16px; }
svg.icon.large { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- header and footer */

.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(13, 13, 20, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .page { display: flex; align-items: center; gap: 24px; min-height: var(--header-height); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap; }
.brand img { width: 30px; height: 30px; }
.brand:hover { color: var(--text); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--text2); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: var(--radius-button); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface2); }
.nav .button { margin-left: 8px; }

.site-footer { margin-top: 96px; border-top: 1px solid var(--border); background: var(--bg-deep); }
.site-footer .page { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 28px; }
.site-footer h2 { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text3); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text2); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: var(--text); }
.site-footer .about { font-size: 14px; display: grid; gap: 10px; }
.site-footer .fine { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text3); display: grid; gap: 6px; }

/* ---------------------------------------------------------------- buttons and chips */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--radius-button);
  font: 600 14px/1.2 Poppins, "Segoe UI", system-ui, sans-serif; text-decoration: none; white-space: nowrap;
  color: var(--text); background: var(--surface2); border: 1px solid var(--border-strong);
  transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}
.button:hover { color: var(--text); background: var(--surface3); border-color: rgba(255, 255, 255, 0.22); }
.button.small { min-height: 36px; padding: 7px 14px; font-size: 13px; }
.button.large { min-height: 52px; padding: 14px 24px; font-size: 15px; }
/* The page's main call to action: the only filled gradient, the only glow. */
.button.primary { color: #fff; border: 0; background: var(--gradient); box-shadow: 0 0 28px rgba(168, 85, 247, 0.38); }
.button.primary:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.06); }
.button.plus { color: var(--plus-text); border-color: var(--plus); background: rgba(45, 212, 191, 0.08); }
.button.plus:hover { color: #ccfbf1; background: rgba(45, 212, 191, 0.16); }
.button.premium { color: var(--premium-text); border: 1px solid transparent;
  background: linear-gradient(var(--surface1), var(--surface1)) padding-box, var(--gradient-outline) border-box; }
.button.premium:hover { color: #fff; background: linear-gradient(var(--surface2), var(--surface2)) padding-box, var(--gradient-outline) border-box; }
.button.soon { color: var(--text2); background: var(--surface3); border-color: var(--surface3); box-shadow: none; cursor: default; pointer-events: none; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--radius-chip);
  font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap;
  color: var(--text2); background: var(--surface2); border: 1px solid var(--border);
}
.chip.free { color: var(--success-text); background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.28); }
.chip.plus { color: var(--plus-text); background: rgba(45, 212, 191, 0.1); border-color: rgba(45, 212, 191, 0.3); }
.chip.premium { color: var(--premium-text); border-color: transparent;
  background: linear-gradient(#1c1428, #1c1428) padding-box, var(--gradient-outline) border-box; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-text); }

/* ---------------------------------------------------------------- sections */

.section { padding-top: 96px; overflow-x: clip; } /* things waiting to slide in from the side never widen the page */
.section-head { max-width: 760px; margin-bottom: 36px; display: grid; gap: 12px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.lead { font-size: 18px; color: var(--text2); }
.note { font-size: 14px; color: var(--text3); }

.card { background: var(--surface1); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.icon-tile {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 12px; background: var(--surface2); border: 1px solid var(--border); color: var(--accent-text);
}

.shot { border-radius: var(--radius-card); border: 1px solid var(--border-strong); overflow: hidden; background: var(--surface1); }
.shot img { width: 100%; }
.caption { margin-top: 10px; font-size: 13px; color: var(--text3); text-align: center; }

/* ---------------------------------------------------------------- home */

/* Home's parts below the first screen are laid out when you scroll near them, not before the page first shows: on a
   phone, laying out all of Home first held the headline back (PageSpeed, 3 Dec 2026). "auto" remembers each part's real
   height once it's been shown. Not the sideways Features rail: it pins itself while you scroll through it. Home only (the
   parts after its .hero): the Combo Notch page's story is left as it is. */
.hero ~ .section { content-visibility: auto; contain-intrinsic-size: auto 1100px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gradient-text { background: var(--gradient-outline); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* The hero: no image, only light: two soft glows and a faint grid that fades out. */
.hero { position: relative; padding: 88px 0 8px; text-align: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -64px 0 auto; height: 660px;
  background:
    radial-gradient(560px 280px at 50% 16%, rgba(124, 58, 237, 0.26), transparent 70%),
    radial-gradient(440px 230px at 70% 32%, rgba(219, 39, 119, 0.14), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; z-index: -2; inset: -64px 0 auto; height: 620px;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 20%, transparent 75%);
}
.hero h1 { max-width: 960px; margin: 18px auto 0; font-size: clamp(36px, 6vw, 64px); letter-spacing: -0.02em; }
.hero .lead { max-width: 720px; margin: 22px auto 0; }
.hero .buttons { justify-content: center; margin-top: 34px; }
.badges { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 10px; }
.badges li { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.badge-note { font-size: 12px; color: var(--text3); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(19, 19, 29, 0.8); border: 1px solid var(--border-strong); color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none;
}
a.badge:hover { border-color: var(--success); color: var(--text); }
.badge svg { color: var(--accent-text); }
a.badge svg { color: var(--success-text); }
.hero-note { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text3); }

.helps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
#how .honest { margin-top: 20px; }

.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.group { display: grid; gap: 8px; align-content: start; }
.group-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.group .count {
  padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap;
  color: var(--accent-text); background: rgba(124, 58, 237, 0.12); border: 1px solid rgba(124, 58, 237, 0.32);
}
.group h3 { margin: 0; }
.group p { font-size: 14px; color: var(--text3); }
.group .benefit { font-size: 15px; font-weight: 500; color: var(--text); }
.group.tools { grid-column: span 2; background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(219, 39, 119, 0.06)), var(--surface1); }

/* Home's plan comparison: the plan table's Features rows, Premium's column lit up. */

.safety { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.safety .never { grid-column: 1 / -1; }
.safety .card { display: grid; gap: 12px; align-content: start; }
.safety p { font-size: 15px; }
.never ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; }
.never li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 14px; color: var(--text); }
.never li svg { margin-top: 4px; color: #f87171; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; }
.ticks li svg { margin-top: 4px; color: var(--accent-text); }
.honest {
  display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-card);
  background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.25); color: var(--text); font-weight: 600; font-size: 15px;
}
.honest svg { margin-top: 3px; color: var(--info-text); }

.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--surface1); border: 1px solid var(--border); border-radius: var(--radius-card); }
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; color: var(--text); font-weight: 600; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { transition: transform 150ms ease; color: var(--text3); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .answer { padding: 0 20px 20px; display: grid; gap: 10px; font-size: 15px; }

/* ---------------------------------------------------------------- pages: pricing, download, text */

.page-head { padding-top: 64px; display: grid; gap: 14px; max-width: 820px; }
.page-head .lead { font-size: 17px; }

.plans { margin-top: 36px; color: var(--text); } /* the app's plan page writes in its primary text colour */
.plans .upgrade-link { margin: 14px 0 28px; text-align: right; font-size: 14px; color: var(--text2); } /* under Premium's card */

.download-card { margin-top: 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px; }
.download-card .file { display: grid; gap: 6px; }
.download-card .file strong { color: var(--text); font-size: 20px; }
.download-card .get { display: grid; gap: 10px; justify-items: end; max-width: 300px; }
.download-card .get .note { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text3); text-align: right; }
/* "If Windows warns you": the two clicks, with Windows' two screens drawn beside them (not screenshots). */
.warn { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; align-items: center; padding: 28px; }
.warn h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; color: var(--text); margin: 0 0 10px; }
.warn h2 svg { color: var(--warning-text); }
.warn p { margin: 0 0 12px; font-size: 17px; color: var(--text); }
.warn .note { margin: 0; font-size: 14px; color: var(--text3); }
.ss-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ss-step { margin: 0; position: relative; min-width: 0; }
.ss-num { position: absolute; top: -10px; left: -10px; z-index: 1; width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 0 0 3px var(--surface1); }
/* Windows' own colours for this screen: its blue, white text, a grey button. */
.ss { display: grid; gap: 10px; align-content: start; min-height: 184px; padding: 16px 14px 14px; border-radius: 6px; background: #0a64b4;
  color: #fff; font-family: "Segoe UI", system-ui, sans-serif; text-align: left; }
.ss-title { font-size: 16px; font-weight: 600; line-height: 1.25; }
.ss-body { font-size: 12px; line-height: 1.45; opacity: 0.92; }
.ss-link { justify-self: start; font-size: 12px; text-decoration: underline; }
.ss-buttons { margin-top: auto; display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.ss-btn { padding: 5px 12px; border: 1px solid rgba(255, 255, 255, 0.7); font-size: 12px; white-space: nowrap; }
/* The thing to click: ringed in the site's purple. */
.ss-hl { outline: 3px solid #c4a3ff; outline-offset: 3px; border-radius: 3px; }
/* The licence pages (website/worker/index.ts): the key, the Plus-key forms, their errors. */
.licence-page .card { margin-top: 20px; }
.licence-key { margin: 6px 0 10px; padding: 14px 16px; border-radius: var(--radius-button); background: var(--surface3); color: var(--text); font-size: 14px; line-height: 1.6; word-break: break-all; user-select: all; }
.callout-text { margin-top: 20px; padding: 14px 18px; border-radius: var(--radius-card); background: var(--surface2); border: 1px solid var(--accent); color: var(--text2); }
.form { display: grid; gap: 10px; max-width: 640px; }
.form label { color: var(--text); font-weight: 600; }
.form textarea, .form input { width: 100%; padding: 12px 14px; border-radius: var(--radius-button); border: 1px solid var(--surface3); background: var(--surface2); color: var(--text); font: inherit; }
.form textarea { min-height: 110px; resize: vertical; font-family: inherit; }
.form textarea:focus, .form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form .button { justify-self: start; }
.form-error { margin: 0; padding: 12px 14px; border-radius: var(--radius-button); background: rgba(239, 68, 68, 0.12); color: #fecaca; }
/* The contact form (worker/shared.ts › contactForm): Home's "Still have a question?", the Contact page, and the
   Worker's page when something needs fixing. The topic menu is the browser's own (a drawn arrow would need an image). */
.form select { width: 100%; padding: 12px 14px; border-radius: var(--radius-button); border: 1px solid var(--surface3); background: var(--surface2); color: var(--text); font: inherit; color-scheme: dark; }
.form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form .form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form .field { display: grid; gap: 10px; align-content: start; }
.form .optional { color: var(--text3); font-weight: 400; }
.contact-form { margin: 24px auto 0; padding: 24px; }
.contact-form textarea { min-height: 150px; }
.contact-form .note { margin: 0; }
.ask { margin-top: 72px; }
.ask .section-head { margin-bottom: 0; }
#pricing .ask-link { margin: 18px 0 0; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 15px; color: var(--text2); text-align: center; }
#pricing .ask-link svg { color: var(--accent-text); flex: none; }
@media (max-width: 600px) {
  .form .form-pair { grid-template-columns: minmax(0, 1fr); }
  .contact-form { padding: 18px; }
}
.hash { margin-top: 16px; display: grid; gap: 6px; }
.hash .mono { display: block; padding: 10px 12px; border-radius: var(--radius-button); background: var(--bg-deep); border: 1px solid var(--border); overflow-wrap: anywhere; user-select: all; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-card);
  background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.28); }
.callout svg { color: var(--warning-text); margin-top: 3px; }
.callout strong { color: var(--text); }
.steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.steps li::marker { color: var(--accent-text); font-weight: 600; }

.prose { max-width: 820px; padding-top: 8px; }
.prose h1 { font-size: clamp(30px, 4.4vw, 40px); margin: 56px 0 12px; }
.prose h2 { font-size: 22px; margin: 40px 0 10px; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose h4 { font-size: 16px; margin: 20px 0 6px; }
.prose p, .prose ul, .prose ol, .prose table, .prose pre { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 6px; }
.prose li::marker { color: var(--text3); }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 9px 12px; border: 1px solid var(--border); }
.prose th { color: var(--text); background: var(--surface2); font-weight: 600; }
.prose pre { padding: 14px 16px; border-radius: var(--radius-button); background: var(--bg-deep); border: 1px solid var(--border); overflow-x: auto;
  white-space: pre-wrap; overflow-wrap: anywhere; } /* licence texts: keep their line breaks, wrap their long lines */
.prose pre code { padding: 0; border: 0; background: none; }
.prose .meta { color: var(--text3); font-size: 14px; }
.toc { margin: 18px 0 8px; padding: 16px 20px; background: var(--surface1); border: 1px solid var(--border); border-radius: var(--radius-card); }
.toc ul { margin: 8px 0 0; padding-left: 18px; columns: 2; column-gap: 32px; }

.contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.contact .card { display: grid; gap: 10px; align-content: start; }

.not-found { padding-top: 120px; text-align: center; display: grid; gap: 18px; justify-items: center; }

/* ---------------------------------------------------------------- guides (the app's own: Resources › Guides) */

.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.guide-card { position: relative; display: grid; gap: 10px; grid-template-rows: auto auto 1fr auto; }
.guide-card h3 { margin: 4px 0 0; }
.guide-card h3 a { color: var(--text); text-decoration: none; }
.guide-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-card); } /* the whole card is the link */
.guide-card:has(a:focus-visible) { border-color: var(--accent-text); }
.guide-card p { font-size: 15px; }
.guide-card .read { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent-text); }
.guide-card .read svg { transition: translate 320ms cubic-bezier(0.34, 1.4, 0.64, 1); }
.guide-card:hover .read svg { translate: 3px 0; }
.faq-more { margin-top: 24px; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 15px; text-align: center; }
.faq-more svg { color: var(--accent-text); }

.guide { max-width: 820px; }
.page-head a.eyebrow { justify-self: start; text-decoration: none; }
.guide-body { margin-top: 32px; display: grid; gap: 16px; }
.guide-body h2 { font-size: 20px; }
.guide-body p { font-size: 15px; }
.guide-body .note { font-size: 14px; }
.guide-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; }
.guide-steps li { counter-increment: step; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; color: var(--text); }
.guide-steps li::before {
  content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--accent-text); background: rgba(124, 58, 237, 0.12); border: 1px solid rgba(124, 58, 237, 0.32);
}
.guide-steps li span { padding-top: 2px; overflow-wrap: anywhere; }
.routers { margin: 0; display: grid; }
.routers div { padding: 12px 0; border-top: 1px solid var(--border); }
.routers div:last-child { border-bottom: 1px solid var(--border); }
.routers dt { color: var(--text); font-weight: 600; font-size: 15px; }
.routers dd { margin: 2px 0 0; font-size: 14px; }
.guide .callout { margin-top: 16px; }
.guide .callout p { margin-top: 4px; font-size: 15px; }
.guide-cta { margin-top: 16px; display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: start; }
.guide-cta h2 { font-size: 20px; margin-bottom: 6px; }
.guide-cta p { font-size: 15px; }
.guide-cta .buttons { grid-column: 2; }
.guide-cta.plain { display: flex; margin-top: 28px; }
.more-guides { margin-top: 80px; }
.more-guides h2 { font-size: 24px; }
.more-guides .guides { margin-top: 20px; }

/* ---------------------------------------------------------------- the plan table (docs/pricing-table.html) on this site */

.plans table thead th { top: var(--header-height); } /* below the site's own sticky header (more specific than the table's own rule) */
.plans .pill .button { width: 100%; min-height: 40px; }
.plans table { font-size: 14px; }
/* What each plan gets (build.mjs › planGets), under its price: the plan table's Summary row says it again, so it's hidden. */
.plans .gets { display: grid; gap: 8px; margin: 14px 0 18px; padding: 0; list-style: none; font-size: 14px; line-height: 1.4; color: var(--text2); }
.plans .gets li { position: relative; padding-left: 24px; }
.plans .gets li::before {
  content: ""; position: absolute; left: 4px; top: 3px; width: 5px; height: 10px; rotate: 45deg;
  border: solid var(--free-text); border-width: 0 2px 2px 0;
}
.plans .pill.plus .gets li::before { border-color: var(--plus-text); }
.plans .pill.premium .gets li::before { border-color: var(--premium-text); }
.plans .pill { display: flex; flex-direction: column; }
.plans .pill > .button { margin-top: auto; }
/* Premium in the middle when the cards sit side by side (the owner's ask, 2 Dec 2026): Free | Premium | Plus. Stacked
   on a phone they keep the ladder Free, Plus, Premium, so "Everything in Plus" comes after Plus. (Only where
   there is a Premium card: the Combo Notch plans stay as they are.) */
@media (min-width: 761px) {
  .plans .pills > .pill.premium { order: 1; }
  .plans .pills:has(> .pill.premium) > .pill.plus { order: 2; }
}
.plans tr.summary { display: none; }
.plans table .button { white-space: normal; }

/* ---------------------------------------------------------------- the plan cards' look (3 Dec 2026) */
/* The owner's ask, with EXM's plan cards as the picture: Premium bigger in the middle, Free and Plus smaller and level
   with each other; each plan's name in a bar with its icon (build.mjs › planLooks), a dashed line over what it gets,
   thin glowing edges and round buttons with icons. Only the Windows plans (the cards with a Premium). */
.plans .pills:has(> .pill.premium) { gap: 22px; }
.plans .pills:has(> .pill.premium) > .pill { padding: 20px 22px 24px; border-width: 1px; border-radius: 22px; }
.plans .pills:has(> .pill.premium) > .pill.free {
  border-color: rgba(74, 222, 128, 0.3);
  background: radial-gradient(130% 55% at 50% 0%, rgba(34, 197, 94, 0.09), transparent 70%), var(--surface1);
}
.plans .pills:has(> .pill.premium) > .pill.plus {
  border-color: rgba(94, 234, 212, 0.32);
  background: radial-gradient(130% 55% at 50% 0%, rgba(45, 212, 191, 0.1), transparent 70%), var(--surface1);
}
.plans .pills:has(> .pill.premium) > .pill.premium {
  border-width: 1.5px;
  background: radial-gradient(130% 50% at 50% 0%, rgba(168, 85, 247, 0.17), transparent 70%) padding-box,
    linear-gradient(var(--surface1), var(--surface1)) padding-box, linear-gradient(160deg, #a855f7, #ec4899 55%, #7c3aed) border-box;
  box-shadow: 0 18px 60px rgba(168, 85, 247, 0.28), 0 0 42px rgba(236, 72, 153, 0.12);
}
/* The name in a bar with the plan's icon. */
.plans .pills:has(> .pill.premium) > .pill > h2 {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1px solid; border-radius: 999px;
  font-size: 17px; font-weight: 600; color: var(--text);
}
.plans .pills:has(> .pill.premium) > .pill > h2 .icon { width: 20px; height: 20px; flex: none; }
.plans .pills:has(> .pill.premium) > .pill.free > h2 {
  border-color: rgba(74, 222, 128, 0.42); background: linear-gradient(90deg, rgba(34, 197, 94, 0.17), rgba(34, 197, 94, 0.04));
}
.plans .pills:has(> .pill.premium) > .pill.plus > h2 {
  border-color: rgba(94, 234, 212, 0.45); background: linear-gradient(90deg, rgba(45, 212, 191, 0.18), rgba(45, 212, 191, 0.04));
}
.plans .pills:has(> .pill.premium) > .pill.premium > h2 {
  border-color: rgba(232, 121, 249, 0.5); background: linear-gradient(90deg, rgba(168, 85, 247, 0.28), rgba(236, 72, 153, 0.1));
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.18);
}
.plans .pills:has(> .pill.premium) > .pill.free > h2 .icon { color: var(--free-text); }
.plans .pills:has(> .pill.premium) > .pill.plus > h2 .icon { color: var(--plus-text); }
.plans .pills:has(> .pill.premium) > .pill.premium > h2 .icon { color: #f0abfc; }
.plans .pills:has(> .pill.premium) > .pill > .price { margin-top: 18px; }
/* A dashed line between the price and what the plan gets (the notes keep one height, so Free's and Plus's line up). */
.plans .pills:has(> .pill.premium) > .pill > .note {
  min-height: 62px; min-height: calc(2lh + 19px); padding-bottom: 18px; border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}
.plans .pills:has(> .pill.premium) > .pill > .note + .gets { margin-top: 18px; }
.plans .pills:has(> .pill.premium) > .pill > .gets { gap: 10px; margin-bottom: 24px; }
/* The last item: "+ Everything in Free" (Plus) or "+ Everything in Plus" (Premium). */
.plans .gets li.all { color: var(--text); font-weight: 600; }
.plans .gets li.all::before {
  content: "+"; left: 1px; top: -3px; width: auto; height: auto; rotate: none; border: 0;
  font-size: 19px; font-weight: 500; line-height: 1; color: var(--free-text);
}
.plans .pill.plus .gets li.all::before { color: var(--plus-text); }
.plans .pill.premium .gets li.all::before { color: var(--premium-text); }
/* Round buttons with the plan's icon. */
.plans .pills:has(> .pill.premium) > .pill > .button {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 999px; font-size: 15px;
  transition: filter 0.2s, translate 0.2s;
}
.plans .pills:has(> .pill.premium) > .pill > .button:hover { filter: brightness(1.14); translate: 0 -1px; }
.plans .pills:has(> .pill.premium) > .pill.free > .button { color: var(--text); background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.16); }
.plans .pills:has(> .pill.premium) > .pill.premium > .button { box-shadow: 0 10px 28px rgba(219, 39, 119, 0.3); }
/* Side by side with room: Premium wider, and Free and Plus a step shorter, level with each other (they fill the row less
   36 px above and below, so the tallest card, whichever it is, decides and they always line up). */
@media (min-width: 961px) {
  .plans .pills:has(> .pill.premium) { grid-template-columns: 1fr 1.16fr 1fr; align-items: stretch; }
  .plans .pills:has(> .pill.premium) > .pill:not(.premium) { margin-block: 36px; }
  .plans .pills:has(> .pill.premium) > .pill.premium { padding: 28px 28px 30px; }
}

/* ---------------------------------------------------------------- smaller screens */

@media (max-width: 960px) {
  .helps, .safety { grid-template-columns: 1fr; }
  .never ul { grid-template-columns: 1fr; }
  .groups, .guides { grid-template-columns: 1fr 1fr; }
  .site-footer .page { grid-template-columns: repeat(3, 1fr); }
  .site-footer .about { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .page { padding: 0 16px; }
  .site-header .page { flex-wrap: wrap; gap: 0 12px; padding-top: 10px; }
  .nav { order: 3; width: 100%; margin: 0 -8px; padding: 4px 0 8px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav .button { display: none; }
  .header-download { margin-left: auto; }
  :root { --header-height: 104px; }
  .lead { font-size: 16px; }
  .section { padding-top: 72px; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: clamp(30px, 8.5vw, 40px); }
  .badge { padding: 7px 12px; font-size: 12px; }
  .groups, .grid-2, .contact, .guides { grid-template-columns: 1fr; }
  .group.tools { grid-column: auto; }
  .guide-cta { grid-template-columns: 1fr; }
  .guide-cta .buttons { grid-column: auto; }
  .more-guides { margin-top: 64px; }
  .download-card { grid-template-columns: 1fr; }
  .download-card .get { justify-items: stretch; max-width: none; }
  .download-card .get .note { text-align: left; }
  .warn { grid-template-columns: 1fr; gap: 22px; padding: 20px; }
  .toc ul { columns: 1; }
  .buttons .button { flex: 1 1 100%; }
  .card { padding: 20px; }
  /* The plan table fits a phone: fixed columns, words wrap, buttons a little tighter. */
  .plans table { table-layout: fixed; font-size: 12px; }
  .plans table th, .plans table td { overflow-wrap: normal; padding-left: 4px; padding-right: 4px; }
  .plans table td:not(.label) { font-size: 11.5px; }
  .plans table .button { display: none; } /* the plan cards right above have the same buttons */
  .plans table thead th { font-size: 13px; }
  .plans table th.label, .plans table td.label { width: 34%; }
}

@media (min-width: 761px) { .header-download { display: none; } }
@media (max-width: 480px) { .free-word { display: none; } }

/* ---------------------------------------------------------------- pictures of the app (Home)
   Screenshots of the real app on a simulated PC (website/screenshots.mjs): a big framed window under the headline with
   two cards floating over its edges, then each "How it helps" point beside the page that does it. */

.hero-shot { position: relative; max-width: 1060px; margin: 64px auto 0; perspective: 1600px; }
.app-window {
  position: relative; padding: 8px; border-radius: 18px; transform-origin: 50% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.28), 0 30px 120px rgba(124, 58, 237, 0.32), 0 24px 60px rgba(0, 0, 0, 0.5);
}
.app-window::before {
  content: ""; position: absolute; inset: 8% 6% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.55), rgba(219, 39, 119, 0.18) 60%, transparent);
  filter: blur(48px);
}
.app-window img, .shot img { display: block; width: 100%; height: auto; border-radius: 12px; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; max-width: 290px; padding: 12px 16px;
  border-radius: 16px; text-align: left; background: rgba(20, 20, 32, 0.78); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
}
.float-card strong { display: block; font-size: 15px; color: var(--text); }
.float-card small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--text2); }
.float-a { left: -32px; top: 16%; }
.float-b { right: -32px; bottom: 12%; }
@media (max-width: 1160px) { .float-a { left: 12px; } .float-b { right: 12px; } }

/* "| How it helps |  … | 01 |" between thin lines, above each part of Home. */
.section-label {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; padding: 14px 4px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: 13px; letter-spacing: 0.02em; color: var(--accent-text);
}
.section-label span::before { content: "| "; opacity: 0.6; }
.section-label span::after { content: " |"; opacity: 0.6; }
.section-label span:last-child { color: var(--text3); font-variant-numeric: tabular-nums; }

/* How it helps (2 Dec 2026, EXM-style): the big point beside its moving picture, two more side by side, three promises. */
.feature-row { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.55fr); gap: 48px; align-items: center; margin-top: 56px; }
.feature-text h3, .feature-col h3 { margin: 18px 0 10px; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.01em; }
.feature-text p, .feature-col p { color: var(--text2); font-size: 16px; line-height: 1.65; }
.feature-text .button { margin-top: 24px; }
.feature-text .button svg { margin: 0 -2px 0 2px; }
.feature-pair { display: grid; grid-template-columns: 1fr 1fr; margin-top: 80px; border-top: 1px solid var(--border); }
.feature-col { display: grid; justify-items: center; align-content: start; text-align: center; padding: 56px 40px 0; }
.feature-col + .feature-col { border-left: 1px solid var(--border); }
.feature-col p { max-width: 46ch; }
.feature-col .wave { width: 100%; margin-top: 28px; text-align: left; }
.assurances { list-style: none; margin: 72px 0 0; padding: 44px 0 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.assurances h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 16px; }
.assurances h3 svg { color: var(--accent-text); }
.assurances p { color: var(--text3); font-size: 14.5px; line-height: 1.6; }

/* The moving pictures (build.mjs fpsChart, pingChart, latencyChart): animated scenes in a glass panel with a light
   running round its edge (the owner, 2 Dec 2026: "make it more animated"). The scenes move by SMIL inside the SVG
   (not a script; one clock per picture keeps everything in step) and the CSS below; they move for everyone (see the
   motion note at the end of this file). SMIL animates opacity, r, cy, x and width, so CSS never sets those here. */
@property --edge { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.wave {
  position: relative; margin: 0; min-width: 0; padding: 18px 20px 14px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.07);
  background: radial-gradient(120% 70% at 50% 0%, rgba(124, 58, 237, 0.16), transparent 62%), rgba(16, 16, 26, 0.94);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38), 0 0 60px rgba(124, 58, 237, 0.1);
}
/* The light running round the edge: a ring of its own, so the panel's slide-in animation stays separate. */
.wave::before {
  content: ""; position: absolute; inset: -1px; padding: 1px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--edge), transparent 0deg 220deg, rgba(168, 85, 247, 0.95) 270deg, rgba(219, 39, 119, 0.95) 300deg, transparent 345deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: edge-run 6s linear infinite;
}
@keyframes edge-run { to { --edge: 360deg; } }
.wave svg { display: block; width: 100%; height: auto; overflow: visible; }
.wave figcaption { margin-top: 10px; font-size: 12.5px; color: var(--text3); }
.wave-legend { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 4px; font-size: 13px; color: var(--text2); }
.key::before { content: ""; display: inline-block; width: 16px; height: 4px; margin-right: 8px; border-radius: 2px; vertical-align: middle; }
.key-after::before { background: var(--gradient); }
.key-before::before { background: #f43f5e; }
.wave .lbl { fill: var(--text2); font-family: inherit; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; }
.wave .lbl.after { fill: var(--accent-text); }
.wave .lbl.note { fill: var(--text3); font-weight: 500; }
.wave .lbl.note.after { fill: #c4a5ff; }
.wave .lbl.tiny { fill: var(--text3); font-size: 10px; font-weight: 500; letter-spacing: 0.04em; }
.wave .lbl.tiny.after { fill: #c4a5ff; }
.wave .track { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 1.5; }
.wave .icon { fill: rgba(255, 255, 255, 0.035); stroke: rgba(226, 226, 240, 0.5); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wave .icon.after { stroke: #c4a5ff; }

/* Frame rate: a live graph. */
.wave-fps .hgrid line { stroke: rgba(255, 255, 255, 0.05); stroke-dasharray: 3 7; }
.wave-fps .vgrid line { stroke: rgba(255, 255, 255, 0.035); }
.wave-fps .line { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.wave-fps .line.after { stroke: url(#fps-line); stroke-width: 3.2; filter: drop-shadow(0 0 7px rgba(168, 85, 247, 0.85)); }
.wave-fps .line.before { stroke: #f43f5e; stroke-width: 2.2; filter: drop-shadow(0 0 4px rgba(244, 63, 94, 0.6)); }
.wave-fps .fill.after { fill: url(#fps-fill-after); }
.wave-fps .fill.before { fill: url(#fps-fill-before); }
.wave-fps .now { stroke: rgba(219, 39, 119, 0.55); stroke-width: 1.5; stroke-dasharray: 4 5; filter: drop-shadow(0 0 6px rgba(219, 39, 119, 0.8)); }
.wave-fps .rider.after { fill: #fdf4ff; filter: drop-shadow(0 0 8px rgba(219, 39, 119, 1)); }
.wave-fps .rider.before { fill: #ffe4e6; filter: drop-shadow(0 0 7px rgba(244, 63, 94, 1)); }
.wave-fps .halo { fill: rgba(168, 85, 247, 0.28); }
.wave-fps .burst { fill: none; stroke: #fb7185; stroke-width: 2; }
.wave-fps .tag rect { fill: rgba(244, 63, 94, 0.18); stroke: rgba(244, 63, 94, 0.7); }
.wave-fps .tag text { fill: #fecdd3; font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }

/* Ping: packets with trails, server lights. */
.wave-ping .flow { fill: none; stroke: #a855f7; stroke-width: 2; stroke-dasharray: 1 13; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.9)); animation: dash-flow 0.7s linear infinite; }
.wave-ping .pkt.after circle { fill: #f5f3ff; filter: drop-shadow(0 0 5px rgba(168, 85, 247, 1)); }
.wave-ping .pkt.after .trail { fill: url(#trail-after); }
.wave-ping .pkt.before circle { fill: #ffe4e6; filter: drop-shadow(0 0 5px rgba(244, 63, 94, 1)); }
.wave-ping .pkt.before .trail { fill: url(#trail-before); }
.wave-ping .led { stroke: none; }
.wave-ping .led.after { fill: #c084fc; animation: led-steady 0.5s steps(2, jump-none) infinite; }
.wave-ping .led.after.two { animation-delay: 0.25s; }
.wave-ping .led.before { fill: #fb7185; animation: led-stutter 4.2s linear infinite; }
.wave-ping .led.before.two { animation-delay: 1.3s; }
@keyframes dash-flow { to { stroke-dashoffset: -14; } }
@keyframes led-steady { from { fill-opacity: 1; } to { fill-opacity: 0.25; } }
@keyframes led-stutter { 0%, 30% { fill-opacity: 0.2; } 32%, 36% { fill-opacity: 1; } 38%, 70% { fill-opacity: 0.2; } 72%, 74%, 78%, 82% { fill-opacity: 1; } 76%, 80%, 100% { fill-opacity: 0.2; } }

/* Input lag: a click travelling to the screen. */
.wave-latency .track { stroke-dasharray: 2 6; }
.wave-latency .ripple { fill: none; stroke-width: 2; }
.wave-latency .ripple.before { stroke: #fb7185; }
.wave-latency .ripple.after { stroke: #c084fc; }
.wave-latency .pulse.before { fill: #ffe4e6; filter: drop-shadow(0 0 7px rgba(244, 63, 94, 1)); }
.wave-latency .pulse.after { fill: #fdf4ff; filter: drop-shadow(0 0 8px rgba(219, 39, 119, 1)); }
.wave-latency .frame { fill: rgba(244, 63, 94, 0.25); stroke: #fb7185; stroke-width: 1.2; }
.wave-latency .fan { fill: none; stroke-dasharray: 9 4; transform-box: fill-box; transform-origin: center; animation: fan-spin 0.9s linear infinite; }
.wave-latency .icon.after .fan { animation-duration: 0.45s; }
.wave-latency .blade { stroke-width: 1; opacity: 0.35; }
.wave-latency .screen { fill: rgba(255, 255, 255, 0.03); }
.wave-latency .glow { stroke: none; }
.wave-latency .glow.before { fill: rgba(244, 63, 94, 0.55); filter: drop-shadow(0 0 10px rgba(244, 63, 94, 0.9)); }
.wave-latency .glow.after { fill: rgba(192, 132, 252, 0.7); filter: drop-shadow(0 0 12px rgba(168, 85, 247, 1)); }
.wave-latency .bar-track { fill: rgba(255, 255, 255, 0.06); }
.wave-latency .bar.before { fill: #f43f5e; filter: drop-shadow(0 0 5px rgba(244, 63, 94, 0.8)); }
.wave-latency .bar.after { fill: #a855f7; filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.9)); }
@keyframes fan-spin { to { rotate: 360deg; } }

/* As each picture scrolls into view it sweeps in from the left. Browsers without scroll-linked animation show it whole. */
@keyframes wave-wipe { from { clip-path: inset(-20px 100% -20px -20px); } to { clip-path: inset(-20px -20px -20px -20px); } }
@supports (animation-timeline: view()) {
  .wave svg { animation: wave-wipe linear both; animation-timeline: view(); animation-range: entry 5% cover 40%; }
}
.shot {
  margin: 0; padding: 6px; border-radius: 16px; overflow: clip;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), 0 0 70px rgba(124, 58, 237, 0.14);
}
.shot img.crop-top { aspect-ratio: 1280 / 520; object-fit: cover; object-position: top; }
.shot.small img.crop-top { aspect-ratio: 1280 / 600; }

.tool-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 88px; }
.tool-card { display: grid; gap: 20px; align-content: start; }
.tool-text { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; }
.tool-text .icon-tile { grid-row: span 2; }
.tool-text h3 { font-size: 19px; }
.tool-text p { grid-column: 2; color: var(--text2); font-size: 14.5px; }
.shot.small { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }

@media (max-width: 860px) {
  .feature-row, .feature-pair, .assurances { grid-template-columns: 1fr; }
  .feature-row { gap: 28px; }
  .feature-col { padding: 48px 0 0; }
  .feature-col + .feature-col { border-left: 0; border-top: 1px solid var(--border); margin-top: 48px; }
  .wave-legend { justify-content: flex-start; }
  .wave { padding: 14px 12px 12px; }
}
@media (max-width: 760px) {
  .hero-shot { margin-top: 40px; }
  .app-window { padding: 4px; border-radius: 12px; }
  .app-window img { border-radius: 9px; }
  .float-card { position: static; max-width: none; margin-top: 12px; }
  .tool-cards { grid-template-columns: 1fr; margin-top: 64px; }
  .section-label { margin-bottom: 32px; }
}

/* ---------------------------------------------------------------- glass and motion (the feel of macOS 26)
   Pure CSS, as the site runs no scripts: soft colour drifting behind frosted, slightly see-through surfaces, and
   springy motion as things appear. Browsers without these features get the flat look above; the last rule says
   why motion plays even when Windows asks for less. */

:root {
  --glass: rgba(24, 24, 38, 0.5);
  --glass-hover: rgba(30, 30, 46, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  --glass-blur: blur(18px) saturate(165%);
  --glass-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 40%);
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --spring-pop: cubic-bezier(0.34, 1.4, 0.64, 1);
  interpolate-size: allow-keywords;
}

html { scroll-behavior: smooth; }
body { position: relative; isolation: isolate; }

/* The colour behind the glass: three soft lights that drift slowly. */
body::before {
  content: ""; position: fixed; inset: -20vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38vmax 30vmax at 22% 18%, rgba(124, 58, 237, 0.2), transparent 70%),
    radial-gradient(34vmax 28vmax at 80% 34%, rgba(219, 39, 119, 0.12), transparent 70%),
    radial-gradient(40vmax 32vmax at 55% 88%, rgba(59, 130, 246, 0.11), transparent 70%);
  animation: drift 40s ease-in-out 4 alternate both; /* about three minutes, then it rests (no endless redraw on laptops) */
}
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(3vmax, -2vmax, 0) scale(1.06); }
  100% { transform: translate3d(-2vmax, 2vmax, 0) scale(1.02); }
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card, .faq details, .toc {
    background-color: var(--glass);
    background-image: var(--glass-sheen);
    border-color: var(--glass-border);
    box-shadow: var(--glass-edge), var(--glass-shadow);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
  }
  .group.tools { background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(219, 39, 119, 0.09)), var(--glass); }
  .badge, .icon-tile, .button:not(.primary):not(.premium):not(.plus):not(.soon) {
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: var(--glass-edge);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
  }
  .button:not(.primary):not(.premium):not(.plus):not(.soon):hover { background-color: rgba(255, 255, 255, 0.1); }
  .nav a:hover, .nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.08); }
  .site-header {
    background: rgba(13, 13, 20, 0.55);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
}

/* The menu bar is clear over the top of the page and turns to glass as you scroll. On wider screens it also gathers
   into a floating glass capsule, the way macOS 26 toolbars float over the content. */
@supports (animation-timeline: scroll()) {
  .site-header { animation: header-glass linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
  @media (min-width: 761px) {
    .site-header {
      height: calc(var(--header-height) + 1px); /* the same height as the flat bar, so nothing below moves */
      background: none; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; animation: none;
    }
    .site-header .page {
      border: 1px solid transparent; border-radius: 20px;
      animation: header-float linear both; animation-timeline: scroll(root); animation-range: 0 180px;
    }
  }
}
@keyframes header-glass {
  from { background-color: rgba(13, 13, 20, 0); border-bottom-color: rgba(255, 255, 255, 0); }
  to { background-color: rgba(13, 13, 20, 0.55); border-bottom-color: rgba(255, 255, 255, 0.08); }
}
@keyframes header-float {
  from {
    max-width: var(--page); min-height: var(--header-height); margin-top: 0; padding-left: 20px; padding-right: 20px;
    background-color: rgba(20, 20, 32, 0); border-color: rgba(255, 255, 255, 0);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0), inset 0 1px 0 rgba(255, 255, 255, 0);
    -webkit-backdrop-filter: blur(0px) saturate(100%); backdrop-filter: blur(0px) saturate(100%);
  }
  to {
    max-width: min(1000px, calc(100% - 32px)); min-height: 52px; margin-top: 6px; padding-left: 16px; padding-right: 7px;
    background-color: rgba(20, 20, 32, 0.6); border-color: rgba(255, 255, 255, 0.13);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  }
}

/* Springy hover and press. */
.button { transition: background-color 220ms var(--spring), border-color 220ms var(--spring), box-shadow 320ms var(--spring), transform 320ms var(--spring-pop); }
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(0.97); transition-duration: 90ms; }
.card { transition: transform 450ms var(--spring), border-color 300ms var(--spring), box-shadow 450ms var(--spring), background-color 300ms var(--spring); }
.card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.16); box-shadow: var(--glass-edge), 0 18px 44px rgba(0, 0, 0, 0.36); }
.faq details { transition: border-color 300ms var(--spring), background-color 300ms var(--spring); }
.faq details:hover { border-color: rgba(255, 255, 255, 0.16); }
.faq summary svg { transition: transform 420ms var(--spring-pop); }

/* The main button: a light sweeps across it on hover. */
.button.primary { position: relative; overflow: hidden; isolation: isolate; }
.button.primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  translate: -120% 0; transition: translate 800ms var(--spring);
}
.button.primary:hover::after { translate: 120% 0; }

/* The headline's colour shifts slowly, there and back once. */
.gradient-text { background-size: 200% 100%; animation: sheen 6s ease-in-out 2 alternate both; }
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* The top of each page floats in, one line after another. */
@keyframes rise-in {
  from { opacity: 0; translate: 0 32px; scale: 0.97; filter: blur(12px); }
  to { opacity: 1; translate: none; scale: none; filter: none; }
}
.hero .eyebrow, .hero h1, .hero .lead, .hero .buttons, .hero .badges, .hero .hero-note, .page-head > *, .prose > h1 {
  animation: rise-in 1100ms var(--spring) both;
}
/* The headline and the line under it start straight away: they're what a phone shows first, and Google counts the page
   as shown only once they are (Largest Contentful Paint, 3 Dec 2026). The rest still follows one by one. */
/* They rise and sharpen but never start invisible: Chrome counts text that fades in as shown only at its next repaint,
   which for the line under the headline (as big as it, so "the largest") came 4–6 s late in 1 of 8 phone tests. */
@keyframes rise-in-shown {
  from { translate: 0 32px; scale: 0.97; filter: blur(12px); }
  to { translate: none; scale: none; filter: none; }
}
.hero h1, .hero .lead { animation-name: rise-in-shown; }
.hero .buttons, .page-head > :nth-child(n + 4) { animation-delay: 300ms; }
.hero .badges { animation-delay: 400ms; }
.hero .hero-note { animation-delay: 500ms; }

/* As you scroll down, things pop up: each card springs up from lower and smaller, goes a little past full size and
   settles, cards in a row follow one another, and their icons pop in last. Chrome and Edge play it once as each card
   comes into view (scroll-triggered animations); browsers that can only tie animations to scrolling play it as you
   scroll; the rest show everything straight away. The spring is a real damped spring (12% overshoot), as linear(). */
:root {
  --spring-bounce: linear(0, 0.006 1%, 0.034 2.5%, 0.082 4%, 0.144 5.5%, 0.271 8%, 0.554 13%, 0.688 15.5%, 0.807 18%,
    0.889 20%, 0.958 22%, 1.027 24.5%, 1.067 26.5%, 1.101 29%, 1.124 32.5%, 1.121 37%, 1.103 40.5%, 1.017 53.5%,
    0.999 58%, 0.987 63%, 0.984 70.5%, 0.999 90%, 1);
  --pop-delay: 0ms;
}
@keyframes pop-up {
  from { opacity: 0; translate: 0 90px; scale: 0.8; }
  to { opacity: 1; translate: none; scale: none; }
}
@keyframes rise-up {
  from { opacity: 0; translate: 0 70px; scale: 0.95; }
  to { opacity: 1; translate: none; scale: none; }
}
@keyframes icon-pop {
  from { opacity: 0; scale: 0.2; rotate: -35deg; }
  to { opacity: 1; scale: none; rotate: none; }
}
@keyframes heading-in {
  from { opacity: 0; translate: 0 36px; filter: blur(12px); }
  to { opacity: 1; translate: none; filter: none; }
}

/* One after another in a row of three (and of two); one at a time on phones. */
.helps > :nth-child(3n + 2), .groups > :nth-child(3n + 2), .safety > :nth-child(2n), .contact .card:nth-child(2n),
.plans .pill:nth-child(3n + 2), .guides > :nth-child(3n + 2) { --pop-delay: 120ms; }
.helps > :nth-child(3n), .groups > :nth-child(3n), .plans .pill:nth-child(3n), .guides > :nth-child(3n) { --pop-delay: 240ms; }
/* (The plan cards pop up left to right as they're shown, Premium in the middle.) */
@media (min-width: 761px) {
  .plans .pills > .pill.premium { --pop-delay: 120ms; }
  .plans .pills:has(> .pill.premium) > .pill.plus { --pop-delay: 240ms; }
}
@media (max-width: 960px) and (min-width: 761px) {
  .guides > :nth-child(odd) { --pop-delay: 0ms; }
  .guides > :nth-child(even) { --pop-delay: 120ms; }
}
@media (max-width: 760px) {
  /* :nth-child(n) matches every card and is as specific as the rules above, so this wins on phones. */
  .helps > :nth-child(n), .groups > :nth-child(n), .safety > :nth-child(n), .contact .card:nth-child(n), .plans .pill:nth-child(n),
  .guides > :nth-child(n) { --pop-delay: 0ms; }
}

@supports (timeline-trigger: --t view()) {
  .section-head {
    animation: heading-in 1000ms var(--spring) both;
    timeline-trigger: --pop view() entry 40% exit 100%; animation-trigger: --pop play-forwards;
  }
  .helps > *, .groups > *, .safety > *, .faq details, .download-card, .contact .card, .plans .pill, .guides > * {
    animation: pop-up 1100ms var(--spring-bounce) var(--pop-delay) both;
    timeline-trigger: --pop view() entry 30% exit 100%; animation-trigger: --pop play-forwards;
  }
  .card .icon-tile {
    animation: icon-pop 900ms var(--spring-bounce) calc(var(--pop-delay) + 280ms) both;
    timeline-trigger: --icon view() entry 100% exit 100%; animation-trigger: --icon play-forwards;
  }
}
@supports (animation-timeline: view()) and (not (timeline-trigger: --t view())) {
  .section-head {
    animation: heading-in linear both; animation-timeline: view(); animation-range: entry 10% cover 30%;
  }
  .helps > *, .groups > *, .safety > *, .faq details, .download-card, .contact .card, .plans .pill, .guides > * {
    animation: pop-up var(--spring-bounce) both; animation-timeline: view(); animation-range: entry 0% cover 40%;
  }
  .helps > :nth-child(3n + 2), .groups > :nth-child(3n + 2), .safety > :nth-child(2n), .contact .card:nth-child(2n),
  .plans .pill:nth-child(3n + 2), .guides > :nth-child(3n + 2) { animation-range: entry 10% cover 46%; }
  .helps > :nth-child(3n), .groups > :nth-child(3n), .plans .pill:nth-child(3n), .guides > :nth-child(3n) { animation-range: entry 20% cover 52%; }
  @media (min-width: 761px) {
    .plans .pills > .pill.premium { animation-range: entry 10% cover 46%; }
    .plans .pills:has(> .pill.premium) > .pill.plus { animation-range: entry 20% cover 52%; }
  }
}

/* The big app window lies back and stands up flat as you scroll to it; its two cards float in after the headline and
   bob a few times; each "How it helps" row slides in, words from one side and the picture from the other. */
@keyframes stand-up {
  from { transform: rotateX(24deg) scale(0.9) translateY(24px); opacity: 0.55; }
  to { transform: none; opacity: 1; }
}
@keyframes float-in {
  from { opacity: 0; translate: 0 36px; scale: 0.88; }
  to { opacity: 1; translate: none; scale: none; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes slide-from-left {
  from { opacity: 0; translate: -70px 0; }
  to { opacity: 1; translate: none; }
}
@keyframes slide-from-right {
  from { opacity: 0; translate: 70px 0; transform: perspective(1200px) rotateY(-10deg); }
  to { opacity: 1; translate: none; transform: none; }
}
.float-card { animation: float-in 1100ms var(--spring-bounce) 650ms both, bob 5s ease-in-out 1800ms 6 both; }
.float-b { animation-delay: 850ms, 2600ms; }
@supports (animation-timeline: view()) {
  .app-window { animation: stand-up linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
}
@supports (timeline-trigger: --t view()) {
  .feature-text {
    animation: slide-from-left 1100ms var(--spring) both;
    timeline-trigger: --slide view() entry 35% exit 100%; animation-trigger: --slide play-forwards;
  }
  .feature-row .wave, .feature-col {
    animation: slide-from-right 1200ms var(--spring) 120ms both;
    timeline-trigger: --slide view() entry 35% exit 100%; animation-trigger: --slide play-forwards;
  }
  .tool-cards > * {
    animation: pop-up 1100ms var(--spring-bounce) var(--pop-delay) both;
    timeline-trigger: --pop view() entry 30% exit 100%; animation-trigger: --pop play-forwards;
  }
  .section-label { animation: heading-in 900ms var(--spring) both; timeline-trigger: --pop view() entry 60% exit 100%; animation-trigger: --pop play-forwards; }
}
@supports (animation-timeline: view()) and (not (timeline-trigger: --t view())) {
  .feature-text {
    animation: slide-from-left linear both; animation-timeline: view(); animation-range: entry 0% cover 38%;
  }
  .feature-row .wave, .feature-col {
    animation: slide-from-right linear both; animation-timeline: view(); animation-range: entry 5% cover 42%;
  }
  .tool-cards > * { animation: pop-up var(--spring-bounce) both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  .section-label { animation: heading-in linear both; animation-timeline: view(); animation-range: entry 10% cover 25%; }
}
.tool-cards > :nth-child(2) { --pop-delay: 120ms; }
@media (max-width: 760px) { .tool-cards > :nth-child(n) { --pop-delay: 0ms; } }

/* Features slide sideways as you scroll down, EXM-style (the owner's video, 2 Dec 2026): the section holds still while
   its cards travel from right to left, then the page carries on. On wide, tall-enough screens with scroll-linked
   animation; elsewhere the cards sit in their grid. */
@supports (animation-timeline: view()) {
  @media (min-width: 900px) and (min-height: 640px) {
    .rail { padding-top: 0; height: 300vh; view-timeline-name: --rail; content-visibility: visible; }
    .rail-pin {
      position: sticky; top: 0; height: 100vh; padding-top: var(--header-height);
      display: flex; flex-direction: column; justify-content: center; overflow: clip;
    }
    .rail .groups {
      display: flex; gap: 20px; width: max-content;
      animation: rail-slide linear both; animation-timeline: --rail; animation-range: contain 0% contain 100%;
    }
    .rail .groups > * { width: 330px; flex: none; animation: none; }
    .rail .groups > .tools { width: 440px; }
  }
}
/* From the first card at the page's left edge to the last at its right edge (the page's width less its padding). */
@keyframes rail-slide { from { translate: 0 0; } to { translate: calc(-100% + min(var(--page), 100vw) - 40px) 0; } }

/* The questions slide open (where the browser can animate to "auto"). */
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size 450ms var(--spring), content-visibility 450ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

@media (max-width: 760px) {
  :root { --glass-blur: blur(12px) saturate(150%); }
}

/* Printed pages show everything, whatever has or hasn't popped up yet. */
@media print {
  *, *::before, *::after { animation: none !important; }
}

/* Motion is for everyone on the Tweaks pages (the owner, 2 Dec 2026, after seeing EXM's page move on his PC while
   ours stood still): Windows reports "reduce motion" whenever its animation effects are off, and gamers often turn
   them off for speed (Combo's Tweaks' own "Window animations off" and "Visual effects: performance" do it), so it
   hid the pictures from the very people the site is for. Nothing here flashes; reduced motion still makes anchor
   jumps instant, and the Combo Notch pages still stand still for it. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.theme-notch *, body.theme-notch *::before, body.theme-notch *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* With motion off (Combo Notch pages) the menu bar can't turn to glass as you scroll, so on wider screens it is the
   floating glass capsule from the start (header-float's last frame); otherwise it would stay clear over the text. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: reduce) and (min-width: 761px) {
    body.theme-notch .site-header .page {
      max-width: min(1000px, calc(100% - 32px)); min-height: 52px; margin-top: 6px; padding-left: 16px; padding-right: 7px;
      background-color: rgba(20, 20, 32, 0.6); border-color: rgba(255, 255, 255, 0.13);
      box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
      -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
    }
  }
}

/* ---------------------------------------------------------------- Combo Notch (website/notch.mjs) and the platform labels */

.chip.platform svg { color: var(--accent-text); }
.platform-line { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; color: var(--text2); }
.also { margin-top: 36px; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 15px; text-align: center; color: var(--text2); }
.also svg { color: var(--accent-text); }
.page-head .eyebrow { justify-self: start; }
.notch-plans .price .per { font-size: 15px; font-weight: 600; color: var(--text3); }
.plans .button.soon { color: var(--text3); background: var(--surface3); border-color: var(--surface3); cursor: default; }
.download-card .get .chip { justify-self: end; }
.install { margin-top: 16px; }
.install h2 { font-size: 22px; margin-bottom: 14px; }
.install .prose { max-width: none; padding-top: 16px; }
.install > p { margin-top: 10px; }
.older { margin-top: 28px; }
.label-phone { display: none; }
@media (max-width: 480px) { .label-wide { display: none; } .label-phone { display: inline; } }
/* A five-item menu (with Combo Notch on the site) is tighter on narrow desktops, so it fits on one line. */
@media (max-width: 1060px) and (min-width: 761px) { .nav.long a { padding: 8px 7px; font-size: 13px; } .site-header .page:has(.nav.long) { gap: 12px; } .nav.long .button { margin-left: 4px; } }
@media (max-width: 1060px) and (min-width: 761px) { .nav.long a { white-space: nowrap; } }
@media (max-width: 880px) and (min-width: 761px) { .site-header .page:has(.nav.long) > .brand { font-size: 0; gap: 0; } }

/* The Combo Notch Pro waiting list (website/notch.mjs): one email box and its button on a line, under the price boxes. */
.waiting-list { margin: 24px auto 0; }
.waiting-row { display: flex; gap: 10px; align-items: stretch; }
.waiting-row input { flex: 1; min-width: 0; }
.waiting-row .button { flex: none; }
@media (max-width: 520px) { .waiting-row { flex-direction: column; } }
/* A trap for bots: off screen, never seen or reached by people. */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- Combo Notch's light look

   The Combo Notch pages only (body.theme-notch: website/notch.mjs › LOOK), at the owner's request (11 Nov 2026): light
   and warm like a Mac app's site, with a big centred headline, black pill buttons, a Mac screen with the open notch, and
   the app's dark screenshots on Combo's purple-to-pink gradient. The Combo's Tweaks pages keep the dark look above.
   System fonts (San Francisco on a Mac, Segoe UI on Windows): nothing is loaded for it. */

body.theme-notch {
  color-scheme: light;
  --bg: #f6f4f1;
  --bg-deep: #efece7;
  --surface1: #ffffff;
  --surface2: #f3f0eb;
  --surface3: #e6e2db;
  --border: rgba(24, 20, 14, 0.08);
  --border-strong: rgba(24, 20, 14, 0.15);
  --text: #111113;
  --text2: #55545b;
  --text3: #7f7e85;
  --accent-text: #6d28d9;
  --success-text: #15803d;
  --plus-text: #0f766e;
  --info-text: #2563eb;
  --warning-text: #b45309;
  --glass: rgba(255, 255, 255, 0.82);
  --glass-hover: #ffffff;
  --glass-border: rgba(24, 20, 14, 0.08);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --glass-shadow: 0 1px 2px rgba(24, 20, 14, 0.04), 0 10px 30px rgba(24, 20, 14, 0.05);
  --glass-sheen: none;
  --radius-card: 20px;
  --nx-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text2);
  font-family: var(--nx-font);
}
/* A faint warm tint behind the page, instead of the dark pages' glow. */
body.theme-notch::before {
  background:
    radial-gradient(40vmax 26vmax at 18% 0%, rgba(124, 58, 237, 0.07), transparent 70%),
    radial-gradient(36vmax 24vmax at 86% 6%, rgba(219, 39, 119, 0.06), transparent 70%);
}
body.theme-notch a { color: var(--accent-text); }
body.theme-notch a:hover { color: #4c1d95; }
body.theme-notch h1, body.theme-notch h2, body.theme-notch h3 { color: var(--text); }
body.theme-notch h1 { letter-spacing: -0.035em; }
body.theme-notch h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
body.theme-notch h3 { letter-spacing: -0.015em; }
body.theme-notch .card h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.02em; margin-bottom: 14px; }
body.theme-notch .section { padding-top: 112px; }
body.theme-notch .section-head { gap: 14px; margin-bottom: 44px; }
body.theme-notch .form-error { color: #b91c1c; background: #fee2e2; }

/* The menu bar: warm glass, dark text, the black button. */
body.theme-notch .site-header { background: rgba(246, 244, 241, 0.82); border-bottom-color: var(--border); }
body.theme-notch .brand, body.theme-notch .brand:hover { color: var(--text); }
body.theme-notch .nav a { color: var(--text2); }
body.theme-notch .nav a:hover, body.theme-notch .nav a[aria-current="page"] { color: var(--text); background: rgba(24, 20, 14, 0.06); }

/* Buttons: pills, the main one black. */
body.theme-notch .button { font-family: var(--nx-font); border-radius: 999px; }
body.theme-notch .button:not(.primary):not(.premium):not(.plus):not(.soon) {
  color: var(--text); background: #ffffff; border: 1px solid var(--border-strong); box-shadow: 0 1px 2px rgba(24, 20, 14, 0.05);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.theme-notch .button:not(.primary):not(.premium):not(.plus):not(.soon):hover { color: var(--text); background: #ffffff; border-color: rgba(24, 20, 14, 0.3); }
body.theme-notch .button.primary { color: #ffffff; background: #111113; border: 0; box-shadow: 0 8px 20px rgba(17, 17, 19, 0.18); }
body.theme-notch .button.primary:hover { color: #ffffff; background: #000000; filter: none; }
body.theme-notch .chip { background: var(--surface2); border-color: var(--border); color: var(--text2); }

/* Cards, questions and the price boxes: white, hairline borders, a soft shadow. */
body.theme-notch .card, body.theme-notch .faq details { background-color: #ffffff; border-color: var(--border); }
body.theme-notch .card:hover { border-color: var(--border-strong); box-shadow: 0 18px 44px rgba(24, 20, 14, 0.08); }
body.theme-notch .faq details:hover, body.theme-notch .faq details[open] { border-color: var(--border-strong); }
body.theme-notch .icon-tile { background: #f1ebff; border-color: rgba(124, 58, 237, 0.16); color: #6d28d9; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* The price table brings its own dark colours (docs/pricing-table.html's, scoped to .plans): light ones here. */
body.theme-notch .plans {
  --bg: #f6f4f1; --surface1: #ffffff; --surface2: #f3f0eb; --surface3: #e6e2db;
  --border: rgba(24, 20, 14, 0.08); --border-strong: rgba(24, 20, 14, 0.15);
  --text: #111113; --text2: #55545b; --text3: #7f7e85; --accent-text: #6d28d9;
  --free: #22c55e; --free-text: #15803d; --plus: #14b8a6; --plus-text: #0f766e; --premium-text: #7e22ce;
}
body.theme-notch .plans .pill { background: #ffffff; box-shadow: 0 1px 2px rgba(24, 20, 14, 0.04), 0 14px 36px rgba(24, 20, 14, 0.06); }
body.theme-notch .honest { background: #eef4ff; border-color: rgba(37, 99, 235, 0.18); }
body.theme-notch .form textarea, body.theme-notch .form input { background: #ffffff; border-color: var(--border-strong); }
body.theme-notch .site-footer { background: var(--bg-deep); }

@supports (animation-timeline: scroll()) {
  body.theme-notch .site-header { animation-name: header-glass-light; }
  @media (min-width: 761px) {
    body.theme-notch .site-header { background: none; border-bottom-color: transparent; animation: none; }
    body.theme-notch .site-header .page { animation-name: header-float-light; }
  }
  @media (prefers-reduced-motion: reduce) and (min-width: 761px) {
    body.theme-notch .site-header .page {
      background-color: rgba(255, 255, 255, 0.82); border-color: rgba(24, 20, 14, 0.08);
      box-shadow: 0 10px 30px rgba(24, 20, 14, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
  }
}
@keyframes header-glass-light {
  from { background-color: rgba(246, 244, 241, 0); border-bottom-color: rgba(24, 20, 14, 0); }
  to { background-color: rgba(246, 244, 241, 0.82); border-bottom-color: rgba(24, 20, 14, 0.08); }
}
@keyframes header-float-light {
  from {
    max-width: var(--page); min-height: var(--header-height); margin-top: 0; padding-left: 20px; padding-right: 20px;
    background-color: rgba(255, 255, 255, 0); border-color: rgba(24, 20, 14, 0);
    box-shadow: 0 0 0 rgba(24, 20, 14, 0), inset 0 1px 0 rgba(255, 255, 255, 0);
    -webkit-backdrop-filter: blur(0px) saturate(100%); backdrop-filter: blur(0px) saturate(100%);
  }
  to {
    max-width: min(1000px, calc(100% - 32px)); min-height: 52px; margin-top: 6px; padding-left: 16px; padding-right: 7px;
    background-color: rgba(255, 255, 255, 0.82); border-color: rgba(24, 20, 14, 0.08);
    box-shadow: 0 10px 30px rgba(24, 20, 14, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  }
}

/* The top of /notch: a small pill, the big headline, two buttons, the facts, then a Mac screen with the open notch. */
.nx-hero { padding: 76px 0 0; text-align: center; }
.nx-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px;
  background: #ffffff; border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(24, 20, 14, 0.04);
  font-size: 13px; font-weight: 600; color: var(--text2);
}
.nx-pill .chip { height: 22px; border-radius: 999px; }
.nx-hero h1 { max-width: 900px; margin: 22px auto 0; font-size: clamp(42px, 7.4vw, 82px); line-height: 1.02; letter-spacing: -0.045em; }
.nx-hero .lead { max-width: 660px; margin: 22px auto 0; }
.nx-hero .buttons { justify-content: center; margin-top: 30px; }
.nx-facts { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 13px; color: var(--text3); }
.nx-facts li::before { content: "•"; margin-right: 8px; color: #c4c1ba; }
.nx-screen {
  position: relative; margin: 56px auto 0; max-width: 1040px; aspect-ratio: 16 / 8.4; overflow: hidden;
  border: clamp(6px, 1.1vw, 12px) solid #0c0c0e; border-radius: clamp(14px, 2.4vw, 28px);
  background:
    radial-gradient(70% 90% at 12% 100%, rgba(251, 146, 60, 0.85), transparent 60%),
    radial-gradient(70% 90% at 92% 90%, rgba(236, 72, 153, 0.8), transparent 62%),
    radial-gradient(60% 70% at 55% 10%, rgba(167, 139, 250, 0.7), transparent 70%),
    linear-gradient(160deg, #2e1065 0%, #6d28d9 45%, #a21caf 75%, #f472b6 100%);
  box-shadow: 0 40px 90px rgba(76, 29, 149, 0.22), 0 12px 30px rgba(24, 20, 14, 0.12);
}
/* A faint menu bar along the top of the screen, under the notch. */
.nx-screen::before {
  content: ""; position: absolute; inset: 0 0 auto; height: clamp(12px, 2.2vw, 26px);
  background: rgba(255, 255, 255, 0.16); border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
/* The open notch hangs from the top edge of the screen, like the real one. */
.nx-open-notch {
  position: absolute; top: 0; left: 50%; translate: -50% 0; width: min(74%, 700px);
  padding: clamp(14px, 3vw, 30px) clamp(8px, 1.6vw, 18px) clamp(8px, 1.4vw, 16px); background: #000000;
  border-radius: 0 0 clamp(14px, 2.6vw, 30px) clamp(14px, 2.6vw, 30px); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}
.nx-open-notch img { width: 100%; height: auto; }
.nx-strip { list-style: none; margin: 30px auto 0; padding: 0; max-width: 940px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nx-strip li, .nx-tags li {
  padding: 6px 12px; border-radius: 999px; background: #ffffff; border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text2);
}
.nx-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text3); }

/* The Tools tab, a row at a time: the screenshot on Combo's gradient, beside what it does. */
.nx-rows { display: grid; gap: 80px; }
.nx-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.nx-row.flip .nx-frame { order: 2; }
.nx-frame {
  margin: 0; display: grid; gap: 14px; padding: clamp(18px, 3.4vw, 42px); border-radius: 28px;
  background:
    radial-gradient(80% 90% at 0% 100%, rgba(251, 146, 60, 0.55), transparent 60%),
    linear-gradient(135deg, #7c3aed, #c026d3 55%, #f472b6);
  box-shadow: 0 30px 70px rgba(124, 58, 237, 0.18);
}
.nx-frame img { width: 100%; height: auto; border-radius: 14px; background: #000000; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.nx-frame img + img { width: auto; max-width: 100%; justify-self: center; border-radius: 0; background: none; box-shadow: none; }
.nx-text { display: grid; gap: 14px; justify-items: start; }
.nx-text h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.03em; }
.nx-tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nx-tags li { font-size: 12px; }

.nx-hero .nx-pill, .nx-hero h1, .nx-hero .lead, .nx-hero .buttons, .nx-hero .nx-facts, .nx-hero .nx-screen { animation: rise-in 1100ms var(--spring) both; }
.nx-hero h1 { animation-delay: 100ms; }
.nx-hero .lead { animation-delay: 200ms; }
.nx-hero .buttons { animation-delay: 300ms; }
.nx-hero .nx-facts { animation-delay: 400ms; }
.nx-hero .nx-screen { animation-delay: 500ms; }

@media (max-width: 860px) {
  .nx-row { grid-template-columns: 1fr; gap: 26px; }
  .nx-row.flip .nx-frame { order: 0; }
  .nx-rows { gap: 64px; }
}

/* Home's plans part (pricing moved onto Home, 2 Dec 2026): plain-English explainer, before/after, the trust block, the closing band. */
.final-cta .buttons { justify-content: center; margin-top: 8px; }
#pricing .trust { margin-top: 32px; }
.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba-col { border-radius: var(--radius-card); padding: 22px; border: 1px solid var(--border); }
.ba-col h3 { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 14px; }
.ba-col ul { margin: 0; padding-left: 20px; display: grid; gap: 9px; }
.ba-col li { font-size: 15px; color: var(--text2); }
.ba-before { background: rgba(251, 113, 133, 0.06); border-color: rgba(251, 113, 133, 0.22); }
.ba-before h3 { color: #fb7185; }
.ba-after { background: rgba(74, 222, 128, 0.06); border-color: rgba(74, 222, 128, 0.22); }
.ba-after h3 { color: var(--success-text); }
.realtalk { margin-top: 20px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-card);
  background: rgba(124, 58, 237, 0.1); border: 1px solid rgba(183, 156, 255, 0.28); color: var(--text); font-size: 15px; }
.realtalk svg { color: var(--accent-text); flex: none; margin-top: 3px; }
.trust { margin-top: 24px; display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: 16px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.12), rgba(219, 39, 119, 0.08)); border: 1px solid var(--border-strong); }
.trust .icon-tile { flex: none; }
.trust h3 { font-size: 18px; margin: 0 0 6px; }
.trust p { font-size: 15px; }
@media (max-width: 760px) {
  .beforeafter { grid-template-columns: 1fr; }
  .trust { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------------- Home's 3D FPS counter (build.mjs fpsTest)
   Two in-game style panels in perspective, from the owner's own Measure FPS test: before twitches and its frame times
   jump, after glows steady. The digits roll up like an odometer as the panels scroll in; hover straightens a panel. */
.hud-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 52px; perspective: 1400px; }
.hud { position: relative; padding: 22px 24px 20px; border-radius: 18px; border: 1px solid var(--border-strong); overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01) 42%), rgba(16, 16, 26, 0.8);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 600ms var(--spring); }
.hud::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 4px); }
.hud.before { transform: rotateY(16deg) rotateX(6deg) scale(0.96); border-color: rgba(244, 63, 94, 0.35); }
.hud.after { transform: rotateY(-16deg) rotateX(6deg); border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 30px 90px rgba(124, 58, 237, 0.38), 0 0 0 1px rgba(219, 39, 119, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.hud-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text3); }
.hud-tag { padding: 5px 11px; border-radius: 999px; font-weight: 700; }
.hud.before .hud-tag { color: #fda4af; background: rgba(244, 63, 94, 0.14); }
.hud.after .hud-tag { color: #f5d0fe; background: linear-gradient(90deg, rgba(124, 58, 237, 0.4), rgba(219, 39, 119, 0.32)); }
.hud-fps { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 0; font-size: clamp(64px, 8vw, 108px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hud.before .hud-fps { color: #fb7185; filter: drop-shadow(0 0 16px rgba(244, 63, 94, 0.45)); }
.hud.after .hud-fps { color: #f3e8ff; filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.95)) drop-shadow(0 0 26px rgba(219, 39, 119, 0.5)); }
.hud-unit { font-size: 0.26em; font-weight: 700; letter-spacing: 0.06em; color: var(--text2); }
.hud-avg { margin: 6px 0 0; font-size: 13px; color: var(--text3); }
.hud-spark { display: block; width: 100%; height: auto; margin: 16px 0 4px; overflow: visible; }
.hud-spark polyline { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.hud.before .hud-spark polyline { stroke: #f43f5e; opacity: 0.85; }
.hud.after .hud-spark polyline { stroke: #c084fc; filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.85)); }
.hud-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 0; }
.hud-stats div { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); }
.hud-stats dt { font-size: 12px; color: var(--text3); }
.hud-stats dd { margin: 4px 0 0; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hud.before .hud-stats dd { color: #fda4af; }
.hud.after .hud-stats dd { color: #e9d5ff; }
.hud-note { display: flex; gap: 10px; align-items: flex-start; max-width: 780px; margin: 30px auto 0; font-size: 13.5px; line-height: 1.6; color: var(--text3); }
.hud-note svg { flex: none; margin-top: 3px; color: var(--accent-text); }

/* The odometer: each digit a strip of 0-9, moved to its digit (still: it simply shows the number). */
.odo { display: inline-flex; }
.odo .digit { display: inline-block; height: 1em; overflow: hidden; }
.odo .strip { display: block; transform: translateY(calc(var(--d) * -1em)); }
.odo .strip::before { content: "0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9"; display: block; white-space: pre; line-height: 1; }
.d0 { --d: 0; } .d1 { --d: 1; } .d2 { --d: 2; } .d3 { --d: 3; } .d4 { --d: 4; }
.d5 { --d: 5; } .d6 { --d: 6; } .d7 { --d: 7; } .d8 { --d: 8; } .d9 { --d: 9; }

@keyframes odo-roll { from { transform: translateY(0); } }
@keyframes hud-glitch {
  0%, 86%, 100% { transform: none; opacity: 1; }
  88% { transform: translate(3px, -1px) skewX(-5deg); opacity: 0.75; }
  90% { transform: translate(-3px, 1px); }
  92% { transform: translate(2px, 0) skewX(3deg); opacity: 1; }
  94% { transform: none; }
}
@keyframes hud-float-a { 0%, 100% { transform: rotateY(16deg) rotateX(6deg) scale(0.96) translateY(0); } 50% { transform: rotateY(16deg) rotateX(6deg) scale(0.96) translateY(-8px); } }
@keyframes hud-float-b { 0%, 100% { transform: rotateY(-16deg) rotateX(6deg) translateY(0); } 50% { transform: rotateY(-16deg) rotateX(6deg) translateY(-10px); } }
@keyframes hud-jitter { 0%, 100% { transform: none; } 25% { transform: translateY(2px); } 50% { transform: translateY(-3px); } 75% { transform: translateY(1px); } }
.hud.before { animation: hud-float-a 7s ease-in-out infinite; }
.hud.after { animation: hud-float-b 7s ease-in-out 1.2s infinite; }
.hud:hover { animation: none; transform: none; }
.hud.before .odo { animation: hud-glitch 3.4s linear 2s infinite; }
.hud.before .hud-spark polyline { animation: hud-jitter 0.9s steps(2) infinite; }
.odo .strip { animation: odo-roll 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both; }
@supports (animation-timeline: view()) {
  .fps-test { view-timeline-name: --hud; }
  .odo .strip { animation: odo-roll linear both; animation-timeline: --hud; animation-range: entry 10% cover 38%; }
  .odo .p1 .strip { animation-range: entry 14% cover 42%; }
  .odo .p2 .strip { animation-range: entry 18% cover 46%; }
}
@media (max-width: 760px) {
  .hud-stage { grid-template-columns: 1fr; gap: 24px; perspective: none; }
  .hud.before, .hud.after { animation: none; transform: none; }
  .hud-fps { font-size: 72px; }
}

/* The plan table's own styles, from docs/pricing-table.html (src/CombosTweaks.Presentation/Upgrade/PlanTableHtml.cs). */
.plans { --bg: #0d0d14; --surface1: #13131d; --surface2: #1a1a27; --surface3: #222233; --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14); --text: #f4f4f8; --text2: #a9a9be; --text3: #8b8ba3; --accent-text: #b79cff;
  --free: #22c55e; --free-text: #4ade80; --plus: #2dd4bf; --plus-text: #5eead4; --premium-text: #f5d0fe; --no: #fb7185; }
.plans .lead { margin: 0 0 28px; color: var(--text2); }
.plans .pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 32px; }
.plans .pill { position: relative; padding: 22px 20px 20px; border-radius: 20px; background: var(--surface1); border: 2px solid var(--border-strong); }
.plans .pill.free { border-color: var(--free); }
.plans .pill.plus { border-color: var(--plus); }
.plans .pill.premium { border-color: transparent; box-shadow: 0 0 32px rgba(168, 85, 247, 0.35);
  background: linear-gradient(var(--surface1), var(--surface1)) padding-box, linear-gradient(90deg, #8b5cf6, #ec4899) border-box; }
.plans .pill h2 { margin: 0; font-size: 18px; font-weight: 600; }
.plans .free h2 { color: var(--free-text); }
.plans .plus h2 { color: var(--plus-text); }
.plans .premium h2 { color: var(--premium-text); }
.plans .price { margin: 6px 0 0; font-size: 34px; font-weight: 700; }
.plans .note { margin: 0; min-height: 44px; color: var(--text3); font-size: 13px; }
.plans .button { display: block; margin-top: 14px; padding: 10px 12px; border-radius: 10px; text-align: center; font-weight: 600; font-size: 14px;
  text-decoration: none; color: var(--text2); background: var(--surface2); border: 1px solid var(--border-strong); }
.plans .plus .button, .plans td.plus .button { color: var(--plus-text); border-color: var(--plus); background: rgba(45, 212, 191, 0.1); }
.plans .premium .button, .plans td.premium .button { color: #fff; border-color: transparent; background: linear-gradient(90deg, #7c3aed, #9333ea, #db2777); }
.plans table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface1); border: 1px solid var(--border); border-radius: 16px; }
.plans th, .plans td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; }
.plans thead th { position: sticky; top: 0; z-index: 1; background: var(--surface2); font-size: 16px; font-weight: 600; }
.plans thead th:first-child { border-top-left-radius: 16px; }
.plans thead th:last-child { border-top-right-radius: 16px; }
.plans th.free { color: var(--free-text); }
.plans th.plus { color: var(--plus-text); }
.plans th.premium { color: var(--premium-text); }
.plans .section td { padding-top: 18px; text-align: left; color: var(--accent-text); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.plans th.label, .plans td.label { width: 40%; text-align: left; }
.plans .row { display: flex; align-items: center; gap: 10px; }
.plans .row .icon { color: var(--text3); }
.plans .yes { color: var(--accent-text); }
.plans .no { color: var(--no); }
.plans .word { font-weight: 600; }
.plans .summary td { vertical-align: top; text-align: left; color: var(--text2); font-size: 13px; border-bottom: 0; }
.plans .summary td.label { color: var(--text); font-size: 15px; font-weight: 600; }
.plans svg.icon { width: 18px; height: 18px; flex: none; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plans .honest { margin: 22px 0 8px; padding: 14px 16px; border-radius: 12px; background: rgba(59, 130, 246, 0.11); border: 1px solid rgba(59, 130, 246, 0.25); font-weight: 600; }
.plans .small { margin: 6px 0 0; color: var(--text3); font-size: 12px; }
@media (max-width: 760px) { .plans .pills { grid-template-columns: 1fr; }
.plans th, .plans td { padding: 9px 8px; font-size: 13px; }
.plans .row .icon { display: none; } }

/* Home's Features scenes: website/src/features.css, then their timings (website/features.mjs). */
/* ---------------------------------------------------------------- Home's Features scenes (website/features.mjs)
   A moving scene on top of each tweak group's card, then its name and what it's for (the owner's ask, 3 Dec 2026, with
   a competitor's cards as the example). Made of the app's own parts: its tweak card and switch, the group's real tweaks
   and Game Boost's labels. The timings that depend on how many tweaks a scene shows are in features.mjs › sceneCss(),
   added after this file. --on (0 to 1) is a switch's state: everything inside a card, row or chip follows it. */

@property --on { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --wake { syntax: "<number>"; inherits: true; initial-value: 0; }

.scene {
  --sh: 230px;
  position: relative; height: var(--sh); margin-bottom: 8px; overflow: hidden; isolation: isolate;
  border-radius: 10px; border: 1px solid var(--border);
  background: radial-gradient(120% 80% at 50% 0%, rgba(124, 58, 237, 0.2), transparent 65%), var(--bg-deep);
  font-size: 12px; line-height: 1.4; color: var(--text2); text-align: left;
  user-select: none; pointer-events: none;
  /* Off-screen scenes skip their frames. */
  content-visibility: auto; contain-intrinsic-size: auto var(--sh);
}
.scene::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.5px); background-size: 14px 14px;
  mask-image: radial-gradient(90% 80% at 50% 40%, #000, transparent);
}
.scene b { font-weight: 600; color: var(--text); }
.scene p { margin: 0; }
.si { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scene .illus { position: absolute; right: 9px; bottom: 6px; z-index: 2; font-size: 10px; letter-spacing: 0.02em; color: var(--text3); }
.scene:has(.illus) .panel { top: calc(50% - 7px); }

/* The app's switch. */
.sw { position: relative; width: 28px; height: 16px; flex: none; border-radius: 99px; background: var(--surface3); border: 1px solid rgba(255, 255, 255, 0.16); }
.sw::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: var(--accent); border: 1px solid var(--accent-hover); opacity: var(--on); }
.sw i { position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #ececf4; translate: calc(var(--on) * 12px) 0; }

/* The app's tweak card, small. */
.tw {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 5px; height: 104px; padding: 10px 12px;
  border-radius: 10px; background: var(--surface2); border: 1px solid var(--border-strong); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.tw::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  border: 1px solid rgba(139, 92, 246, 0.75); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.16), 0 0 26px rgba(124, 58, 237, 0.25); opacity: var(--on);
}
.tw-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tw-top b { flex: 1; min-width: 0; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-ic { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 6px; background: rgba(124, 58, 237, 0.2); color: var(--accent-text); }
.tw-ic .si { width: 13px; height: 13px; }
.scene .tw p {
  font-size: 11px; line-height: 1.4; color: var(--text3);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.tw-foot { display: flex; align-items: center; justify-content: space-between; }
.imp { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); color: var(--text3); }
.imp.fps { color: var(--success-text); }
.imp .bars { width: 14px; height: 14px; fill: currentColor; }
.imp .si { width: 12px; height: 12px; }
.pl { padding: 1px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 600; white-space: nowrap; background: rgba(255, 255, 255, 0.07); color: var(--text2); }
.pl.plus { background: rgba(45, 212, 191, 0.14); color: var(--plus-text); }
.pl.premium { background: rgba(219, 39, 119, 0.16); color: var(--premium-text); }
.tick { display: inline-grid; place-items: center; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--success); color: #062b14; }
.tick .si { width: 10px; height: 10px; stroke-width: 3.2; }
.scene .cursor { position: absolute; z-index: 3; width: 18px; height: 18px; fill: #fff; stroke: #0d0d14; stroke-width: 1.5; stroke-linejoin: round; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)); }

/* A floating window in the middle of the scene. Its column is never wider than the window (minmax(0, 1fr)): a long
   tweak name is cut short with "…", it never pushes the switch out past the edge (the owner's phone, 3 Dec 2026). */
.panel {
  position: absolute; left: 14px; right: 14px; top: 50%; translate: 0 -50%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px;
  border-radius: 12px; background: var(--surface2); border: 1px solid var(--border-strong); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

/* Windows & general, Network: cards slide up past a sharp middle slot; above and below it they're out of focus. */
.sc-carousel { --mid: calc((var(--sh) - 104px) / 2); }
.sc-carousel .strip { position: absolute; left: 16px; right: 16px; top: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; animation: sc-car 12s cubic-bezier(0.7, 0, 0.3, 1) infinite; }
.sc-carousel .haze {
  position: absolute; left: 0; right: 0; z-index: 1; height: calc(var(--mid) - 2px);
  background: rgba(10, 10, 16, 0.38); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.sc-carousel .haze.top { top: 0; mask-image: linear-gradient(#000 45%, transparent); }
.sc-carousel .haze.bottom { bottom: 0; mask-image: linear-gradient(transparent, #000 55%); }

/* Power: Combo's Desktop plan switches on, then what it does ticks off. */
.sc-plan .panel { animation: sc-plan 8s infinite; }
.sc-plan .tw-top .pl { margin-right: 2px; }
.scene.sc-plan .lead { font-size: 11px; color: var(--text3); }
.sc-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sc-plan li {
  display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 8px; font-size: 12px; color: var(--text);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); opacity: 0; animation: sc-plan-li1 8s var(--spring) infinite;
}
.sc-plan li:nth-child(2) { animation-name: sc-plan-li2; }
.sc-plan li:nth-child(3) { animation-name: sc-plan-li3; }
@keyframes sc-plan { 0%, 6% { --on: 0; } 10%, 90% { --on: 1; } 95%, 100% { --on: 0; } }
@keyframes sc-plan-li1 { 0%, 14% { opacity: 0; translate: -10px 0; } 20%, 90% { opacity: 1; translate: 0 0; } 95%, 100% { opacity: 0; translate: 0 0; } }
@keyframes sc-plan-li2 { 0%, 22% { opacity: 0; translate: -10px 0; } 28%, 90% { opacity: 1; translate: 0 0; } 95%, 100% { opacity: 0; translate: 0 0; } }
@keyframes sc-plan-li3 { 0%, 30% { opacity: 0; translate: -10px 0; } 36%, 90% { opacity: 1; translate: 0 0; } 95%, 100% { opacity: 0; translate: 0 0; } }

/* Privacy: a row at a time, the eye closes as its switch turns on. */
.sc-rows .panel { gap: 6px; }
.sc-rows .row { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 8px; }
.sc-rows .row b { flex: 1; min-width: 0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eyes { position: relative; width: 16px; height: 16px; flex: none; }
.eyes .si { position: absolute; inset: 0; width: 16px; height: 16px; }
.eyes .si:first-child { color: var(--warning-text); opacity: calc(1 - var(--on)); }
.eyes .si:last-child { color: var(--success-text); opacity: var(--on); }
.sc-rows .scan {
  position: absolute; left: 8px; right: 8px; top: 12px; height: 30px; border-radius: 8px;
  background: rgba(124, 58, 237, 0.16); border: 1px solid rgba(139, 92, 246, 0.45); animation: sc-scan 8s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}

/* Quality of life: the group's tweaks as chips, lighting up one after another. */
.sc-chips .cloud { position: absolute; inset: 0; padding: 14px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 7px; }
.chip-tw {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px;
  border-radius: 99px; font-size: 11.5px; white-space: nowrap; color: var(--text); background: var(--surface2); border: 1px solid var(--border-strong);
  opacity: calc(0.5 + var(--on) * 0.5);
}
.chip-tw::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: rgba(124, 58, 237, 0.26); border: 1px solid rgba(139, 92, 246, 0.75); opacity: var(--on); }
.chip-tw .tick { scale: calc(0.5 + var(--on) * 0.5); opacity: calc(0.15 + var(--on) * 0.85); }

/* Apps: a deck of the browsers' cards; the front one switches on and flies off to the back. */
.sc-deck .deck { position: absolute; left: 18px; right: 18px; top: calc(50% - 34px); height: 104px; }
.sc-deck .tw { position: absolute; inset: 0; transform-origin: 50% 0; animation: sc-deck 8s cubic-bezier(0.6, 0, 0.3, 1) infinite; }
@keyframes sc-deck {
  0% { translate: 0 0; scale: 1; rotate: 0deg; opacity: 1; z-index: 4; --on: 0; }
  8% { --on: 0; }
  12% { --on: 1; }
  18% { translate: 0 0; scale: 1; rotate: 0deg; opacity: 1; z-index: 4; --on: 1; }
  24% { translate: 60% 18px; scale: 1; rotate: 8deg; opacity: 0; z-index: 4; --on: 1; }
  24.1% { translate: 0 -36px; scale: 0.85; rotate: 0deg; opacity: 0; z-index: 1; --on: 0; }
  30%, 43% { translate: 0 -36px; scale: 0.85; opacity: 0.35; z-index: 1; --on: 0; }
  49%, 68% { translate: 0 -24px; scale: 0.9; opacity: 0.6; z-index: 2; --on: 0; }
  74%, 93% { translate: 0 -12px; scale: 0.95; opacity: 0.85; z-index: 3; --on: 0; }
  99%, 100% { translate: 0 0; scale: 1; opacity: 1; z-index: 4; --on: 0; }
}

/* CPU & RAM: parked cores wake up when "Core parking off" switches on. */
.sc-cores .panel { animation: sc-cores 8s infinite; }
.cores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.core {
  position: relative; display: grid; place-items: center; height: 40px; border-radius: 8px; color: var(--accent-text);
  background: rgba(124, 58, 237, 0.18); border: 1px solid rgba(139, 92, 246, 0.5);
}
.core .si { width: 18px; height: 18px; }
.core em { position: absolute; top: 1px; right: 5px; font-size: 10px; font-style: normal; font-weight: 700; color: var(--text3); opacity: 0; }
.core.parked { animation: sc-core 8s var(--spring) infinite; }
.core.parked em { opacity: calc(1 - var(--wake)); }
.core.parked:nth-child(3) { animation-delay: 0.12s; }
.core.parked:nth-child(5) { animation-delay: 0.24s; }
.core.parked:nth-child(7) { animation-delay: 0.36s; }
.core.parked:nth-child(8) { animation-delay: 0.48s; }
@keyframes sc-cores { 0%, 18% { --on: 0; } 22%, 90% { --on: 1; } 95%, 100% { --on: 0; } }
@keyframes sc-core {
  0%, 22% { --wake: 0; scale: 1; background-color: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.08); color: var(--text3); }
  27% { --wake: 1; scale: 1.08; }
  31%, 88% { --wake: 1; scale: 1; background-color: rgba(124, 58, 237, 0.18); border-color: rgba(139, 92, 246, 0.5); color: var(--accent-text); }
  94%, 100% { --wake: 0; scale: 1; background-color: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.08); color: var(--text3); }
}

/* GPU: Smart System Detection finds the card, then the NVIDIA tweaks for it come up and switch on. */
.sc-detect .panel { gap: 6px; }
.found { display: flex; align-items: center; gap: 10px; padding: 2px 4px 8px; border-bottom: 1px solid var(--border); }
.found b { font-size: 12.5px; animation: sc-found-text 8s infinite; }
.found .mark { position: relative; width: 18px; height: 18px; flex: none; }
.found .spin { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.12); border-top-color: var(--accent-text); animation: sc-spin 0.8s linear infinite, sc-found-spin 8s infinite; }
.found .tick { position: absolute; inset: 1px; width: auto; height: auto; animation: sc-found-tick 8s var(--spring-pop) infinite; }
.sc-detect .row { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); opacity: 0; }
.sc-detect .row > .si { color: var(--success-text); }
.sc-detect .row b { flex: 1; min-width: 0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes sc-spin { to { rotate: 1turn; } }
@keyframes sc-found-spin { 0%, 9% { opacity: 1; } 12%, 93% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes sc-found-tick { 0%, 10% { opacity: 0; scale: 0.3; } 15%, 92% { opacity: 1; scale: 1; } 96%, 100% { opacity: 0; scale: 0.3; } }
@keyframes sc-found-text { 0%, 9% { opacity: 0.45; } 14%, 92% { opacity: 1; } 96%, 100% { opacity: 0.45; } }

/* Storage: a hard drive that's spun down, then keeps spinning once its tweak is on. */
.sc-drive .panel { animation: sc-drive 8s infinite; }
.hdd { position: relative; display: flex; align-items: center; gap: 14px; }
.disk { width: min(108px, 40%); height: auto; flex: none; }
.disk .case { fill: var(--surface3); stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.5; }
.disk .plate { fill: #2a2a3e; stroke: rgba(255, 255, 255, 0.2); stroke-width: 1.5; }
.disk .shine { fill: none; stroke: rgba(183, 156, 255, 0.8); stroke-width: 3; stroke-linecap: round; }
.disk .hub { fill: var(--text3); }
.disk .arm { fill: none; stroke: var(--text2); stroke-width: 4; stroke-linecap: round; }
.disk .pivot { fill: var(--text2); }
.disk .platter { transform-box: view-box; transform-origin: 48px 42px; animation: sc-platter 8s infinite; }
.hdd .zz { position: absolute; left: 70px; top: -6px; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; color: var(--text3); animation: sc-zz 8s infinite; }
.state { display: grid; min-width: 0; }
.state span { grid-area: 1 / 1; font-size: 12.5px; font-weight: 600; }
.state .off { color: var(--text3); opacity: calc(1 - var(--on)); }
.state .on { color: var(--success-text); opacity: var(--on); }
@keyframes sc-drive { 0%, 26% { --on: 0; } 30%, 90% { --on: 1; } 95%, 100% { --on: 0; } }
@keyframes sc-platter {
  0%, 30% { transform: rotate(0deg); animation-timing-function: ease-in; }
  38% { transform: rotate(360deg); animation-timing-function: linear; }
  86% { transform: rotate(2520deg); animation-timing-function: ease-out; }
  95%, 100% { transform: rotate(2880deg); }
}
@keyframes sc-zz { 0%, 26% { opacity: 1; translate: 0 0; } 31%, 92% { opacity: 0; translate: 4px -6px; } 97%, 100% { opacity: 1; translate: 0 0; } }

/* Peripherals: a slow and a fast swipe, the same length. With acceleration the fast one sends the cursor further; with
   it off, both land on the same spot (the mark). */
.sc-mouse .panel { animation: sc-mouse 10s infinite; }
.sc-mouse .tw-top .pl { margin-right: 2px; }
.lane { display: grid; grid-template-columns: 62px 40px 1fr; align-items: center; gap: 8px; height: 30px; padding: 0 4px; }
.lane .what { font-size: 11px; color: var(--text3); white-space: nowrap; }
.lane .hand { position: relative; height: 100%; border-radius: 6px; background: rgba(255, 255, 255, 0.04); }
.lane .hand .si { position: absolute; left: 2px; top: 7px; width: 16px; height: 16px; color: var(--text2); }
.lane .track { position: relative; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); }
.lane .track::after { content: ""; position: absolute; left: 46%; top: -5px; width: 2px; height: 12px; border-radius: 1px; background: rgba(183, 156, 255, 0.55); }
.lane .dot { position: absolute; left: 0; top: -8px; }
.lane .dot .cursor { position: static; width: 14px; height: 14px; }
.lane.slow .hand .si { animation: sc-hand-slow 10s infinite; }
.lane.slow .dot { animation: sc-dot-slow 10s infinite; }
.lane.fast .hand .si { animation: sc-hand-fast 10s infinite; }
.lane.fast .dot { animation: sc-dot-fast 10s infinite; }
@keyframes sc-mouse { 0%, 46% { --on: 0; } 50%, 94% { --on: 1; } 98%, 100% { --on: 0; } }
@keyframes sc-hand-slow { 0%, 6% { translate: 0 0; } 24%, 40% { translate: 18px 0; } 44%, 56% { translate: 0 0; } 74%, 90% { translate: 18px 0; } 94%, 100% { translate: 0 0; } }
@keyframes sc-dot-slow { 0%, 6% { left: 0; } 24%, 40% { left: 46%; } 44%, 56% { left: 0; } 74%, 90% { left: 46%; } 94%, 100% { left: 0; } }
@keyframes sc-hand-fast {
  0%, 27% { translate: 0 0; } 31%, 40% { translate: 18px 0; } 44%, 77% { translate: 0 0; } 81%, 90% { translate: 18px 0; } 94%, 100% { translate: 0 0; }
}
@keyframes sc-dot-fast { 0%, 27% { left: 0; } 31%, 40% { left: 90%; } 44%, 77% { left: 0; } 81%, 90% { left: 46%; } 94%, 100% { left: 0; } }

/* A row's or window's name goes onto a second line before it's cut short (after the
   scenes' own rules, which say one line). */
.sc-rows .row b, .sc-detect .row b, .panel > .tw-top b {
  white-space: normal; line-height: 1.2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
}

/* The tools: Game Boost starts, and its three switches turn on. */
.sc-boost { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; padding: 0 18px; }
/* (On .boost, not the scene: a scene's own animation starts before the ones inside it, which wait until it's on screen.) */
.boost { position: relative; display: grid; justify-items: center; gap: 10px; animation: sc-boost 8s infinite; }
.ring {
  position: relative; display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 70%); border: 1px solid rgba(139, 92, 246, 0.35);
}
.ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--accent-text); opacity: 0; animation: sc-ring 8s ease-out infinite; }
.ring .btn {
  display: grid; justify-items: center; align-content: center; gap: 3px; width: 88px; height: 88px; border-radius: 50%; padding: 0 8px;
  background: var(--accent); color: #fff; text-align: center; font-size: 10px; font-weight: 600; line-height: 1.2;
  box-shadow: 0 8px 26px rgba(124, 58, 237, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25); animation: sc-press 8s infinite;
}
.ring .btn .si { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.ring .start, .ring .end { grid-area: 2 / 1; }
.ring .start { opacity: calc(1 - var(--on)); }
.ring .end { opacity: var(--on); }
.boost .status { display: grid; }
.boost .status span { grid-area: 1 / 1; font-size: 11.5px; font-weight: 600; text-align: center; white-space: nowrap; }
.boost .status .off { color: var(--text3); opacity: calc(1 - var(--on)); }
.boost .status .on { color: var(--success-text); opacity: var(--on); }
.boost .cursor { left: 50%; top: 40%; animation: sc-boost-cursor 8s cubic-bezier(0.6, 0, 0.3, 1) infinite; }
.bopts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; }
.bopt { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border-radius: 10px; background: var(--surface2); border: 1px solid var(--border-strong); animation: sc-bopt1 8s infinite; }
.bopt:nth-child(2) { animation-name: sc-bopt2; }
.bopt:nth-child(3) { animation-name: sc-bopt3; }
.bopt > .si { color: var(--accent-text); }
.bopt > span:not(.sw) { flex: 1; min-width: 0; display: grid; }
.bopt b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bopt small { font-size: 10.5px; color: var(--text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes sc-boost { 0%, 19% { --on: 0; } 22%, 90% { --on: 1; } 95%, 100% { --on: 0; } }
@keyframes sc-press { 0%, 17% { scale: 1; } 19% { scale: 0.92; } 23%, 100% { scale: 1; } }
@keyframes sc-ring { 0%, 18% { opacity: 0; scale: 1; } 20% { opacity: 0.9; scale: 1; } 34%, 100% { opacity: 0; scale: 1.4; } }
@keyframes sc-boost-cursor {
  0% { translate: 64px 80px; opacity: 0; } 4% { translate: 64px 80px; opacity: 1; } 15%, 17% { translate: 14px 26px; scale: 1; }
  19% { scale: 0.85; } 21%, 86% { translate: 14px 26px; scale: 1; opacity: 1; } 96%, 100% { translate: 64px 80px; opacity: 0; }
}
@keyframes sc-bopt1 { 0%, 28% { --on: 0; } 31%, 90% { --on: 1; } 95%, 100% { --on: 0; } }
@keyframes sc-bopt2 { 0%, 36% { --on: 0; } 39%, 90% { --on: 1; } 95%, 100% { --on: 0; } }
@keyframes sc-bopt3 { 0%, 44% { --on: 0; } 47%, 90% { --on: 1; } 95%, 100% { --on: 0; } }

/* In the sideways rail, wider cards for the scenes; on short screens, shorter scenes so a whole card still fits. */
@supports (animation-timeline: view()) {
  @media (min-width: 900px) and (min-height: 640px) {
    .rail .groups > * { width: 360px; }
    .rail .groups > .tools { width: 500px; }
  }
  @media (min-width: 900px) and (min-height: 640px) and (max-height: 760px) {
    .rail .scene { --sh: 190px; }
  }
}

/* Phones: the cards side by side in a row you swipe, each one most of the screen wide, the next one peeking in. */
@media (max-width: 760px) {
  .groups {
    display: flex; align-items: start; gap: 12px; margin: 0 -16px; padding: 4px 16px 14px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding-inline: 16px; overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .groups::-webkit-scrollbar { display: none; }
  .groups > .card { flex: 0 0 88%; padding: 16px; scroll-snap-align: start; animation: none; }
  .scene .panel { left: 10px; right: 10px; padding: 10px; }
  .scene .tw-top { gap: 6px; }
  .groups .icon-tile { animation: none; }
  .sc-boost { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 0 12px; }
  .ring { width: 96px; height: 96px; }
  .ring .btn { width: 76px; height: 76px; font-size: 9px; }
  .bopt { gap: 8px; padding: 7px 8px; }
  .bopt > .si { display: none; }
}
/* The smallest phones: the plan's window without its one-line summary, so the whole window fits. */
@media (max-width: 359px) {
  .scene.sc-plan .lead { display: none; }
}

@keyframes sc-car { 0%, 15.6% { translate: 0 calc(var(--mid) - 114px); } 20%, 35.6% { translate: 0 calc(var(--mid) - 228px); } 40%, 55.6% { translate: 0 calc(var(--mid) - 342px); } 60%, 75.6% { translate: 0 calc(var(--mid) - 456px); } 80%, 95.6% { translate: 0 calc(var(--mid) - 570px); } 100% { translate: 0 calc(var(--mid) - 684px); } }
.sc-carousel .tw:nth-child(1) { --on: 1; }
.sc-carousel .tw:nth-child(2) { animation: sc-car-on0 12s infinite; }
@keyframes sc-car-on0 { 0%, 6% { --on: 0; } 8.4%, 100% { --on: 1; } }
.sc-carousel .tw:nth-child(3) { animation: sc-car-on1 12s infinite; }
@keyframes sc-car-on1 { 0%, 26% { --on: 0; } 28.4%, 100% { --on: 1; } }
.sc-carousel .tw:nth-child(4) { animation: sc-car-on2 12s infinite; }
@keyframes sc-car-on2 { 0%, 46% { --on: 0; } 48.4%, 100% { --on: 1; } }
.sc-carousel .tw:nth-child(5) { animation: sc-car-on3 12s infinite; }
@keyframes sc-car-on3 { 0%, 66% { --on: 0; } 68.4%, 100% { --on: 1; } }
.sc-carousel .tw:nth-child(6) { animation: sc-car-on4 12s infinite; }
@keyframes sc-car-on4 { 0%, 86% { --on: 0; } 88.4%, 100% { --on: 1; } }
.sc-rows .row:nth-of-type(1) { animation: sc-row0 8s infinite; }
@keyframes sc-row0 { 0%, 10% { --on: 0; } 14%, 90% { --on: 1; } 96%, 100% { --on: 0; } }
.sc-rows .row:nth-of-type(2) { animation: sc-row1 8s infinite; }
@keyframes sc-row1 { 0%, 26% { --on: 0; } 30%, 90% { --on: 1; } 96%, 100% { --on: 0; } }
.sc-rows .row:nth-of-type(3) { animation: sc-row2 8s infinite; }
@keyframes sc-row2 { 0%, 42% { --on: 0; } 46%, 90% { --on: 1; } 96%, 100% { --on: 0; } }
.sc-rows .row:nth-of-type(4) { animation: sc-row3 8s infinite; }
@keyframes sc-row3 { 0%, 58% { --on: 0; } 62%, 90% { --on: 1; } 96%, 100% { --on: 0; } }
@keyframes sc-scan { 0% { translate: 0 0; opacity: 0; } 4%, 14% { translate: 0 0px; opacity: 1; } 20%, 30% { translate: 0 36px; opacity: 1; } 36%, 46% { translate: 0 72px; opacity: 1; } 52%, 62% { translate: 0 108px; opacity: 1; } 68%, 100% { translate: 0 108px; opacity: 0; } }
.sc-chips .chip-tw:nth-child(1) { animation: sc-chip0 8s infinite; }
@keyframes sc-chip0 { 0%, 6% { --on: 0; } 9%, 90% { --on: 1; } 96%, 100% { --on: 0; } }
.sc-chips .chip-tw:nth-child(2) { animation: sc-chip1 8s infinite; }
@keyframes sc-chip1 { 0%, 15% { --on: 0; } 18%, 90% { --on: 1; } 96%, 100% { --on: 0; } }
.sc-chips .chip-tw:nth-child(3) { animation: sc-chip2 8s infinite; }
@keyframes sc-chip2 { 0%, 24% { --on: 0; } 27%, 90% { --on: 1; } 96%, 100% { --on: 0; } }
.sc-chips .chip-tw:nth-child(4) { animation: sc-chip3 8s infinite; }
@keyframes sc-chip3 { 0%, 33% { --on: 0; } 36%, 90% { --on: 1; } 96%, 100% { --on: 0; } }
.sc-chips .chip-tw:nth-child(5) { animation: sc-chip4 8s infinite; }
@keyframes sc-chip4 { 0%, 42% { --on: 0; } 45%, 90% { --on: 1; } 96%, 100% { --on: 0; } }
.sc-chips .chip-tw:nth-child(6) { animation: sc-chip5 8s infinite; }
@keyframes sc-chip5 { 0%, 51% { --on: 0; } 54%, 90% { --on: 1; } 96%, 100% { --on: 0; } }
.sc-chips .chip-tw:nth-child(7) { animation: sc-chip6 8s infinite; }
@keyframes sc-chip6 { 0%, 60% { --on: 0; } 63%, 90% { --on: 1; } 96%, 100% { --on: 0; } }
.sc-deck .tw:nth-child(1) { animation-delay: 0s; }
.sc-deck .tw:nth-child(2) { animation-delay: -6s; }
.sc-deck .tw:nth-child(3) { animation-delay: -4s; }
.sc-deck .tw:nth-child(4) { animation-delay: -2s; }
.sc-detect .row:nth-child(2) { animation: sc-det0 8s infinite; }
@keyframes sc-det0 { 0%, 16% { opacity: 0; translate: 0 8px; --on: 0; } 20% { opacity: 1; translate: 0 0; --on: 0; } 24%, 90% { opacity: 1; translate: 0 0; --on: 1; } 96%, 100% { opacity: 0; translate: 0 0; --on: 0; } }
.sc-detect .row:nth-child(3) { animation: sc-det1 8s infinite; }
@keyframes sc-det1 { 0%, 28% { opacity: 0; translate: 0 8px; --on: 0; } 32% { opacity: 1; translate: 0 0; --on: 0; } 36%, 90% { opacity: 1; translate: 0 0; --on: 1; } 96%, 100% { opacity: 0; translate: 0 0; --on: 0; } }
.sc-detect .row:nth-child(4) { animation: sc-det2 8s infinite; }
@keyframes sc-det2 { 0%, 40% { opacity: 0; translate: 0 8px; --on: 0; } 44% { opacity: 1; translate: 0 0; --on: 0; } 48%, 90% { opacity: 1; translate: 0 0; --on: 1; } 96%, 100% { opacity: 0; translate: 0 0; --on: 0; } }

/* The sale (site.config.json › sale), only in builds while one runs: website/src/sale.css. */
/* A running sale (website/site.config.json › sale). website/build.mjs adds this to the stylesheet only while one runs,
   so without a sale the site's files are exactly as they are with none. A slim banner over the menu bar (linking to
   Pricing), and on Pricing the plan's card: a tag over it, the price struck through, the price with the code. The
   Christmas theme (.sale-christmas) keeps the site's dark purple and adds red, gold and green, the snowflake and a
   gentle snowfall that never takes a click and is off for reduced motion. */

:root {
  --sale-red: #e5484d;
  --sale-gold: #f6c453;
  --sale-green: #30a46c;
}

/* ---------------------------------------------------------------- the banner */

.sale-banner {
  position: relative; z-index: 6;
  color: var(--text); font-size: 14px; line-height: 1.45;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.3), rgba(219, 39, 119, 0.2)), var(--bg-deep);
  border-bottom: 1px solid var(--border-strong);
}
/* One line of text with the button after it, wrapping as text does (two lines on a phone). */
.sale-banner .page { text-align: center; padding-top: 9px; padding-bottom: 9px; }
.sale-banner .sale-copy { margin-left: 12px; vertical-align: middle; }
.sale-text { color: var(--text); text-decoration: none; }
.sale-text:hover { color: #ffffff; }
.sale-text:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.sale-text strong { color: #ffffff; font-weight: 600; }
.sale-more { color: var(--text2); }
.sale-emoji { font-size: 1.05em; }

/* The code, as a coupon: one click selects all of it. */
.sale-code {
  display: inline-block; margin: 0 1px; padding: 0 7px; border-radius: 6px;
  font: 700 0.92em/1.5 Consolas, "Cascadia Mono", ui-monospace, monospace; letter-spacing: 0.06em;
  color: #ffffff; background: rgba(255, 255, 255, 0.08); border: 1px dashed rgba(255, 255, 255, 0.35);
  -webkit-user-select: all; user-select: all;
}

/* Copy code: shown by assets/sale.js, so it's never a button that does nothing. */
.sale-copy {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 12px; border-radius: 999px; cursor: pointer;
  font: 600 12px/1 Poppins, "Segoe UI", system-ui, sans-serif; color: var(--text); white-space: nowrap;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.sale-copy:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.34); }
.sale-copy.copied { color: var(--success-text); border-color: rgba(74, 222, 128, 0.5); }
.sale-copy[hidden] { display: none; }
.sale-clip { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Christmas: the site's purple between a touch of red and of green, a red, gold and green ribbon along the foot, a gold code. */
.sale-banner.sale-christmas {
  border-bottom: 0;
  background:
    linear-gradient(90deg, rgba(229, 72, 77, 0.2), rgba(124, 58, 237, 0.26) 32%, rgba(124, 58, 237, 0.26) 68%, rgba(48, 164, 108, 0.2)),
    var(--bg-deep);
}
.sale-banner.sale-christmas::after {
  content: ""; position: absolute; inset: auto 0 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--sale-red), var(--sale-gold) 50%, var(--sale-green));
}
.sale-christmas .sale-code { color: var(--sale-gold); background: rgba(246, 196, 83, 0.1); border-color: rgba(246, 196, 83, 0.55); }

@media (max-width: 760px) {
  .sale-banner { font-size: 13px; }
  .sale-banner .page { padding-top: 8px; padding-bottom: 10px; }
}
/* On a phone the banner's button is its icon (its label stays for screen readers), so the banner keeps to two lines. */
@media (max-width: 480px) {
  .sale-banner .sale-copy { margin-left: 6px; padding: 4px 8px; }
  .sale-banner .sale-copy-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.sale-copy.copied svg { color: var(--success-text); }

/* ---------------------------------------------------------------- Pricing: the plan's card */

.plans .pill .sale-tag {
  position: absolute; z-index: 1; top: -14px; right: 18px;
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; color: #ffffff;
  background: linear-gradient(90deg, #7c3aed, #db2777); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.plans .pill .sale-tag.sale-christmas { background: linear-gradient(135deg, #a11d2b, #c92f3e); border: 1px solid rgba(246, 196, 83, 0.6); }
.plans .pill .sale-tag svg { color: var(--sale-gold); }
/* The usual price, struck through while the sale's tag is on the card (assets/sale.js removes the tag when it ends). */
.plans .pill .sale-tag ~ .price {
  margin-top: 8px; font-size: 20px; font-weight: 600; color: var(--text3);
  text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(229, 72, 77, 0.9);
}
.plans .sale-offer { display: grid; gap: 6px; margin: 2px 0 12px; }
.plans .sale-price { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 34px; font-weight: 700; line-height: 1.15; color: var(--text); }
.plans .sale-with { font-size: 14px; font-weight: 600; color: var(--text2); }
.plans .sale-how { font-size: 13px; color: var(--text2); }
.plans .sale-how strong { color: var(--text); font-weight: 600; }
.plans .sale-fine { font-size: 12px; color: var(--text3); }
/* The sale's lines make its card taller: every card's button lines up at the bottom. */
.plans .pills .pill { display: flex; flex-direction: column; }
.plans .pills .pill > .note { margin-bottom: 14px; }
.plans .pills .pill > .button { margin-top: auto; }

/* ---------------------------------------------------------------- the snow (Christmas)
   Two layers of small flakes falling slowly behind the top of the page (over the background's glow, under the text and
   the glass cards) and fading out below it, swaying a little. It never takes a click (pointer-events: none), falls for
   about three minutes and then fades away (no endless redraw on laptops, like the site's other motion), and reduced
   motion turns it off. */

.snow {
  position: absolute; z-index: -1; inset: 0 0 auto; height: min(100vh, 860px); overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000000 40%, transparent);
  mask-image: linear-gradient(#000000 40%, transparent);
  animation: snow-rest 2500ms ease 180s both;
}
.snow::before, .snow::after {
  content: ""; position: absolute; left: -16px; right: -16px; top: calc(-1 * var(--tile)); bottom: 0; pointer-events: none;
  background-size: var(--tile) var(--tile);
  animation: snow-fall var(--fall) linear var(--falls) both, snow-sway 7s ease-in-out infinite alternate;
}
.snow::before {
  --tile: 270px; --fall: 18s; --falls: 10;
  background-image:
    radial-gradient(circle at 40px 48px, rgba(255, 255, 255, 0.7) 0 1.5px, transparent 2.4px),
    radial-gradient(circle at 182px 26px, rgba(255, 255, 255, 0.55) 0 1.2px, transparent 2px),
    radial-gradient(circle at 112px 146px, rgba(255, 255, 255, 0.65) 0 1.7px, transparent 2.6px),
    radial-gradient(circle at 226px 214px, rgba(255, 255, 255, 0.5) 0 1.1px, transparent 1.9px);
}
.snow::after {
  --tile: 400px; --fall: 28s; --falls: 6;
  animation-direction: normal, alternate-reverse;
  background-image:
    radial-gradient(circle at 80px 70px, rgba(255, 255, 255, 0.4) 0 2.2px, transparent 3.4px),
    radial-gradient(circle at 290px 170px, rgba(255, 255, 255, 0.36) 0 2.5px, transparent 3.7px),
    radial-gradient(circle at 360px 350px, rgba(246, 196, 83, 0.32) 0 1.6px, transparent 2.6px);
}
@keyframes snow-fall { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, var(--tile), 0); } }
@keyframes snow-sway { from { translate: -8px 0; } to { translate: 8px 0; } }
@keyframes snow-rest { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
  .snow { display: none; }
}

@media print {
  .sale-banner, .snow, .sale-copy { display: none; }
}
