:root {
  --bg: #101114;
  --bg-2: #16181d;
  --bg-3: #1d2026;
  --line: rgba(244, 239, 230, 0.1);
  --line-strong: rgba(244, 239, 230, 0.16);
  --text: #f3efe6;
  --muted: #b7b1a6;
  --faint: #8f897f;
  --accent: #e7a15a;
  --accent-2: #f0d3ae;
  --ink: #1a140e;
  --sage: #9dbeae;
  --danger: #e07a62;
  --paper: #f6f4ef;
  --paper-2: #ece8e1;
  --ink-2: #1c1b19;
  --ink-muted: #5e5a54;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  --serif: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --nav: 64px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--sans);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent-2); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(231, 161, 90, 0.35); }
[hidden] { display: none !important; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--accent);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 50;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.wrap-narrow { width: min(740px, calc(100% - 40px)); margin: 0 auto; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: clamp(40px, 5.4vw, 68px); margin: 0 0 16px; text-wrap: balance; }
h2 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 12px; text-wrap: balance; }
h3 { font-size: 22px; margin: 0 0 8px; }
p { text-wrap: pretty; }

.kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lede { font-size: 19px; line-height: 1.5; color: var(--muted); margin: 0 0 22px; }
.lede + .lede { margin-top: -10px; }
.fine { color: var(--faint); font-size: 13px; line-height: 1.45; }
.section-copy { color: var(--muted); font-size: 17px; margin: 0; max-width: 42em; }

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--nav);
  display: flex;
  align-items: center;
  background: rgba(16, 17, 20, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 20px; width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.03em;
  font-size: 17px;
}
.brand:hover { color: var(--text); }
.brand svg, .brand-fn { display: block; flex: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.35)); }
.brand-fn text { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 550; }
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-cta,
.nav-links a.btn-primary {
  background: var(--accent);
  color: #111014;
  border-color: transparent;
  font-weight: 700;
}
.nav-links a.nav-cta:hover,
.nav-links a.btn-primary:hover {
  background: #f0b56e;
  color: #111014;
}
.nav-toggle, .nav-burger { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  padding: 11px 18px;
  font-weight: 620;
  font-size: 15px;
  line-height: 1;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #f0b56e; color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.os-banner {
  background: #2a2118;
  color: var(--accent-2);
  border-bottom: 1px solid rgba(231, 161, 90, 0.25);
}
.os-banner p { margin: 0; padding: 10px 20px; text-align: center; font-size: 14px; }
.os-banner strong { color: var(--text); font-weight: 650; }

.hero { padding: 54px 0 20px; position: relative; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 420px;
  background:
    radial-gradient(520px 220px at 50% 0%, rgba(231, 161, 90, 0.16), transparent 70%);
  pointer-events: none;
}
.hero-copy { position: relative; text-align: center; width: min(820px, calc(100% - 40px)); margin: 0 auto 28px; }
.hero-copy .lede { margin-left: auto; margin-right: auto; }
.hero-copy .cta-row, .hero-copy .fine { justify-content: center; }
.hero-copy .cta-row { justify-content: center; }
.hero-copy .fine { margin-top: 14px; }

.trust { padding: 8px 0 36px; }
.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin: 0;
  padding: 0;
}
.trust-row li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  font-size: 13.5px;
  font-weight: 600;
}
.trust-row svg { flex: none; color: var(--accent); }

.section { padding: 88px 0; }
.section-alt { background: var(--bg-2); }
.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(340px, 1.14fr);
  gap: 48px;
  align-items: start;
}
.split .copy { position: sticky; top: calc(var(--nav) + 24px); }
.split .copy p { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.step {
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: #1e222a;
  border: 1px solid var(--line);
}
.step-n { color: var(--accent); font: 600 12px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; font-size: 15.5px; }
.mini-ui { margin-top: 16px; display: flex; align-items: center; gap: 8px; min-height: 36px; }
.mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #241c16;
  color: #f6f1e8;
  font-size: 12px;
  font-weight: 650;
}
.mini-pill i { width: 6px; height: 6px; border-radius: 50%; background: #e15b45; display: block; }
.mini-line { font-size: 13.5px; background: var(--paper); color: var(--ink-2); border-radius: 8px; padding: 6px 8px; }
.mini-line em { font-style: normal; background: linear-gradient(transparent 60%, rgba(231,161,90,.7) 60%); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.card {
  padding: 22px 20px;
  border-radius: 18px;
  background: #1e222a;
  border: 1px solid var(--line);
}
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .icon-row { color: var(--accent); margin-bottom: 12px; }

.honesty {
  text-align: center;
  padding: 88px 0;
  background:
    radial-gradient(600px 180px at 50% 0%, rgba(231, 161, 90, 0.1), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.honesty h2 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.honesty p { color: var(--muted); font-size: 18px; }

.pricing-card {
  margin-top: 28px;
  padding: 36px 32px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(231, 161, 90, 0.08), transparent 42%), var(--bg-3);
  text-align: center;
}
.price-kicker { color: var(--accent); font-weight: 700; letter-spacing: 0.04em; }
.pricing-card h2 { margin: 8px 0 12px; }
.pricing-card p { color: var(--muted); margin: 0 auto; max-width: 42em; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  font-weight: 620;
  font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 500; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 62ch; }

.table-scroll { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: 16px; }
.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 720px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); font-weight: 650; }
.compare td:first-child { color: var(--text); font-weight: 600; width: 28%; }
.compare td { color: var(--muted); }
.compare .pt { background: rgba(231, 161, 90, 0.08); color: var(--text); }
.compare thead .pt { color: var(--accent-2); }
.compare-note { color: var(--faint); font-size: 14px; margin: 14px 0 0; max-width: 70ch; }

.site-footer { border-top: 1px solid var(--line); padding: 48px 0 28px; color: var(--muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-heading { color: var(--text); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.disclaimer { margin-top: 14px; color: var(--faint); font-size: 12px; line-height: 1.5; max-width: 90ch; }

.page { padding: 48px 0 80px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); }
.prose h2 { font-size: 28px; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--accent-2); }

/* desktop scene */
.stage { width: min(980px, calc(100% - 32px)); margin: 0 auto; }
.desktop {
  position: relative;
  min-height: 580px;
  border-radius: 22px;
  overflow: hidden;
  padding: 52px 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(420px 260px at 8% 92%, rgba(231, 161, 90, 0.42), transparent 68%),
    radial-gradient(480px 300px at 96% 8%, rgba(130, 168, 186, 0.32), transparent 62%),
    linear-gradient(180deg, #3c362e 0%, #2c333b 46%, #1a2128 100%);
  box-shadow: var(--shadow);
}
.menubar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  background: rgba(18, 16, 14, 0.45);
  color: rgba(255, 255, 255, 0.92);
  font: 500 12px/1 var(--sans);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}
.menubar .app-name { font-weight: 700; }
.menubar .menu-item { opacity: 0.72; }
.menubar .right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.apple { width: 13px; height: 13px; fill: white; }
.mb-music {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f0d3ae;
  font-weight: 600;
}
.mb-music svg { width: 12px; height: 12px; fill: currentColor; }
.mark-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #1a1612;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
  position: relative;
}
.mark-dot::after {
  content: "";
  position: absolute;
  left: 3px; right: 3px; top: 6px;
  height: 2px;
  background: var(--accent);
  box-shadow: -3px -2px 0 -0.2px var(--accent), 3px -2px 0 -0.2px var(--accent);
}

.macwin {
  width: min(680px, 100%);
  background: var(--paper);
  color: var(--ink-2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
  text-align: left;
  font-family: var(--sans);
}
.hero-win { margin-top: 18px; min-height: 300px; display: flex; flex-direction: column; }
.winbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.dot { width: 11px; height: 11px; border-radius: 50%; background: #dedcd6; }
.dot.r { background: #ff5f57; }
.dot.y { background: #febc2e; }
.dot.g { background: #28c840; }
.wintitle { margin-left: 6px; font-size: 12.5px; font-weight: 650; color: #3c3a36; }
.mail-fields { padding: 4px 16px 0; background: var(--paper); }
.mail-fields div { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: 13.5px; }
.mail-fields span { width: 62px; color: var(--ink-muted); flex: none; }
.note-title { padding: 14px 18px 0; font: 650 20px/1.2 var(--serif); letter-spacing: -0.02em; }
.doc {
  padding: 14px 18px 18px;
  min-height: 168px;
  font-size: 15.5px;
  line-height: 1.45;
}
.doc .greet { margin: 0 0 10px; }
.doc .line { margin: 0; min-height: 1.45em; }
.caret {
  display: inline-block;
  width: 1.5px;
  height: 1.05em;
  background: #1c1b19;
  vertical-align: text-bottom;
  margin-left: 1px;
  animation: blink 1.05s steps(1) infinite;
}
#typed.just-pasted { background: linear-gradient(transparent 62%, rgba(231, 161, 90, 0.55) 62%); }

.dock { margin-top: auto; padding-top: 26px; }
.dock-tray {
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}
.dock-app {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 0;
  padding: 0;
  position: relative;
  background: rgba(255,255,255,.2);
}
.dock-app.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  transform: translateX(-50%);
}
.dock-app:hover { transform: translateY(-3px); }
.da-mail { background: linear-gradient(160deg, #7eb6f0, #2f6fbe); }
.da-notes { background: linear-gradient(#fff 0 42%, #f2d56b 42%); }
.da-slack {
  background: linear-gradient(145deg, #4a154b, #611f69);
  box-shadow: inset 0 0 0 7px transparent;
  position: relative;
}
.da-slack::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 3px;
  background:
    linear-gradient(#e01e5a, #e01e5a) 0 40%/100% 20% no-repeat,
    linear-gradient(#36c5f0, #36c5f0) 40% 0/20% 100% no-repeat,
    linear-gradient(#2eb67d, #2eb67d) 0 40%/100% 20% no-repeat,
    linear-gradient(#ecb22e, #ecb22e) 40% 0/20% 100% no-repeat;
  background:
    radial-gradient(circle at 30% 30%, #e01e5a 0 28%, transparent 29%),
    radial-gradient(circle at 70% 30%, #36c5f0 0 28%, transparent 29%),
    radial-gradient(circle at 30% 70%, #2eb67d 0 28%, transparent 29%),
    radial-gradient(circle at 70% 70%, #ecb22e 0 28%, transparent 29%);
}
.da-cursor {
  background: linear-gradient(160deg, #2a2a2a, #111);
  color: #fff;
  font: 700 11px/42px var(--sans);
  letter-spacing: -0.04em;
}
.da-cursor::before { content: ">_"; display: block; text-align: center; color: #a3e635; }
.da-messages { background: linear-gradient(160deg, #5ef06a, #1db954); }
.da-safari {
  background: radial-gradient(circle at 50% 50%, #fff 0 18%, transparent 19%),
    conic-gradient(from 0deg, #1e6fff, #6ec8ff, #1e6fff);
}
.da-notion {
  background: #fff;
  color: #111;
  font: 750 16px/42px var(--serif);
  text-align: center;
}
.da-notion::before { content: "N"; display: block; }
.dock-sep {
  width: 1px;
  align-self: stretch;
  margin: 4px 2px;
  background: rgba(255,255,255,.28);
}
.da-priv {
  background: linear-gradient(180deg, #f4f0e8, #cfc9be);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 1px 0 rgba(0,0,0,.25);
  color: #2a2620;
}
.da-priv .da-fn {
  font: 700 11px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.04em;
}

/* App-specific hero chrome */
.slack-chrome, .messages-chrome, .code-chrome, .safari-chrome, .notion-chrome {
  padding: 10px 16px 0;
  background: var(--paper);
}
.slack-channel {
  font: 700 13px/1.2 var(--sans);
  color: #1d1c1d;
  margin-bottom: 6px;
}
.slack-channel::before { content: ""; }
.slack-meta { font-size: 12px; color: var(--ink-muted); margin-bottom: 4px; }
.imessage-peer {
  text-align: center;
  font: 650 13px/1.2 var(--sans);
  color: #3c3a36;
  padding: 4px 0 8px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.code-tabs { display: flex; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid rgba(0,0,0,.08); }
.code-tab {
  font: 600 12px/1 var(--mono);
  padding: 6px 10px;
  border-radius: 8px 8px 0 0;
  background: #1c1b19;
  color: #f3efe6;
}
.safari-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e8e4dc;
  font: 500 12.5px/1 var(--sans);
  color: #3c3a36;
}
.safari-lock {
  width: 8px; height: 10px; border-radius: 2px;
  border: 1.5px solid #6a655c; position: relative; flex: none;
}
.safari-lock::before {
  content: "";
  position: absolute;
  left: 1px; right: 1px; top: -4px; height: 5px;
  border: 1.5px solid #6a655c; border-bottom: 0; border-radius: 4px 4px 0 0;
}
.notion-crumb { font-size: 12px; color: var(--ink-muted); margin-bottom: 2px; }
.hero-win[data-app="cursor"] .doc,
.hero-win[data-app="cursor"] .doc .line {
  font-family: var(--mono);
  font-size: 13.5px;
  background: #1c1b19;
  color: #f3efe6;
}
.hero-win[data-app="cursor"] .doc { min-height: 180px; }
.hero-win[data-app="cursor"] .caret { background: #a3e635; }
.hero-win[data-app="cursor"] #typed.just-pasted {
  background: linear-gradient(transparent 62%, rgba(163, 230, 53, 0.35) 62%);
}
.hero-win[data-app="messages"] .doc { padding-top: 18px; }
.hero-win[data-app="messages"] .line {
  display: inline-block;
  max-width: 88%;
  background: #34c759;
  color: #fff;
  padding: 10px 12px;
  border-radius: 16px 16px 4px 16px;
  font-size: 14.5px;
}
.hero-win[data-app="messages"] .caret { background: #fff; }
.hero-win[data-app="messages"] #typed.just-pasted { background: transparent; }
.hero-win[data-app="slack"] .doc { padding-top: 6px; }
.dock-tray { flex-wrap: wrap; justify-content: center; max-width: 100%; }

.pill {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(28, 24, 20, 0.82);
  color: #f6f1e8;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  font: 620 13px/1 var(--sans);
  animation: pill-in 0.28s cubic-bezier(.2,.8,.2,1);
}
.pill.at-bottom { left: 50%; bottom: 92px; transform: translateX(-50%); }
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e15b45;
  box-shadow: 0 0 0 0 rgba(225, 91, 69, 0.55);
  animation: pulse 1.4s ease-out infinite;
  flex: none;
}
.pill.is-work .pill-dot { background: var(--accent); animation: none; }
.wave { display: flex; align-items: center; gap: 2px; height: 14px; }
.wave i {
  display: block;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: var(--accent);
  animation: bar 0.9s ease-in-out infinite;
}
.wave i:nth-child(2) { animation-delay: 0.1s; }
.wave i:nth-child(3) { animation-delay: 0.2s; }
.wave i:nth-child(4) { animation-delay: 0.15s; }
.wave i:nth-child(5) { animation-delay: 0.05s; }
.pill.is-work .wave i { animation: none; height: 3px; opacity: 0.7; }
.pill-label { display: flex; flex-direction: column; gap: 1px; }
.pill-sub { font: 500 10px/1 var(--sans); color: rgba(246, 241, 232, 0.62); letter-spacing: 0.02em; }
.pill-main { font-variant-numeric: tabular-nums; }

.demo-controls { margin-top: 14px; display: grid; gap: 12px; justify-items: center; }
.demo-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: center; }
.dm-label { color: var(--muted); font-size: 13.5px; text-align: center; max-width: 62ch; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.track {
  width: 42px;
  height: 25px;
  border-radius: 999px;
  background: #3a3d44;
  display: block;
  position: relative;
  transition: background 0.2s;
}
.switch input:checked + .track { background: #c9843e; }
.macwin .track { background: #d5d2cb; }
.macwin .switch input:checked + .track { background: #c9843e; }
.macwin .check { color: var(--ink-2); }
.switch input:focus-visible + .track { outline: 2px solid var(--accent); outline-offset: 3px; }
.knob {
  position: absolute;
  top: 2.5px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.switch input:checked + .track .knob { transform: translateX(16px); }
.check { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13.5px; cursor: pointer; }
.check input { accent-color: #c9843e; width: 15px; height: 15px; }

.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.seg button, .chips button, .textbtn {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 620;
}
.seg button[aria-pressed="true"], .chips button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--ink);
}
.seg-label { color: var(--faint); font-size: 12px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }

.keycap {
  min-width: 112px;
  height: 64px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, #3a342c, #241f1a);
  color: var(--text);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 8px 0 #14110e, 0 12px 18px rgba(0,0,0,.35);
  font: 650 18px/1 var(--sans);
  letter-spacing: 0.04em;
  user-select: none;
  touch-action: none;
  -webkit-user-select: none;
}
.keycap.is-down, .keycap:active {
  transform: translateY(6px);
  box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 2px 0 #14110e;
}
.hands-btn {
  height: 64px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-weight: 650;
}
.hands-btn[aria-pressed="true"] { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.hold-row { display: flex; gap: 10px; align-items: center; }

/* in-page mock windows */
.mock { width: 100%; }
.mock .macwin { width: 100%; box-shadow: var(--shadow); }
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  background: #fbfaf7;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button {
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  color: #3c3a36;
  border-radius: 999px;
}
.chips button[aria-pressed="true"] { background: #1c1b19; color: #f6f4ef; border-color: #1c1b19; }
.pane { display: grid; grid-template-columns: 1fr 1fr; min-height: 220px; }
.pane-col { padding: 12px 14px 14px; }
.pane-col + .pane-col { border-left: 1px solid rgba(0,0,0,.06); background: #fff; }
.pane-label { font: 650 11px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.field, .area {
  width: 100%;
  border: 1px solid rgba(0,0,0,.1);
  background: #fff;
  color: var(--ink-2);
  border-radius: 8px;
  padding: 8px 10px;
  resize: vertical;
}
.area { min-height: 96px; line-height: 1.4; }
.out {
  margin: 0;
  white-space: pre-wrap;
  font: 15px/1.45 var(--sans);
  min-height: 96px;
}
.out.is-code { font: 12.5px/1.45 var(--mono); background: #1c1b19; color: #f3efe6; padding: 12px; border-radius: 8px; }
.note-line { margin: 8px 12px 12px; color: var(--ink-muted); font-size: 12.5px; }
.meta { color: var(--ink-muted); font-size: 12.5px; margin-top: 8px; }

.suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.suggest button, .word-list button.fix {
  border: 1px dashed rgba(224, 122, 98, 0.7);
  background: #fff7f4;
  color: #7a3b2c;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 650;
}
.word-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: 14px; }
.word-row button { border: 0; background: transparent; color: var(--ink-muted); padding: 4px 6px; }
.add-row { display: flex; gap: 6px; margin-top: 8px; }
.add-row input { flex: 1; }
.status { min-height: 1.2em; color: var(--ink-muted); font-size: 12.5px; margin-top: 6px; }
.primary-ink {
  background: #1c1b19;
  color: #f6f4ef;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 650;
  font-size: 13.5px;
}
.primary-ink:hover { background: #000; }
.ghost-ink {
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 620;
  font-size: 13.5px;
  color: var(--ink-2);
}

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.stat {
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.05);
}
.stat b { display: block; font: 560 28px/1 var(--serif); letter-spacing: -0.03em; }
.stat span { color: var(--ink-muted); font-size: 12px; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: stretch; padding: 6px 12px 12px; height: 160px; }
.bar {
  background: transparent;
  border: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  color: var(--ink-muted);
  font-size: 11px;
}
.bar i {
  display: block;
  width: 100%;
  border-radius: 5px 5px 2px 2px;
  background: #c47b38;
  min-height: 4px;
}
.bar.today i { background: #e7a15a; }
.bar.future i { background: repeating-linear-gradient(-45deg, #ddd8d0, #ddd8d0 3px, #f3f0ea 3px, #f3f0ea 6px); }
.bar:hover i, .bar:focus-visible i { filter: brightness(0.95); }
.tip { padding: 0 12px 8px; min-height: 1.2em; color: var(--ink-muted); font-size: 12.5px; }
.history { list-style: none; margin: 0; padding: 0 8px 8px; max-height: 280px; overflow: auto; }
.history li { margin: 0; }
.history button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 8px;
  color: var(--ink-2);
}
.history button small { display: block; color: var(--ink-muted); font-size: 11.5px; }
.history button[aria-pressed="true"], .history button:hover { background: rgba(231, 161, 90, 0.18); }
.paste-line {
  margin: 0 12px 12px;
  padding: 10px 12px;
  min-height: 42px;
  border-radius: 8px;
  background: #fff;
  border: 1px dashed rgba(0,0,0,.15);
  font-size: 14px;
}
.paste-line.flash { animation: flashbg 0.8s ease; }
.tabs { display: flex; gap: 4px; }

.path {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 12px;
  font-size: 13px;
  font-weight: 650;
}
.path i { font-style: normal; color: var(--ink-muted); }
.node { background: #fff; border-radius: 8px; padding: 6px 8px; border: 1px solid rgba(0,0,0,.06); }
.node strong { display: block; font-size: 13px; }
.node span { font-weight: 500; color: var(--ink-muted); font-size: 11.5px; }
.set-list { padding: 4px 12px 12px; display: grid; gap: 10px; }
.set-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(0,0,0,.06); }
.set-row p { margin: 2px 0 0; color: var(--ink-muted); font-size: 12.5px; }
.set-row h3 { font-family: var(--sans); font-size: 14px; letter-spacing: 0; font-weight: 680; }
pre.json {
  margin: 0 12px 12px;
  background: #1c1b19;
  color: #f3efe6;
  border-radius: 8px;
  padding: 12px;
  font: 11.5px/1.45 var(--mono);
  overflow: auto;
  max-height: 220px;
}
.shake { animation: shake 0.45s linear; }

kbd {
  font: 650 13px/1 var(--sans);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 3px 6px;
  color: var(--text);
}
section[id] { scroll-margin-top: 80px; }

.rv { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(225, 91, 69, 0.45); }
  100% { box-shadow: 0 0 0 8px rgba(225, 91, 69, 0); }
}
@keyframes bar {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}
@keyframes pill-in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@keyframes flashbg { from { background: #f4e2c8; } to { background: #fff; } }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

@media (max-width: 980px) {
  .split, .steps, .cards, .footer-grid, .pane { grid-template-columns: 1fr; }
  .split .copy { position: static; }
  .pane-col + .pane-col { border-left: 0; border-top: 1px solid rgba(0,0,0,.06); }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .nav-burger {
    display: inline-flex;
    margin-left: auto;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    border-radius: 8px;
    padding: 6px 10px;
    font-weight: 650;
  }
  .nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 16px;
    background: #101114;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--accent); }
  .desktop { min-height: 480px; padding: 46px 10px 16px; }
  .dock { display: none; }
  .pill.at-bottom { bottom: 16px; }
  .cards, .stats-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .caret, .pill-dot, .wave i, .pill { animation: none; }
  .dock-app:hover { transform: none; }
}

/* guides */
ol.crumbs, .prose ol.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; color: var(--faint); font-size: 14px; }
ol.crumbs li + li { margin-top: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.post-list { display: grid; gap: 14px; margin-top: 32px; }
.post-card {
  display: block;
  padding: 24px 22px;
  border-radius: 18px;
  background: #1e222a;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: border-color .15s ease;
}
.post-card:hover { color: var(--text); border-color: var(--line-strong); }
.post-card .kicker { margin-bottom: 10px; }
.post-card h2 { font-size: 26px; margin: 0 0 8px; }
.post-card p { margin: 0 0 12px; color: var(--muted); font-size: 15.5px; }
.post-meta { color: var(--faint); font-size: 13.5px; }
.post-head { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.post-head .lede { margin: 0 0 14px; }
.prose h3 { font-size: 21px; margin: 24px 0 6px; }
.prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--text); }
.post-end { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
