/* ──────────────────────────────────────────────────────────
   TapTalk — marketing site
   Design tokens ported from src/app.css
   ────────────────────────────────────────────────────────── */

:root,
:root[data-theme="light"] {
  --bg: #f6f6f8;
  --bg-elevated: #ffffff;
  --bg-surface: #ffffff;
  --bg-hover: #eeeef2;
  --bg-tint: #f0f0f4;
  --border: #e4e4e9;
  --border-subtle: #ececf0;
  --text: #0b0b10;
  --text-secondary: #36363d;
  --text-tertiary: #6f6f78;
  --text-quaternary: #b5b5be;
  --accent: #0b0b10;
  --accent-subtle: rgba(0, 0, 0, 0.05);
  --danger: #d23438;
  --success: #1a8f4a;
  --recording: #ff3b30;

  --shadow-xs: 0 1px 2px rgba(11, 11, 16, 0.04);
  --shadow-sm: 0 2px 6px rgba(11, 11, 16, 0.05), 0 1px 2px rgba(11, 11, 16, 0.03);
  --shadow-md: 0 14px 36px -12px rgba(14, 14, 22, 0.14), 0 3px 8px rgba(14, 14, 22, 0.05);
  --shadow-lg: 0 40px 80px -24px rgba(14, 14, 22, 0.22), 0 10px 28px -10px rgba(14, 14, 22, 0.12);
  --shadow-pill-light: 0 4px 14px rgba(0, 0, 0, 0.14), 0 1px 2px rgba(0, 0, 0, 0.08);
  --shadow-pill-dark: 0 6px 20px rgba(0, 0, 0, 0.55);

  --grad-hero: radial-gradient(900px 500px at 50% -10%, rgba(11, 11, 16, 0.05), transparent 60%);
  --grid-line: rgba(11, 11, 16, 0.04);
}

:root[data-theme="dark"] {
  --bg: #000000;
  --bg-elevated: #0e0e10;
  --bg-surface: #161618;
  --bg-hover: #1d1d20;
  --bg-tint: #0a0a0c;
  --border: #232327;
  --border-subtle: #1a1a1d;
  --text: #ffffff;
  --text-secondary: #b0b0b8;
  --text-tertiary: #707078;
  --text-quaternary: #4a4a52;
  --accent: #ffffff;
  --accent-subtle: rgba(255, 255, 255, 0.06);
  --danger: #ff5e5e;
  --success: #4cd47a;
  --recording: #ff3b30;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 16px 40px -16px rgba(0, 0, 0, 0.7), 0 4px 10px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 50px 100px -30px rgba(0, 0, 0, 0.9), 0 16px 36px -12px rgba(0, 0, 0, 0.6);

  --grad-hero: radial-gradient(900px 500px at 50% -10%, rgba(255, 255, 255, 0.05), transparent 60%);
  --grid-line: rgba(255, 255, 255, 0.04);
}

:root {
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  --font-editorial: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Fira Code", monospace;
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
  --max-narrow: 920px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  font-feature-settings: "ss01", "cv11", "calt";
  overflow-x: hidden;
  scrollbar-color: var(--border) var(--bg);
}
body {
  padding-top: var(--nav-page-offset, 58px);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }
::selection { background: var(--text); color: var(--bg); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track,
::-webkit-scrollbar-corner { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }

/* ─────────────── Type ─────────────── */
h1, h2, h3, h4 { letter-spacing: -0.028em; line-height: 1.08; color: var(--text); font-weight: 600; }
h1, h2 { font-family: var(--font-editorial); font-weight: 500; letter-spacing: -0.045em; }
h1 { font-size: clamp(44px, 6.6vw, 84px); letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.08; letter-spacing: -0.035em; }
h3 { font-size: 18px; letter-spacing: -0.015em; }
h4 { font-size: 15px; }

.kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

kbd {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.84em;
  color: var(--text);
  margin: 0 2px;
  line-height: 1.4;
}

/* ─────────────── Logo ─────────────── */
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  color: var(--text);
  flex: 0 0 auto;
}
.logo-mark svg { width: 100%; height: auto; display: block; }
.logo-mark.sm { width: 20px; height: 20px; }
.logo-text {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ─────────────── Buttons ─────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1), background 200ms ease, border-color 200ms ease, color 200ms ease;
  white-space: nowrap;
  user-select: none;
  will-change: transform;
}
.btn:active { transform: translateY(0) scale(0.985); transition-duration: 90ms; }
.btn svg { width: 14px; height: 14px; transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1); }
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: color-mix(in oklab, var(--text) 88%, var(--text-secondary));
}
.btn-primary:hover svg { transform: translate(2px, -2px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-subtle);
}
.btn-ghost:hover {
  background: var(--bg-elevated);
  border-color: var(--border);
  transform: translateY(-1px);
}
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.nav .btn-sm { height: var(--nav-control-size, 34px); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 14.5px; }

/* ─────────────── NAV ─────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--nav-shell-pad-y, 0px) var(--nav-shell-pad-x, 0px);
  background: color-mix(in oklab, var(--bg) var(--nav-shell-bg-solid, 100%), transparent);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  width: var(--nav-width, 100%);
  max-width: none;
  margin: 0 auto;
  padding: var(--nav-pad-y, 12px) var(--nav-pad-x, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  isolation: isolate;
  border: 1px solid color-mix(in oklab, var(--border) var(--nav-border-mix, 0%), transparent);
  border-radius: var(--nav-radius, 0px);
  background: color-mix(in oklab, var(--bg) var(--nav-bg-solid, 100%), var(--bg-elevated) var(--nav-bg-mix, 0%));
  box-shadow: 0 16px 46px color-mix(in oklab, var(--text) var(--nav-shadow-mix, 0%), transparent);
  backdrop-filter: saturate(var(--nav-saturate, 120%)) blur(max(var(--nav-blur, 2px), 10px));
  -webkit-backdrop-filter: saturate(var(--nav-saturate, 120%)) blur(max(var(--nav-blur, 2px), 10px));
  overflow: visible;
}
.nav-inner::before,
.nav-inner::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  width: calc(50% + 1px);
  z-index: -1;
  opacity: calc(var(--nav-glass-opacity, 0) * 0.28);
  pointer-events: none;
  background: color-mix(in oklab, var(--bg-elevated) 54%, transparent);
  border: 1px solid transparent;
  box-shadow: none;
}
.nav-inner::before {
  left: -1px;
  border-right: 0;
  border-radius: var(--nav-left-radius, 0);
  transform: translateX(var(--nav-left-shift, -86px)) scaleX(var(--nav-side-scale, 0.86));
  transform-origin: 100% 50%;
}
.nav-inner::after {
  right: -1px;
  border-left: 0;
  border-radius: var(--nav-right-radius, 0);
  transform: translateX(var(--nav-right-shift, 86px)) scaleX(var(--nav-side-scale, 0.86));
  transform-origin: 0 50%;
}
.nav-inner > * {
  position: relative;
  z-index: 1;
}
.brand { display: flex; align-items: center; gap: 10px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links > a,
.nav-menu-trigger {
  padding: 7px 13px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-secondary);
  border: 0;
  background: transparent;
  font-family: var(--font);
  cursor: pointer;
  transition: color var(--transition);
}
.nav-links > a:hover,
.nav-links > a[aria-current],
.nav-item:hover .nav-menu-trigger,
.nav-menu-trigger:focus-visible {
  color: var(--text);
  background: transparent;
}

.nav-item {
  position: relative;
  padding: 10px 0;
}
.nav-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  min-width: 300px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: color-mix(in oklab, var(--bg-elevated) 94%, transparent);
  box-shadow: 0 24px 58px -34px color-mix(in oklab, var(--text) 36%, transparent);
  backdrop-filter: saturate(145%) blur(28px);
  -webkit-backdrop-filter: saturate(145%) blur(28px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px) scale(0.98);
  transform-origin: 50% 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1), visibility 160ms ease;
}
:root[data-theme="dark"] .nav-menu {
  background: color-mix(in oklab, var(--bg-elevated) 92%, transparent);
  box-shadow: 0 16px 38px -32px rgba(0, 0, 0, 0.62);
}
.nav-item.is-open .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}
.nav-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.nav-menu-product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
.nav-menu-product a {
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background var(--transition), color var(--transition);
}
.nav-menu-product a:hover,
.nav-menu-usecases a:hover {
  background: color-mix(in oklab, var(--text) 7%, transparent);
}
.nav-menu-product span,
.nav-menu-usecases a {
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-menu-product small {
  font-size: 13px;
  color: var(--text-tertiary);
}
.nav-menu-usecases {
  min-width: 278px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
.nav-menu-usecases a {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
}

.nav-cta { display: flex; align-items: center; gap: 8px; }
.theme-toggle {
  width: var(--nav-control-size, 34px); height: var(--nav-control-size, 34px);
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.theme-toggle svg { width: 14px; height: 14px; }
.theme-toggle:hover { color: var(--text); background: var(--bg-elevated); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ─────────────── Layout helpers ─────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head .lede {
  color: var(--text-secondary);
  font-size: 16px;
  margin-top: 14px;
  line-height: 1.55;
}

/* ─────────────── HERO (Linear-style, left-aligned) ─────────────── */
.hero {
  position: relative;
  padding: 56px 0 0;
  background: var(--bg);
  overflow: hidden;
}
.hero-platform-hint {
  display: inline-flex;
  justify-content: center;
  margin: 12px auto 0;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: -0.005em;
}
.hero-platform-hint a {
  color: var(--text);
  font-weight: 500;
}
.hero-platform-hint a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 34px;
  z-index: 1;
  text-align: center;
}
.hero h1 {
  font-family: var(--font);
  font-weight: 650;
  margin: 0 auto;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.036em;
  line-height: 1.02;
  max-width: 13.5ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--text);
}
.hero-sub {
  font-size: clamp(14.5px, 1.05vw, 16px);
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.55;
  margin: 18px auto 0;
}
.hero-meta-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-tertiary);
  justify-self: end;
}
.hero-meta-line .dot-pill {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.windows-waitlist {
  width: min(100%, 440px);
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 18px auto 0;
}
.windows-waitlist-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 30px;
  padding: 4px 10px;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}
.windows-waitlist-toggle svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex: 0 0 auto;
}
.windows-waitlist-toggle:hover {
  background: var(--accent-subtle);
  color: var(--text);
}
.windows-waitlist-toggle:active { transform: translateY(1px); }
.windows-waitlist.is-open .windows-waitlist-toggle { display: none; }
.windows-waitlist-form {
  width: 100%;
  display: grid;
  gap: 8px;
  transform-origin: 50% 0;
}
.windows-waitlist-form.is-revealed {
  animation: waitlistReveal 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.windows-waitlist-form[hidden] { display: none; }
.windows-waitlist.is-joined .windows-waitlist-form { display: none; }
.windows-waitlist-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
}
.windows-waitlist input,
.windows-waitlist-form button {
  height: 46px;
  border: 0;
  border-radius: var(--radius-full);
  font: inherit;
}
.windows-waitlist input {
  min-width: 0;
  padding: 0 20px;
  background: var(--bg-elevated);
  color: var(--text);
  outline: 0;
}
.windows-waitlist input::placeholder { color: var(--text-tertiary); }
.windows-waitlist-form button {
  padding: 0 24px;
  background: var(--text);
  color: var(--bg);
  font-weight: 500;
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition);
  white-space: nowrap;
}
.windows-waitlist-form button:hover { opacity: .88; }
.windows-waitlist-form button:active { transform: scale(.98); }
.windows-waitlist-form button:disabled {
  cursor: default;
  opacity: .55;
  transform: none;
}
.windows-waitlist p {
  min-height: 18px;
  margin: 0;
  color: var(--text-tertiary);
  font-size: 12px;
  text-align: center;
}
.windows-waitlist.is-success p { color: var(--success); }
.windows-waitlist.is-error p { color: var(--danger); }
.windows-waitlist-confirmation {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--accent-subtle);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  animation: waitlistConfirm 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.windows-waitlist-confirmation::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}
.windows-waitlist.is-joined .windows-waitlist-confirmation { display: inline-flex; }
@keyframes waitlistReveal {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes waitlistConfirm {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.dot { opacity: 0.5; }

.hero-stage {
  position: relative;
  max-width: 780px;
  margin: 34px auto 0;
  padding: 0 28px 0;
}
.hero-stage-inner {
  position: relative;
  min-height: 280px;
  padding: 36px 24px 74px;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--bg-surface) 88%, transparent), color-mix(in oklab, var(--bg) 96%, transparent)),
    var(--bg-surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero-stage-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px 180px at 50% 34%, color-mix(in oklab, var(--text) 5%, transparent), transparent 70%);
  pointer-events: none;
}
.hero-app-window {
  position: relative;
  width: min(100%, 1040px);
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-bottom-color: transparent;
  border-radius: 18px 18px 0 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero-window-top {
  height: 42px;
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  background: color-mix(in oklab, var(--bg-elevated) 80%, var(--bg));
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 560;
}
.hero-traffic {
  display: flex;
  gap: 7px;
  padding-left: 18px;
}
.hero-traffic span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border);
}
.hero-traffic span:nth-child(1) { background: #ff5f57; }
.hero-traffic span:nth-child(2) { background: #febc2e; }
.hero-traffic span:nth-child(3) { background: #28c840; }
.hero-window-title { justify-self: center; color: var(--text-secondary); }
.hero-window-status { justify-self: end; padding-right: 18px; }
.hero-window-body {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 430px;
  background: var(--bg);
}
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 14px;
  background: color-mix(in oklab, var(--bg-surface) 74%, var(--bg));
  border-right: 1px solid var(--border-subtle);
}
.hero-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 30px;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}
.hero-sidebar-nav {
  display: grid;
  gap: 3px;
}
.hero-sidebar-nav span,
.hero-sidebar-foot {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  color: var(--text-tertiary);
  font-size: 12.5px;
  font-weight: 520;
}
.hero-sidebar-nav .is-active {
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: var(--shadow-xs);
}
.hero-sidebar-foot {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  border-radius: 0;
  padding-top: 14px;
  color: var(--text-tertiary);
}
.hero-main-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: clamp(26px, 4vw, 48px);
}
.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 560;
}
.hero-panel-head span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 24px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
}
.hero-dictation-card {
  align-self: center;
  width: min(100%, 600px);
  margin: 0 auto;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.hero-dictation-card .typed-app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 560;
}
.hero-dictation-card .typed-app-bar img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}
.hero-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 520;
}

/* App snippet card showing typed result */
.typed-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px 18px;
  box-shadow: var(--shadow-sm);
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
  text-align: left;
  max-width: 520px;
  margin: 0 auto;
  z-index: 1;
}
.typed-mode-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.typed-mode,
.typed-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 650;
}
.typed-shortcut {
  min-width: 34px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.typed-card .typed-app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -4px 0 14px;
  font-size: 11.5px;
  color: var(--text-tertiary);
  font-weight: 500;
}
.typed-card .typed-app-bar img { width: 16px; height: 16px; flex: 0 0 auto; border-radius: 4px; }
.typed-text {
  position: relative;
  min-height: 58px;
}
.typed-caret {
  display: inline-block;
  width: 1.5px;
  height: 18px;
  background: var(--text);
  vertical-align: -3px;
  margin-left: 1px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* HUD pill — the REAL thing (95×20, 7 bars) · theme-reactive like the app */
.hud-pill {
  --pill-bg: rgba(44, 44, 46, 0.96);
  --pill-bar: rgba(255, 255, 255, 0.92);
  --pill-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.08),
    0 6px 20px rgba(0, 0, 0, 0.55);
  width: 95px;
  height: 20px;
  border-radius: 10px;
  background: var(--pill-bg);
  box-shadow: var(--pill-shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
:root[data-theme="light"] .hud-pill {
  --pill-bg: rgba(255, 255, 255, 0.97);
  --pill-bar: rgba(0, 0, 0, 0.82);
  --pill-shadow:
    inset 0 0 0 0.5px rgba(0, 0, 0, 0.06),
    0 4px 14px rgba(0, 0, 0, 0.14),
    0 1px 2px rgba(0, 0, 0, 0.08);
}
.hud-pill .bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}
.hud-pill .bar {
  width: 2px;
  height: 3px;
  background: var(--pill-bar);
  border-radius: 1px;
  animation: barWave 1.1s ease-in-out infinite;
}
.hud-pill .bar:nth-child(1) { animation-delay: -0.0s; }
.hud-pill .bar:nth-child(2) { animation-delay: -0.13s; }
.hud-pill .bar:nth-child(3) { animation-delay: -0.27s; }
.hud-pill .bar:nth-child(4) { animation-delay: -0.41s; }
.hud-pill .bar:nth-child(5) { animation-delay: -0.55s; }
.hud-pill .bar:nth-child(6) { animation-delay: -0.69s; }
.hud-pill .bar:nth-child(7) { animation-delay: -0.83s; }
@keyframes barWave {
  0%, 100% { height: 3px; }
  20%      { height: 14px; }
  40%      { height: 6px; }
  60%      { height: 17px; }
  80%      { height: 4px; }
}

/* HUD floating below typed-card */
.hud-floating {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-command-pill {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 24px;
  width: min(calc(100% - 48px), 560px);
  min-height: 46px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 10px 9px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
  font-size: 12.5px;
  font-weight: 620;
}
.hud-trail {
  font-size: 10.5px;
  color: var(--text-tertiary);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* ─────────────── LOGO STRIP ─────────────── */
.logos {
  padding: 56px 28px 8px;
  text-align: center;
}
.logos-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  opacity: 0.85;
}

.logos-marquee {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%);
}
.logos-track {
  display: flex;
  gap: 14px;
  padding-right: 14px;
  flex-shrink: 0;
  animation: logos-scroll 38s linear infinite;
  will-change: transform;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }
@keyframes logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
.logos-marquee .app-pill {
  flex-shrink: 0;
  width: 136px;
  justify-content: center;
}

.logos-row .app-pill,
.logos-marquee .app-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}
.logos-row .app-pill img,
.logos-marquee .app-pill img { width: 16px; height: 16px; border-radius: 3px; }
:root[data-theme="dark"] .logos-row .app-pill img[src$=".svg"],
:root[data-theme="dark"] .logos-marquee .app-pill img[src$=".svg"] {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
:root[data-theme="dark"] .logos-row .app-pill img[src*="mail.svg"],
:root[data-theme="dark"] .logos-marquee .app-pill img[src*="mail.svg"],
:root[data-theme="dark"] .logos-row .app-pill img[src*="messages.svg"],
:root[data-theme="dark"] .logos-marquee .app-pill img[src*="messages.svg"] {
  filter: none;
  opacity: 1;
}
.app-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--accent-subtle);
  color: var(--text);
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
}

.app-initial.sm {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  font-size: 10.5px;
}

/* ─────────────── SPEED SECTION ─────────────── */
.speed {
  background: var(--bg);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.speed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.speed-side {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.speed-side + .speed-side { border-left: 1px solid var(--border-subtle); }
.speed-label {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-bottom: 16px;
}
.speed-num {
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.speed-num .unit {
  font-size: 0.3em;
  color: var(--text-tertiary);
  font-weight: 500;
  letter-spacing: 0;
}
.speed-desc { font-size: 13.5px; color: var(--text-secondary); max-width: 320px; line-height: 1.55; }
.speed-side.win::after {
  content: "Faster";
  position: absolute;
  top: 64px;
  right: 48px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.speed-foot {
  text-align: center;
  padding: 18px 28px 48px;
  font-size: 12.5px;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border-subtle);
}

/* ─────────────── PRIVACY ─────────────── */
.privacy-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

/* "Your Mac" boundary — matches the app's card style */
.mac-boundary {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.mac-tl {
  position: absolute;
  top: 12px;
  left: 14px;
  display: flex;
  gap: 7px;
}
.mac-badge {
  position: absolute;
  top: 11px;
  right: 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.mac-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 12px 0 20px;
}
.flow-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  min-width: 220px;
}
.flow-node.primary { background: var(--bg); border-color: var(--border); }
.flow-node svg { display: none; }
.flow-line {
  width: 1.5px;
  height: 22px;
  background: var(--border);
}
.mac-footline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  width: 100%;
  justify-content: center;
  font-size: 11.5px;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}
.mac-foot-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
}

/* ─────────────── SHOWCASE / APP MOCK ─────────────── */
.app-window {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.tl {
  position: absolute;
  top: 11px;
  left: 14px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.tl-dot { width: 12px; height: 12px; border-radius: 50%; }
.tl-r { background: #ff5f57; }
.tl-y { background: #febc2e; }
.tl-g { background: #28c840; }
.app-shell {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  padding-top: 34px;
  background: var(--bg);
  height: 100%;
}
.app-sidebar {
  display: flex;
  flex-direction: column;
  padding: 6px 8px 10px;
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 18px 8px;
}
.app-brand .logo-mark { width: 26px; height: 26px; font-size: 10.5px; border-radius: 7px; }
.app-brand .logo-text {
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.app-nav { display: flex; flex-direction: column; gap: 2px; }
.app-nav-bottom { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--border); }
.app-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 11px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  width: 100%;
}
.app-nav-item svg { width: 14px; height: 14px; flex: 0 0 auto; opacity: 0.85; }
.app-nav-item.active { background: var(--bg-surface); color: var(--text); box-shadow: var(--shadow-xs); }
.app-main {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
}
.app-main-header { padding: 14px 22px 4px; }
.app-main-header h2 {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.app-body { flex: 1; padding: 10px 22px 12px; overflow: hidden; }
.app-footer {
  padding: 12px 22px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
  font-size: 11.5px;
  text-align: center;
}
.history-group-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-tertiary);
  font-weight: 600;
  padding: 0 2px 8px;
}
.history-list { display: flex; flex-direction: column; gap: 8px; }
.history-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-hover);
  border-radius: 14px;
  min-height: 40px;
}
.history-text {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.history-time {
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: 0.3px;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}

.tabs { display: flex; gap: 4px; padding: 0 22px 14px; }
.tab {
  padding: 6px 14px;
  background: transparent;
  border: none;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-secondary);
  cursor: pointer;
}
.tab.active { background: var(--accent-subtle); color: var(--text); font-weight: 500; }

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-top: 1px solid var(--border-subtle);
  gap: 16px;
}
.setting-title { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 3px; }
.setting-sub { font-size: 11.5px; color: var(--text-tertiary); }
.seg {
  display: inline-flex;
  padding: 3px;
  background: var(--bg-hover);
  border-radius: 999px;
}
.seg button {
  padding: 4px 12px;
  background: transparent;
  border: none;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-tertiary);
  cursor: pointer;
}
.seg button.on { background: var(--bg-elevated); color: var(--text); box-shadow: var(--shadow-xs); }

/* ─────────────── FEATURES BENTO ─────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(190px, auto);
  gap: 10px;
}
.bento-card {
  position: relative;
  padding: 22px 22px 20px;
  background: var(--bg-elevated);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), background var(--transition);
  border-color: var(--border-subtle);
}
.bento-card:hover {
  transform: translateY(-2px);
  background: var(--bg);
}
.bento-card .chip {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.bento-card h3 { margin-bottom: 6px; font-size: 16px; }
.bento-card p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.5; }
.bento-card .visual { margin-top: auto; padding-top: 18px; }
.b-wide { grid-column: span 4; }
.b-half { grid-column: span 3; }
.b-third { grid-column: span 2; }

/* ─────────────── WORKFLOW ─────────────── */
.workflow-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.workflow-step {
  min-height: 240px;
  padding: 28px 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.workflow-step + .workflow-step {
  border-left: 1px solid var(--border-subtle);
}
.workflow-num {
  font-size: 11px;
  font-weight: 650;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.workflow-step h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.workflow-step p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  max-width: 30ch;
}
.workflow-visual {
  width: 100%;
  min-height: 86px;
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-insert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-xs);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 550;
}

/* ─────────────── Short homepage proof ─────────────── */
.compact-head {
  margin-bottom: 28px;
}
.proof-section {
  padding-top: 74px;
  padding-bottom: 54px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.proof-card {
  display: block;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.proof-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--border) 70%, var(--text));
  background: color-mix(in oklab, var(--bg-elevated) 88%, var(--bg-tint));
}
.proof-value {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 34px;
}
.proof-card h3 {
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.proof-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.use-cases {
  padding-top: 46px;
  padding-bottom: 72px;
}
.use-cases-inner {
  display: block;
  padding: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  background: var(--bg-tint);
}
.use-cases-inner h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  margin-bottom: 16px;
}
.use-cases-inner p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  max-width: 500px;
}
.use-case-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 34px;
}
.use-case-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 14px;
  font-weight: 550;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.use-case-list a::after {
  content: "→";
  color: var(--text-tertiary);
  font-weight: 500;
}
.use-case-list a:hover {
  transform: translateY(-1px);
  background: var(--bg);
  border-color: color-mix(in oklab, var(--border) 70%, var(--text));
}

.home-split {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(104px, 10vw, 150px) 28px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 92px);
  align-items: center;
  background: var(--bg);
}
.home-split-privacy {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}
.home-split-privacy .home-split-copy {
  order: 2;
}
.home-split-apps {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.92fr);
}
.home-split-apps .home-split-copy {
  order: 2;
}
.home-split-copy h2 {
  margin: 0;
  max-width: 520px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
}
.home-split-copy p {
  max-width: 430px;
  margin: 22px 0 0;
  color: var(--text-secondary);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.58;
}
.home-proofline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.home-proofline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
  font-size: 12.5px;
  font-weight: 560;
}
.home-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: clamp(300px, 31vw, 400px);
  justify-self: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  background: var(--bg-tint);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
.home-split-workflow .home-visual {
  min-height: clamp(350px, 34vw, 430px);
}
.home-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(0.98);
}
.home-visual-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: color-mix(in oklab, var(--bg-elevated) 26%, transparent);
  pointer-events: none;
}
:root[data-theme="dark"] .home-visual > img {
  filter: saturate(0.88) contrast(0.98);
}
:root[data-theme="dark"] .home-visual-shade {
  background: transparent;
}
.workflow-card {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: clamp(46px, 6vw, 68px);
  width: min(calc(100% - 54px), 460px);
  max-width: 460px;
  transform: translateX(-50%);
  padding: 18px 20px 20px;
  border: 1px solid color-mix(in oklab, var(--border) 82%, transparent);
  border-radius: var(--radius-lg);
  background: color-mix(in oklab, var(--bg-elevated) 94%, transparent);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}
.workflow-card-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 13px;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid color-mix(in oklab, var(--border) 82%, transparent);
  border-radius: var(--radius-full);
  background: color-mix(in oklab, var(--bg-elevated) 72%, transparent);
  color: var(--text-tertiary);
  font-size: 11.5px;
  font-weight: 560;
}
.workflow-card-top img {
  position: static;
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}
.workflow-card p {
  margin: 0;
  color: #111217;
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.56;
  min-height: 50px;
  transition: color 140ms ease, opacity 140ms ease;
}
.workflow-card p.is-placeholder {
  color: rgba(17, 18, 23, 0.34);
  font-style: italic;
}
:root[data-theme="dark"] .workflow-card {
  border-color: rgba(17, 18, 23, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: #111217;
}
:root[data-theme="dark"] .workflow-card-top {
  border-color: rgba(17, 18, 23, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(17, 18, 23, 0.66);
}
:root[data-theme="dark"] .workflow-card p {
  color: #111217;
}
:root[data-theme="dark"] .workflow-card p.is-placeholder {
  color: rgba(17, 18, 23, 0.38);
}
.workflow-apps {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: clamp(232px, 19vw, 266px);
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: center;
  width: min(calc(100% - 36px), 540px);
}
.workflow-apps span,
.privacy-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid color-mix(in oklab, var(--border) 86%, transparent);
  border-radius: var(--radius-full);
  background: color-mix(in oklab, var(--bg-elevated) 92%, transparent);
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  font-size: 12px;
  font-weight: 560;
  white-space: nowrap;
}
.workflow-apps img {
  position: static;
  width: 15px;
  height: 15px;
  margin-right: 6px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}
:root[data-theme="dark"] .workflow-apps span {
  border-color: rgba(17, 18, 23, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: rgba(17, 18, 23, 0.82);
}
:root[data-theme="dark"] .workflow-apps img[src$=".svg"] {
  filter: none;
  opacity: 1;
}
.workflow-hud {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: clamp(64px, 7vw, 92px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateX(-50%) translateY(6px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}
.workflow-hud.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}
.workflow-stage {
  position: relative;
  width: 95px;
  height: 20px;
  transform-origin: center;
  animation: workflowStageIn 280ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  overflow: visible;
}
@keyframes workflowStageIn {
  from { transform: scaleX(0.6); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}
.workflow-stage[data-state="hidden"] {
  display: none;
}
.workflow-stage .pill {
  position: absolute;
  left: 0;
  top: 0;
  width: 95px;
  height: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 0 0 0.5px rgba(17, 18, 23, 0.1),
    0 2px 8px rgba(4, 10, 30, 0.16);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: opacity 160ms ease-out, background 200ms ease-out;
}
.workflow-stage .bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
  transition: opacity 160ms ease-out;
}
.workflow-stage .bar {
  width: 2px;
  height: 3px;
  background: rgba(17, 18, 23, 0.78);
  border-radius: 1px;
  transform-origin: center;
  animation: barWave 1.1s ease-in-out infinite;
  will-change: height;
}
.workflow-stage .bar:nth-child(1) { animation-delay: -0.0s; }
.workflow-stage .bar:nth-child(2) { animation-delay: -0.13s; }
.workflow-stage .bar:nth-child(3) { animation-delay: -0.27s; }
.workflow-stage .bar:nth-child(4) { animation-delay: -0.41s; }
.workflow-stage .bar:nth-child(5) { animation-delay: -0.55s; }
.workflow-stage .bar:nth-child(6) { animation-delay: -0.69s; }
.workflow-stage .bar:nth-child(7) { animation-delay: -0.83s; }
.workflow-stage[data-state="transcribing"] .bar {
  animation-duration: 0.68s;
}
.workflow-stage[data-state="done"] {
  animation: doneFade 850ms ease-out forwards;
}
@keyframes doneFade {
  0%, 65% { opacity: 1; }
  100% { opacity: 0; }
}
.workflow-stage[data-state="done"] .bars {
  opacity: 0;
}
.workflow-stage .icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  opacity: 0;
  pointer-events: none;
  overflow: visible;
}
.workflow-stage .icon-path {
  stroke: rgba(17, 18, 23, 0.78);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 13;
  stroke-dashoffset: 13;
}
:root[data-theme="dark"] .workflow-stage .pill,
:root[data-theme="dark"] .refine-live-stage .pill {
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 0 0 0.5px rgba(17, 18, 23, 0.1),
    0 2px 8px rgba(4, 10, 30, 0.16);
}
:root[data-theme="dark"] .workflow-stage .bar,
:root[data-theme="dark"] .refine-live-stage .bar {
  background: rgba(17, 18, 23, 0.78);
}
:root[data-theme="dark"] .workflow-stage .icon-path,
:root[data-theme="dark"] .refine-live-stage .icon-path {
  stroke: rgba(17, 18, 23, 0.78);
}
.workflow-stage[data-state="done"] .check {
  opacity: 1;
  transition: opacity 120ms ease-out 80ms;
}
.workflow-stage[data-state="done"] .check .icon-path {
  animation: drawStroke 280ms cubic-bezier(0.4, 0, 0.2, 1) 100ms forwards;
}
@keyframes drawStroke {
  to { stroke-dashoffset: 0; }
}
.workflow-stage .listening-target-icon {
  display: none;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-right: 6px;
  overflow: hidden;
  border-radius: 4px;
}
.workflow-stage[data-state="listening"] .listening-target-icon.has-icon,
.workflow-stage[data-state="transcribing"] .listening-target-icon.has-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.workflow-stage .listening-target-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.privacy-visual .home-visual-shade {
  background: color-mix(in oklab, var(--bg-elevated) 22%, transparent);
}
:root[data-theme="dark"] .privacy-visual .home-visual-shade {
  background: rgba(0, 0, 0, 0.22);
}
.apps-visual .home-visual-shade {
  background: color-mix(in oklab, var(--bg-elevated) 18%, transparent);
}
:root[data-theme="dark"] .apps-visual .home-visual-shade {
  background: rgba(0, 0, 0, 0.18);
}
.privacy-badges {
  position: absolute;
  z-index: 2;
  inset: auto clamp(22px, 6vw, 64px) clamp(36px, 7vw, 84px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}
.privacy-flow {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(calc(100% - 56px), 430px);
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.privacy-flow::before,
.privacy-flow::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  background: color-mix(in oklab, var(--border) 76%, transparent);
  transform: translateY(-50%);
}
.privacy-flow::before {
  left: 21%;
  right: 58%;
}
.privacy-flow::after {
  left: 58%;
  right: 21%;
}
:root[data-theme="dark"] .privacy-flow::before,
:root[data-theme="dark"] .privacy-flow::after {
  background: color-mix(in oklab, var(--border) 62%, transparent);
}
.privacy-node,
.privacy-core {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid color-mix(in oklab, var(--border) 84%, transparent);
  border-radius: var(--radius-full);
  background: color-mix(in oklab, var(--bg-elevated) 92%, transparent);
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
:root[data-theme="dark"] .privacy-node,
:root[data-theme="dark"] .privacy-core {
  border-color: color-mix(in oklab, var(--border) 78%, transparent);
  background: color-mix(in oklab, var(--bg-elevated) 88%, transparent);
  box-shadow: 0 12px 30px color-mix(in oklab, #000 42%, transparent);
}
.privacy-node {
  padding: 0 14px;
}
.privacy-core {
  min-width: 128px;
  min-height: 88px;
  padding: 14px 18px;
  border-radius: 22px;
  flex-direction: column;
  gap: 10px;
  color: var(--text);
}
.privacy-core-icon {
  --pill-bg: rgba(44, 44, 46, 0.96);
  --pill-bar: rgba(255, 255, 255, 0.92);
  --pill-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.08),
    0 6px 20px rgba(0, 0, 0, 0.55);
  width: 72px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--pill-bg);
  color: var(--pill-bar);
  box-shadow: var(--pill-shadow);
}
:root[data-theme="light"] .privacy-core-icon {
  --pill-bg: rgba(255, 255, 255, 0.97);
  --pill-bar: rgba(0, 0, 0, 0.82);
  --pill-shadow:
    inset 0 0 0 0.5px rgba(0, 0, 0, 0.06),
    0 4px 14px rgba(0, 0, 0, 0.14),
    0 1px 2px rgba(0, 0, 0, 0.08);
}
.privacy-core-icon .bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}
.privacy-core-icon .bar {
  width: 2px;
  height: 3px;
  border-radius: 1px;
  background: currentColor;
  animation: barWave 1.1s ease-in-out infinite;
}
.privacy-core-icon .bar:nth-child(1) { animation-delay: -0.0s; }
.privacy-core-icon .bar:nth-child(2) { animation-delay: -0.13s; }
.privacy-core-icon .bar:nth-child(3) { animation-delay: -0.27s; }
.privacy-core-icon .bar:nth-child(4) { animation-delay: -0.41s; }
.privacy-core-icon .bar:nth-child(5) { animation-delay: -0.55s; }
.apps-icon-cloud {
  position: absolute;
  z-index: 2;
  top: clamp(70px, 8vw, 96px);
  left: 50%;
  width: min(calc(100% - 54px), 560px);
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 9px;
}
.apps-icon-cloud span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid color-mix(in oklab, var(--border) 82%, transparent);
  border-radius: 16px;
  background: color-mix(in oklab, var(--bg-elevated) 92%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}
.apps-icon-cloud .apps-more {
  color: var(--text-secondary);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: 0;
}
.apps-icon-cloud img {
  position: static;
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: none;
}
:root[data-theme="dark"] .apps-icon-cloud img {
  filter: none;
}
:root[data-theme="dark"] .apps-icon-cloud span {
  border-color: rgba(17, 18, 23, 0.1);
  background: rgba(255, 255, 255, 0.96);
}
:root[data-theme="dark"] .apps-icon-cloud .apps-more {
  color: rgba(17, 18, 23, 0.72);
}
:root[data-theme="dark"] .apps-icon-cloud img[src*="mail.svg"],
:root[data-theme="dark"] .apps-icon-cloud img[src*="messages.svg"] {
  filter: none;
  opacity: 1;
}
.apps-flow {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(34px, 4.5vw, 52px);
  width: min(calc(100% - 72px), 540px);
  transform: translateX(-50%);
  display: grid;
  gap: 9px;
}
.apps-flow span {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid color-mix(in oklab, var(--border) 84%, transparent);
  border-radius: 12px;
  background: color-mix(in oklab, var(--bg-elevated) 90%, transparent);
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  font-size: 13px;
  font-weight: 560;
}
.apps-flow span::after {
  content: "✓";
  margin-left: auto;
  color: var(--text-tertiary);
  font-size: 12px;
}
:root[data-theme="dark"] .apps-flow span {
  border-color: rgba(17, 18, 23, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: rgba(17, 18, 23, 0.82);
}
:root[data-theme="dark"] .apps-flow span::after {
  color: rgba(17, 18, 23, 0.52);
}
.minimal-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--text);
  font-size: 14px;
  font-weight: 560;
}
.minimal-link::after {
  content: "→";
  margin-left: 8px;
  color: var(--text-tertiary);
}

/* ─────────────── Landing redesign overrides ─────────────── */
.logos {
  padding: 154px 28px 8px;
}
.logos-label {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 560;
  letter-spacing: 0;
  text-transform: none;
}
.logos-track {
  gap: 14px;
  padding-right: 14px;
}
.logos-marquee .app-pill {
  width: 128px;
}
.home-split {
  padding: clamp(72px, 8vw, 112px) 28px 0;
  gap: clamp(34px, 5vw, 72px);
}
.home-split-copy h2 {
  font-family: var(--font);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.034em;
}
.home-split-copy p {
  margin-top: 14px;
  font-size: clamp(14.5px, 1.1vw, 16px);
}
.home-proofline {
  margin-top: 22px;
}
.home-visual {
  border-color: var(--border);
  border-radius: 16px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}
.app-native-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.35;
  pointer-events: none;
}
.workflow-card {
  top: clamp(34px, 5vw, 58px);
  padding: 16px 18px 18px;
  border-color: var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.workflow-card-top,
.workflow-apps span,
.privacy-badges span,
.privacy-node,
.privacy-core,
.apps-icon-cloud span,
.apps-flow span {
  border-color: var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-xs);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.workflow-card-top {
  background: var(--bg-surface);
}
.workflow-apps {
  top: clamp(232px, 19vw, 266px);
}
.apps-icon-cloud span {
  border-radius: 12px;
}
.apps-flow span {
  border-radius: 10px;
}
.home-split-draft {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.84fr);
}
.home-split-draft .home-split-copy {
  order: 2;
}
.feature-visual {
  min-height: clamp(420px, 36vw, 520px);
  border-radius: 14px;
  background: #05070a;
}
.home-split-refine .feature-visual {
  min-height: clamp(420px, 36vw, 520px);
}
.feature-visual::before {
  content: none;
}
.feature-visual > img {
  object-position: left center;
  filter: saturate(1.28) contrast(1.04) brightness(0.98);
  transform: scale(1.015);
}
.feature-visual .home-visual-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.12)),
    rgba(0, 0, 0, 0.02);
}
:root[data-theme="light"] .feature-visual > img {
  filter: saturate(0.96) contrast(0.98) brightness(1.02);
}
:root[data-theme="light"] .feature-visual .home-visual-shade {
  background: rgba(255, 255, 255, 0.24);
}
:root[data-theme="dark"] .feature-visual > img {
  filter: saturate(1.12) contrast(1) brightness(0.94);
}
:root[data-theme="dark"] .feature-visual .home-visual-shade {
  background: rgba(0, 0, 0, 0.04);
}
.draft-card {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(calc(100% - 48px), 500px);
  min-height: 402px;
  transform: translate(-50%, -50%);
  color: #111217;
}
.draft-target-card {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 1;
  width: min(78%, 390px);
  padding: 14px 15px 16px;
  border: 1px solid rgba(17, 18, 23, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(4, 10, 30, 0.13);
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1),
    background 180ms ease;
}
.draft-target-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}
.draft-target-app {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 27px;
  padding: 0 10px 0 5px;
  border: 1px solid rgba(17, 18, 23, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: rgba(17, 18, 23, 0.82);
  font-size: 12px;
  font-weight: 760;
  box-shadow: 0 6px 16px rgba(4, 10, 30, 0.08);
}
.draft-target-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 0.5px rgba(17, 18, 23, 0.06);
}
.draft-target-icon img {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 5px;
}
.draft-target-head small {
  color: rgba(17, 18, 23, 0.38);
  font-size: 11.5px;
  font-weight: 650;
}
.draft-target-card strong {
  display: block;
  color: rgba(17, 18, 23, 0.86);
  font-size: 13px;
  font-weight: 760;
}
.draft-target-card p {
  margin: 8px 0 0;
  color: rgba(17, 18, 23, 0.72);
  font-size: 12.5px;
  line-height: 1.45;
  white-space: pre-line;
  transition: color 160ms ease;
}
.draft-card.is-inserted .draft-target-card {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 42px rgba(4, 10, 30, 0.17);
}
.draft-card.is-inserted .draft-target-card p {
  color: rgba(17, 18, 23, 0.88);
}
.draft-appshot-card {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(82%, 410px);
  height: 218px;
  padding: 10px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #1c1c1e;
  color: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.12),
    0 18px 44px rgba(0, 0, 0, 0.28);
  outline: none;
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.draft-appshot-card:focus-visible,
.draft-appshot-card:focus-within {
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.18),
    0 0 0 2px rgba(255, 255, 255, 0.32),
    0 18px 44px rgba(0, 0, 0, 0.28);
}
.draft-appshot-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
}
.draft-appshot-pager {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
}
.draft-appshot-pager span {
  color: rgba(255, 255, 255, 0.34);
  font-size: 15px;
  line-height: 1;
}
.draft-appshot-spacer {
  flex: 1;
}
.draft-appshot-icon,
.draft-appshot-close {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.48);
}
.draft-appshot-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.draft-appshot-close {
  font-size: 20px;
  line-height: 1;
}
.draft-appshot-instruction {
  min-height: 25px;
  margin-top: 8px;
  padding: 0 0 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}
.draft-appshot-body {
  flex: 1;
  min-height: 0;
  margin-top: 10px;
  padding-right: 7px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12.2px;
  line-height: 1.4;
  outline: none;
}
.draft-appshot-body::-webkit-scrollbar {
  width: 4px;
}
.draft-appshot-body::-webkit-scrollbar-track {
  background: transparent;
}
.draft-appshot-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}
.draft-appshot-body p {
  margin: 0;
}
.draft-appshot-body p + p {
  margin-top: 7px;
}
.draft-appshot-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding-top: 7px;
}
.draft-appshot-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 29px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
}
.draft-appshot-footer button:first-child {
  min-width: 116px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.92);
}
.draft-appshot-footer button:last-child {
  min-width: 98px;
  background: rgba(255, 255, 255, 0.94);
  color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
  transition:
    transform 140ms ease,
    background 160ms ease,
    color 160ms ease;
}
.draft-appshot-footer button:last-child:hover {
  transform: translateY(-1px);
  background: #ffffff;
}
.draft-appshot-footer button:last-child:active {
  transform: translateY(0);
}
.draft-card.is-inserted .draft-appshot-footer button:last-child {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
}
.draft-appshot-footer button:last-child:disabled {
  cursor: default;
}
.draft-appshot-footer kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 18px;
  padding: 0 6px;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 10.5px;
  font-weight: 700;
}
.draft-appshot-footer button:last-child kbd {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.36);
}
.refine-card {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(calc(100% - 54px), 500px);
  min-height: 364px;
  transform: translate(-50%, -50%);
  --refine-hud-center-y: 282px;
}
.refine-document-card {
  position: relative;
  height: 206px;
  padding: 22px 26px;
  border: 1px solid rgba(17, 18, 23, 0.1);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(4, 10, 30, 0.16);
  overflow: hidden;
}
.refine-document-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #111217;
  font-size: 14px;
  line-height: 1.56;
}
.refine-document-card p + p {
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
  opacity: 1;
  transform: none;
}
.refine-document-card ul {
  display: none;
  gap: 6px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(17, 18, 23, 0.66);
  font-size: 13px;
  line-height: 1.42;
}
.refine-document-card .refine-selected-text,
.refine-document-card .refine-replacement-text {
  display: block;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  white-space: normal;
}
.refine-document-card .refine-replacement-text {
  white-space: pre-line;
}
.refine-selected-text {
  border-radius: 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: color 160ms ease;
}
.refine-select-line {
  display: table;
  width: auto;
  max-width: 100%;
  margin: 0 0 2px;
  border-radius: 4px;
  background:
    linear-gradient(rgba(75, 124, 197, 0.34), rgba(75, 124, 197, 0.34))
    left center / 0% 100% no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 120ms ease;
}
.refine-card.is-selecting .refine-select-line {
  animation: refineSelectLine 820ms ease-out forwards;
}
.refine-card.is-selecting .refine-select-line:nth-child(2) { animation-delay: 180ms; }
.refine-card.is-selecting .refine-select-line:nth-child(3) { animation-delay: 360ms; }
.refine-card.is-selecting .refine-select-line:nth-child(4) { animation-delay: 540ms; }
.refine-card.is-shortcut .refine-select-line,
.refine-card.is-thinking .refine-select-line,
.refine-card.is-done .refine-select-line {
  background-size: 100% 100%;
}
@keyframes refineSelectLine {
  from { background-size: 0% 100%; }
  to { background-size: 100% 100%; }
}
.refine-selection-cursor {
  position: absolute;
  left: 24px;
  top: 20px;
  z-index: 2;
  width: 13px;
  height: 18px;
  border-radius: 0 0 4px 4px;
  background: #111217;
  clip-path: polygon(0 0, 100% 48%, 56% 58%, 78% 100%, 61% 100%, 40% 61%, 15% 78%);
  opacity: 0;
  filter: drop-shadow(0 2px 4px rgba(4, 10, 30, 0.18));
  transform: translate(0, 0) rotate(-10deg);
  pointer-events: none;
}
.refine-card.is-selecting .refine-selection-cursor {
  animation: refineCursorDrag 1.42s cubic-bezier(0.34, 0.02, 0.18, 1) forwards;
}
@keyframes refineCursorDrag {
  0% { opacity: 0; transform: translate(-6px, -4px) rotate(-10deg); }
  8% { opacity: 1; }
  32% { transform: translate(190px, 15px) rotate(-8deg); }
  58% { transform: translate(318px, 38px) rotate(-6deg); }
  84% { opacity: 1; transform: translate(386px, 62px) rotate(-4deg); }
  100% { opacity: 0; transform: translate(398px, 68px) rotate(-4deg); }
}
.refine-replacement-text {
  opacity: 0;
  transition: opacity 160ms ease;
}
.refine-card.is-pasted .refine-selected-text {
  display: none;
}
.refine-card.is-pasted .refine-replacement-text {
  opacity: 1;
}
.refine-shortcut-hint {
  position: absolute;
  left: 50%;
  top: 226px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(17, 18, 23, 0.62);
  font-size: 11.5px;
  font-weight: 720;
  letter-spacing: 0;
  opacity: 0;
  transform: translate(-50%, 8px) scale(0.96);
  transition:
    opacity 220ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.refine-card.is-shortcut .refine-shortcut-hint {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
.refine-card.is-selecting .refine-shortcut-hint,
.refine-card.is-thinking .refine-shortcut-hint,
.refine-card.is-done .refine-shortcut-hint,
.refine-card.is-pasted .refine-shortcut-hint {
  opacity: 0;
  transform: translate(-50%, 8px) scale(0.96);
  pointer-events: none;
}
.refine-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 78px;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(17, 18, 23, 0.08);
  background: rgba(255, 255, 255, 0.94);
  color: rgba(17, 18, 23, 0.78);
  font-size: 12px;
  font-weight: 760;
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.72),
    0 8px 18px rgba(4, 10, 30, 0.12);
  transform: translateY(2px) scale(0.96);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}
.refine-card.is-shortcut .refine-shortcut {
  transform: translateY(0) scale(1);
}
.refine-shortcut kbd {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 18px;
  padding: 0 6px;
  border: 0;
  border-radius: 6px;
  background: rgba(17, 18, 23, 0.12);
  color: rgba(17, 18, 23, 0.92);
  font: inherit;
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1;
}
.refine-live-stage {
  position: absolute;
  left: 50%;
  top: calc(var(--refine-hud-center-y) - 10px);
  width: 95px;
  height: 20px;
  opacity: 0;
  transform: translate(-50%, 0) scale(0.86);
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}
.refine-live-stage .pill {
  width: 95px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 0 0 0.5px rgba(17, 18, 23, 0.1),
    0 2px 8px rgba(4, 10, 30, 0.16);
}
.refine-live-stage .bars {
  height: 16px;
}
.refine-live-stage .bar {
  background: rgba(17, 18, 23, 0.78);
  animation: none;
}
.refine-card.is-thinking .refine-live-stage,
.refine-card.is-done .refine-live-stage {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  animation: refineHudIn 280ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.refine-card.is-done .refine-live-stage {
  animation: doneFade 850ms ease-out forwards;
}
@keyframes refineHudIn {
  from { transform: translate(-50%, 2px) scale(0.86); opacity: 0; }
  to { transform: translate(-50%, 0) scale(1); opacity: 1; }
}
.refine-live-stage[data-state="done"] .bars {
  opacity: 0;
}
.refine-live-stage[data-state="done"] .check {
  opacity: 1;
  transition: opacity 120ms ease-out 80ms;
}
.refine-live-stage[data-state="done"] .check .icon-path {
  animation: drawStroke 280ms cubic-bezier(0.4, 0, 0.2, 1) 100ms forwards;
}
.refine-changes-tray {
  position: absolute;
  left: 50%;
  top: calc(var(--refine-hud-center-y) - 13px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 142px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: rgba(44, 44, 46, 0.96);
  color: rgba(255, 255, 255, 0.94);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: translate(-50%, 5px);
  transition: opacity 180ms ease, transform 180ms ease, background 150ms ease;
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.35);
}
.refine-changes-tray small {
  display: none;
}
.refine-card.is-result .refine-changes-tray {
  opacity: 1;
  transform: translate(-50%, 0);
}
.refine-review-pop {
  position: absolute;
  left: 50%;
  top: 148px;
  z-index: 5;
  width: min(calc(100% - 34px), 420px);
  height: 238px;
  padding: 11px 12px 10px;
  border-radius: 16px;
  background: rgba(30, 30, 32, 0.98);
  color: rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.12),
    0 12px 30px rgba(0, 0, 0, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translate(-50%, 8px) scale(0.98);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}
.refine-card.is-review-open .refine-review-pop {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}
.refine-card.is-review-open .refine-changes-tray {
  opacity: 0;
  transform: translate(-50%, 5px);
  pointer-events: none;
}
.refine-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.refine-review-head strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: 13.5px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}
.refine-review-head div {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.refine-review-head button {
  height: 22px;
  border: 0;
  border-radius: 999px;
  padding: 0 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font: inherit;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1;
  transition: color 120ms ease-out, background 120ms ease-out, transform 150ms ease;
}
.refine-review-head button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.04);
}
.refine-review-head button:last-child {
  width: 22px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}
.refine-review-expand {
  width: 22px;
  padding: 0;
}
.refine-review-expand svg {
  width: 18px;
  height: 18px;
  display: block;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.refine-review-divider {
  height: 1px;
  margin: 7px 0 8px;
  background: rgba(255, 255, 255, 0.08);
}
.refine-review-text {
  margin: 0;
  height: 153px;
  padding-right: 3px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  font-weight: 520;
  line-height: 1.48;
  letter-spacing: 0;
}
.refine-review-text::-webkit-scrollbar {
  width: 4px;
}
.refine-review-text::-webkit-scrollbar-track {
  background: transparent;
}
.refine-review-text::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}
.refine-review-footer {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 600;
}
.refine-review-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  transition: color 120ms ease-out, background 120ms ease-out;
}
.refine-review-footer > button:hover {
  color: #fff;
}
.refine-review-actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.refine-review-actions button {
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.48);
}
.refine-review-actions button:hover {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
}
.refine-review-actions svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hud-pill .hud-done {
  display: none;
  align-items: center;
  color: rgba(17, 18, 23, 0.78);
}
.hud-pill .hud-done svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.workflow-hud.is-copied {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}
.workflow-hud.is-copied .hud-pill {
  width: 52px;
}
.workflow-hud.is-copied .bars {
  display: none;
}
.workflow-hud.is-copied .hud-done {
  display: inline-flex;
}
.feature-visual .hud-trail {
  color: rgba(255, 255, 255, 0.58);
}

.privacy-feature {
  padding-top: 90px;
  padding-bottom: 84px;
}
.privacy-copy {
  max-width: 560px;
  margin-top: 22px;
  color: var(--text-secondary);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
}
.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.home-links {
  padding: 76px 0 36px;
  background: var(--bg);
}
.home-links-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.home-links-head {
  max-width: 620px;
  margin-bottom: 28px;
}
.home-links-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
}
.home-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.home-link-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.home-link-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--border) 70%, var(--text));
  background: color-mix(in oklab, var(--bg-elevated) 88%, var(--bg-tint));
}
.home-link-card span {
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.home-link-card h3 {
  margin-top: auto;
  color: var(--text);
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.home-link-card p {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

/* ─────────────── Use case pages ─────────────── */
.uc-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 82px 28px 54px;
  text-align: center;
}
.uc-hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  margin-bottom: 22px;
}
.uc-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}
.uc-hero .hero-ctas {
  justify-content: center;
  margin-top: 30px;
}
.uc-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 12px;
}
.uc-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: var(--bg-elevated);
  padding: 30px;
}
.uc-card ul {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 12px;
}
.uc-card li {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
  padding-left: 22px;
  position: relative;
}
.uc-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-tertiary);
}
.uc-examples {
  display: grid;
  gap: 12px;
}
.uc-example {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-tint);
}
.uc-example span {
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
}
.uc-example p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}
.uc-more {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 86px;
}
.uc-more .use-case-list {
  max-width: 760px;
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
}

.pseo-usecase {
  background: var(--bg);
  color: var(--text);
}
.pseo-usecase .uc-landing-hero {
  padding: 48px 20px 20px;
  background: var(--bg);
}
.pseo-usecase .uc-landing-hero .hero-inner {
  padding-bottom: 34px;
}
.pseo-usecase .uc-landing-hero h1 {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--font-editorial);
  font-size: clamp(44px, 6.6vw, 84px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text);
}
.pseo-usecase .uc-landing-hero .hero-sub {
  max-width: 650px;
  margin: 18px auto 0;
  color: var(--text-secondary);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
}
.pseo-usecase .uc-logos {
  padding-top: 96px;
}
.pseo-usecase .uc-hub-split,
.pseo-usecase .uc-detail-split {
  padding-top: clamp(72px, 8vw, 112px);
}
.pseo-usecase .uc-visual {
  min-height: clamp(420px, 36vw, 520px);
}
.pseo-usecase .uc-visual .workflow-card p {
  min-height: 76px;
}
.pseo-usecase .workflow-hud {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}
.pseo-usecase .uc-role-links {
  padding-top: 76px;
}
.pseo-usecase .uc-home-card {
  min-height: 214px;
}
.pseo-usecase .uc-workflow-strip {
  max-width: var(--max);
  margin: 86px auto 0;
  padding: 0 28px;
  border: 0;
}
.pseo-usecase .uc-workflow-strip .workflow-step {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.pseo-usecase .uc-workflow-strip .workflow-step:first-child {
  border-left: 0;
}
.pseo-usecase .pseo-cta {
  padding-top: 76px;
}
.pseo-usecase .pseo-cta-inner {
  background: var(--bg-elevated);
  border-color: var(--border);
}

.uc-article {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 28px 0;
}
.uc-article-hero {
  max-width: 780px;
  padding-bottom: 72px;
}
.uc-back-link,
.uc-text-link {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 5px;
}
.uc-back-link {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--text-secondary);
}
.uc-back-link:hover,
.uc-text-link:hover {
  color: var(--text);
  text-decoration-color: var(--text);
}
.uc-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 18px;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.uc-article-hero h1 {
  max-width: 720px;
  margin: 0 0 24px;
  font-family: var(--font-editorial);
  font-size: clamp(42px, 5.8vw, 74px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.048em;
}
.uc-article-hero p {
  max-width: 650px;
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
}
.uc-example-list {
  display: grid;
  gap: 24px;
  padding-bottom: 96px;
}
.uc-example-row {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  min-height: 430px;
  padding: clamp(28px, 3.8vw, 48px);
  border-top: 1px solid var(--border-subtle);
  border-radius: 28px;
  background: var(--bg);
}
.uc-example-row.is-reversed {
  grid-template-columns: minmax(320px, 1.04fr) minmax(0, 0.96fr);
}
.uc-example-row.is-reversed .uc-example-copy {
  order: 2;
}
.uc-example-row.is-reversed .uc-example-visual {
  order: 1;
}
.uc-example-copy {
  max-width: 520px;
}
.uc-example-copy h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-family: var(--font-editorial);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.uc-example-copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
}
.uc-example-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg-tint);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
.uc-example-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(0.98);
  z-index: 0;
  max-width: none;
}
.uc-context-card {
  --uc-card-bg: color-mix(in oklab, var(--bg-elevated) 94%, transparent);
  --uc-card-text: var(--text);
  --uc-card-muted: var(--text-secondary);
  position: relative;
  z-index: 2;
  width: min(82%, 480px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--uc-card-bg);
  box-shadow: 0 22px 56px rgba(12, 38, 64, 0.12);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  padding: clamp(18px, 2.4vw, 28px);
}
:root[data-theme="dark"] .uc-context-card {
  --uc-card-bg: color-mix(in oklab, var(--bg-surface) 96%, transparent);
  --uc-card-text: var(--text);
  --uc-card-muted: var(--text-secondary);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.35);
}
.uc-context-app {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--uc-card-muted);
  font-size: 14px;
  font-weight: 650;
}
.uc-context-app img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}
.uc-context-card p {
  margin: 26px 0 0;
  color: var(--uc-card-text);
  font-family: var(--font-editorial);
  font-size: clamp(20px, 2.05vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.uc-section-number {
  display: block;
  margin-bottom: 14px;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.uc-related-editorial {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 92px;
}
.uc-final-cta-editorial {
  max-width: 860px;
  margin-top: 0;
  margin-bottom: 56px;
  padding: 34px 28px;
  border-radius: 22px;
}
.uc-final-cta-editorial h2 {
  font-size: clamp(28px, 3.2vw, 40px);
}
.uc-final-cta-editorial p {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: 16px;
}
.uc-redirect {
  max-width: 680px;
  margin: 0 auto;
  padding: 96px 28px 120px;
}
.uc-redirect h1 {
  margin: 0 0 18px;
  font-family: var(--font-editorial);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}
.uc-redirect p {
  margin: 0 0 28px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.55;
}

/* ─────────────── Editorial use case pages ─────────────── */
.uc-page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 28px 64px;
}
.uc-kicker {
  margin-bottom: 24px;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.uc-page-hero h1 {
  max-width: 700px;
  margin: 0 0 22px;
  font-size: clamp(40px, 4.9vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.uc-page-hero p {
  max-width: 640px;
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.45;
}
.uc-hero-ctas {
  justify-content: flex-start;
  margin-top: 32px;
}
.uc-apps-section,
.uc-topways-section,
.uc-demo-section,
.uc-final-cta,
.uc-benefits {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}
.uc-apps-section {
  padding-bottom: 76px;
}
.uc-apps-panel,
.uc-topways-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: #0b0b10;
  color: #ffffff;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
}
.uc-section-copy h2,
.uc-topways-panel h2,
.uc-final-cta h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.042em;
}
.uc-section-copy h2,
.uc-topways-panel h2 {
  color: #ffffff;
}
.uc-section-copy p {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(15.5px, 1.65vw, 20px);
  line-height: 1.45;
}
.uc-app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.uc-app-card {
  min-height: 114px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #ffffff;
  color: #0b0b10;
}
.uc-app-card strong {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.uc-app-card p {
  margin: 7px 0 0;
  color: rgba(11, 11, 16, 0.58);
  font-size: 13px;
  line-height: 1.38;
}
.uc-app-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
}
.uc-app-icon img {
  max-width: 26px;
  max-height: 26px;
  border-radius: 5px;
  object-fit: contain;
}
.uc-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5.6vw, 76px);
  padding-top: 18px;
  padding-bottom: 78px;
}
.uc-benefits h3 {
  margin: 0 0 10px;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.uc-benefits p {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.5;
}
.uc-topways-section {
  max-width: 1120px;
  padding-bottom: 92px;
}
.uc-topways-panel {
  padding-top: clamp(30px, 4vw, 50px);
  padding-bottom: clamp(30px, 4vw, 50px);
}
.uc-topways-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 48px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: topways;
}
.uc-topways-list li {
  position: relative;
  counter-increment: topways;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(14px, 1.28vw, 16.5px);
  line-height: 1.38;
}
.uc-topways-list li::before {
  content: counter(topways) ".";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 700;
}
.uc-demo-section {
  display: grid;
  justify-items: center;
  padding-bottom: 48px;
}
.uc-demo-card {
  width: min(100%, 620px);
  min-height: 124px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-elevated);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}
.uc-demo-card p {
  margin: 14px 0 0;
  color: var(--text);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.4;
}
.uc-demo-section .hud-pill {
  display: none;
}
.uc-demo-caption {
  display: none;
}
.uc-final-cta {
  text-align: center;
}
.uc-final-cta {
  max-width: calc(var(--max) - 56px);
  margin: 0 auto 58px;
  padding: clamp(34px, 4.2vw, 54px) 28px;
  background: #0b0b10;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
}
.uc-final-cta h2 {
  margin: 0 auto;
  color: #ffffff;
}
.uc-final-cta p {
  max-width: 680px;
  margin: 18px auto 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(15.5px, 1.55vw, 20px);
  line-height: 1.45;
}
.uc-final-cta .btn-primary {
  background: #ffffff;
  color: #0b0b10;
}
.uc-editorial-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 82px 28px 44px;
}
.uc-editorial-hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(44px, 6.1vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.uc-editorial-hero p {
  max-width: 570px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.55;
}
.uc-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.uc-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 550;
}
.uc-showcase {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.uc-showcase-card {
  min-height: 360px;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(26px, 3.2vw, 40px);
}
.uc-prompt-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}
.uc-prompt-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-tint);
}
.uc-prompt-card p {
  margin: 0;
  color: var(--text-secondary);
}
.uc-related {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 104px;
}
.uc-related .compact-head {
  margin-bottom: 36px;
}
.uc-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.uc-related-card {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}
.uc-related-card span {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.uc-related-card small {
  color: var(--text-tertiary);
  font-size: 12.5px;
  line-height: 1.45;
}

/* ─────────────── KEYWORDS ─────────────── */
.keywords-section {
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border-subtle);
}
.keywords-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 72px;
  align-items: center;
}
.keywords-copy h2 {
  max-width: 11ch;
}
.keywords-copy p {
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 520px;
}
.keywords-copy strong {
  color: var(--text);
  font-weight: 650;
}
.keyword-demo {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.keyword-window-bar {
  height: 38px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}
.keyword-demo-body {
  padding: 30px;
}
.keyword-command,
.keyword-output {
  min-height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 560;
}
.keyword-command {
  background: var(--text);
  color: var(--bg);
}
.keyword-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  width: 34px;
  flex: 0 0 auto;
}
.keyword-wave span {
  width: 3px;
  height: 12px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.9;
}
.keyword-wave span:nth-child(1),
.keyword-wave span:nth-child(4) { height: 7px; }
.keyword-wave span:nth-child(2) { height: 18px; }
.keyword-wave span:nth-child(3) { height: 15px; }
.keyword-arrow {
  width: 1px;
  height: 30px;
  margin: 8px 0 8px 34px;
  background: var(--border);
  position: relative;
}
.keyword-arrow::after {
  content: "";
  position: absolute;
  left: -4px;
  bottom: -1px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
  transform: rotate(45deg);
}
.keyword-output {
  background: var(--bg);
  border: 1px solid var(--border);
  justify-content: space-between;
}
.keyword-output button {
  border: 0;
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  height: 28px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 550;
}
.keyword-list {
  margin-top: 20px;
  display: grid;
  gap: 8px;
}
.keyword-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-hover);
}
.keyword-list span {
  color: var(--text-tertiary);
  font-size: 13px;
}
.keyword-list strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.35;
}

/* visual elements */
.mini-dictionary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  background: var(--bg-hover);
  border-radius: 10px;
}
.mini-term { font-size: 13px; color: var(--text); font-weight: 500; }
.mini-hint { font-size: 11px; color: var(--text-tertiary); }

.lang-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lang-grid .l {
  padding: 5px 10px;
  background: var(--bg-hover);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text);
}

.shortcut-demo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}
.kc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 36px;
  padding: 0 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text);
}

.theme-preview {
  display: flex;
  gap: 8px;
}
.theme-card {
  flex: 1;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 14px;
  font-size: 11px;
  color: var(--text-tertiary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 80px;
}
.theme-card.lt { background: #ffffff; color: #4d4d57; }
.theme-card.lt::before { content: ""; height: 6px; background: #eeeef2; border-radius: 99px; width: 70%; }
.theme-card.lt::after { content: ""; height: 6px; background: #eeeef2; border-radius: 99px; width: 50%; }
.theme-card.dk { background: #0e0e10; color: #b0b0b8; border-color: #232327; }
.theme-card.dk::before { content: ""; height: 6px; background: #1d1d20; border-radius: 99px; width: 70%; }
.theme-card.dk::after { content: ""; height: 6px; background: #1d1d20; border-radius: 99px; width: 50%; }

.saved-vis {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.saved-vis .row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--bg-hover);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--text);
}
.saved-vis .star { color: var(--text); }

/* Hud preview row in features */
.hud-row {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
  padding-top: 10px;
}
.hud-row .label { font-size: 11.5px; color: var(--text-tertiary); }

/* ─────────────── PRICING TEASER ─────────────── */
.price-teaser {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.price-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.price-card .price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.price-card .price-tag .num {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-card .price-tag .per { color: var(--text-tertiary); font-size: 14px; }
.price-card .price-strike {
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-tertiary);
}
.price-card .price-strike s { color: var(--text-quaternary); }
.price-card ul { list-style: none; margin: 22px 0; display: flex; flex-direction: column; gap: 10px; }
.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}
.price-card li .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: var(--text);
  color: var(--bg);
  border-radius: 50%;
  font-size: 10px;
  flex: 0 0 auto;
  margin-top: 1px;
}
.price-card .btn { width: 100%; }

/* ─────────────── COMPARE ─────────────── */
.compare {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-xl) + 4px);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
  padding: 22px;
}
.compare .vendor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 600;
  color: var(--text);
}
.compare .vendor img,
.compare .vendor .logo-mark {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  flex-shrink: 0;
}
.compare-top {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.compare-intro {
  padding: 12px 10px 12px 4px;
}
.compare-mini {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}
.compare-intro h3 {
  font-size: 23px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}
.compare-intro p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 30ch;
}
.compare-card {
  padding: 16px 16px 15px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--bg), var(--bg-elevated));
  min-height: 160px;
}
.compare-card.is-us {
  background: var(--bg);
  border-color: var(--border);
  box-shadow: 0 0 0 1px var(--border) inset;
}
.compare-card .vendor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.compare-card-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.compare-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-hover);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
}
.compare-card.is-us .compare-card-tag {
  background: var(--bg-hover);
  color: var(--text);
}
.compare-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.compare-matrix {
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg);
}
.compare-mobile-links {
  display: none;
  flex-direction: column;
}
.compare-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.compare-link:last-child { border-bottom: 0; }
.compare-link-arrow {
  color: var(--text-tertiary);
  font-size: 16px;
  transition: transform 180ms ease, color 180ms ease;
}
.compare-link:hover .compare-link-arrow {
  transform: translateX(3px);
  color: var(--text);
}
.compare-foot-cta { text-align: center; margin-top: 26px; }
.compare-row {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
}
.compare-row + .compare-row {
  border-top: 1px solid var(--border-subtle);
}
.compare-row-head {
  background: var(--bg-tint);
}
.compare-cell {
  padding: 15px 16px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text);
}
.compare-brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.compare-label {
  color: var(--text-secondary);
  font-weight: 600;
}
.compare-cell.is-us {
  background: var(--bg-tint);
}
.compare-row-head .compare-cell.is-us {
  box-shadow: inset 0 -1px 0 var(--border);
  font-weight: 700;
}

/* Yes / no glyphs — quiet marks, not colored badges */
.compare .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  vertical-align: -2px;
}
.compare .mark.yes { background: color-mix(in oklab, var(--success) 18%, transparent); color: var(--success); }
.compare .mark.no  { background: var(--bg-hover); color: var(--text-quaternary); }

.compare .note {
  color: var(--text-tertiary);
  font-size: 12.5px;
  font-weight: 400;
  margin-left: 2px;
}

.compare .price-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.compare .price-inline s {
  color: var(--text-quaternary);
  text-decoration-thickness: 1.5px;
}

.compare .pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-hover);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.1px;
}
.compare .pill-us {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.compare-foot {
  text-align: center;
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--text-quaternary);
}

.compare-page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px 28px 42px;
  text-align: center;
}
.compare-page-hero h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1;
}
.compare-page-hero p {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.58;
}
.compare-options {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 74px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.compare-option {
  display: flex;
  flex-direction: column;
  min-height: 252px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.compare-option:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--border) 70%, var(--text));
  background: color-mix(in oklab, var(--bg-elevated) 88%, var(--bg-tint));
}
.compare-option-top {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}
.compare-option-top img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}
.compare-option h2 {
  margin-top: auto;
  color: var(--text);
  font-family: var(--font);
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.compare-option p {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}
.compare-option small {
  margin-top: 18px;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 550;
}
.compare-page-table {
  padding-top: 0;
}
.compare-wide {
  max-width: 1120px;
}
.compare-wide .compare-row {
  grid-template-columns: 1.1fr repeat(4, minmax(0, 1fr));
}
.compare-bottom-cta {
  max-width: calc(var(--max) - 56px);
  margin: 0 auto 76px;
  padding: clamp(30px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: #0b0b10;
  color: #ffffff;
}
.compare-bottom-cta h2 {
  max-width: 680px;
  color: #ffffff;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
}
.compare-bottom-cta p {
  max-width: 560px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.55;
}
.compare-bottom-cta .kicker {
  color: rgba(255, 255, 255, 0.44);
}
.compare-bottom-cta .btn-primary {
  flex: 0 0 auto;
  background: #ffffff;
  color: #0b0b10;
}

/* ─────────────── FAQ ─────────────── */
.faq {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
details {
  background: var(--bg-elevated);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition);
}
details:hover { background: var(--bg-hover); }
details[open] { border-color: var(--border-subtle); }
summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--text-tertiary);
  border-bottom: 1.5px solid var(--text-tertiary);
  transform: rotate(45deg);
  transition: transform var(--transition);
  flex: 0 0 auto;
}
details[open] summary::after { transform: rotate(-135deg); }
details p {
  padding: 0 22px 20px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ─────────────── FINAL CTA ─────────────── */
.cta { padding: 40px 28px 100px; }
.cta-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--text);
  color: var(--bg);
  padding: 48px 32px;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 260px at 50% 110%, color-mix(in oklab, var(--bg) 14%, transparent), transparent 70%);
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: var(--bg); margin-bottom: 12px; font-size: clamp(26px, 3vw, 36px); }
.cta-card p {
  color: color-mix(in oklab, var(--bg) 70%, transparent);
  max-width: 460px;
  margin: 0 auto 24px;
  font-size: 14.5px;
}
.cta-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.cta-card .btn-primary { background: var(--bg); color: var(--text); }
.cta-card .btn-primary:hover { box-shadow: 0 10px 28px -8px color-mix(in oklab, var(--bg) 50%, transparent); }
.cta-card .btn-ghost {
  background: transparent;
  color: var(--bg);
  border-color: color-mix(in oklab, var(--bg) 25%, transparent);
}
.cta-card .btn-ghost:hover {
  background: color-mix(in oklab, var(--bg) 8%, transparent);
  border-color: color-mix(in oklab, var(--bg) 40%, transparent);
}
.cta-meta {
  font-size: 12px;
  color: color-mix(in oklab, var(--bg) 50%, transparent);
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─────────────── ASK AI ─────────────── */
.ask-ai {
  padding: clamp(72px, 8vw, 112px) 28px 92px;
  background: var(--bg);
}
.ask-ai-card {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: clamp(26px, 3.4vw, 38px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-surface);
  color: var(--text);
  text-align: center;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.ask-ai-card::before {
  content: none;
}
.ask-ai-card h2 {
  font-family: var(--font);
  color: var(--text);
  max-width: 420px;
  margin: 0 auto;
  font-size: clamp(25px, 2.8vw, 34px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.032em;
}
.ask-ai-card p {
  max-width: 500px;
  margin: 12px auto 0;
  color: var(--text-secondary);
  font-size: clamp(14px, 1.05vw, 15.5px);
  line-height: 1.5;
}
.ask-ai-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.ask-ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: auto;
  min-width: 148px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 14px;
  font-weight: 520;
  letter-spacing: -0.035em;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.ask-ai-btn:hover {
  transform: translateY(-1px);
  background: var(--bg-hover);
  border-color: color-mix(in oklab, var(--border) 70%, var(--text));
  box-shadow: var(--shadow-xs);
}
.ask-ai-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}
:root[data-theme="dark"] .ask-ai-logo {
  filter: none;
  opacity: 0.86;
}
.ask-ai-logo-chatgpt {
  filter: none;
}
:root[data-theme="dark"] .ask-ai-logo-chatgpt {
  filter: invert(1);
  opacity: 0.92;
}
.ask-ai-logo-claude {
  width: 21px;
  height: 21px;
}
.ask-ai-logo-perplexity {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(48%) sepia(94%) saturate(420%) hue-rotate(132deg) brightness(92%) contrast(92%);
  opacity: 1;
}
:root[data-theme="dark"] .ask-ai-logo-perplexity {
  filter: brightness(0) saturate(100%) invert(72%) sepia(77%) saturate(476%) hue-rotate(127deg) brightness(92%) contrast(91%);
  opacity: 0.95;
}
.ask-ai-btn span {
  min-width: 0;
  text-align: left;
  flex: 0 0 auto;
}

/* ─────────────── LATEST ─────────────── */
.latest-section {
  padding: 24px 0 92px;
  background: var(--bg);
}
.latest-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.latest-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.latest-head h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.02;
}
.latest-all {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.latest-all:hover {
  color: var(--text);
}
.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.latest-card {
  display: block;
  min-width: 0;
}
.latest-visual {
  position: relative;
  display: grid;
  align-content: end;
  gap: 10px;
  height: clamp(168px, 16vw, 220px);
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-tint);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.latest-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 32%, color-mix(in oklab, var(--text) 4%, transparent) 32% 33%, transparent 33%),
    linear-gradient(180deg, color-mix(in oklab, var(--text) 5%, transparent), transparent 58%);
  pointer-events: none;
}
.latest-visual span {
  position: relative;
  display: block;
  height: 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--text) 13%, transparent);
}
.latest-visual span:nth-child(1) { width: 54%; }
.latest-visual span:nth-child(2) { width: 78%; }
.latest-visual span:nth-child(3) { width: 38%; }
.latest-visual-dark {
  background: var(--text);
}
.latest-visual-dark::before {
  background:
    linear-gradient(90deg, transparent 0 48%, color-mix(in oklab, var(--bg) 9%, transparent) 48% 49%, transparent 49%),
    linear-gradient(180deg, color-mix(in oklab, var(--bg) 12%, transparent), transparent 58%);
}
.latest-visual-dark span {
  background: color-mix(in oklab, var(--bg) 24%, transparent);
}
.latest-visual-split {
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-tint));
}
.latest-card:hover .latest-visual {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--border) 70%, var(--text));
  background-color: var(--bg-elevated);
}
.latest-meta {
  margin-top: 18px;
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}
.latest-card h3 {
  margin-top: 10px;
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}
.latest-card p {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 34ch;
}

.news-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 86px 28px 46px;
}
.news-hero h1 {
  max-width: 780px;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 1;
}
.news-hero p {
  max-width: 520px;
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.55;
}
.news-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 96px;
}
.news-list-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: var(--bg-elevated);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.news-list-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--border) 70%, var(--text));
  background: color-mix(in oklab, var(--bg-elevated) 88%, var(--bg-tint));
}
.news-list-card .latest-visual {
  height: 260px;
}
.news-list-copy h2 {
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
}
.news-list-copy p {
  max-width: 460px;
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.55;
}

.blog-page {
  padding-bottom: 112px;
}
.blog-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px 28px 58px;
}
.blog-hero-with-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.blog-hero h1 {
  max-width: 760px;
  font-family: var(--font);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 610;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.blog-media-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-tertiary);
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition);
}
.blog-media-toggle:hover {
  color: var(--text);
}
.blog-media-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: color-mix(in oklab, var(--text) 22%, transparent);
  transition: color var(--transition), transform var(--transition);
}
.blog-media-toggle svg {
  width: 22px;
  height: 22px;
}
.blog-media-toggle[aria-pressed="true"] .is-grid,
.blog-media-toggle[aria-pressed="false"] .is-list {
  color: var(--text);
}
.blog-media-toggle:hover .blog-media-toggle-icon {
  transform: translateY(-1px);
}
.blog-page.is-media-hidden .blog-card-media {
  display: none;
}
.blog-page.is-media-hidden .blog-card h2 {
  margin-top: 0;
}
.blog-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.8vw, 36px);
}
.blog-card {
  min-width: 0;
  display: block;
}
.blog-card:hover .blog-card-media {
  transform: translateY(-2px);
}
.blog-card-media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--bg-tint);
  overflow: hidden;
  transition: transform var(--transition);
}
.blog-card h2 {
  margin-top: 18px;
  padding-left: 1px;
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(20px, 1.65vw, 25px);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding-left: 1px;
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.3;
}
.blog-card-meta span + span::before {
  content: "";
}
.blog-card-meta span:first-child {
  color: var(--text-secondary);
  font-weight: 560;
}
.blog-card p {
  max-width: 36ch;
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.52;
}

.article-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 68px 28px 112px;
}
.article-back {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
}
.article-back:hover {
  color: var(--text);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 0;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 520;
  line-height: 1.35;
}
.article-meta span + span::before {
  content: "•";
  margin-right: 8px;
  color: var(--border-strong);
}
.article-hero h1 {
  max-width: 13.5ch;
  margin-top: 28px;
  font-size: clamp(42px, 5.4vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.052em;
}
.article-hero p {
  max-width: 600px;
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: clamp(17px, 1.75vw, 20px);
  line-height: 1.48;
}
.article-body {
  max-width: 660px;
  margin-top: 46px;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.74;
}
.article-body p + p,
.article-body p + h2 {
  margin-top: 20px;
}
.article-body h2 {
  color: var(--text);
  font-family: var(--font);
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.article-body p + h2 {
  padding-top: 6px;
}
.article-body h2 + p {
  margin-top: 12px;
}
.article-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 15px;
  font-weight: 560;
}

/* ─────────────── FOOTER ─────────────── */
.footer { border-top: 1px solid var(--border-subtle); padding: 56px 0 40px; }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand-col p {
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 14px;
  max-width: 280px;
}
.footer-col h4,
.footer-heading {
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }
.footer-theme-toggle {
  width: auto;
  height: 32px;
  padding: 0 12px;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.footer-theme-toggle span {
  display: inline-block;
}
.footer-base {
  max-width: var(--max);
  margin: 50px auto 0;
  padding: 24px 28px 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: 12px;
}

/* ─────────────── iOS landing page ─────────────── */
.ios-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 58px 28px 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(38px, 6vw, 76px);
  align-items: center;
}
.ios-hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(48px, 6.4vw, 82px);
  line-height: 1.01;
}
.ios-hero-copy p {
  max-width: 560px;
  margin-top: 26px;
  color: var(--text-secondary);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
}
.ios-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}
.ios-proofline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.ios-proofline-secondary {
  margin-top: 8px;
}
.ios-privacy-note {
  max-width: 560px;
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.55;
}
.ios-proofline span,
.ios-mini-grid span,
.ios-compliance-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: 13px;
}
.ios-hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.ios-phone-main,
.ios-phone-side,
.ios-split-visual img {
  display: block;
  width: min(100%, 320px);
  height: auto;
  border-radius: 42px;
  box-shadow: var(--shadow-lg);
}
.ios-phone-main {
  position: relative;
  z-index: 2;
  transform: rotate(-3deg);
}
.ios-phone-side {
  position: absolute;
  z-index: 1;
  right: 10px;
  width: min(48%, 260px);
  opacity: 0.94;
  transform: translateY(22px) rotate(5deg);
}
.ios-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 78px 28px;
}
.ios-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.ios-split {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 28px 86px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}
.ios-split-copy h2,
.ios-privacy-band h2 {
  max-width: 11ch;
}
.ios-split-copy p,
.ios-privacy-band p {
  max-width: 600px;
  margin-top: 22px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}
.ios-mini-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.ios-inline-action {
  margin-top: 24px;
}
.ios-split-visual {
  display: flex;
  justify-content: center;
}
.ios-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ios-capability-grid article {
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}
.ios-capability-grid p {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.55;
}
.ios-privacy-band {
  max-width: calc(var(--max) - 56px);
  margin: 0 auto 92px;
  padding: 42px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
}
.ios-compliance-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.ios-guide-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 58px 28px 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.74fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.ios-guide-hero h1 {
  max-width: 12ch;
  font-size: clamp(46px, 6vw, 74px);
  line-height: 1.02;
}
.ios-guide-hero p {
  max-width: 560px;
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.55;
}
.ios-guide-visual {
  display: flex;
  justify-content: center;
}
.ios-guide-visual img,
.ios-guide-menu-visual img {
  display: block;
  width: min(100%, 300px);
  height: auto;
  border-radius: 42px;
  box-shadow: var(--shadow-lg);
}
.ios-guide-section {
  padding-top: 64px;
}
.ios-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ios-guide-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.ios-guide-card,
.ios-guide-menu-list article {
  padding: 22px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}
.ios-guide-card h3,
.ios-guide-menu-list h3 {
  margin-top: 14px;
}
.ios-guide-card p,
.ios-guide-menu-list p {
  margin-top: 9px;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.55;
}
.ios-guide-pill,
.ios-guide-pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 560;
}
.ios-guide-band {
  max-width: calc(var(--max) - 56px);
  margin: 12px auto 20px;
  padding: 34px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: center;
}
.ios-guide-band h2 {
  max-width: 13ch;
}
.ios-guide-band p {
  max-width: 580px;
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}
.ios-guide-pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.ios-guide-menu-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--border-subtle);
}
.ios-guide-menu-table div {
  min-height: 92px;
  padding: 18px 20px;
  background: var(--bg-elevated);
}
.ios-guide-menu-table strong,
.ios-guide-menu-table span {
  display: block;
}
.ios-guide-menu-table strong {
  color: var(--text);
  font-size: 14px;
}
.ios-guide-menu-table span {
  margin-top: 7px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}
.ios-guide-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.ios-guide-menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ios-guide-menu-list h3 {
  margin-top: 0;
}
.ios-guide-menu-visual {
  display: flex;
  justify-content: center;
  position: sticky;
  top: 94px;
}

@media (max-width: 980px) {
  .ios-hero,
  .ios-split,
  .ios-guide-hero,
  .ios-guide-band,
  .ios-guide-split {
    grid-template-columns: 1fr;
  }
  .ios-hero-copy {
    text-align: center;
  }
  .ios-hero-copy h1,
  .ios-hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .ios-actions,
  .ios-proofline {
    justify-content: center;
  }
  .ios-hero-visual {
    min-height: 500px;
  }
  .ios-phone-side {
    right: 10%;
  }
  .ios-feature-grid,
  .ios-capability-grid,
  .ios-guide-grid,
  .ios-guide-action-grid,
  .ios-guide-menu-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ios-guide-pill-row {
    justify-content: flex-start;
  }
  .ios-guide-menu-visual {
    position: static;
  }
  .ios-privacy-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .ios-hero {
    padding: 20px 18px 18px;
    gap: 12px;
  }
  .ios-hero-copy h1 {
    font-size: 34px;
  }
  .ios-hero-copy p {
    margin-top: 12px;
    font-size: 14px;
  }
  .ios-proofline-secondary {
    display: none;
  }
  .ios-proofline {
    justify-content: center;
    margin-top: 14px;
  }
  .ios-proofline span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }
  .ios-privacy-note {
    display: none;
  }
  .ios-actions {
    flex-direction: column;
    margin-top: 16px;
  }
  .ios-actions .btn {
    width: 100%;
  }
  .ios-hero-visual {
    min-height: 180px;
    overflow: hidden;
  }
  .ios-guide-hero {
    padding: 22px 18px 42px;
    gap: 24px;
  }
  .ios-guide-hero h1 {
    font-size: 34px;
  }
  .ios-guide-hero p {
    margin-top: 12px;
    font-size: 14px;
  }
  .ios-guide-visual img,
  .ios-guide-menu-visual img {
    width: 190px;
    border-radius: 30px;
  }
  .ios-phone-main {
    width: 146px;
  }
  .ios-phone-side {
    right: 6px;
    width: 112px;
    transform: translateY(18px) rotate(4deg);
  }
  .ios-section,
  .ios-split {
    padding-left: 18px;
    padding-right: 18px;
  }
  .ios-feature-grid,
  .ios-capability-grid,
  .ios-guide-grid,
  .ios-guide-action-grid,
  .ios-guide-menu-table,
  .ios-guide-menu-list {
    grid-template-columns: 1fr;
  }
  .ios-guide-band {
    margin: 8px 18px 20px;
    padding: 26px 22px;
    border-radius: 22px;
  }
  .ios-privacy-band {
    margin: 0 18px 72px;
    padding: 28px 22px;
    border-radius: 22px;
  }
  .ios-privacy-band .btn {
    width: 100%;
  }
}

/* ─────────────── FEATURE STRIP (landing) ─────────────── */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.fs-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), background var(--transition);
}
.fs-item:hover {
  transform: translateY(-2px);
  background: var(--bg);
}
.fs-visual {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.fs-chip {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  padding: 16px 18px 4px;
}
.fs-title {
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0 18px 6px;
}
.fs-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 0 18px 18px;
  margin: 0;
}

/* Dictionary visual: tag chips */
.fs-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.fs-chip-row span {
  padding: 3px 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Languages visual: mid-sentence switch ribbon */
.fs-lang-ribbon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  max-width: 220px;
}
.fs-lang-flip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
}
.fs-lang-flip b {
  color: var(--text);
  font-weight: 700;
}
.fs-lang-flip span[aria-hidden] {
  color: var(--text-quaternary);
  font-weight: 500;
}
.fs-lang-snippet {
  display: inline-block;
  padding: 6px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 11.5px;
  color: var(--text-secondary);
  font-feature-settings: "ss01" on;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* HUD pill visual */
.fs-hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 8px 14px;
  background: var(--text);
  border-radius: 999px;
  height: 28px;
}
.fs-hud-pill .bar {
  display: inline-block;
  width: 2px;
  height: 12px;
  background: var(--bg);
  border-radius: 1px;
  animation: barWave 1.1s ease-in-out infinite;
}
.fs-hud-pill .bar:nth-child(2) { animation-delay: 0.08s; }
.fs-hud-pill .bar:nth-child(3) { animation-delay: 0.16s; }
.fs-hud-pill .bar:nth-child(4) { animation-delay: 0.24s; }
.fs-hud-pill .bar:nth-child(5) { animation-delay: 0.32s; }
.fs-hud-pill .bar:nth-child(6) { animation-delay: 0.40s; }
.fs-hud-pill .bar:nth-child(7) { animation-delay: 0.48s; }

/* Shortcut keys visual */
.fs-key-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fs-key-row kbd {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 9px;
  min-width: 28px;
  text-align: center;
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
}
.fs-key-or {
  color: var(--text-tertiary);
  font-size: 12px;
}

@media (max-width: 980px) {
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-strip { grid-template-columns: 1fr; }
}

/* ─────────────── FEATURES PAGE (tabbed) ─────────────── */
.features-hero { padding: 72px 28px 24px; text-align: center; background: var(--bg); }
.features-hero h1 { font-size: clamp(36px, 4.4vw, 52px); margin-bottom: 14px; line-height: 1.05; }
.features-hero .lede { max-width: 520px; margin: 0 auto; font-size: 15.5px; color: var(--text-secondary); line-height: 1.55; }

.features-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 28px 80px;
}
.ft-container {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.ft-tabs {
  display: flex;
  gap: 2px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
}
.ft-tabs::-webkit-scrollbar { display: none; }
.ft-tab {
  flex: 0 0 auto;
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  font-family: var(--font);
}
.ft-tab:hover { color: var(--text); }
.ft-tab.active { background: var(--accent-subtle); color: var(--text); }

.ft-panel {
  display: none;
  padding: 56px 48px;
  min-height: 460px;
}
.ft-panel.active { display: grid; }
.ft-panel {
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.ft-copy .kicker { margin-bottom: 14px; }
.ft-copy h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.08;
}
.ft-copy p {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.ft-copy ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.ft-copy li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-secondary);
}
.ft-copy li .check {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--text); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; flex: 0 0 auto; margin-top: 3px;
}
.ft-visual {
  position: relative;
  min-height: 320px;
  background: var(--bg-tint);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dictionary mock — in-app style */
.dict-mock {
  width: 100%;
  max-width: 380px;
  padding: 20px 22px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.dict-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 4px;
}
.dict-sub {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.45;
  margin-bottom: 14px;
}
.dict-inputrow { display: flex; gap: 6px; margin-bottom: 12px; }
.dict-input {
  flex: 1;
  padding: 7px 12px;
  background: var(--bg-hover);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-tertiary);
}
.dict-add {
  padding: 6px 12px;
  background: var(--bg-hover);
  border: none;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font);
}
.dict-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.d-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 4px 11px;
  background: var(--bg-hover);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
}
.d-chip button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--text-tertiary);
  font-size: 13px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

/* Saved mock — in-app style */
.saved-mock {
  width: 100%;
  max-width: 400px;
  padding: 20px 22px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.saved-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.saved-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-hover);
  border-radius: 12px;
}
.saved-text {
  flex: 1;
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.saved-meta { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.saved-time { font-size: 10px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.saved-ic { width: 13px; height: 13px; color: var(--text-tertiary); }

.ft-vis-langs { display: flex; flex-wrap: wrap; gap: 8px; max-width: 320px; justify-content: center; }
.ft-vis-langs .l {
  padding: 7px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.ft-vis-langs .l.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.ft-vis-keys { display: flex; align-items: center; gap: 12px; color: var(--text-tertiary); font-size: 13px; }
.ft-vis-keys .kc {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; height: 48px; padding: 0 14px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-bottom-width: 3px; border-radius: 10px;
  font-family: var(--font-mono); font-size: 14px; color: var(--text);
}

.ft-vis-hud {
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.ft-vis-hud .label { font-size: 11.5px; color: var(--text-tertiary); letter-spacing: 0.04em; }


/* Themes — mini app window previews */
.theme-window {
  width: 220px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  font-family: var(--font);
}
.theme-window .tw-tl {
  display: flex;
  gap: 4px;
  padding: 7px 9px;
}
.theme-window .tw-tl span {
  width: 7px; height: 7px; border-radius: 50%;
}
.theme-window .tw-tl span:nth-child(1) { background: #ff5f57; }
.theme-window .tw-tl span:nth-child(2) { background: #febc2e; }
.theme-window .tw-tl span:nth-child(3) { background: #28c840; }
.theme-window .tw-body {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 6px;
  padding: 0 6px 6px;
  height: 130px;
}
.theme-window .tw-side {
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.theme-window .tw-brand {
  display: flex; align-items: center; gap: 4px; padding: 2px 0 6px;
}
.theme-window .tw-mark {
  width: 12px; height: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.theme-window .tw-mark svg { width: 100%; height: auto; display: block; }
.theme-window .tw-nav { display: flex; flex-direction: column; gap: 3px; }
.theme-window .tw-nav-item {
  height: 8px; border-radius: 99px;
}
.theme-window .tw-main {
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.theme-window .tw-row { height: 6px; border-radius: 99px; width: 100%; }
.theme-window .tw-row.short { width: 60%; }

/* Light theme window */
.theme-window.lt { background: #f6f6f8; border: 1px solid #e4e4e9; }
.theme-window.lt .tw-mark { color: #0b0b10; }
.theme-window.lt .tw-nav-item { background: #eeeef2; }
.theme-window.lt .tw-nav-item.active { background: #ffffff; }
.theme-window.lt .tw-main { background: #ffffff; }
.theme-window.lt .tw-row { background: #eeeef2; }

/* Dark theme window */
.theme-window.dk { background: #000000; border: 1px solid #232327; }
.theme-window.dk .tw-mark { color: #ffffff; }
.theme-window.dk .tw-nav-item { background: #161618; }
.theme-window.dk .tw-nav-item.active { background: #1e1e20; }
.theme-window.dk .tw-main { background: #0e0e10; }
.theme-window.dk .tw-row { background: #1d1d20; }

@media (max-width: 820px) {
  .ft-panel { grid-template-columns: 1fr; gap: 32px; padding: 40px 28px; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────── FEATURES PAGE ─────────────── */
.features-page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(96px, 12vw, 160px) 28px clamp(56px, 8vw, 96px);
  text-align: left;
}
.features-page-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 720px;
}
.features-page-hero .kicker { margin: 0; }
.features-page-hero h1 {
  font-family: var(--font-editorial);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0;
  max-width: 14ch;
  color: var(--text);
}
.features-page-hero p {
  max-width: 520px;
  margin: 0;
  font-size: clamp(15.5px, 1.2vw, 16.5px);
  line-height: 1.55;
  color: var(--text-secondary);
}
.features-page-hero .minimal-link { margin-top: 8px; }

/* Quiet end-of-page download row */
.features-page-end {
  max-width: var(--max);
  margin: clamp(64px, 9vw, 120px) auto 0;
  padding: 0 28px clamp(80px, 10vw, 140px);
}
.features-page-end-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 3.5vw, 44px) clamp(28px, 3.5vw, 44px);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}
.features-page-end-inner h2 {
  font-family: var(--font-editorial);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 4px;
  color: var(--text);
}
.features-page-end-inner p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-tertiary);
}
@media (max-width: 620px) {
  .features-page-end-inner { padding: 24px 0; }
  .features-page-end-inner .btn { width: 100%; justify-content: center; }
}

/* Reverse-order home-split (visual left, copy right) */
.features-split-reverse .home-split-copy { order: 2; }
.features-split-reverse .home-visual { order: 1; }

/* CSS-only mockup visuals (no scene photo) */
.features-mock-visual {
  background: var(--bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 3vw, 40px);
}
.features-mock-visual::after { content: none; }
.features-mock {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
}
.features-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.features-mock-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.features-mock-tag {
  font-size: 11.5px;
  color: var(--text-tertiary);
  padding: 3px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 5%, transparent);
  border: 1px solid var(--border-subtle);
}

/* Vocab mockup */
.features-mock-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.features-mock-list li {
  font-size: 14px;
  color: var(--text);
  padding: 7px 11px;
  border-radius: 8px;
  background: var(--bg-tint);
}
.features-mock-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 4px 0;
}
.features-mock-keyword {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.features-mock-keyword > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  align-items: baseline;
}
.features-mock-keyword > div span {
  font-size: 11.5px;
  color: var(--text-tertiary);
}
.features-mock-keyword > div strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

/* Refine mockup */
.features-mock-diff {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.features-mock-diff-row {
  background: var(--bg-tint);
  border-radius: 10px;
  padding: 11px 13px;
}
.features-mock-diff-row span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}
.features-mock-diff-row p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.45;
}
.features-mock-diff-row.after {
  background: color-mix(in srgb, var(--success) 10%, var(--bg-tint));
  border: 1px solid color-mix(in srgb, var(--success) 22%, transparent);
}
.features-mock-shortcuts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.features-mock-shortcuts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px 5px 5px;
  background: var(--bg-tint);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text);
}
.features-mock-shortcuts em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* App-around-it mockup */
.features-mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
}
.features-mock-stats > div {
  background: var(--bg-elevated);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.features-mock-stats span {
  font-size: 11px;
  color: var(--text-tertiary);
}
.features-mock-stats strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.features-mock-history {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.features-mock-history-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 9px 11px;
  border-radius: 9px;
  background: var(--bg-tint);
}
.features-mock-history-row.muted { opacity: 0.55; }
.features-mock-history-time {
  font-size: 11px;
  color: var(--text-tertiary);
}
.features-mock-history-row p {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}
.features-mock-saved {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}
.features-mock-themepair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.features-mock-themeswatch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 12.5px;
  color: var(--text);
  border: 1px solid var(--border-subtle);
}
.features-mock-themeswatch em {
  font-style: normal;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}
.features-mock-themeswatch.light { background: #f6f6f8; color: #0b0b10; }
.features-mock-themeswatch.light em { background: #fff; border: 1px solid #e4e4e9; }
.features-mock-themeswatch.dark { background: #0e0e10; color: #fff; border-color: #1f1f23; }
.features-mock-themeswatch.dark em { background: #161618; border: 1px solid #2a2a30; }

@media (max-width: 820px) {
  .features-split-reverse .home-split-copy,
  .features-split-reverse .home-visual { order: initial; }
  .features-mock { max-width: 100%; }
}

/* ─────────────── FEATURES V2 ─────────────── */
/* ─────────────── SUBPAGES — Pricing ─────────────── */
.pricing-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 28px 8px;
  text-align: center;
  background: var(--bg);
}
.pricing-hero h1 {
  font-family: var(--font-editorial);
  font-size: clamp(34px, 4.8vw, 56px);
  margin-bottom: 12px;
  line-height: 0.98;
  letter-spacing: -0.052em;
}
.pricing-hero .lede {
  max-width: 500px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.pricing-grid {
  --pricing-card-bg: var(--text);
  --pricing-card-fg: var(--bg);
  --pricing-card-muted: color-mix(in srgb, var(--bg) 70%, transparent);
  --pricing-card-faint: color-mix(in srgb, var(--bg) 50%, transparent);
  --pricing-card-border: color-mix(in srgb, var(--bg) 11%, transparent);
  --pricing-card-hover-border: color-mix(in srgb, var(--bg) 28%, transparent);
  max-width: 1040px;
  margin: 0 auto;
  padding: 36px 28px 78px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
:root[data-theme="dark"] .pricing-grid {
  --pricing-card-bg: var(--bg-elevated);
  --pricing-card-fg: var(--text);
  --pricing-card-muted: var(--text-secondary);
  --pricing-card-faint: var(--text-tertiary);
  --pricing-card-border: var(--border);
  --pricing-card-hover-border: color-mix(in srgb, var(--text) 22%, var(--border));
}
.plan {
  min-height: 472px;
  background: var(--pricing-card-bg);
  border: 1px solid var(--pricing-card-border);
  border-radius: 24px;
  padding: clamp(24px, 2.25vw, 32px);
  display: flex;
  flex-direction: column;
  position: relative;
  color: var(--pricing-card-fg);
  box-shadow: none;
  transition:
    transform 180ms var(--easing),
    border-color 180ms ease,
    box-shadow 180ms ease;
}
.plan:hover {
  transform: translateY(-3px);
  border-color: var(--pricing-card-hover-border);
  box-shadow: 0 18px 44px -30px color-mix(in srgb, var(--text) 52%, transparent);
}
.plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  margin-bottom: 14px;
}
.plan-kicker {
  margin-bottom: 14px;
  color: color-mix(in srgb, var(--pricing-card-fg) 34%, transparent);
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}
.plan h3 {
  color: var(--pricing-card-fg);
  font-family: var(--font);
  font-size: clamp(18px, 1.65vw, 23px);
  margin-bottom: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pricing-card-fg) 9%, transparent);
  color: var(--pricing-card-muted);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}
.plan .price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 60px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}
.plan .price-tag .num {
  color: var(--pricing-card-fg);
  font-family: var(--font-editorial);
  font-size: clamp(38px, 3.6vw, 54px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.9;
}
.plan .price-tag .per {
  color: var(--pricing-card-faint);
  font-size: 13px;
}
.plan .price-tag .price-was {
  color: var(--pricing-card-faint);
  font-size: 13px;
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  margin-right: 2px;
}
.plan .price-note {
  min-height: 22px;
  color: var(--pricing-card-faint);
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 34px;
}
.plan .price-note.price-launch {
  color: var(--pricing-card-faint);
  font-weight: 400;
  font-size: 13px;
}
.plan-copy {
  max-width: 320px;
  color: var(--pricing-card-muted);
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 28px;
}
.plan-includes {
  margin: 0 0 14px;
  color: color-mix(in srgb, var(--pricing-card-fg) 86%, transparent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.38;
}
.pricing-fineprint {
  grid-column: 1 / -1;
  max-width: 680px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-quaternary);
  text-align: center;
  padding: 8px 24px 0;
}
.plan ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0 0 24px;
}
.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--pricing-card-muted);
  font-size: 12.5px;
  line-height: 1.42;
}
.plan li .check {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pricing-card-fg);
  background: transparent;
  font-size: 14px;
  flex: 0 0 auto;
  margin-top: 0;
}
.plan .btn {
  width: 100%;
  margin-top: auto;
  height: 38px;
  box-shadow: none;
  font-size: 13px;
}
.plan .btn-ghost {
  color: var(--pricing-card-fg);
  border-color: var(--pricing-card-hover-border);
  background: transparent;
}
.plan .btn-ghost:hover {
  color: var(--pricing-card-bg);
  border-color: var(--pricing-card-fg);
  background: var(--pricing-card-fg);
  transform: translateY(-1px);
}
.plan .btn-primary {
  background: var(--pricing-card-fg);
  color: var(--pricing-card-bg);
  border-color: var(--pricing-card-fg);
}
.plan .btn-primary:hover {
  background: color-mix(in srgb, var(--pricing-card-fg) 88%, var(--pricing-card-muted));
  color: var(--pricing-card-bg);
  transform: translateY(-1px);
}

.pricing-mini-faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 28px 96px;
}
.pricing-faq-head {
  margin-bottom: 18px;
  text-align: center;
}
.pricing-faq-head h2 {
  font-family: var(--font-editorial);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

/* ─────────────── SUBPAGES — Checkout ─────────────── */
.checkout-body {
  --nav-page-offset: 0px;
}
.checkout-page {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  background: var(--bg-tint);
  padding: clamp(28px, 7vh, 72px) 22px 34px;
}
.checkout-shell {
  width: min(980px, 100%);
}
.checkout-card {
  background: color-mix(in oklab, var(--bg-elevated) 78%, var(--bg));
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-sm);
}
.checkout-brand {
  margin-bottom: 30px;
}
.checkout-card .logo-mark {
  width: 24px;
  height: 24px;
}
.checkout-card .logo-text {
  font-size: 16px;
}
.checkout-card .kicker {
  margin-bottom: 12px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
}
.checkout-card h1 {
  max-width: 430px;
  font-size: clamp(33px, 5vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}
.checkout-card p {
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}
.checkout-debug {
  white-space: pre-wrap;
  overflow: auto;
  max-height: 160px;
  margin: 14px 0 0;
  padding: 12px;
  border-radius: 8px;
  background: var(--bg-hover);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
}

.legal-copy {
  max-width: 760px;
}
.legal-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 40px;
}
.legal-summary-grid .bento-card {
  min-width: 0;
}
.legal-copy h2 {
  font-size: 22px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.legal-copy p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 32px;
}
.legal-copy a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-copy .legal-updated {
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-tertiary);
}
.legal-warning {
  margin-bottom: 32px;
  padding: 14px 16px;
  border: 1px solid color-mix(in oklab, var(--danger) 35%, var(--border));
  border-radius: var(--radius-sm);
  background: color-mix(in oklab, var(--danger) 8%, var(--bg-elevated));
  color: var(--text-secondary);
  font-size: 14px;
}
.legal-warning strong {
  color: var(--text);
  font-weight: 650;
}
.market-pill {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  text-align: center;
}
.market-pill.featured { border-color: var(--text-secondary); }
.market-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}
.market-row img { width: 14px; height: 14px; border-radius: 3px; }
.market-price {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.market-price span { font-size: 11px; font-weight: 400; color: var(--text-tertiary); margin-left: 2px; }
.market-tag {
  font-size: 10.5px;
  color: var(--text-tertiary);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* ─────────────── SUBPAGES — VS WISPR ─────────────── */
.vs-hero {
  padding: 80px 28px 40px;
  text-align: center;
  background: var(--grad-hero), var(--bg);
}
.vs-hero .vs-badges {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}
.vs-hero .vs-vs {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.vs-hero .vs-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}
.vs-hero .vs-card img { width: 20px; height: 20px; border-radius: 5px; }

.vs-table-section { padding: 60px 28px; max-width: 1100px; margin: 0 auto; }
.vs-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px 60px;
}
.vs-summary-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
}
.vs-summary-card h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 6px; }
.vs-summary-card h3 img { width: 22px; height: 22px; border-radius: 5px; }
.vs-summary-card .takeaway { color: var(--text-secondary); font-size: 14px; margin-bottom: 18px; line-height: 1.55; }
.vs-summary-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.vs-summary-card li { font-size: 13.5px; color: var(--text-secondary); display: flex; gap: 8px; align-items: flex-start; }
.vs-summary-card li::before { content: "—"; color: var(--text-tertiary); }

/* ─────────────── Reveal ─────────────── */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--easing), transform 600ms var(--easing); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ─────────────── Responsive ─────────────── */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .speed-grid { grid-template-columns: 1fr; }
  .speed-side + .speed-side { border-left: none; border-top: 1px solid var(--border-subtle); }
  .speed-side { padding: 56px 28px; }
  .privacy-row { grid-template-columns: 1fr; gap: 32px; }
  .price-teaser { grid-template-columns: 1fr; gap: 32px; }
  .keywords-grid { grid-template-columns: 1fr; gap: 36px; }
  .keywords-copy h2 { max-width: none; }
  .workflow-strip { grid-template-columns: 1fr; }
  .workflow-step + .workflow-step { border-left: 0; border-top: 1px solid var(--border-subtle); }
  .workflow-step { min-height: 0; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .use-case-list { grid-template-columns: repeat(2, 1fr); }
  .home-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-list-card { grid-template-columns: 1fr; }
  .uc-content { grid-template-columns: 1fr; }
  .uc-more .use-case-list { grid-template-columns: repeat(2, 1fr); }
  .pseo-usecase .uc-workflow-strip { grid-template-columns: 1fr; }
  .pseo-usecase .uc-workflow-strip .workflow-step + .workflow-step { border-left: 0; }
  .pseo-usecase .uc-role-links .home-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uc-example-row,
  .uc-example-row.is-reversed {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .uc-example-row.is-reversed .uc-example-copy,
  .uc-example-row.is-reversed .uc-example-visual {
    order: initial;
  }
  .uc-example-copy { max-width: 680px; }
  .uc-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uc-benefits { grid-template-columns: 1fr; gap: 34px; }
  .uc-topways-list { grid-template-columns: 1fr; gap: 18px; }
  .uc-related-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-wide, .b-half, .b-third { grid-column: span 2; }
  .compare { padding: 16px; }
  .compare-top { grid-template-columns: 1fr; }
  .compare-intro { padding: 4px 4px 8px; }
  .compare-intro p { max-width: none; }
  .compare-row { grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr)); }
  .compare-wide .compare-row { grid-template-columns: 1.1fr repeat(4, minmax(0, 1fr)); }
  .compare-cell { padding: 13px 12px; font-size: 12.5px; }
  .compare-options { grid-template-columns: 1fr; }
  .compare-bottom-cta { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 760px; }
  .vs-summary { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .hero { padding: 48px 20px 20px; }
  .home-split,
  .home-split-privacy,
  .home-split-draft,
  .home-split-refine,
  .home-split-apps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .home-split-privacy .home-split-copy,
  .home-split-draft .home-split-copy,
  .home-split-apps .home-split-copy {
    order: 0;
  }
  .home-split-copy h2,
  .home-split-copy p {
    max-width: 620px;
  }
  .hero-window-body {
    grid-template-columns: 176px minmax(0, 1fr);
    min-height: 390px;
  }
  .hero-sidebar {
    padding: 14px 10px;
  }
}
@media (max-width: 560px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .logos { padding: 36px 0 4px; }
  .logos-label { margin-bottom: 14px; }
  .logos-marquee { gap: 12px; }
  .logos-track { gap: 12px; padding-right: 12px; animation-duration: 28s; }
  .logos-marquee .app-pill { width: 112px; }
  .hero { padding-top: 32px; }
  .hero-inner { padding: 0 20px 34px; }
  .hero h1 {
    max-width: 11.5ch;
    font-size: 38px;
  }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .windows-waitlist { width: 100%; }
  .windows-waitlist-row { grid-template-columns: 1fr; border-radius: var(--radius-xl); }
  .windows-waitlist input,
  .windows-waitlist-form button { width: 100%; }
  .hero-stage { padding: 0 16px; }
  .hero-stage-inner {
    min-height: 282px;
    padding: 22px 16px 78px;
    border-radius: 14px 14px 0 0;
  }
  .typed-card {
    padding: 14px;
    font-size: 14px;
  }
  .typed-mode-row {
    margin-bottom: 12px;
  }
  .typed-text {
    min-height: 82px;
  }
  .hero-command-pill {
    width: calc(100% - 32px);
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }
  .hero-app-window {
    border-radius: 14px 14px 0 0;
  }
  .hero-window-top {
    grid-template-columns: 86px 1fr 86px;
    height: 38px;
  }
  .hero-traffic {
    gap: 5px;
    padding-left: 12px;
  }
  .hero-traffic span {
    width: 9px;
    height: 9px;
  }
  .hero-window-title,
  .hero-window-status {
    font-size: 11px;
  }
  .hero-window-status {
    padding-right: 12px;
  }
  .hero-window-body {
    display: block;
    min-height: 0;
  }
  .hero-sidebar {
    display: none;
  }
  .hero-main-panel {
    padding: 18px;
    gap: 14px;
  }
  .hero-dictation-card {
    min-height: 170px;
  }
  .hero-command {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .pricing-hero { padding: 42px 22px 16px; }
  .pricing-grid { padding: 24px 18px 58px; }
  .plan { min-height: 0; border-radius: 22px; }
  .ask-ai { padding: 48px 16px 48px; }
  .ask-ai-card { border-radius: 20px; padding: 36px 20px; }
  .ask-ai-card::before { border-radius: 19px; }
  .ask-ai-card h2 { font-size: 29px; }
  .ask-ai-card p { font-size: 14.5px; }
  .ask-ai-actions { flex-direction: column; gap: 9px; margin-top: 24px; }
  .ask-ai-btn { width: min(100%, 218px); min-width: 0; height: 42px; padding: 0 18px; font-size: 15px; }
  .ask-ai-logo { width: 18px; height: 18px; }
  .ask-ai-logo-claude { width: 21px; height: 21px; }
  .ask-ai-logo-perplexity { width: 20px; height: 20px; }
  .home-split {
    padding: 64px 16px 0;
    gap: 18px;
  }
  .home-split-copy .kicker { margin-bottom: 12px; }
  .home-split-copy h2 { font-size: 32px; }
  .home-split-copy p {
    margin-top: 16px;
    font-size: 14.5px;
  }
  .home-proofline {
    margin-top: 22px;
    gap: 7px;
  }
  .home-proofline span {
    min-height: 31px;
    padding: 0 11px;
    font-size: 12px;
  }
  .home-visual {
    min-height: 360px;
    border-radius: 22px;
  }
  .home-split-workflow .home-visual,
  .home-split-dictation .home-visual,
  .home-split-draft .home-visual,
  .home-split-refine .home-visual {
    min-height: 430px;
  }
  .home-split-refine .home-visual {
    min-height: 430px;
  }
  .workflow-card {
    top: 26px;
    left: 16px;
    right: 16px;
    width: auto;
    transform: none;
    padding: 16px;
  }
  .workflow-card p {
    font-size: 13.5px;
  }
  .workflow-apps {
    left: 16px;
    right: 16px;
    top: 222px;
    bottom: auto;
    width: auto;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
  }
  .workflow-hud {
    bottom: 76px;
  }
  .draft-card,
  .refine-card {
    width: calc(100% - 32px);
  }
  .draft-card {
    min-height: 410px;
  }
  .draft-target-card {
    width: 90%;
    padding: 13px;
  }
  .draft-target-head {
    margin-bottom: 10px;
  }
  .draft-target-app {
    min-height: 25px;
    font-size: 11.5px;
  }
  .draft-target-card p {
    font-size: 12.5px;
  }
  .draft-appshot-card {
    width: 92%;
    height: 214px;
  }
  .draft-appshot-body {
    font-size: 12px;
  }
  .draft-appshot-footer {
    gap: 8px;
  }
  .draft-appshot-footer button {
    height: 28px;
    padding: 0 9px;
    font-size: 11.5px;
  }
  .draft-appshot-footer button:first-child {
    min-width: 96px;
  }
  .draft-appshot-footer button:last-child {
    min-width: 78px;
  }
  .draft-appshot-footer kbd {
    min-width: 20px;
    padding: 0 5px;
    font-size: 10px;
  }
  .refine-card {
    min-height: 354px;
    width: calc(100% - 32px);
  }
  .refine-document-card {
    height: 198px;
    padding: 18px;
    border-radius: 14px;
  }
  .refine-document-card p {
    font-size: 13px;
  }
  .refine-document-card ul {
    display: none;
  }
  .refine-shortcut-hint {
    top: 220px;
    font-size: 11px;
  }
  .refine-live-stage {
    top: 254px;
  }
  .refine-shortcut {
    min-width: 72px;
    height: 32px;
    font-size: 11.5px;
  }
  .refine-changes-tray {
    top: 266px;
    width: 142px;
    height: 26px;
    font-size: 11.5px;
  }
  .refine-changes-tray small {
    display: none;
  }
  .refine-review-pop {
    top: 190px;
    width: min(calc(100% - 26px), 360px);
    height: 170px;
  }
  .privacy-badges {
    inset: auto 16px 28px;
  }
  .privacy-badges span {
    min-height: 31px;
    padding: 0 11px;
    font-size: 12px;
  }
  .privacy-flow {
    left: 50%;
    top: 43%;
    width: calc(100% - 32px);
    gap: 7px;
  }
  .privacy-flow::before,
  .privacy-flow::after {
    display: none;
  }
  .privacy-node {
    min-height: 31px;
    padding: 0 10px;
    font-size: 11.5px;
  }
  .privacy-core {
    min-width: 104px;
    min-height: 76px;
    padding: 12px;
    border-radius: 19px;
    font-size: 11.5px;
  }
  .privacy-core-icon {
    width: 54px;
    height: 26px;
  }
  .apps-icon-cloud {
    top: 48px;
    width: calc(100% - 32px);
    gap: 7px;
    flex-wrap: wrap;
  }
  .apps-icon-cloud span {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }
  .apps-icon-cloud img {
    width: 22px;
    height: 22px;
  }
  .apps-flow {
    left: 16px;
    right: 16px;
    bottom: 24px;
    width: auto;
    transform: none;
    gap: 7px;
  }
  .apps-flow span {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 11px;
    font-size: 12.5px;
  }
  .home-links { padding: 56px 0 28px; }
  .home-links-grid { grid-template-columns: 1fr; }
  .home-link-card { min-height: 168px; }
  .latest-section { padding: 8px 0 64px; }
  .latest-head { align-items: flex-start; flex-direction: column; margin-bottom: 24px; }
  .latest-grid { grid-template-columns: 1fr; gap: 28px; }
  .latest-visual { height: 178px; padding: 18px; }
  .news-hero { padding-top: 56px; padding-bottom: 34px; }
  .news-list { padding-bottom: 64px; }
  .news-list-card { padding: 16px; }
  .news-list-card .latest-visual { height: 190px; }
  .blog-page { padding-bottom: 72px; }
  .blog-hero {
    padding-top: 56px;
    padding-bottom: 28px;
  }
  .blog-hero-with-controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .blog-hero,
  .blog-topics,
  .blog-grid {
    padding-left: 20px;
    padding-right: 20px;
  }
  .blog-hero h1 {
    max-width: 12ch;
    font-size: clamp(30px, 9vw, 36px);
    line-height: 1.06;
    overflow-wrap: break-word;
  }
  .blog-grid { grid-template-columns: 1fr; gap: 34px; }
  .blog-card-media { aspect-ratio: 1 / 1; }
  .article-page { padding-top: 56px; padding-bottom: 72px; }
  .article-body { margin-top: 42px; font-size: 16px; }
  .market-pill { padding: 12px 10px; }
  .bento { grid-template-columns: 1fr; }
  .b-wide, .b-half, .b-third { grid-column: span 1; }
  .compare { padding: 12px; border-radius: 22px; }
  .compare-card { min-height: 0; }
  .compare-matrix { display: none; }
  .compare-foot { display: none; }
  .compare-foot-cta { display: none; }
  .compare-mobile-links { display: flex !important; }
  .compare-page-hero { padding-top: 56px; padding-bottom: 34px; }
  .compare-options { padding-bottom: 54px; }
  .compare-option { min-height: 214px; }
  .compare-bottom-cta { margin: 0 16px 64px; border-radius: 22px; }
  .keyword-demo-body { padding: 22px; }
  .keyword-list div { grid-template-columns: 1fr; gap: 4px; }
  .keyword-output { align-items: flex-start; flex-direction: column; padding: 14px 16px; }
  .workflow-step { padding: 24px 0; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card { min-height: 0; }
  .use-cases-inner { padding: 24px; }
  .use-case-list { grid-template-columns: 1fr; }
  .uc-hero { padding-top: 54px; }
  .uc-content { padding-bottom: 54px; }
  .uc-card { padding: 22px; }
  .uc-more .use-case-list { grid-template-columns: 1fr; }
  .pseo-usecase .uc-landing-hero { padding-top: 32px; }
  .pseo-usecase .uc-landing-hero h1 { font-size: 38px; max-width: 11.5ch; }
  .pseo-usecase .uc-logos { padding-top: 56px; }
  .pseo-usecase .uc-role-links .home-links-grid { grid-template-columns: 1fr; }
  .pseo-usecase .uc-workflow-strip { margin-top: 56px; padding: 0 20px; }
  .pseo-usecase .uc-workflow-strip .workflow-step { padding: 24px 0; }
  .pseo-usecase .uc-visual { min-height: 430px; }
  .uc-article { padding: 58px 20px 0; }
  .uc-back-link { margin-bottom: 32px; }
  .uc-article-meta { gap: 7px 14px; font-size: 11px; }
  .uc-article-hero { padding-bottom: 44px; }
  .uc-article-hero h1 { font-size: 38px; max-width: 100%; }
  .uc-article-hero p { font-size: 16px; }
  .uc-example-list { gap: 18px; padding-bottom: 64px; }
  .uc-example-row { padding: 24px 0; border-radius: 0; }
  .uc-example-copy h2 { font-size: 31px; }
  .uc-example-copy p { font-size: 15.5px; }
  .uc-example-visual { min-height: 320px; border-radius: 22px; }
  .uc-context-card { width: calc(100% - 32px); }
  .uc-context-card p { font-size: 23px; }
  .uc-related-editorial { padding-bottom: 72px; }
  .uc-final-cta-editorial { margin-left: 16px; margin-right: 16px; padding: 28px 18px; }
  .uc-page-hero { padding-top: 42px; padding-bottom: 36px; }
  .uc-page-hero h1 { font-size: 34px; }
  .uc-page-hero p { font-size: 15px; }
  .uc-hero-ctas { justify-content: stretch; }
  .uc-apps-section { padding-bottom: 48px; }
  .uc-apps-panel,
  .uc-topways-panel {
    border-radius: 22px;
    padding: 24px 20px;
  }
  .uc-app-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .uc-app-card { min-height: 112px; }
  .uc-benefits { padding-top: 10px; padding-bottom: 54px; }
  .uc-topways-section { padding-bottom: 64px; }
  .uc-demo-section { padding-bottom: 40px; }
  .uc-demo-card { padding: 22px; }
  .uc-related { padding-bottom: 72px; }
  .uc-related .compact-head { margin-bottom: 28px; }
  .uc-final-cta { margin: 0 16px 64px; border-radius: 22px; }
  .uc-related-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-inner { padding: 12px 18px; }
  .nav-cta .btn-sm { display: none; }
  .typed-card { padding: 14px; font-size: 14px; }
}

/* ──────────────────────────────────────────────────────────
   Download progress modal
   ────────────────────────────────────────────────────────── */
.dl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 12, 0.48);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.dl-overlay.open { opacity: 1; pointer-events: auto; }

.dl-card {
  width: min(440px, calc(100vw - 32px));
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 26px 20px;
  box-shadow: var(--shadow-lg);
  transform: translateY(8px) scale(0.98);
  transition: transform 220ms cubic-bezier(.2,.9,.3,1);
}
.dl-overlay.open .dl-card { transform: translateY(0) scale(1); }

.dl-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.dl-sub {
  font-size: 13px;
  color: var(--text-tertiary);
  min-height: 18px;
}

.dl-bar-track {
  margin-top: 18px;
  height: 5px;
  border-radius: 999px;
  background: var(--bg-hover);
  overflow: hidden;
  position: relative;
}
.dl-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--text);
  border-radius: 999px;
  transition: width 120ms linear;
}
.dl-bar-fill.indeterminate {
  width: 35% !important;
  animation: dl-indet 1.3s ease-in-out infinite;
}
@keyframes dl-indet {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

.dl-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.1px;
}

.dl-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}
.dl-btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font: 500 13px/1 inherit;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 120ms, color 120ms, border-color 120ms;
}
.dl-btn:hover { background: var(--bg-hover); color: var(--text); }
.dl-btn.primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.dl-btn.primary:hover { opacity: 0.88; background: var(--text); }

/* ——— Floating "download in progress" pill ———
   Shown when the user hits "Browse site" and the modal dismisses. Sits
   bottom-right, click to re-open the full dialog. The progress ring is
   an SVG with stroke-dashoffset driven from JS. */
.dl-pill {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 12px;
  background: var(--bg-elevated, rgba(20,20,22,0.92));
  color: var(--text);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.18);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.dl-pill.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.dl-pill:hover { background: var(--bg-hover); }

.dl-pill-ring {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dl-pill-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg); /* start the arc at 12 o'clock */
}
.dl-pill-ring-track {
  fill: none;
  stroke: var(--border, rgba(255,255,255,0.15));
  stroke-width: 3;
}
.dl-pill-ring-fill {
  fill: none;
  stroke: var(--accent, #6ee7ff);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 200ms ease;
}

.dl-pill-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.dl-pill-title {
  font-weight: 600;
  color: var(--text);
}
.dl-pill-meta {
  font-size: 11px;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.dl-done-steps {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--bg-tint);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.dl-done-steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: dl-step;
}
.dl-done-steps li {
  counter-increment: dl-step;
  position: relative;
  padding-left: 24px;
}
.dl-done-steps li::before {
  content: counter(dl-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-size: 10px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.dl-done-steps li + li { margin-top: 6px; }
.dl-done-steps b { color: var(--text); font-weight: 600; }

/* ─── Accessibility ─── */
:focus-visible {
  outline: 2px solid var(--accent, #4a4a52);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
  }
}

.footer-contact {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 120ms, border-color 120ms;
}
.footer-contact:hover {
  color: var(--text-secondary);
  border-bottom-color: currentColor;
}
.checkout-price-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 14px;
  padding: 20px 22px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-elevated);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 18px;
  align-items: start;
}
.checkout-summary,
.checkout-payment {
  min-width: 0;
}
.checkout-payment {
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-elevated);
  overflow: hidden;
}
.checkout-payment[hidden] {
  display: none;
}
.checkout-frame-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
}
#checkout-frame-state {
  color: var(--text-tertiary);
  font-weight: 400;
}
.checkout-container {
  min-height: 450px;
  background: var(--bg-elevated);
}
.checkout-price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
}
.checkout-price-line #checkout-price {
  color: var(--text);
  font-size: clamp(40px, 8vw, 48px);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 0.92;
}
.checkout-price-card p {
  margin: 0;
  max-width: 410px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-tertiary);
}
.checkout-summary-rows {
  margin: 0 0 14px;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: color-mix(in oklab, var(--bg-elevated) 82%, var(--bg-tint));
  overflow: hidden;
}
.checkout-summary-rows div {
  display: grid;
  grid-template-columns: minmax(96px, 0.7fr) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.checkout-summary-rows div:last-child {
  border-bottom: 0;
}
.checkout-summary-rows dt,
.checkout-summary-rows dd {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.35;
}
.checkout-summary-rows dt {
  color: var(--text-tertiary);
}
.checkout-summary-rows dd {
  color: var(--text);
  text-align: right;
}
.checkout-check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--text-secondary);
  background: color-mix(in oklab, var(--bg-elevated) 82%, var(--bg-tint));
  padding: 9px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  cursor: pointer;
  margin: 0 0 12px;
}
.checkout-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  position: relative;
  margin: 1px 0 0;
  width: 13px;
  height: 13px;
  border: 1px solid color-mix(in oklab, var(--text-tertiary) 48%, var(--border));
  border-radius: 4px;
  background: var(--bg-elevated);
  accent-color: var(--text);
}
.checkout-check input[type="checkbox"]:checked {
  border-color: var(--text);
  background:
    linear-gradient(135deg, transparent 0 46%, var(--bg-elevated) 46% 58%, transparent 58%),
    linear-gradient(45deg, transparent 0 38%, var(--bg-elevated) 38% 50%, transparent 50%),
    var(--text);
}
.checkout-fineprint {
  font-size: 12.5px;
  color: var(--text-tertiary);
  margin: 0 0 20px;
  line-height: 1.5;
  text-align: left;
}
.checkout-fineprint a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.checkout-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.checkout-card .btn {
  height: auto;
  min-height: 48px;
  padding: 0 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  transition: opacity 120ms ease, background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.checkout-card .btn:hover {
  transform: none;
}
.checkout-card .btn-primary:hover {
  opacity: 0.9;
  background: var(--text);
}
.checkout-card .btn-primary:active {
  opacity: 0.8;
}
#consent-continue:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
#checkout-status {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 14px 0 0;
  text-align: left;
  max-width: 420px;
}

:root[data-theme="dark"] .checkout-price-card {
  box-shadow: none;
}

@media (max-width: 860px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .checkout-page {
    padding: 16px;
  }
  .checkout-card {
    padding: 24px 20px;
  }
  .checkout-brand {
    margin-bottom: 28px;
  }
  .checkout-card h1 {
    font-size: 34px;
    margin-bottom: 18px;
  }
  .checkout-price-card {
    padding: 18px;
  }
  .checkout-summary-rows div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .checkout-summary-rows dd {
    text-align: left;
  }
  .checkout-check {
    padding: 9px 10px;
    font-size: 11.5px;
  }
  .checkout-card .btn {
    width: 100%;
  }
  .checkout-container {
    min-height: 520px;
  }
}

/* Brand favicons used in comparison cards / pills / vs-pages */
.vendor-logo {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 4px;
}
.market-row .vendor-logo {
  width: 16px;
  height: 16px;
}

/* ─── Mobile nav ─── */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  width: var(--nav-toggle-size, 36px);
  height: var(--nav-toggle-size, 36px);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text);
}
.nav-toggle span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), opacity 160ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  background: var(--bg);
  transition: grid-template-rows 280ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease, border-color 200ms ease;
  border-top: 1px solid transparent;
}
.mobile-nav > .mobile-nav-inner {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 18px;
  transition: padding 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  border-top-color: var(--border-subtle);
}
.mobile-nav.is-open > .mobile-nav-inner {
  padding: 12px 18px 18px;
}
.mobile-nav a {
  padding: 14px 6px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav-group {
  padding: 8px 0 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-nav-group:last-child {
  border-bottom: 0;
}
.mobile-nav-label {
  padding: 6px 6px 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.mobile-nav-group a {
  border-bottom: 0;
  padding: 11px 6px;
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 981px) {
  .mobile-nav { display: none !important; }
}

/* Use the real hero HUD pill inside the feature card visual — slightly
   scaled so it fits the 88px tall card slot without dominating it. */
.fs-visual-hud .hud-pill { transform: scale(0.85); }

/* ─── Launching soon page ─── */
.soon-hero {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.soon-inner {
  max-width: 480px;
  text-align: center;
}
.soon-pill {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.soon-hero .kicker {
  margin-bottom: 14px;
}
.soon-signoff {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-tertiary);
  font-style: italic;
}
.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.soon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: soonPulse 2.4s ease-in-out infinite;
}
@keyframes soonPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.soon-hero h1 {
  font-size: clamp(30px, 4.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  font-weight: 600;
}
.soon-hero .lede {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 auto 32px;
}
.soon-form {
  display: flex;
  gap: 8px;
  margin: 0 auto 12px;
}
.soon-form input[type="email"] {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 160ms ease;
}
.soon-form input[type="email"]:focus {
  border-color: var(--text-secondary);
}
.soon-form .btn { white-space: nowrap; }
.soon-note {
  font-size: 12px;
  color: var(--text-tertiary);
  margin: 0;
}
@media (max-width: 540px) {
  .soon-form { flex-direction: column; }
  .soon-form .btn { width: 100%; justify-content: center; }
}

/* ─────────────── Programmatic SEO pages ─────────────── */
.breadcrumbs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 28px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-size: 12px;
}
.breadcrumbs a {
  color: var(--text-tertiary);
  transition: color var(--transition);
}
.breadcrumbs a:hover { color: var(--text); }
.seo-hero {
  max-width: 840px;
  margin: 0 auto;
  padding: 70px 28px 46px;
  text-align: center;
}
.seo-hero h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  margin-bottom: 18px;
}
.seo-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
}
.seo-hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.seo-grid-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 46px 28px;
}
.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.seo-card {
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.seo-card:hover {
  transform: translateY(-2px);
  border-color: var(--border);
  background: var(--bg-surface);
}
.seo-card-label {
  display: block;
  margin-bottom: 18px;
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.seo-card h2 {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.seo-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}
.seo-copy-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
}
.seo-copy-panel h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 14px;
}
.seo-copy-panel p {
  color: var(--text-secondary);
  line-height: 1.7;
}
.seo-copy-panel p + p { margin-top: 12px; }
.seo-link-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.seo-link-row a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0 13px;
  color: var(--text-secondary);
  font-size: 13px;
}
.seo-link-row a:hover {
  color: var(--text);
  border-color: var(--border);
  background: var(--bg-hover);
}
.seo-summary {
  padding-top: 40px;
  padding-bottom: 40px;
}
.seo-table-section {
  padding-top: 54px;
  padding-bottom: 54px;
}
.seo-faq {
  padding-top: 60px;
}
.seo-cta {
  margin-top: 30px;
}
.seo-apps {
  padding-top: 34px;
}
.seo-app-card {
  color: inherit;
}
.seo-app-focus {
  min-height: 220px;
  display: grid;
  place-items: center;
  gap: 14px;
  align-content: center;
}
.seo-app-focus img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}
.seo-app-focus span {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

@media (max-width: 900px) {
  .seo-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .breadcrumbs {
    padding-top: 18px;
    overflow-x: auto;
    white-space: nowrap;
  }
  .seo-hero {
    padding-top: 48px;
    text-align: left;
  }
  .seo-hero h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.08;
    overflow-wrap: break-word;
  }
  .seo-hero p {
    margin-left: 0;
  }
  .seo-hero-actions {
    justify-content: flex-start;
  }
  .seo-card-grid {
    grid-template-columns: 1fr;
  }
  .seo-copy-panel {
    padding: 22px;
  }
}

/* ─────────────── PSEO GRID STYLES FOR STATIC PAGES ─────────────── */
.pseo-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 28px;
}
.pseo-wrap {
  width: 100%;
}
.pseo-section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.pseo-section-head h2 {
  font-family: var(--font-editorial);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0;
  color: var(--text);
}
.pseo-section-head p {
  max-width: 520px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}
.pseo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.pseo-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pseo-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  padding: 24px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 180ms ease, border-color 180ms ease;
}
.pseo-card:hover {
  transform: translateY(-2px);
  border-color: var(--border);
}
.pseo-card h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text);
}
.pseo-card p {
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .pseo-grid.three, .pseo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .pseo-grid.three, .pseo-grid {
    grid-template-columns: 1fr;
  }
}
