/* Tech Support by Westward: one stylesheet for every page.
   Look: grok.com's centered prompt home, restyled in Westward's neutral palette.
   Light and dark follow the system; the header toggle overrides it. */

:root {
  color-scheme: light;
  --bg: oklch(0.985 0 0);
  --surface: oklch(1 0 0);
  --sunk: oklch(0.955 0 0);
  --ink: oklch(0.17 0 0);
  --ink-2: oklch(0.44 0 0);
  --hair: oklch(0.17 0 0 / 0.1);
  --hair-2: oklch(0.17 0 0 / 0.18);
  --pill-bg: oklch(0.17 0 0);
  --pill-ink: oklch(0.99 0 0);
  --user: #2563eb;
  --user-ink: #1d4ed8;
  --careful: #b54708;
  --stop: #b42318;
  --ok: #067647;
  --glow: 37 99 235;
  --focus: #2563eb;
  --shadow: 0 1px 2px oklch(0 0 0 / 0.06), 0 8px 24px oklch(0 0 0 / 0.06);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-sticky: 10;
  --z-menu: 20;
  --z-banner: 30;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: oklch(0 0 0);
    --surface: oklch(0.19 0 0);
    --sunk: oklch(0.15 0 0);
    --ink: oklch(0.97 0.001 106);
    --ink-2: oklch(0.72 0 0);
    --hair: oklch(1 0 0 / 0.1);
    --hair-2: oklch(1 0 0 / 0.18);
    --pill-bg: oklch(1 0 0);
    --pill-ink: oklch(0 0 0);
    --user-ink: #93b4fb;
    --careful: #f79009;
    --stop: #f04438;
    --ok: #47cd89;
    --glow: 59 130 246;
    --focus: #60a5fa;
    --shadow: 0 0 0 1px oklch(1 0 0 / 0.04), 0 8px 24px oklch(0 0 0 / 0.5);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: oklch(0 0 0);
  --surface: oklch(0.19 0 0);
  --sunk: oklch(0.15 0 0);
  --ink: oklch(0.97 0.001 106);
  --ink-2: oklch(0.72 0 0);
  --hair: oklch(1 0 0 / 0.1);
  --hair-2: oklch(1 0 0 / 0.18);
  --pill-bg: oklch(1 0 0);
  --pill-ink: oklch(0 0 0);
  --user-ink: #93b4fb;
  --careful: #f79009;
  --stop: #f04438;
  --ok: #47cd89;
  --glow: 59 130 246;
  --focus: #60a5fa;
  --shadow: 0 0 0 1px oklch(1 0 0 / 0.04), 0 8px 24px oklch(0 0 0 / 0.5);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.022em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); line-height: 1.08; font-weight: 300; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem); line-height: 1.15; font-weight: 300; }
h3 { font-size: 1.125rem; line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0; max-width: 66ch; text-wrap: pretty; }
p + p { margin-top: 1em; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
code, kbd { font-family: var(--mono); font-size: 0.9375em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r-sm); }
.muted { color: var(--ink-2); }
.small { font-size: 0.875rem; line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -48px; padding: 8px 16px; background: var(--pill-bg); color: var(--pill-ink); border-radius: var(--r-pill); z-index: var(--z-banner); }
.skip:focus { top: 8px; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 48px, 1120px); margin-inline: auto; }
.narrow { width: min(100% - 48px, 720px); margin-inline: auto; }
@media (max-width: 600px) {
  .wrap, .narrow { width: min(100% - 32px, 1120px); }
}

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease);
}
.top.scrolled { border-bottom-color: var(--hair); }
.top .wrap { display: flex; align-items: center; gap: 8px; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 0.9375rem; letter-spacing: -0.01em; margin-right: auto; padding: 4px 8px 4px 0; }
.brand svg { width: 28px; height: 28px; }
.brand span small { font-weight: 400; color: var(--ink-2); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 0.875rem; font-weight: 500; padding: 8px 12px; border-radius: var(--r-pill); color: var(--ink-2); transition: color 150ms, background-color 150ms; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--sunk); }
.nav a.nav-signin { color: var(--ink); border: 1px solid var(--hair-2); margin-left: 4px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-pill); border: 0; background: transparent; color: var(--ink-2); cursor: pointer; transition: background-color 150ms, color 150ms; }
.icon-btn:hover { background: var(--sunk); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: block; }
}
.menu-btn { display: none; }
@media (max-width: 820px) {
  .menu-btn { display: inline-grid; }
  .nav {
    position: absolute; top: 56px; left: 0; right: 0; z-index: var(--z-menu);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--hair);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 8px; border-radius: var(--r-sm); font-size: 1.0625rem; color: var(--ink); }
  .nav a + a { border-top: 1px solid var(--hair); border-radius: 0; }
  .nav a.nav-signin { border: 0; border-top: 1px solid var(--hair); margin: 0; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-pill);
  font: 500 1rem/1 var(--font); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  border: 1px solid var(--hair-2); background: transparent; color: var(--ink); cursor: pointer;
  transition: transform 150ms var(--ease), background-color 150ms, opacity 150ms;
}
.btn:hover { background: var(--sunk); }
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--pill-bg); color: var(--pill-ink); border-color: var(--pill-bg); }
.btn.primary:hover { opacity: 0.88; }
.btn.big { min-height: 56px; padding: 0 32px; font-size: 1.0625rem; }
.btn.full { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: 0.5; cursor: progress; }
.linkish { background: none; border: 0; padding: 8px 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: pointer; min-height: 44px; }
.linkish:hover { text-decoration-thickness: 2px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cta-note { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5; max-width: 26ch; text-align: left; }
.cta-alt { font-size: 0.9375rem; color: var(--ink-2); }
.cta-alt a { color: var(--ink); }

/* ---------- bot ---------- */
.bot-svg .body { fill: #0b0b0b; stroke: #fff; stroke-width: 2.5; }
.bot-svg .eye { fill: #fff; transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }

/* ---------- home hero ---------- */
.hero { position: relative; padding: clamp(32px, 7vh, 72px) 0 32px; text-align: center; }
.hero .bot-svg { width: 56px; height: 56px; margin: 0 auto 24px; filter: drop-shadow(0 4px 12px oklch(0 0 0 / 0.18)); }
.hero h1 { max-width: 23ch; margin-inline: auto; }
.hero .sub { margin: 16px auto 0; font-size: 1.125rem; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }

.prompt { position: relative; width: min(100%, 640px); margin: 32px auto 0; }
.prompt::before {
  content: ""; position: absolute; inset: -1px; border-radius: var(--r-lg); pointer-events: none;
  box-shadow: 0 0 32px 4px rgb(var(--glow) / 0.22);
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.prompt form {
  position: relative; display: flex; align-items: center; gap: 8px;
  height: 64px; padding: 0 8px 0 24px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--hair-2);
  transition: border-color 150ms, box-shadow 150ms;
}
.prompt form:focus-within { border-color: var(--user); box-shadow: 0 0 0 3px rgb(var(--glow) / 0.2); }
.prompt label { position: absolute; }
.prompt input {
  flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none;
  font: 400 1.0625rem/1 var(--font); color: var(--ink);
}
.prompt input::placeholder { color: var(--ink-2); opacity: 1; transition: opacity 120ms; }
.prompt input.swap::placeholder { opacity: 0; }
.prompt button.go {
  flex: none; width: 48px; height: 48px; border-radius: var(--r-pill); border: 0;
  background: var(--pill-bg); color: var(--pill-ink); display: grid; place-items: center; cursor: pointer;
  transition: transform 150ms var(--ease), opacity 150ms;
}
.prompt button.go:hover { opacity: 0.88; }
.prompt button.go:active { transform: scale(0.94); }
.prompt button.go svg { width: 20px; height: 20px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px auto 0; max-width: 640px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  border: 1px solid var(--hair-2); background: transparent; color: var(--ink); font: 400 0.9375rem/1 var(--font); cursor: pointer;
  transition: background-color 150ms, border-color 150ms;
}
.chip:hover { background: var(--sunk); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--surface); }
.chip .tag { font-size: 0.75rem; color: var(--ink-2); }

.hero .cta-row { justify-content: center; margin-top: 32px; }
.hero .os-line { margin-top: 16px; font-size: 0.875rem; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
.hero .os-line svg { width: 16px; height: 16px; }

/* ---------- demo: scenario chips + the drawn screen ---------- */
.stage-wrap { padding: 16px 0 48px; }
.demo-h { text-align: center; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 16px; }
.scenarios { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 920px; margin: 0 auto 16px; }
.scenarios .chip { line-height: 1.2; }
.chip .tag { font: 500 0.6875rem/1 var(--mono); letter-spacing: 0.02em; padding: 4px 6px; border-radius: 6px; background: var(--ink); color: var(--bg); }
.chip[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 600px) {
  .scenarios { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -16px 12px; padding: 2px 16px 6px; scrollbar-width: none; }
  .scenarios::-webkit-scrollbar { display: none; }
  .scenarios .chip { flex: none; scroll-snap-align: start; }
}
.stage { position: relative; width: min(100%, 960px); margin: 0 auto; aspect-ratio: 960 / 560; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--hair-2); background: var(--sunk); }
@media (max-width: 600px) { .stage { aspect-ratio: 360 / 600; } }
.stage-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 16px; margin-top: 8px; }
.stage-caption { font-size: 0.875rem; color: var(--ink-2); text-align: center; }

.screen {
  /* the app (C): follows light and dark like the real app */
  --a-bg: #fafaf9; --a-surface: #fff; --a-ink: #0b0b0b; --a-ink2: #57534e; --a-hair: rgba(0, 0, 0, .08); --a-hair2: rgba(0, 0, 0, .16);
  --a-user: #2563eb; --a-careful: #b54708; --a-stop: #b42318; --a-ok: #067647; --a-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 12px 32px rgba(0, 0, 0, .12);
  /* the computer around it */
  --o-desk: #c5cfdb; --o-win: #fff; --o-side: #f2f2f4; --o-bar: #ececee; --o-ink: #1d1d1f; --o-ink2: #5f5f64; --o-line: rgba(0, 0, 0, .1); --o-row: #f4f4f6; --o-sel: #0a64d6;
  position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden;
  background: var(--o-desk); color: var(--o-ink); font: 400 13px/1.35 var(--font); letter-spacing: 0; text-align: left;
  user-select: none;
}
.screen.win { --o-desk: #d3dce7; }
:root[data-theme="dark"] .screen {
  --a-bg: #141414; --a-surface: #1c1c1c; --a-ink: #f5f5f4; --a-ink2: #a8a29e; --a-hair: rgba(255, 255, 255, .1); --a-hair2: rgba(255, 255, 255, .2);
  --a-user: #3b82f6; --a-careful: #f79009; --a-stop: #d92d20; --a-ok: #47cd89; --a-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .5);
  --o-desk: #1d2530; --o-win: #242424; --o-side: #2c2c2c; --o-bar: #303030; --o-ink: #f2f2f2; --o-ink2: #a1a1a6; --o-line: rgba(255, 255, 255, .1); --o-row: #2e2e2e;
}
:root[data-theme="dark"] .screen.win { --o-desk: #202a36; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .screen {
    --a-bg: #141414; --a-surface: #1c1c1c; --a-ink: #f5f5f4; --a-ink2: #a8a29e; --a-hair: rgba(255, 255, 255, .1); --a-hair2: rgba(255, 255, 255, .2);
    --a-user: #3b82f6; --a-careful: #f79009; --a-stop: #d92d20; --a-ok: #47cd89; --a-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .5);
    --o-desk: #1d2530; --o-win: #242424; --o-side: #2c2c2c; --o-bar: #303030; --o-ink: #f2f2f2; --o-ink2: #a1a1a6; --o-line: rgba(255, 255, 255, .1); --o-row: #2e2e2e;
  }
  :root:not([data-theme="light"]) .screen.win { --o-desk: #202a36; }
}
.screen svg { display: block; }
.screen .hide-n { display: inline; }
.screen.narrow .hide-n { display: none; }

/* Mac menu bar and dock */
.screen .mb { position: absolute; inset: 0 0 auto; height: 26px; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 0 12px; background: color-mix(in srgb, var(--o-win) 82%, transparent); font-size: 12px; font-weight: 500; }
.screen .mb b { font-weight: 700; }
.screen .mb-r { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.screen .tray { display: inline-flex; align-items: center; gap: 5px; padding: 2px 6px; border-radius: 5px; transition: background-color 150ms; }
.screen .tray svg { width: 16px; height: 16px; }
.screen .tray.on { background: color-mix(in srgb, var(--o-ink) 16%, transparent); }
.screen .dock { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 5; display: flex; gap: 8px; padding: 6px 8px; border-radius: 16px; background: color-mix(in srgb, var(--o-win) 72%, transparent); border: 1px solid var(--o-line); }
.screen .di { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--o-win); border: 1px solid var(--o-line); }
.screen .di svg { width: 20px; height: 20px; }

/* Windows taskbar and Start */
.screen .tb { position: absolute; inset: auto 0 0; height: 44px; z-index: 5; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--o-win) 90%, transparent); border-top: 1px solid var(--o-line); }
.screen .tb-mid { display: flex; align-items: center; gap: 6px; }
.screen .ti { width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; }
.screen .ti svg { width: 20px; height: 20px; }
.screen .tsearch { display: inline-flex; align-items: center; gap: 6px; width: 150px; height: 30px; padding: 0 12px; border-radius: 15px; background: var(--o-row); color: var(--o-ink2); font-size: 12px; }
.screen .tsearch svg, .screen .sm-search svg, .screen .wk-search svg { width: 14px; height: 14px; }
.screen .tb-r { position: absolute; right: 10px; top: 0; bottom: 0; display: flex; align-items: center; gap: 10px; font-size: 11px; line-height: 1.25; text-align: right; }
.screen .start { position: absolute; z-index: 4; left: 50%; bottom: 52px; width: 380px; padding: 16px; transform: translateX(-50%); border-radius: 10px; background: var(--o-win); box-shadow: 0 0 0 1px var(--o-line), 0 18px 40px rgba(0, 0, 0, .25); display: flex; flex-direction: column; gap: 12px; transition: opacity 220ms var(--ease), transform 220ms var(--ease); }
.screen .start.off { opacity: 0; transform: translate(-50%, 12px); }
.screen.narrow .start { width: 336px; }
.screen .sm-search { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 15px; background: var(--o-row); color: var(--o-ink2); font-size: 12px; }
.screen .start b { font-weight: 600; font-size: 12px; }
.screen .sm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.screen .sm-grid span { display: grid; justify-items: center; gap: 6px; padding: 8px 4px; border-radius: 6px; font-size: 11px; text-align: center; }
.screen .sm-grid svg { width: 24px; height: 24px; }

/* windows */
.screen .w { position: absolute; z-index: 1; display: flex; flex-direction: column; overflow: hidden; background: var(--o-win); border-radius: 10px; box-shadow: 0 0 0 1px var(--o-line), 0 18px 40px rgba(0, 0, 0, .22); transition: opacity 260ms var(--ease), transform 260ms var(--ease); }
.screen .w.off { opacity: 0; transform: translateY(8px) scale(.98); }
.screen.win .w { border-radius: 8px; }
.screen.wide .main-w { left: 28px; top: 44px; width: 600px; height: 420px; }
.screen.wide.win .main-w { top: 20px; height: 440px; }
.screen.narrow .main-w { left: 10px; top: 96px; width: 340px; height: 438px; }
.screen.narrow.win .main-w { top: 12px; height: 470px; }
.screen .side-w { z-index: 2; }
.screen.wide .side-w { left: 300px; top: 236px; width: 400px; height: 196px; }
.screen.narrow .side-w { left: 22px; top: 312px; width: 316px; height: 186px; }
.screen.narrow.win .side-w { top: 280px; }
.screen .w-title { height: 34px; flex: none; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: var(--o-bar); border-bottom: 1px solid var(--o-line); font-size: 12px; }
.screen .w-title > i { width: 11px; height: 11px; flex: none; border-radius: 50%; background: #ff5f57; }
.screen .w-title > i + i { background: #febc2e; }
.screen .w-title > i + i + i { background: #28c840; }
.screen .w-title b { margin: 0 auto; padding-right: 50px; font-weight: 600; }
.screen.win .w-title b { margin: 0 auto 0 0; padding: 0; }
.screen .wc { margin-left: auto; color: var(--o-ink2); font-size: 13px; word-spacing: 10px; white-space: nowrap; }
.screen .url { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 24px; min-width: 0; flex: 1; max-width: 340px; margin: 0 auto; padding: 0 12px; border-radius: 7px; background: var(--o-row); font-size: 12px; white-space: nowrap; overflow: hidden; }
.screen .url svg, .screen .url-in svg { width: 11px; height: 11px; color: var(--o-ink2); }
.screen .tab { display: inline-flex; align-items: center; gap: 10px; height: 26px; max-width: 220px; padding: 0 10px; border-radius: 7px; background: var(--o-win); font-size: 12px; white-space: nowrap; }
.screen .tab .x { width: 16px; text-align: center; color: var(--o-ink2); }
.screen .addr { flex: none; display: flex; align-items: center; height: 36px; padding: 0 10px; border-bottom: 1px solid var(--o-line); }
.screen .url-in { flex: 1; display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: 13px; background: var(--o-row); font-size: 12px; white-space: nowrap; overflow: hidden; }
.screen .w-body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }

/* Settings-style windows */
.screen .two { flex-direction: row; }
.screen .side { width: 190px; flex: none; display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; background: var(--o-side); border-right: 1px solid var(--o-line); }
.screen.win .side { background: var(--o-win); border-right: 0; }
.screen .side span { padding: 6px 10px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen .side span.sel { background: var(--o-sel); color: #fff; }
.screen.win .side span.sel { background: var(--o-row); color: var(--o-ink); font-weight: 600; }
.screen.narrow .side { width: 122px; font-size: 12px; padding: 8px 4px; }
.screen .main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; overflow: hidden; }
.screen .main h5 { margin: 0 0 4px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.screen.narrow .main { padding: 12px 10px; }
.screen.narrow .main h5 { font-size: 16px; }
.screen .row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 7px; background: var(--o-row); }
.screen .row small { display: block; color: var(--o-ink2); font-size: 11px; }
.screen .row .chev { margin-left: auto; color: var(--o-ink2); }
.screen .row.col { flex-direction: column; align-items: stretch; gap: 8px; }
.screen .aa { font-weight: 600; font-size: 15px; flex: none; }
.screen .aa small { display: inline; font-size: 10px; color: inherit; }
.screen .st { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 12px; color: var(--o-ink2); white-space: nowrap; }
.screen .st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9ca3af; }
.screen .st.warn::before { background: #e8a33b; }
.screen .st.ok::before { background: #28c840; }
.screen .st.lone { margin-left: 0; font-size: 14px; color: var(--o-ink); font-weight: 600; }
.screen .qb { gap: 8px; padding: 16px; align-items: flex-start; }
.screen .pv { padding: 12px; border-radius: 7px; background: var(--o-row); }
.screen .pv p { margin: 6px 0 0; font-size: 13px; line-height: 1.4; }
.screen .pv p.big { font-size: 18px; }
.screen.narrow .pv p.big { font-size: 16px; }
.screen .sl { display: flex; align-items: center; gap: 10px; }
.screen .sl .bigA { font-size: 18px; }
.screen .trk { position: relative; flex: 1; height: 4px; border-radius: 2px; background: var(--o-line); }
.screen .trk .fill { position: absolute; inset: 0; border-radius: 2px; background: #0a64d6; transform-origin: left center; transform: scaleX(.2); transition: transform 700ms var(--ease); }
.screen .trk .tk { position: absolute; inset: 0; transform: translateX(20%); transition: transform 700ms var(--ease); }
.screen .trk .th { position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #0a64d6; box-shadow: 0 0 0 3px var(--o-win); }
.screen .trk.up .fill { transform: scaleX(.62); }
.screen .trk.up .tk { transform: translateX(62%); }
.screen .apply { padding: 5px 14px; border-radius: 5px; border: 1px solid var(--o-line); background: var(--o-win); color: var(--o-ink2); transition: background-color 200ms, color 200ms; }
.screen .apply.on { background: #0a64d6; border-color: #0a64d6; color: #fff; }

/* web pages stay light, like most sites */
.screen .page { background: #fff; color: #202122; }
.screen .page.cl, .screen .page .cl { background: #faf9f5; }
.screen .pg-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; }
.screen .pg-doc { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 24px; }
.screen.narrow .pg-doc { padding: 16px; }
.screen .pg-h { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.screen .pg-mute { color: #5f5f5f; font-size: 12px; }
.screen .ln { display: block; width: 80%; height: 8px; border-radius: 4px; background: #ececec; }
.screen .pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 230px; height: 36px; padding: 0 16px; border-radius: 8px; border: 1px solid #d4d4d4; background: #fff; color: #111; font-weight: 500; white-space: nowrap; }
.screen .pbtn.sm { min-width: 0; height: 30px; padding: 0 12px; font-size: 12px; }
.screen .pbtn.dark { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
.screen .pbtn.red { background: #d92d20; border-color: #d92d20; color: #fff; min-width: 180px; }
.screen .set .pbtn, .screen .q .pbtn { background: var(--o-win); color: var(--o-ink); border-color: var(--o-line); }
.screen .pbtn .g { font: 700 15px/1 var(--font); color: #4285f4; }
.screen .cl-logo { font: 400 32px/1 Georgia, "Times New Roman", serif; letter-spacing: -0.02em; color: #1f1e1d; }
.screen .cl-greet { font: 400 24px/1.2 Georgia, "Times New Roman", serif; color: #3d3929; }
.screen .cl-box { position: relative; width: min(100%, 380px); height: 76px; padding: 10px 12px; border-radius: 14px; border: 1px solid #dad7cc; background: #fff; color: #77746b; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.screen .cl-send { position: absolute; right: 8px; bottom: 8px; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: #c96442; color: #fff; font-weight: 700; }
.screen .sheet { position: absolute; left: 50%; top: 50%; width: 270px; padding: 18px; display: flex; flex-direction: column; gap: 8px; transform: translate(-50%, -50%); border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 16px 40px rgba(0, 0, 0, .2); transition: opacity 220ms var(--ease), transform 220ms var(--ease); }
.screen .sheet.off { opacity: 0; transform: translate(-50%, -46%); }
.screen .field { display: flex; align-items: center; height: 34px; padding: 0 10px; border-radius: 6px; border: 1px solid #b9b9b9; background: #fff; color: #555; letter-spacing: 0.12em; transition: box-shadow 150ms; }
.screen .field.wide { width: min(100%, 300px); letter-spacing: 0; }
.screen .field.on { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37, 99, 235, .3); }
.screen .code { font-variant-ligatures: none; display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 8px; background: #1f1e1d; color: #f5f4ef; font: 12px/1.45 var(--mono); }
.screen .code code { flex: 1; font-size: inherit; overflow-wrap: anywhere; }
.screen .code .pbtn { background: transparent; color: #f5f4ef; border-color: #57534e; }
.screen .tm { display: block; padding: 10px 12px; background: #1e1e1e; color: #e5e5e5; font: 12px/1.6 var(--mono); overflow: hidden; overflow-wrap: anywhere; }
.screen .tm .pr { color: #8fd18f; }
.screen .tm .ok { color: #8fd18f; }
.screen .caret { display: inline-block; width: 7px; height: 13px; margin-left: 1px; vertical-align: -2px; background: currentColor; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.screen .tx-banner { padding: 8px; background: #fde047; color: #111; font-weight: 700; text-align: center; }
.screen .wk-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #eaecf0; }
.screen .wk-logo { font: 400 17px/1 Georgia, "Times New Roman", serif; }
.screen .wk-search { flex: 1; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid #a2a9b1; border-radius: 3px; background: #fff; color: #202122; min-width: 0; }
.screen .wk-search .ph { color: #72777d; }
.screen .wk-search.nt { flex: none; width: min(100%, 320px); border-radius: 18px; color: #72777d; }
.screen .wk-body { flex: 1; display: flex; min-height: 0; }
.screen .wk-menu { width: 140px; flex: none; display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; color: #3366cc; font-size: 12px; }
.screen.narrow .wk-menu { width: 96px; padding: 12px 8px 12px 10px; font-size: 11px; }
.screen.narrow .wk-logo { display: none; }
.screen .wk-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 12px 4px; }
.screen .wk-h { font: 400 20px/1.2 Georgia, "Times New Roman", serif; }
.screen .wk-h.big { font-size: 28px; align-self: flex-start; }
.screen .wk-card { display: flex; flex-direction: column; gap: 7px; padding: 10px; border: 1px solid #c8ccd1; background: #f8f9fa; }
.screen .wk-card b { font-weight: 600; }
.screen .wk-art { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 18px; }
.screen .wk-art p { margin: 0; }
.screen .moon { position: absolute; right: 18px; top: 66px; width: 72px; height: 72px; border-radius: 50%; background: #cfcfcf; box-shadow: inset -10px -6px 0 #b5b5b5, inset 14px 10px 0 #dedede; }
.screen .scam { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; background: #0b4fbf; color: #fff; text-align: center; }
.screen .scam b { padding: 6px 12px; background: #d92d20; font-size: 18px; letter-spacing: 0.02em; }
.screen .scam p { margin: 0; }
.screen .scam .num { font-size: 26px; font-weight: 700; }
.screen.narrow .scam b { font-size: 15px; }

/* C, the helper, and its pieces: copied from the app */
.screen .c-bot { position: absolute; left: 0; top: 0; z-index: 8; width: 36px; height: 36px; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .18)); will-change: transform; pointer-events: none; }
.screen .c-bot svg { width: 36px; height: 36px; transform-origin: 50% 100%; transition: transform 120ms var(--ease); }
.screen .c-bot.squash svg { transform: scale(1.12, .84); }
.screen .rip { position: absolute; z-index: 7; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 2px solid var(--a-ink); pointer-events: none; animation: rip 420ms ease-out forwards; }
.screen .rip.you { border-color: var(--a-user); border-width: 3px; }
@keyframes rip { from { transform: scale(.2); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.screen .c-bubble { position: absolute; left: 0; top: 0; z-index: 9; max-width: 270px; padding: 10px 14px; border-radius: 14px; background: var(--a-surface); border: 1px solid var(--a-hair2); box-shadow: var(--a-shadow); color: var(--a-ink); font-size: 15px; line-height: 1.35; animation: rise 150ms var(--ease); }
.screen.narrow .c-bubble { max-width: 240px; }
.screen .c-bubble .wd { color: color-mix(in srgb, var(--a-ink) 38%, transparent); transition: color 140ms; }
.screen .c-bubble .wd.said { color: var(--a-ink); }
.screen .c-you { position: absolute; left: 0; top: 0; z-index: 10; width: 18px; height: 24px; transition: transform 600ms var(--ease); pointer-events: none; }
.screen .c-you svg { width: 18px; height: 24px; }
.screen .c-panel { position: absolute; z-index: 8; width: 290px; display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 12px; background: var(--a-bg); border: 1px solid var(--a-hair2); border-radius: 16px; box-shadow: var(--a-shadow); color: var(--a-ink); font-size: 14px; line-height: 1.4; animation: open 160ms var(--ease); }
.screen.mac .c-panel { top: 34px; right: 12px; transform-origin: top right; }
.screen.win .c-panel { bottom: 52px; right: 12px; transform-origin: bottom right; }
.screen.narrow .c-panel { width: 340px; right: 10px; }
.screen .p-head { display: flex; justify-content: space-between; align-items: center; }
.screen .p-close { font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.screen .mono { font: 500 11px/14px var(--mono); letter-spacing: 0.02em; color: var(--a-ink2); }
.screen .msg { max-width: 88%; padding: 8px 12px; border-radius: 14px; animation: rise 150ms var(--ease); }
.screen .msg.bot { align-self: flex-start; background: var(--a-surface); border: 1px solid var(--a-hair); }
.screen .msg.me { align-self: flex-end; background: var(--a-user); color: #fff; }
.screen .c-plan { padding: 10px 12px; border-radius: 14px; background: var(--a-surface); border: 1px solid var(--a-hair); animation: rise 150ms var(--ease); }
.screen .c-plan ol { margin: 0; padding-left: 20px; color: var(--a-ink2); }
.screen .c-plan li { animation: rise 150ms var(--ease) both; }
.screen .verdict b { display: block; font-size: 17px; font-weight: 600; color: var(--a-careful); }
.screen .verdict.bad b { color: var(--a-stop); }
.screen .verdict.ok b { color: var(--a-ok); }
.screen .verdict ul { margin: 6px 0 0; padding-left: 18px; color: var(--a-ink2); }
.screen .chs { display: flex; flex-direction: column; gap: 6px; animation: rise 150ms var(--ease); }
.screen .ch { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--a-hair2); background: var(--a-surface); }
.screen .ch.rec { border-color: var(--a-ink); box-shadow: inset 0 0 0 1px var(--a-ink); }
.screen .tg { font: 500 10px/14px var(--mono); padding: 2px 6px; border-radius: 6px; background: var(--a-ink); color: var(--a-bg); }
.screen .c-pill { position: absolute; z-index: 8; width: 320px; height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 10px; background: var(--a-bg); border: 1px solid var(--a-hair2); border-radius: 999px; box-shadow: var(--a-shadow); color: var(--a-ink); animation: rise 150ms var(--ease); }
.screen.mac .c-pill { top: 34px; right: 12px; }
.screen.win .c-pill { bottom: 52px; right: 12px; }
.screen.narrow .c-pill { width: 340px; right: 10px; }
.screen .c-pill > svg { width: 28px; height: 28px; flex: none; }
.screen .c-pill .what { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.screen .c-pill .what span:last-child { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen .c-pill .stop { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 10px; background: var(--a-stop); color: #fff; font-weight: 600; font-size: 14px; }
.screen .c-pill .stop i { width: 10px; height: 10px; border-radius: 2px; background: #fff; }
.screen .c-card { position: absolute; left: 0; top: 0; z-index: 9; width: 300px; padding: 16px; background: var(--a-surface); border: 1px solid var(--a-hair2); border-radius: 16px; box-shadow: var(--a-shadow); color: var(--a-ink); animation: rise 150ms var(--ease); }
.screen .c-card h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--a-careful); }
.screen .c-card .detail { margin: 6px 0 8px; color: var(--a-ink2); font-size: 13px; }
.screen .c-card .small { margin: 0 0 12px; color: var(--a-ink2); font-size: 12px; }
.screen .c-card .yes { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 12px; background: var(--a-ink); color: var(--a-bg); font-weight: 600; font-size: 15px; }
.screen .c-card .no { display: block; margin-top: 4px; padding: 6px; text-align: center; font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } }
@keyframes open { from { opacity: 0; transform: scale(.98); } }
.screen .c-bubble, .screen .c-card { animation-name: fade; }
@keyframes fade { from { opacity: 0; } }


/* ---------- sections ---------- */
.sec { padding: clamp(64px, 10vw, 112px) 0; border-top: 1px solid var(--hair); }
.sec-head { max-width: 640px; }
.sec-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.0625rem; }
.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }

.asks { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 40px 0 0; padding: 0; list-style: none; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.4; }
.asks li { color: var(--ink); }
.asks li::before { content: "\201C"; color: var(--ink-2); }
.asks li::after { content: "\201D"; color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; padding: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; gap: 16px; }
.steps figure { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-md); border: 1px solid var(--hair); background: var(--sunk); overflow: hidden; display: grid; place-items: center; }
.steps figure svg { width: 100%; height: 100%; }
.steps p { font-size: 1.0625rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 40px; } .steps figure { aspect-ratio: 16 / 10; } }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split figure { margin: 0; border-radius: var(--r-md); border: 1px solid var(--hair); overflow: hidden; background: var(--sunk); aspect-ratio: 16 / 11; }
.split figure svg { width: 100%; height: 100%; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.promise { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; max-width: 640px; }
.promise li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--hair); font-size: 1.0625rem; }
.promise li:last-child { border-bottom: 1px solid var(--hair); }
.promise svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--ok); }
.note-line { margin-top: 24px; color: var(--ink-2); }
.links-row { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; }
.links-row a { font-weight: 500; }

/* price */
.price-block { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; padding: 32px; border: 1px solid var(--hair-2); border-radius: var(--r-md); background: var(--surface); margin-top: 40px; }
.price-big { font-family: var(--font-display); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
.price-big small { font-size: 1.125rem; letter-spacing: -0.01em; color: var(--ink-2); font-weight: 400; }
.price-terms { margin-top: 12px; color: var(--ink-2); }
@media (max-width: 700px) { .price-block { grid-template-columns: 1fr; padding: 24px; } }

/* FAQ */
.faq { margin-top: 32px; max-width: 760px; }
.faq details { border-top: 1px solid var(--hair); }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-size: 1.0625rem; font-weight: 500; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; color: var(--ink-2); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); }

.final { text-align: center; }
.final .cta-row { justify-content: center; margin-top: 32px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--hair); padding: 40px 0 48px; font-size: 0.875rem; color: var(--ink-2); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot nav a { text-decoration: none; padding: 8px 0; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.foot nav a:hover { text-decoration: underline; }
.foot .who { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.foot .who svg { width: 22px; height: 22px; }

/* ---------- inner pages ---------- */
.page-head { padding: clamp(48px, 8vw, 88px) 0 24px; }
.page-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; }
.prose h2 { font-size: 1.5rem; margin: 48px 0 12px; font-weight: 400; }
.prose h3 { margin: 24px 0 8px; }
.prose ul { padding-left: 1.25em; max-width: 66ch; }
.prose li + li { margin-top: 8px; }
.prose { padding-bottom: 80px; }

/* pricing */
.seg { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--sunk); border: 1px solid var(--hair); margin: 0; }
.seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seg label { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 20px; border-radius: var(--r-pill); cursor: pointer; font-weight: 500; font-size: 0.9375rem; color: var(--ink-2); }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.seg .save { font-size: 0.8125rem; color: var(--ok); font-weight: 500; }
.plan { width: min(100%, 480px); margin: 32px auto 0; padding: 32px; border: 1px solid var(--hair-2); border-radius: var(--r-md); background: var(--surface); text-align: left; }
.plan .price-big { font-size: 3.5rem; }
.plan .then { margin-top: 8px; font-size: 1.0625rem; }
.plan ul { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; }
.plan li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--ok); }
.plan li.limit { font-weight: 600; }
.plan .terms { margin-top: 16px; font-size: 0.9375rem; color: var(--ink-2); }
.plan .billed-as { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 0.875rem; color: var(--ink-2); }
.facts { max-width: 720px; margin: 64px auto 80px; }
.facts dl { margin: 0; }
.facts dt { font-weight: 600; margin-top: 24px; }
.facts dd { margin: 4px 0 0; color: var(--ink-2); max-width: 66ch; }

/* download */
.dl-hero { text-align: center; padding: clamp(40px, 7vw, 80px) 0 32px; }
.dl-hero .cta-row { justify-content: center; margin-top: 32px; }
.dl-hero .seg { margin-top: 24px; }
.guide { list-style: none; padding: 0; margin: 40px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 24px; }
.guide li { display: flex; flex-direction: column; gap: 12px; }
.guide figure { margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--hair); background: var(--sunk); aspect-ratio: 4 / 3; }
.guide figure svg { width: 100%; height: 100%; }
.guide p { font-size: 1.0625rem; }
.guide p b { font-weight: 600; }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--hair-2); font-size: 0.875rem; font-weight: 600; margin-right: 8px; vertical-align: 1px; }
.why { max-width: 66ch; margin: 24px auto 0; color: var(--ink-2); text-align: center; }
.oneline { margin-top: 40px; padding: 24px; border: 1px solid var(--hair-2); border-radius: var(--r-md); background: var(--surface); }
.oneline h2 { font-size: 1.375rem; font-weight: 400; }
.oneline p { margin-top: 8px; color: var(--ink-2); }
.cmd { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 8px 8px 16px; border-radius: var(--r-sm); background: var(--sunk); border: 1px solid var(--hair); }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; padding: 8px 0; font-size: 0.9375rem; }
.cmd .btn { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; flex: none; }
.guide-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); max-width: 960px; }
.guide li p .btn { min-height: 44px; }
.dl-promise { max-width: 52ch; margin: 24px auto 0; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5; }
.dl-promise a { color: var(--ink); font-weight: 500; }
.after-guide { padding-bottom: 96px; }
.checkin .checkin-btns { margin-top: 16px; }
.checkin h3 { margin-top: 32px; }
.checkin-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.checkin-thanks { color: var(--ink); }
.next-steps { margin: 8px 0 0; padding-left: 1.25em; color: var(--ink-2); line-height: 1.6; }
.next-steps li + li { margin-top: 4px; }
.cmd-details summary { cursor: pointer; font-size: 1.0625rem; font-weight: 500; min-height: 44px; display: flex; align-items: center; }
.cmd-details[open] summary { margin-bottom: 4px; }

/* security table */
.who-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 1rem; }
.who-table th, .who-table td { text-align: left; vertical-align: top; padding: 16px 16px 16px 0; border-top: 1px solid var(--hair); }
.who-table thead th { font-size: 0.875rem; color: var(--ink-2); font-weight: 500; border-top: 0; }
.who-table tbody th { font-weight: 600; width: 26%; }
@media (max-width: 640px) {
  .who-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .who-table tr { display: block; border-top: 1px solid var(--hair); padding: 16px 0; }
  .who-table th, .who-table td { display: block; border: 0; padding: 4px 0; width: auto !important; }
  .who-table td::before { content: attr(data-label) ": "; color: var(--ink-2); }
}
.never { list-style: none; padding: 0; margin: 24px 0 0; max-width: 720px; }
.never li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--hair); }
.never li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--stop); }
.yes-demo { margin-top: 24px; width: min(100%, 360px); padding: 20px; border-radius: var(--r-md); background: var(--surface); border: 2px solid var(--careful); box-shadow: var(--shadow); }
.yes-demo .t { font-weight: 600; }
.yes-demo .d { margin-top: 4px; color: var(--ink-2); font-size: 0.9375rem; }
.yes-demo .r { margin-top: 8px; font-size: 0.9375rem; }
.yes-demo .fake-yes { margin-top: 16px; display: grid; place-items: center; min-height: 48px; border-radius: var(--r-sm); background: #0b0b0b; color: #fff; font-weight: 500; }
:root[data-theme="dark"] .yes-demo .fake-yes { background: #f5f5f4; color: #0b0b0b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .yes-demo .fake-yes { background: #f5f5f4; color: #0b0b0b; } }
.yes-demo .fake-no { margin-top: 8px; text-align: center; padding: 8px; }

/* account */
.acct { width: min(100% - 32px, 440px); margin: 0 auto; padding: clamp(40px, 8vw, 88px) 0 96px; }
.acct h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.5rem); }
.acct .lede { margin-top: 12px; color: var(--ink-2); }
.acct .stack { display: grid; gap: 12px; margin-top: 32px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 500; }
.field .why { margin: 0; text-align: left; font-size: 0.875rem; }
.field input {
  height: 52px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--hair-2); background: var(--surface); color: var(--ink);
  font: 400 1.0625rem/1 var(--font);
}
.field input:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.field input[aria-invalid="true"] { border-color: var(--stop); }
.field .err { color: var(--stop); font-size: 0.9375rem; display: flex; gap: 8px; }
.field input.code { letter-spacing: 0.3em; font-family: var(--mono); font-size: 1.25rem; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 0.875rem; margin: 8px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--hair); }
.g-mark { width: 20px; height: 20px; }
.panel { margin-top: 32px; padding: 24px; border-radius: var(--r-md); border: 1px solid var(--hair-2); background: var(--surface); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.status.warn::before { background: var(--careful); }
.status.off::before { background: var(--ink-2); }
.meter { margin-top: 16px; }
.meter .bar { height: 8px; border-radius: 8px; background: var(--sunk); overflow: hidden; border: 1px solid var(--hair); margin-top: 8px; }
.meter .bar i { display: block; height: 100%; background: var(--ink); border-radius: 8px; }
.notice { margin-top: 24px; padding: 16px; border-radius: var(--r-sm); background: var(--sunk); border: 1px solid var(--hair); }
.notice.bad { border-color: color-mix(in oklch, var(--stop) 50%, transparent); }
.notice p + .btn, .notice p + .cta-row { margin-top: 12px; }
.confirm { margin-top: 24px; padding: 24px; border-radius: var(--r-md); border: 1px solid var(--hair-2); background: var(--surface); box-shadow: var(--shadow); }
.confirm h2 { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.015em; }
.confirm p { margin-top: 8px; color: var(--ink-2); }
.confirm .stack { margin-top: 20px; }
.planpick { display: grid; gap: 8px; margin-top: 24px; border: 0; padding: 0; }
.planpick legend { font-weight: 500; margin-bottom: 8px; padding: 0; }
.planpick label { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--hair-2); cursor: pointer; background: var(--surface); }
.planpick label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.planpick input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.planpick .pp-main { flex: 1; }
.planpick .pp-sub { display: block; font-size: 0.875rem; color: var(--ink-2); }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--hair-2); border-top-color: var(--ink); animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: flex; gap: 12px; align-items: center; color: var(--ink-2); }

/* fixed log */
.fixlog { list-style: none; padding: 0; margin: 24px 0 96px; max-width: 720px; }
.fixlog li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--hair); }
.fixlog time { color: var(--ink-2); font-size: 0.9375rem; }
@media (max-width: 520px) { .fixlog li { grid-template-columns: 1fr; gap: 4px; } }
.empty { margin: 24px 0 96px; padding: 32px; border-radius: var(--r-md); border: 1px dashed var(--hair-2); max-width: 720px; display: flex; gap: 20px; align-items: center; }
.empty .bot-svg { width: 44px; height: 44px; flex: none; }

/* consent */
.consent {
  position: fixed; z-index: var(--z-banner); left: 16px; right: 16px; bottom: 16px; margin-inline: auto; width: min(100% - 32px, 640px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 12px 12px 12px 20px;
  border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--hair-2); box-shadow: var(--shadow);
  font-size: 0.9375rem; line-height: 1.5;
}
.consent p { flex: 1 1 260px; }
.consent .btns { display: flex; gap: 8px; }
.consent .btn { min-height: 44px; padding: 0 16px; font-size: 0.9375rem; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

/* drawn product pictures (home) follow the theme */
.il-bar { fill: var(--sunk); }
.il-card { fill: var(--surface); stroke: var(--hair-2); }
.il-btn { fill: var(--sunk); stroke: var(--hair); }
.il-bub { fill: var(--surface); stroke: var(--hair-2); }
.il-in { fill: var(--sunk); stroke: var(--hair-2); }
.il-t { fill: var(--ink); }
.il-m { fill: var(--ink-2); }
.il-hl { fill: rgb(var(--glow) / 0.2); }
.steps svg text, .split svg text { font-family: var(--font); }

/* two-column sections on wide screens: heading left, content right */
.cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.cols > .sec-head { position: sticky; top: 88px; }
.cols .asks, .cols .promise, .cols .price-block, .cols .faq { margin-top: 0; }
.cols .asks { flex-direction: column; gap: 8px; }
@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr; }
  .cols > .sec-head { position: static; }
}
.sec { padding: clamp(56px, 8vw, 96px) 0; }
.hero .cta-alt, .final .cta-alt { margin: 12px auto 0; }
@media (max-width: 600px) {
  .hero .cta-row, .final .cta-row, .dl-hero .cta-row { flex-direction: column; gap: 12px; }
  .hero .cta-note, .final .cta-note, .dl-hero .cta-note { text-align: center; max-width: 30ch; }
}
.prose ul.never { padding-left: 0; }
.cta-row .cta-note { margin: 0; }
.dl-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.nowrap { white-space: nowrap; }
@media (max-width: 600px) { .cmd code { white-space: normal; overflow-wrap: anywhere; } }
/* keep the footer still while account and fixes load (no layout shift) */
main.acct { min-height: calc(100svh - 56px); }
.narrow[aria-live] { min-height: 60svh; }
.plan { width: min(100% - 32px, 480px); }
.facts { width: min(100% - 32px, 720px); }
@media (max-width: 600px) { .plan { padding: 24px; } }
/* onboarding: a Back on every step */
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -8px 0 16px; padding: 0 12px 0 0; border: 0; background: none; color: var(--ink-2); font: 500 0.9375rem/1 var(--font); cursor: pointer; text-underline-offset: 3px; }
.back:hover { color: var(--ink); text-decoration: underline; }
.back.inline { margin: 0; }

/* Windows: one calm step instead of four */
.one-step { max-width: 560px; margin: 24px auto 12px; }
.one-step svg { width: 100%; height: auto; border-radius: 12px; display: block; }
.one-step figcaption { margin-top: 14px; font-size: 1.0625rem; line-height: 1.6; text-align: center; }
