/* ============================================================
   Glidro — Glidro
   Light, Mac-native. System SF type, white paper, one amber
   accent (the app's focus-border colour). The product demo is
   the only loud thing on the page.
   ============================================================ */

@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jetbrains-mono-var-latin.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2026, U+2039-203A;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #FFFFFF;
  --mist: #F5F5F7;
  --mist-2: #FAFAFB;
  --ink: #1D1D1F;
  --ink-2: #515154;
  --ink-3: #59675f;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.14);

  --amber: #F7A028;
  --amber-hi: #FFB950;
  --amber-ink: #8F5200;
  --amber-wash: #FFF5E4;
  --green-ink: #1F7A3D;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --max: 1120px;
  --pad: 24px;
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 9px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-1: 0 0 0 0.5px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06), 0 6px 18px rgba(0,0,0,0.06);
  --shadow-2: 0 0 0 0.5px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.05), 0 24px 60px -12px rgba(0,0,0,0.18);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}
::selection { background: rgba(247, 160, 40, 0.3); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-ink); text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2.5px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  top: -52px; left: 16px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.wrap-narrow { max-width: 776px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Type ---------- */
.display {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: -0.005em;
}
.accent { color: inherit; }

/* ---------- Reveal (JS-gated: visible without JS) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
html.js .reveal.vis { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  backdrop-filter: saturate(1.8) blur(20px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 650;
  font-size: 16px;
  letter-spacing: -0.015em;
}
.nav-logo img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.nav-links a {
  padding: 7px 12px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--ink); background: rgba(0, 0, 0, 0.045); }
.nav-links a.nav-cta {
  margin-left: 10px;
  padding: 7px 15px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  transition: background 0.2s, transform 0.2s;
}
.nav-links a.nav-cta:hover { background: #000; color: #fff; transform: translateY(-1px); }
.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 9px;
  border-radius: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.012em;
  cursor: pointer;
  border: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary {
  background: linear-gradient(180deg, var(--amber-hi), var(--amber));
  color: #2A1700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), inset 0 -1px 0 rgba(140,80,0,0.18), 0 1px 2px rgba(160,95,0,0.35), 0 8px 22px -6px rgba(247,160,40,0.55);
}
.btn-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), inset 0 -1px 0 rgba(140,80,0,0.18), 0 2px 4px rgba(160,95,0,0.35), 0 14px 30px -6px rgba(247,160,40,0.65);
}
.btn-primary:active { transform: translateY(0.5px); }
.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-ghost:hover { background: var(--mist); transform: translateY(-1px); }

.was { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.off {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--amber-wash);
  color: var(--amber-ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.005em;
  box-shadow: inset 0 0 0 1px rgba(247,160,40,0.35);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 132px 0 0;
  text-align: center;
}
.hero-inner { max-width: 860px; margin: 0 auto; padding: 0 var(--pad); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px 5px 6px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--ink-2);
  background: var(--mist);
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero-badge b {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
}
.hero h1 {
  font-size: clamp(40px, 6.6vw, 80px);
  letter-spacing: -0.042em;
  line-height: 1;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(17.5px, 1.9vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  max-width: 660px;
  margin: 0 auto 34px;
  text-wrap: pretty;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-price {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.hero-note {
  font-size: 14px;
  color: var(--ink-3);
  letter-spacing: -0.005em;
}
.hero-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* ============================================================
   The strip demo (cym-*)
   ============================================================ */
.demo-section { padding: 56px 0 0; }
.cym {
  --gap: 10px;
  --mb: 26px;
  --dockh: 62px;
  --fs: 11px;
  position: relative;
  outline: none;
}
.cym-stage {
  position: relative;
  padding: 8px 20px 44px;
  overflow: hidden;
  overflow: clip;
  overscroll-behavior-x: contain;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.cym-screen {
  position: relative;
  isolation: isolate;
  width: min(100%, 1080px);
  aspect-ratio: 16 / 9.4;
  margin: 0 auto;
  border-radius: 16px;
  font-size: var(--fs);
  line-height: 1.35;
  text-align: left;
  color: #2c2c2e;
}
.cym:focus-visible .cym-screen { outline: 2.5px solid var(--amber); outline-offset: 5px; }
.cym-wall {
  position: absolute; inset: 0;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
  background:
    radial-gradient(90% 80% at 12% 100%, #FFC978 0%, rgba(255,201,120,0) 60%),
    radial-gradient(70% 70% at 88% 8%, #BFD9FF 0%, rgba(191,217,255,0) 62%),
    radial-gradient(60% 90% at 70% 100%, #FFB3A0 0%, rgba(255,179,160,0) 58%),
    linear-gradient(160deg, #FFE9C9 0%, #FBDCD2 48%, #DCE6FA 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06), 0 40px 80px -24px rgba(60,40,10,0.30);
}
.cym-wall::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}

/* veils ghost whatever part of the strip is past the screen edges */
.cym-veil {
  position: absolute;
  top: -8px; bottom: -8px;
  width: 100vw;
  z-index: 2;
  pointer-events: none;
}
.cym-veil.l { right: 100%; background: linear-gradient(270deg, rgba(255,255,255,0.74) 0, rgba(255,255,255,0.9) 220px, #fff 420px); }
.cym-veil.r { left: 100%; background: linear-gradient(90deg, rgba(255,255,255,0.74) 0, rgba(255,255,255,0.9) 220px, #fff 420px); }

/* menu bar */
.cym-menubar {
  position: absolute; left: 0; right: 0; top: 0;
  z-index: 3;
  height: var(--mb);
  display: flex;
  align-items: center;
  gap: 1.3em;
  padding: 0 1.1em;
  border-radius: 16px 16px 0 0;
  background: rgba(255,255,255,0.42);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  font-size: 1.08em;
  font-weight: 500;
  color: #1d1d1f;
  white-space: nowrap;
  overflow: hidden;
}
.cym-menubar b { font-weight: 700; }
.cym-menubar .sp { flex: 1; }
.cym-menubar .mi { display: inline-flex; align-items: center; gap: 0.9em; }
.cym-menubar svg { width: 1.35em; height: 1.35em; display: block; }
.cym-menubar .cym-mi-app { color: var(--amber-ink); }
.cym-hide-s { }

/* dock */
.cym-dock {
  position: absolute;
  left: 50%; bottom: 6px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 15px;
  background: rgba(255,255,255,0.38);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55), 0 0 0 0.5px rgba(0,0,0,0.14), 0 8px 24px rgba(0,0,0,0.12);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
}
.cym-dock button, .cym-dock span.di {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--g, linear-gradient(180deg, #8e8e93, #636366));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 1px 2px rgba(0,0,0,0.25);
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s var(--ease);
}
.cym-dock button:hover { transform: translateY(-5px) scale(1.12); }
.cym-dock button:active { transform: translateY(-2px) scale(1.04); }
.cym-dock svg { width: 22px; height: 22px; }
.cym-dock button::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -4.5px;
  width: 3.5px; height: 3.5px;
  margin-left: -1.75px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  transition: opacity 0.2s;
}
.cym-dock button.is-open::after { opacity: 1; }
.cym-dock button:focus-visible { outline-offset: 2px; }

/* the strip + windows */
.cym-strip {
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--mb) + var(--gap));
  bottom: calc(var(--dockh) + var(--gap));
  z-index: 1;
  display: flex;
  gap: var(--gap);
  padding-left: var(--gap);
}
.cym.no-menubar { --mb: 0px; }
.cym.no-dock { --dockh: 0px; }
.cym-win, .cym-col {
  flex: none;
  width: calc(var(--w, 0.5) * (100% - var(--gap)) - var(--gap));
  height: 100%;
}
.cym-col { display: flex; flex-direction: column; gap: var(--gap); }
.cym-col .cym-win { width: 100%; flex: 1; height: auto; min-height: 0; }
.cym-win[hidden] { display: none; }
.cym.is-live .cym-strip { display: block; padding: 0; right: auto; width: 100%; will-change: transform; }
.cym.is-live .cym-win {
  position: absolute; left: 0; top: 0;
  will-change: transform;
  cursor: default;
}
.cym-w {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%; height: 100%;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.22), 0 1px 3px rgba(0,0,0,0.10), 0 10px 28px -6px rgba(0,0,0,0.20);
  transition: box-shadow 0.25s, opacity 0.22s, transform 0.28s var(--ease), filter 0.25s;
}
/* no-JS fallback for terse mini windows */
.cym-win:empty { border-radius: 10px; background: #fff; box-shadow: 0 0 0 0.5px rgba(0,0,0,0.22), 0 10px 28px -6px rgba(0,0,0,0.2); }
.cym-win.is-focus { z-index: 2; }
.cym-win.is-focus .cym-w {
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.25), 0 2px 5px rgba(0,0,0,0.12), 0 22px 50px -8px rgba(0,0,0,0.34);
}
.cym.border .cym-win.is-focus .cym-w {
  box-shadow: 0 0 0 2.5px var(--amber), 0 2px 5px rgba(0,0,0,0.12), 0 22px 50px -8px rgba(0,0,0,0.34);
}
.cym.is-away .cym-win.is-focus .cym-w {
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.22), 0 1px 3px rgba(0,0,0,0.10), 0 10px 28px -6px rgba(0,0,0,0.20);
}
.cym.is-away .cym-win.is-focus .cym-lights > * { background: #d4d4d6; }
.cym.is-away .cym-win.is-focus .cym-title { color: #67676d; }
.cym-w::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(20, 14, 6, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cym.dim .cym-win:not(.is-focus) .cym-w::after { opacity: 1; }
.cym-win.is-enter .cym-w { opacity: 0; transform: scale(0.9); }
.cym-win.is-leave .cym-w { opacity: 0; transform: scale(0.92); }
.cym-win.is-tabhidden { pointer-events: none; }
.cym-win.is-tabhidden .cym-w { opacity: 0; }
.cym-win.is-drag { z-index: 5; }
.cym-win.is-drag .cym-w { transform: scale(1.025); box-shadow: 0 0 0 2.5px var(--amber), 0 30px 70px -10px rgba(0,0,0,0.45); }

.cym-bar {
  flex: none;
  position: relative;
  display: flex;
  align-items: center;
  height: 2.5em;
  padding: 0 0.9em;
  background: linear-gradient(180deg, #f6f6f6, #ececec);
  border-bottom: 1px solid rgba(0,0,0,0.09);
  cursor: grab;
  touch-action: none;
}
.cym-win.is-drag .cym-bar { cursor: grabbing; }
.cym-lights { display: flex; gap: 0.55em; flex: none; position: relative; z-index: 1; }
.cym-lights i, .cym-lights button {
  width: 0.95em; height: 0.95em;
  padding: 0; border: 0;
  border-radius: 50%;
  background: #d4d4d6;
  box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.12);
}
.cym-lights button { cursor: pointer; position: relative; }
.cym-lights button::before { content: ''; position: absolute; inset: -6px; }
.cym-win.is-focus .cym-lights > :nth-child(1) { background: #FF5F57; }
.cym-win.is-focus .cym-lights > :nth-child(2) { background: #FEBC2E; }
.cym-win.is-focus .cym-lights > :nth-child(3) { background: #28C840; }
.cym-title {
  position: absolute; left: 4.6em; right: 4.6em;
  text-align: center;
  font-size: 1.06em;
  font-weight: 650;
  color: #67676d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.cym-win.is-focus .cym-title { color: #3a3a3c; }
.cym-body { flex: 1; min-height: 0; position: relative; container-type: inline-size; overflow: hidden; }

/* tab bar for tabbed columns */
.cym-tabs {
  position: absolute; left: 0; top: 0;
  z-index: 3;
  display: flex;
  gap: 4px;
  height: 18px;
  will-change: transform;
}
.cym-tabs button {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 6px;
  background: rgba(255,255,255,0.55);
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.15);
  font-size: 0.92em;
  font-weight: 600;
  color: #55555a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 6px;
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.cym-tabs button.on { background: var(--amber); color: #2A1700; box-shadow: none; }

/* minimap HUD */
.cym-minimap {
  position: absolute;
  left: 50%;
  bottom: calc(var(--dockh) + 14px);
  z-index: 4;
  transform: translateX(-50%) translateY(6px);
  padding: 7px;
  border-radius: 11px;
  background: rgba(28, 28, 30, 0.78);
  box-shadow: 0 0 0 0.5px rgba(255,255,255,0.18) inset, 0 12px 30px rgba(0,0,0,0.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.cym-minimap.on { opacity: 1; transform: translateX(-50%); transition-duration: 0.12s; }
.cym-mm { position: relative; transition: width 0.3s var(--ease); }
.cym-mm i {
  position: absolute; left: 0; top: 0;
  border-radius: 2.5px;
  background: rgba(255,255,255,0.34);
  transition: left 0.3s var(--ease), top 0.3s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease), background 0.2s;
}
.cym-mm i.f { background: var(--amber); }
.cym-mm u {
  position: absolute; left: 0; top: -3px; bottom: -3px;
  border-radius: 4px;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.9);
  will-change: transform;
}

/* edge arrows */
.cym-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 40px; height: 40px;
  margin-top: -20px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.12), 0 6px 18px rgba(0,0,0,0.16);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.cym-arrow svg { width: 16px; height: 16px; }
.cym-arrow.l { left: -20px; }
.cym-arrow.r { right: -20px; }
.cym-arrow:hover { transform: scale(1.08); }
.cym-arrow:active { transform: scale(0.94); }
.cym-arrow[disabled] { opacity: 0.35; cursor: default; transform: none; }
html:not(.js) #demo-cap, html:not(.js) .cym-arrow, html:not(.js) .deck, html:not(.js) .versus-actions, html:not(.js) .cym-ctl, html:not(.js) .cym-minimap { display: none; }

/* control deck */
.deck {
  max-width: 1080px;
  margin: -14px auto 0;
  padding: 0 var(--pad);
  position: relative;
  z-index: 5;
}
.deck-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.key-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 14px 0 8px;
  border: 0;
  border-radius: 13px;
  background: var(--paper);
  box-shadow: var(--shadow-1);
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.008em;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.key-btn:hover { box-shadow: 0 0 0 0.5px rgba(0,0,0,0.14), 0 2px 4px rgba(0,0,0,0.07), 0 10px 24px rgba(0,0,0,0.09); }
.key-btn:active, .key-btn.down { transform: translateY(1px) scale(0.985); }
.key-btn:active .keycap, .key-btn.down .keycap, .keycap.down {
  transform: translateY(1.5px);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12), 0 0.5px 0 rgba(0,0,0,0.25);
  background: #ececee;
}
.key-btn[aria-pressed="true"] { background: var(--amber-wash); box-shadow: inset 0 0 0 1.5px rgba(247,160,40,0.7); }
.key-btn.plain { padding-left: 14px; }
.keycaps { display: inline-flex; gap: 4px; }
.keycap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  font-style: normal;
  line-height: 1;
  color: var(--ink);
  background: linear-gradient(180deg, #fff, #f4f4f6);
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.10), 0 1.5px 0 rgba(0,0,0,0.20), 0 2px 3px rgba(0,0,0,0.06);
  transition: transform 0.08s, box-shadow 0.08s, background 0.08s;
}
.deck-status {
  margin: 18px auto 0;
  min-height: 24px;
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-3);
}
.deck-status b { color: var(--ink); font-weight: 600; }
.demo-caption {
  max-width: 640px;
  margin: 10px auto 0;
  padding: 0 var(--pad);
  text-align: center;
  font-size: 15px;
  color: var(--ink-3);
  text-wrap: pretty;
}

/* ---- mock app UIs (all em-based so they scale with --fs) ---- */
.app { position: absolute; inset: 0; display: flex; color: #3a3a3c; }
.app .side {
  flex: none;
  width: 30%;
  max-width: 11em;
  padding: 0.9em 0.7em;
  background: #f3f3f5;
  border-right: 1px solid rgba(0,0,0,0.07);
  display: flex; flex-direction: column; gap: 0.7em;
}
.app .main { flex: 1; min-width: 0; padding: 1.1em 1.2em; display: flex; flex-direction: column; gap: 0.75em; }
.sk { display: block; flex: none; height: 0.6em; width: var(--l, 80%); border-radius: 1em; background: currentColor; opacity: 0.13; }
.sk.h { height: 1em; opacity: 0.55; }
.sk.sel { opacity: 1; background: var(--c, #FFD86B); height: 1.9em; border-radius: 0.5em; width: 100%; }
@container (max-width: 230px) { .app .side { display: none; } }

.app.safari { flex-direction: column; }
.safari .tb { flex: none; display: flex; align-items: center; gap: 0.7em; padding: 0.55em 0.9em; background: #f6f6f6; border-bottom: 1px solid rgba(0,0,0,0.08); }
.safari .tb i { width: 0.9em; height: 0.9em; border-radius: 50%; background: #d8d8da; flex: none; }
.safari .url { flex: 1; min-width: 0; text-align: center; padding: 0.3em 0.8em; border-radius: 0.6em; background: #e7e7e9; font-size: 0.95em; color: #6e6e73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.safari .pg { flex: 1; padding: 1.6em 1.6em 0; display: flex; flex-direction: column; align-items: center; gap: 0.8em; }
.safari .pg .sk.h { height: 1.5em; width: 72%; opacity: 0.8; }
.safari .pill { flex: none; width: 7em; height: 1.9em; border-radius: 1em; background: var(--amber); margin: 0.4em 0 0.8em; }
.safari .shot { flex: 1; align-self: stretch; border-radius: 0.8em 0.8em 0 0; background: linear-gradient(135deg, #FFE3B8, #FBD0C4 55%, #CFE0FF); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); }

.app.term { display: block; padding: 0.9em 1.1em; background: #1c1c1e; color: #d6d6da; font-family: var(--mono); font-size: 0.98em; line-height: 1.75; white-space: nowrap; }
.cym-win[data-id="terminal"] .cym-bar { background: linear-gradient(180deg, #3a3a3c, #2c2c2e); border-bottom-color: #000; }
.cym-win[data-id="terminal"] .cym-title { color: #8e8e93; }
.cym-win[data-id="terminal"].is-focus .cym-title { color: #e5e5ea; }
.cym-win[data-id="terminal"] .cym-lights i, .cym-win[data-id="terminal"] .cym-lights button { background: #58585c; }
.term .p { color: #F7A028; }
.term .g { color: #6FCF8A; }
.term .d { color: #8e8e93; }
.term .cur { display: inline-block; width: 0.6em; height: 1.1em; vertical-align: -0.2em; background: #d6d6da; animation: cymblink 1.1s steps(2) infinite; }
@keyframes cymblink { 50% { opacity: 0; } }

.code .main { gap: 0.62em; background: #fff; }
.code .ln { display: flex; gap: 0.5em; flex: none; }
.code .ln i { display: block; height: 0.6em; border-radius: 1em; background: var(--c, #c7c7cc); width: var(--l, 4em); }
.code .tab { padding-left: 1.4em; } .code .tab2 { padding-left: 2.8em; }

.notes .side .sk.sel { --c: #FFE08A; }
.notes .main .sk.h { width: 55%; }

.chat .side { background: #3F2A4D; border-right: 0; color: #fff; }
.chat .side .sk { opacity: 0.3; }
.chat .side .sk.sel { --c: rgba(255,255,255,0.22); }
.chat .msg { display: flex; gap: 0.7em; flex: none; }
.chat .msg > i { flex: none; width: 2em; height: 2em; border-radius: 0.55em; background: var(--c, #9FC2FF); }
.chat .msg > span { flex: 1; display: flex; flex-direction: column; gap: 0.45em; padding-top: 0.15em; }

.app.music { flex-direction: column; padding: 1.2em; gap: 0.8em; background: linear-gradient(180deg, #fff, #fbf3f4); }
.music .art { flex: 1; min-height: 3em; border-radius: 0.8em; background: conic-gradient(from 210deg at 60% 40%, #FF7A90, #FFB36B, #FFD86B, #FF7A90); box-shadow: 0 0.6em 1.4em -0.4em rgba(255,100,120,0.55); }
.music .prog { flex: none; height: 0.35em; border-radius: 1em; background: #e5e5ea; overflow: hidden; }
.music .prog::after { content: ''; display: block; width: 38%; height: 100%; background: #FF5C7A; border-radius: 1em; }
.music .ctl { flex: none; display: flex; justify-content: center; gap: 1.2em; align-items: center; }
.music .ctl i { width: 1em; height: 1em; border-radius: 50%; background: #c7c7cc; }
.music .ctl i:nth-child(2) { width: 1.7em; height: 1.7em; background: #3a3a3c; }

.mail .row { flex: none; display: flex; flex-direction: column; gap: 0.4em; padding-bottom: 0.7em; border-bottom: 1px solid rgba(0,0,0,0.07); }
.mail .side { width: 42%; max-width: 15em; background: #fff; }
.mail .side .row:first-child .sk.h { background: #2F7BF6; opacity: 1; }

.design .main { padding: 0; background: #ededf0; position: relative; }
.design .main i { position: absolute; border-radius: 0.7em; }
.design .main i:nth-child(1) { left: 12%; top: 14%; width: 46%; height: 52%; background: #fff; box-shadow: 0 0.3em 1em rgba(0,0,0,0.12); }
.design .main i:nth-child(2) { left: 20%; top: 26%; width: 18%; height: 16%; background: var(--amber); }
.design .main i:nth-child(3) { left: 50%; top: 48%; width: 30%; height: 36%; background: #7B61FF; border-radius: 50%; }
.design .main i:nth-child(4) { left: 64%; top: 12%; width: 22%; height: 22%; background: #2FBF71; }

/* generic (mini) window body */
.app.gen { flex-direction: column; padding: 1em 1.1em; gap: 0.7em; background: linear-gradient(180deg, var(--tint, #fff) 0, #fff 70%); }
.app.gen .blk { flex: 1; min-height: 0; border-radius: 0.6em; background: var(--tint2, rgba(0,0,0,0.05)); }

/* minis */
.cym.mini { --gap: 7px; --fs: 8.5px; --mb: 0px; --dockh: 0px; }
.cym.mini .cym-stage { padding: 0; overflow: visible; }
.cym.mini .cym-screen { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; overflow: clip; }
.cym.mini .cym-wall { box-shadow: 0 0 0 1px rgba(0,0,0,0.10), 0 18px 40px -18px rgba(60,40,10,0.28); }
.cym.mini .cym-w, .cym.mini .cym-win:empty { border-radius: 7px; }
.cym.mini .cym-minimap { bottom: 10px; padding: 5px; border-radius: 8px; }
.cym.mini.has-dock { --dockh: 34px; }
.cym.mini .cym-dock { bottom: 4px; padding: 3px; gap: 3px; border-radius: 9px; }
.cym.mini .cym-dock span.di { width: 20px; height: 20px; border-radius: 5.5px; cursor: default; }
.cym-ctl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.cym-ctl .key-btn { height: 40px; font-size: 13.5px; box-shadow: 0 0 0 0.5px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.06); }
.cym-ctl .keycap { min-width: 25px; height: 25px; font-size: 12px; }
.cym-fingers {
  position: absolute; left: 50%; top: 58%;
  z-index: 4;
  width: 64px; height: 40px;
  margin-left: -32px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
  will-change: transform;
}
.cym-fingers.on { opacity: 1; }
.cym-fingers i { position: absolute; width: 17px; height: 17px; border-radius: 50%; background: rgba(29,29,31,0.55); box-shadow: 0 0 0 2px rgba(255,255,255,0.85), 0 4px 10px rgba(0,0,0,0.25); }
.cym-fingers i:nth-child(1) { left: 0; top: 12px; }
.cym-fingers i:nth-child(2) { left: 23px; top: 2px; }
.cym-fingers i:nth-child(3) { left: 46px; top: 10px; }

.range { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 550; color: var(--ink-2); flex: 1; min-width: 200px; }
.range input { flex: 1; accent-color: var(--amber); height: 28px; }
.range output { font-family: var(--mono); font-size: 13px; color: var(--ink); min-width: 42px; text-align: right; }

/* duo (multi-monitor) */
.duo { display: grid; grid-template-columns: 1fr 1.4fr; gap: 22px; align-items: end; }
.duo-d { min-width: 0; }
.duo .cym.mini { --fs: 7.5px; --gap: 5px; }
.duo .cym-title { left: 5.6em; right: 0.6em; text-align: left; }
.duo-d:first-child .cym.mini .cym-screen { aspect-ratio: 16 / 10.4; }
.duo-label { margin-top: 10px; text-align: center; font-size: 13px; color: var(--ink-3); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-alt { background: var(--mist); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -0.04em; }
.section-lede {
  font-size: clamp(17.5px, 1.7vw, 20px);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  margin-top: 20px;
  text-wrap: pretty;
}
.section-lede strong { color: var(--ink); font-weight: 600; }

/* trust row */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  list-style: none;
  max-width: 980px;
  margin: 72px auto 0;
  padding: 0 var(--pad);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; color: var(--ink-3); flex: none; }

/* grid-vs-strip explainer */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.versus-pane { padding: 22px 22px 24px; border-radius: var(--r-lg); background: var(--mist); }
.versus-pane h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.015em; margin-bottom: 4px; }
.versus-pane p { font-size: 15px; color: var(--ink-3); margin-bottom: 16px; min-height: 48px; }
.gridwm {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  padding: 7px;
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(var(--cols, 2), 1fr);
  grid-auto-rows: 1fr;
  background:
    radial-gradient(90% 80% at 12% 100%, #FFC978 0%, rgba(255,201,120,0) 60%),
    radial-gradient(70% 70% at 88% 8%, #BFD9FF 0%, rgba(191,217,255,0) 62%),
    linear-gradient(160deg, #FFE9C9 0%, #FBDCD2 48%, #DCE6FA 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.10), 0 18px 40px -18px rgba(60,40,10,0.28);
  font-size: 8.5px;
}
.gridwm .cym-win { width: auto; height: auto; min-height: 0; position: relative; }
.gridwm .cym-win.is-focus .cym-w { box-shadow: 0 0 0 2.5px var(--amber), 0 10px 24px -8px rgba(0,0,0,0.3); }
.gridwm .cym-w { border-radius: 7px; }
.versus-actions { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.versus-count { font-size: 14.5px; color: var(--ink-3); min-width: 170px; }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 72px; }
.points h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 10px; }
.points p { font-size: 16px; color: var(--ink-2); text-wrap: pretty; }

/* feature tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tile {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 30px;
  border-radius: var(--r-xl);
  background: var(--paper);
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  min-width: 0;
}
.tile.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; padding: 36px; }
.tile-copy { margin-top: 26px; }
.tile.wide .tile-copy { margin-top: 0; }
.tile h3 { font-size: 24px; font-weight: 680; letter-spacing: -0.028em; line-height: 1.15; margin-bottom: 10px; }
.tile p { font-size: 16px; color: var(--ink-2); text-wrap: pretty; max-width: 52ch; }
.tile .keys-inline { margin-top: 14px; font-size: 14px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.tile .keys-inline span { display: inline-flex; align-items: center; gap: 6px; }
.tile .keys-inline .keycap { min-width: 23px; height: 23px; font-size: 11.5px; padding: 0 5px; border-radius: 6px; }

/* the rest */
.rest { margin-top: 96px; }
.rest > h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; letter-spacing: -0.032em; margin-bottom: 32px; }
.rest dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.rest dl > div { padding: 20px 0 22px; border-top: 1px solid var(--line-2); }
.rest dt { font-size: 16.5px; font-weight: 650; letter-spacing: -0.015em; margin-bottom: 5px; }
.rest dd { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.rest code, .faq-a code, .article-body code { font-family: var(--mono); font-size: 0.88em; padding: 1px 5px; border-radius: 5px; background: rgba(0,0,0,0.055); }

/* shortcuts */
.keys-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.keys-group { padding: 24px 24px 12px; border-radius: var(--r-lg); background: var(--mist); }
.keys-group h3 { font-size: 15px; font-weight: 650; color: var(--ink-3); margin-bottom: 8px; letter-spacing: -0.005em; }
.key-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.keys-group h3 + .key-row { border-top: 0; }
.key-label { font-size: 15.5px; font-weight: 500; color: var(--ink); }
.key-row .keycaps { flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.key-row .or { font-size: 12.5px; color: var(--ink-3); padding: 0 3px; }
.key-row:hover .keycap { transform: translateY(1.5px); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12), 0 0.5px 0 rgba(0,0,0,0.25); }
.keys-note { margin-top: 28px; font-size: 15px; color: var(--ink-3); }

/* native / specs */
.native { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }
.native > * { min-width: 0; }
.prose p { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin-bottom: 18px; text-wrap: pretty; letter-spacing: -0.008em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.specs { list-style: none; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-1); padding: 6px 24px; }
.specs li { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.specs li:first-child { border-top: 0; }
.specs span { color: var(--ink-3); flex: none; }
.specs b { font-weight: 550; text-align: right; }

/* pricing */
.pricing-card {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 40px 36px;
  text-align: center;
  background: var(--paper);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
}
.price-badge { font-size: 15px; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
.price-line { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.price-amount { font-size: 76px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.price-amount sup { font-size: 0.42em; font-weight: 650; vertical-align: 0.95em; margin-right: 2px; letter-spacing: 0; }
.price-side { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.price-side .was { font-size: 22px; font-weight: 550; letter-spacing: -0.02em; }
.price-sub { margin-top: 12px; font-size: 15px; color: var(--ink-3); }
.price-features {
  list-style: none;
  margin: 28px 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 11px;
  text-align: left;
}
.price-features li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; color: var(--ink); line-height: 1.45; }
.price-features svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--green-ink); }
.price-ctas { display: grid; }
.price-req { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }

.price-left {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--amber-wash);
  color: var(--amber-ink);
  font-size: 13.5px;
  box-shadow: inset 0 0 0 1px rgba(247,160,40,0.35);
}
.price-left b { font-weight: 650; font-variant-numeric: tabular-nums; }
.price-left-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(247,160,40,0.25); }
.tier-lede { margin: 40px auto 0; max-width: 760px; text-align: center; font-size: 15.5px; color: var(--ink-2); }
.tier-strip {
  max-width: 760px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tier-strip a {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 20px 16px;
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.04);
  color: var(--ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.tier-strip a:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
.tier-name { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.tier-price { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.tier-price b { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.tier-price s { color: var(--ink-3); font-size: 14px; text-decoration-thickness: 1.5px; }
.tier-per { font-size: 13px; color: var(--ink-3); }
.tier-note { margin-top: 16px; text-align: center; font-size: 14px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M13 8v10M8 13h10' stroke='%231d1d1f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 26px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.faq-item summary:hover::after { background-color: #e9e9ec; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 2px 26px; max-width: 680px; }
.faq-a p { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); margin-bottom: 12px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a strong { color: var(--ink); font-weight: 600; }
.faq-a a, .article-body a, .doc a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(247,160,40,0.7); text-decoration-thickness: 1.5px; }
.faq-a a:hover, .article-body a:hover, .doc a:hover { color: var(--ink); text-decoration-color: var(--amber); }

/* ---------- Final CTA ---------- */
.cta-final { text-align: center; padding-bottom: 136px; }
.cta-final .section-title { font-size: clamp(36px, 5.4vw, 64px); }
.cta-final .hero-ctas { margin-top: 36px; }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 40px; background: var(--mist); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 32px; }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 14.5px; line-height: 1.6; color: var(--ink-3); max-width: 290px; }
.footer .footer-title { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer ul a { font-size: 14.5px; color: var(--ink); opacity: 0.86; transition: opacity 0.15s; }
.footer ul a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-base {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-base p { font-size: 13.5px; color: var(--ink-3); }
.footer-base a { color: var(--ink-2); }
.footer-base a:hover { color: var(--ink); }

/* ---------- Content pages (guides / comparisons) ---------- */
.article { padding: 124px 0 72px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-3); margin-bottom: 22px; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: #b9b9be; }
.article-head h1 { font-size: clamp(32px, 4.8vw, 52px); letter-spacing: -0.04em; line-height: 1.05; }
.article-dek { margin-top: 20px; font-size: 19.5px; line-height: 1.5; letter-spacing: -0.012em; color: var(--ink-2); max-width: 700px; text-wrap: pretty; }
.article-dek strong { color: var(--ink); font-weight: 600; }
.article-meta { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.article-body { margin-top: 44px; max-width: 728px; }
.article-body h2 { font-size: clamp(24px, 2.8vw, 30px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; margin: 56px 0 16px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; margin: 34px 0 10px; }
.article-body p { font-size: 17px; line-height: 1.7; color: #3a3a3c; margin-bottom: 16px; text-wrap: pretty; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 16px; }
.article-body li { font-size: 17px; line-height: 1.65; color: #3a3a3c; margin-bottom: 8px; }
.article-body li::marker { color: var(--ink-3); }
.article-body strong { color: var(--ink); font-weight: 600; }

.verdict {
  margin: 28px 0;
  padding: 22px 26px 24px;
  background: var(--amber-wash);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(247,160,40,0.28);
}
.verdict p { margin-bottom: 0; font-size: 16.5px; color: #3a2c14; }
.verdict .verdict-label { display: block; font-size: 13.5px; font-weight: 650; color: var(--amber-ink); margin-bottom: 6px; }

.comp-wrap { margin: 26px 0 10px; border-radius: var(--r-md); overflow-x: auto; box-shadow: var(--shadow-1); background: var(--paper); }
.comp-wrap:focus-visible { outline: 2.5px solid var(--amber); outline-offset: 3px; }
.comp-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.comp-table th { font-size: 14px; font-weight: 650; text-align: left; color: var(--ink-2); background: var(--mist); padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.comp-table tbody th[scope="row"] { font-size: 15px; line-height: 1.5; font-weight: 600; text-align: left; color: var(--ink); background: transparent; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
.comp-table th.hero-col { color: var(--ink); background: #FFEBC9; }
.comp-table td { font-size: 15px; line-height: 1.5; color: #3a3a3c; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.comp-table tr:last-child td, .comp-table tr:last-child th[scope="row"] { border-bottom: none; }
.comp-table td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.comp-table td.hero-col { background: var(--amber-wash); color: var(--ink); }
.comp-table .yes { color: var(--green-ink); font-weight: 600; }
.comp-table .no { color: var(--ink-3); }

.cta-banner {
  margin: 60px 0 8px;
  padding: 44px 32px 40px;
  text-align: center;
  background: var(--mist);
  border-radius: var(--r-xl);
}
.cta-banner h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.12; margin: 0 0 10px; text-wrap: balance; }
.cta-banner p { font-size: 16.5px; color: var(--ink-2); max-width: 480px; margin: 0 auto 24px; }
.article-body .cta-banner a.btn { text-decoration: none; color: #2A1700; }
.cta-banner .cta-was { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 14px; font-size: 14.5px; }
.cta-banner .hero-note { margin-top: 10px; display: block; }

.related { margin-top: 68px; }

/* live demo embedded in articles: breaks out of the text column */
.article-demo-wrap { margin: 40px calc(50% - min(50vw, 560px)) 8px; }
.article-demo-label { text-align: center; font-size: 14px; font-weight: 600; color: var(--amber-ink); margin: 0 0 4px; padding: 0 var(--pad); }
.article-demo-wrap .demo-section { padding-top: 0; }
.article-body.after-demo { margin-top: 36px; }
.article-body pre {
  margin: 18px 0 22px;
  padding: 16px 18px;
  overflow-x: auto;
  border-radius: var(--r-md);
  background: #1d1d1f;
  color: #f2f2f7;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
}
.article-body pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.related h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.article-body a.related-card, .related-card {
  display: block;
  padding: 18px 20px;
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.04);
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
.related-card b { display: block; font-size: 16px; font-weight: 650; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 4px; }
.related-card span { font-size: 14px; line-height: 1.5; color: var(--ink-3); }

/* ---------- Doc pages (privacy / terms) ---------- */
.doc { padding: 124px 0 100px; }
.doc-head { margin-bottom: 44px; }
.doc h1 { font-size: clamp(34px, 4.8vw, 52px); letter-spacing: -0.04em; margin-top: 10px; }
.doc-updated { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.doc h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; margin: 44px 0 14px; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.7; color: #3a3a3c; }
.section-lede a, .points a, .tile-copy a, .rest dd a, .demo-caption a, .release-note a, .footer-base p a { text-decoration: underline; text-decoration-color: var(--amber-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.doc p { margin-bottom: 14px; }
.doc ul { padding-left: 22px; margin-bottom: 14px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--ink); font-weight: 600; }

/* ---------- 404 ---------- */
.err-page { min-height: 82vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px var(--pad) 60px; }
.err-code { font-family: var(--mono); font-size: 13.5px; font-weight: 600; color: var(--amber-ink); margin-bottom: 18px; }
.err-page h1 { font-size: clamp(36px, 5.4vw, 60px); margin-bottom: 18px; }
.err-page p { color: var(--ink-2); max-width: 440px; margin-bottom: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .native { grid-template-columns: 1fr; gap: 40px; }
  .rest dl { grid-template-columns: 1fr 1fr; }
  .keys-groups { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .tile.wide { grid-template-columns: 1fr; gap: 0; padding: 28px 28px 30px; }
  .tile.wide .tile-copy { margin-top: 26px; }
  .points { gap: 28px; }
}
@media (max-width: 880px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 10px var(--pad) 18px;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.18);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 10px; font-size: 16px; }
  .nav-links a.nav-cta { margin: 8px 0 0; padding: 13px; text-align: center; font-size: 15.5px; }
  .nav-burger { display: block; }
  .nav:has(.nav-links.open) { background: rgba(255,255,255,0.97); }
  /* legal + 404 pages have no menu button: keep just the buy link */
  .nav-inner:not(:has(.nav-burger)) .nav-links { display: flex; position: static; flex-direction: row; padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-inner:not(:has(.nav-burger)) .nav-links a:not(.nav-cta) { display: none; }
  .nav-inner:not(:has(.nav-burger)) .nav-links a.nav-cta { margin: 0; padding: 7px 15px; font-size: 13.5px; }
}
@media (max-width: 1180px) {
  .cym-arrow.l { left: 10px; }
  .cym-arrow.r { right: 10px; }
}
@media (max-width: 760px) {
  :root { --pad: 20px; }
  body { font-size: 16.5px; }
  .hero { padding-top: 104px; }
  .hero-ctas .btn { width: 100%; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .demo-section { padding-top: 40px; }
  .cym { --fs: 8.5px; --mb: 20px; --dockh: 46px; --gap: 7px; }
  .cym-stage { padding: 8px 16px 40px; }
  .cym-screen { aspect-ratio: 10 / 9.4; border-radius: 13px; }
  .cym-menubar { border-radius: 13px 13px 0 0; gap: 1em; }
  .cym-hide-s { display: none !important; }
  .cym-dock { gap: 4px; padding: 4px; border-radius: 12px; bottom: 5px; }
  .cym-dock button { width: 29px; height: 29px; border-radius: 7.5px; }
  .cym-dock svg { width: 16px; height: 16px; }
  .cym-arrow { width: 36px; height: 36px; margin-top: -18px; }
  .cym-arrow.l { left: 6px; } .cym-arrow.r { right: 6px; }
  .cym-tabs { height: 15px; }
  .deck { margin-top: -10px; padding: 0 12px; }
  .deck-row { gap: 7px; }
  .deck [data-act="moveLeft"], .deck [data-act="moveRight"] { display: none; }
  .key-btn { height: 42px; font-size: 13.5px; padding: 0 12px 0 7px; border-radius: 12px; }
  .keycap { min-width: 26px; height: 26px; font-size: 12px; }
  .trust { margin-top: 56px; gap: 10px 22px; font-size: 14.5px; }
  .versus { grid-template-columns: 1fr; }
  .versus-pane p { min-height: 0; }
  .points { grid-template-columns: 1fr; margin-top: 56px; }
  .tiles { grid-template-columns: 1fr; gap: 16px; }
  .tile, .tile.wide { padding: 20px 20px 24px; border-radius: 22px; }
  .tile h3 { font-size: 22px; }
  .duo { grid-template-columns: 1fr; gap: 10px; }
  .rest { margin-top: 72px; }
  .rest dl { grid-template-columns: 1fr; }
  .keys-groups { grid-template-columns: 1fr; gap: 16px; }
  .pricing-card { padding: 32px 24px 28px; }
  .price-amount { font-size: 64px; }
  .tier-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .related-grid { grid-template-columns: 1fr; }
  .article, .doc { padding-top: 100px; }
  .cta-banner { padding: 36px 22px 32px; border-radius: 22px; }
  .faq-item summary { font-size: 17px; padding: 19px 2px; }
  .specs li { font-size: 15px; }
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ══════════ Setup guide ══════════ */
.setup-dek { font-size: 19px; line-height: 1.6; color: var(--ink-2); margin-top: 16px; max-width: 620px; }
.setup-toc {
  margin: 8px 0 12px; padding: 22px 24px; background: var(--mist);
  border-radius: var(--r-lg); counter-reset: toc;
}
.setup-toc p { font-size: 13.5px; font-weight: 650; color: var(--ink-3); margin-bottom: 10px; }
.doc .setup-toc ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.doc .setup-toc li { counter-increment: toc; margin: 0; font-size: 15.5px; line-height: 1.5; }
.setup-toc li::before { content: counter(toc); display: inline-block; width: 22px; font-family: var(--mono); font-size: 13px; color: var(--amber-ink); }
.setup-toc a { color: var(--ink); text-decoration: none; }
.setup-toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.setup-toc .key a { font-weight: 650; }

.step { position: relative; padding: 36px 0 8px 58px; border-top: 1px solid var(--line); margin-top: 40px; scroll-margin-top: 90px; }
.step-num {
  position: absolute; left: 0; top: 36px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--mono); font-size: 15px; font-weight: 600;
  background: var(--ink); color: #fff;
}
.step.key .step-num { background: var(--amber); color: #2a1a00; }
.doc .step h2 { margin: 4px 0 10px; }
.step-tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 650; letter-spacing: 0; vertical-align: 4px; background: var(--amber-wash); color: var(--amber-ink); box-shadow: inset 0 0 0 1px rgba(247,160,40,0.3); }
.step-tag.opt { background: var(--mist); color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); }

.path { display: inline; font-size: 15px; font-weight: 550; color: var(--ink); background: var(--mist); border-radius: 7px; padding: 2px 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.path i { font-style: normal; color: var(--ink-3); padding: 0 2px; }
.doc kbd { font-family: var(--mono); font-size: 13.5px; padding: 1px 6px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2, rgba(0,0,0,0.14)), 0 1px 0 rgba(0,0,0,0.06); color: var(--ink); }

.settings { margin: 18px 0 20px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.settings-row { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; padding: 13px 18px; border-top: 1px solid var(--line); }
.settings-row:first-child { border-top: none; }
.settings-where { font-size: 12.5px; font-weight: 650; color: var(--ink-3); padding: 11px 18px 0; }
.settings-name { font-size: 15.5px; color: var(--ink); line-height: 1.45; }
.settings-name small { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.settings-val { flex: none; font-size: 13.5px; font-weight: 650; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.settings-val.off { background: #FDECEC; color: #A1261D; }
.settings-val.on { background: #E6F4EA; color: var(--green-ink); }
.settings-val.set { background: var(--amber-wash); color: var(--amber-ink); }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.choice-card { padding: 20px 20px 18px; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.choice-card.rec { box-shadow: inset 0 0 0 1.5px rgba(247,160,40,0.55); background: linear-gradient(180deg, var(--amber-wash), #fff 70%); }
.choice-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 4px; }
.choice-card .choice-label { font-size: 12.5px; font-weight: 650; color: var(--amber-ink); margin-bottom: 8px; display: block; }
.choice-card.alt .choice-label { color: var(--ink-3); }
.doc .choice-card ol { padding-left: 20px; margin: 10px 0 0; }
.doc .choice-card li { font-size: 15px; line-height: 1.55; margin-bottom: 6px; }

.why { margin: 16px 0 18px; padding: 16px 20px; border-left: 3px solid var(--amber); background: var(--mist); border-radius: 0 var(--r-md) var(--r-md) 0; }
.doc .why p { font-size: 15.5px; margin-bottom: 0; color: var(--ink-2); }
.doc .why p + p { margin-top: 8px; }

.trouble { margin: 18px 0; }
.trouble details { border-top: 1px solid var(--line); padding: 14px 0; }
.trouble details:last-child { border-bottom: 1px solid var(--line); }
.trouble summary { cursor: pointer; font-size: 16.5px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.trouble summary::-webkit-details-marker { display: none; }
.trouble summary::after { content: "+"; font-family: var(--mono); color: var(--ink-3); }
.trouble details[open] summary::after { content: "–"; }
.doc .trouble details p { margin: 10px 0 0; font-size: 15.5px; }

.setup-end { margin-top: 48px; padding: 26px 28px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.doc .setup-end p { color: rgba(255,255,255,0.78); margin-bottom: 0; }
.doc .setup-end strong { color: #fff; }
.setup-end a { color: var(--amber-hi); }

.policy-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); text-align: center; }
.policy-note a { color: var(--ink-2); }

@media (max-width: 680px) {
  .doc .setup-toc ol { grid-template-columns: 1fr; }
  .choice { grid-template-columns: 1fr; }
  .step { padding-left: 0; padding-top: 86px; }
  .step-num { top: 34px; }
  .settings-row { flex-direction: column; gap: 6px; }
}
