:root {
  color-scheme: dark;
  --bg: #09090b;
  --panel: #111116;
  --panel-2: #17171f;
  --text: #f4f4f5;
  --text-strong: #fafafa;
  --text-soft: #d4d4d8;
  --muted: #a1a1aa;
  --soft: #27272a;
  --line: #2a2a32;
  --line-strong: #3a3a45;
  --accent: #66e3c4;
  --accent-on: #06241d;
  --accent-2: #f5d15f;
  --accent-3: #7db6ff;
  --good: #a7f3d0;
  --warn: #fde68a;
  --bad: #fecaca;
  --r-sm: 8px;
  --r-md: 12px;
  --r-pill: 999px;

  --btn-primary-bg: #f4f4f5;
  --btn-primary-fg: #09090b;
  --btn-secondary-bg: rgba(244,244,245,.05);
  --btn-secondary-bg-hover: rgba(244,244,245,.09);
  --btn-secondary-border: rgba(244,244,245,.3);
  --btn-secondary-border-hover: rgba(244,244,245,.45);

  --input-bg: #0c0c10;
  --code-bg: #050507;
  --notice-bg: #0d0d12;
  --card-soft-bg: #0f0f13;
  --badge-bg: #0b0b0f;

  --nav-bg: rgba(9,9,11,.85);
  --shadow-card: 0 1px 0 rgba(255,255,255,.03) inset, 0 6px 18px rgba(0,0,0,.22);
  --shadow-pop: 0 30px 80px rgba(0,0,0,.5);
  --shadow-prompt: 0 18px 48px rgba(0,0,0,.32), 0 0 0 1px rgba(255,255,255,.03) inset;

  --hero-pattern: rgba(244,244,245,.08);
  --hero-fade-top: rgba(9,9,11,.2);
  --hero-fade-bottom: rgba(9,9,11,.95);
  --hero-tint-blue: rgba(125,182,255,.14);
  --hero-tint-yellow: rgba(245,209,95,.08);
  --hero-tint-mint: rgba(102,227,196,.12);

  --proof-pill-bg: rgba(9,9,11,.58);
  --proof-pill-border: rgba(244,244,245,.16);
  --proof-pill-fg: #d4d4d8;

  --feature-bg: rgba(17,17,22,.62);

  --chip-bg: rgba(244,244,245,.04);
  --chip-bg-hover: rgba(244,244,245,.08);
  --chip-border: rgba(244,244,245,.12);
  --chip-border-hover: rgba(244,244,245,.22);
  --chip-link-hover-bg: rgba(244,244,245,.06);

  /* notion-window mock tokens */
  --notion-bg: #191919;
  --notion-topbar-bg: rgba(255,255,255,.012);
  --notion-topbar-fg: #8c8c8c;
  --notion-crumb-fg: #9b9b9b;
  --notion-crumb-sep: #555;
  --notion-saved-fg: #6f6f6f;
  --notion-title-fg: #ebebeb;
  --notion-meta-fg: #7d7d7d;
  --notion-line: rgba(255,255,255,.06);
  --notion-line-soft: rgba(255,255,255,.04);
  --notion-tab-active: #ebebeb;
  --notion-tab-inactive: #888;
  --notion-tab-th: #8a8a8a;
  --notion-th-icon: #5a5a5a;
  --notion-cell-fg: #d6d6d6;
  --notion-mono-fg: #9a9a9a;
  --notion-tag-bg: rgba(255,255,255,.06);
  --notion-tag-fg: #c2c2c2;
  --notion-tag-good-bg: rgba(102,227,196,.14);
  --notion-tag-draft-bg: rgba(245,209,95,.13);
  --notion-tag-draft-fg: #f5d15f;
  --notion-side-active: rgba(255,255,255,.05);
  --notion-shadow: 0 32px 120px rgba(0,0,0,.55);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #fafaf7;
  --panel: #ffffff;
  --panel-2: #f6f6f1;
  --text: #1f1f1f;
  --text-strong: #0a0a0a;
  --text-soft: #3a3a3a;
  --muted: #6e6e6e;
  --soft: #ebebe7;
  --line: #e4e4df;
  --line-strong: #c7c7c2;
  --accent: #2fa57d;
  --accent-on: #f7fffb;
  --accent-2: #c9961d;
  --accent-3: #3c75c4;
  --good: #1f7a55;
  --warn: #8a6a10;
  --bad: #b03a3a;

  --btn-primary-bg: #1f1f1f;
  --btn-primary-fg: #ffffff;
  --btn-secondary-bg: rgba(0,0,0,.04);
  --btn-secondary-bg-hover: rgba(0,0,0,.07);
  --btn-secondary-border: rgba(0,0,0,.18);
  --btn-secondary-border-hover: rgba(0,0,0,.32);

  --input-bg: #ffffff;
  --code-bg: #f4f4ee;
  --notice-bg: #fbfbf6;
  --card-soft-bg: #f8f8f3;
  --badge-bg: #ffffff;

  --nav-bg: rgba(255,255,255,.88);
  --shadow-card: 0 1px 0 rgba(0,0,0,.02) inset, 0 4px 14px rgba(15,15,15,.06);
  --shadow-pop: 0 24px 60px rgba(15,15,15,.14);
  --shadow-prompt: 0 14px 36px rgba(15,15,15,.08), 0 0 0 1px rgba(0,0,0,.03) inset;

  --hero-pattern: rgba(0,0,0,.06);
  --hero-fade-top: rgba(250,250,247,.2);
  --hero-fade-bottom: rgba(250,250,247,.95);
  --hero-tint-blue: rgba(60,117,196,.08);
  --hero-tint-yellow: rgba(201,150,29,.07);
  --hero-tint-mint: rgba(47,165,125,.1);

  --proof-pill-bg: rgba(255,255,255,.78);
  --proof-pill-border: rgba(0,0,0,.08);
  --proof-pill-fg: #3a3a3a;

  --feature-bg: rgba(255,255,255,.7);

  --chip-bg: rgba(0,0,0,.04);
  --chip-bg-hover: rgba(0,0,0,.07);
  --chip-border: rgba(0,0,0,.12);
  --chip-border-hover: rgba(0,0,0,.22);
  --chip-link-hover-bg: rgba(0,0,0,.05);

  --notion-bg: #ffffff;
  --notion-topbar-bg: #fafaf7;
  --notion-topbar-fg: #6f6f6f;
  --notion-crumb-fg: #6f6f6f;
  --notion-crumb-sep: #c0c0c0;
  --notion-saved-fg: #8a8a8a;
  --notion-title-fg: #1f1f1f;
  --notion-meta-fg: #8a8a8a;
  --notion-line: rgba(55,53,47,.09);
  --notion-line-soft: rgba(55,53,47,.05);
  --notion-tab-active: #1f1f1f;
  --notion-tab-inactive: #8a8a8a;
  --notion-tab-th: #8a8a8a;
  --notion-th-icon: #b0b0b0;
  --notion-cell-fg: #2a2a2a;
  --notion-mono-fg: #6e6e6e;
  --notion-tag-bg: rgba(55,53,47,.06);
  --notion-tag-fg: #4a4a4a;
  --notion-tag-good-bg: rgba(47,165,125,.14);
  --notion-tag-draft-bg: rgba(201,150,29,.16);
  --notion-tag-draft-fg: #8a6a10;
  --notion-side-active: rgba(55,53,47,.07);
  --notion-shadow: 0 30px 80px rgba(15,15,15,.08);
}

* { box-sizing: border-box; }
html, body { padding: 0; margin: 0; background: var(--bg); color: var(--text); font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.shell { max-width: 1180px; margin: 0 auto; padding: 28px; }
.nav { display:flex; align-items:center; gap:24px; padding: 14px 28px; border-bottom:1px solid var(--line); background: var(--nav-bg); position:sticky; top:0; backdrop-filter: blur(10px); z-index: 10; }
.brand { font-weight: 800; }
.navlinks { display:flex; gap:18px; color: var(--muted); font-size:14px; flex: 1; }
.navlinks a:hover { color: var(--text); }
.nav-actions { display:flex; gap:10px; align-items:center; }
.nav-link-muted { color: var(--muted); font-size: 14px; padding: 8px 4px; }
.nav-link-muted:hover { color: var(--text); }
.nav-cta { padding: 7px 14px; font-size: 13px; }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: var(--r-pill);
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  color: var(--text);
  cursor: pointer;
  padding: 0;
  font-weight: 500;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.theme-toggle:hover { background: var(--chip-bg-hover); border-color: var(--chip-border-hover); transform: none; }
.theme-toggle svg { width: 16px; height: 16px; display: block; }
.theme-toggle .theme-icon-sun { display: none; }
.theme-toggle .theme-icon-moon { display: block; }
[data-theme="light"] .theme-toggle .theme-icon-sun { display: block; }
[data-theme="light"] .theme-toggle .theme-icon-moon { display: none; }

/* user chip + menu */
.user-menu { position: relative; }
.user-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  color: var(--text);
  border-radius: var(--r-pill);
  padding: 4px 10px 4px 4px;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
}
.user-chip:hover { background: var(--chip-bg-hover); border-color: var(--chip-border-hover); transform: none; }
.user-chip-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--accent-on);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0;
}
.user-chip-name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip-caret { color: var(--muted); font-size: 10px; }
.user-menu-pop {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 240px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-pop);
  padding: 6px;
  z-index: 20;
}
.user-menu-head { padding: 10px 12px 8px; display: grid; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.user-menu-name { color: var(--text); font-weight: 600; font-size: 13px; }
.user-menu-email { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.user-menu-list { display: grid; gap: 1px; }
.user-menu-list a { padding: 8px 12px; border-radius: var(--r-sm); color: var(--text-soft); font-size: 13px; }
.user-menu-list a:hover { background: var(--chip-link-hover-bg); color: var(--text); }
.user-menu-signout {
  display: block; width: 100%;
  margin-top: 6px;
  background: transparent;
  color: var(--bad);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}
.user-menu-signout:hover { background: rgba(176,58,58,.08); border-color: rgba(176,58,58,.25); transform: none; }

@media (max-width: 720px) {
  .nav { gap: 14px; padding: 12px 18px; }
  .navlinks { display: none; }
  .user-chip-name { display: none; }
}

.hero { display:grid; gap:22px; padding: 80px 0 46px; max-width: 900px; }
.kicker { color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
h1 { font-size: 72px; line-height: 0.9; margin:0; letter-spacing:-0.025em; font-weight: 700; }
h2 { font-size: 28px; margin:0 0 14px; letter-spacing:-0.02em; font-weight: 700; }
h3 { margin: 0 0 10px; letter-spacing: -0.01em; }
p { color: var(--muted); line-height: 1.55; }

.grid { display:grid; gap:16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.grid-auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (max-width: 860px) { .grid.two, .grid.three { grid-template-columns: 1fr; } }

.card { background: linear-gradient(180deg, var(--panel), var(--panel-2)); border:1px solid var(--line); border-radius:var(--r-md); padding:20px; box-shadow: var(--shadow-card); }
.card.soft { background: var(--card-soft-bg); }
.row { display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.action-group { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.stack { display:flex; flex-direction:column; gap:12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

.btn, button { border:1px solid var(--line); background: var(--btn-primary-bg); color: var(--btn-primary-fg); border-radius:var(--r-md); padding:10px 14px; font-weight:700; cursor:pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease, opacity .15s ease, color .15s ease; }
.btn.secondary, button.secondary { background: var(--btn-secondary-bg); color: var(--text); border-color: var(--btn-secondary-border); }
.btn.secondary:hover, button.secondary:hover { background: var(--btn-secondary-bg-hover); border-color: var(--btn-secondary-border-hover); }
.btn.danger, button.danger { background: #3a1515; border-color:#5d2525; color:var(--bad); }
.btn:hover, button:hover { transform: translateY(-1px); }
.btn:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; pointer-events: none; }
.btn[aria-disabled="true"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; pointer-events: auto; }

.form { display:grid; gap:14px; }
.form-section { display:grid; gap:10px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); }
.form-section:first-of-type { margin-top: 6px; padding-top: 0; border-top: 0; }
.field { display:grid; gap:6px; }
label { color: var(--muted); font-size:13px; }
input, textarea, select { width:100%; background: var(--input-bg); color:var(--text); border:1px solid var(--line); border-radius:var(--r-md); padding:12px; outline:none; }
textarea { min-height: 140px; resize:vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--line-strong); }

.table-wrap { width: 100%; overflow-x: auto; }
.table { width:100%; border-collapse: collapse; overflow:hidden; border-radius:var(--r-md); }
.table th, .table td { border-bottom:1px solid var(--line); padding:12px 10px; text-align:left; vertical-align:top; font-size:14px; }
.table th { color:var(--muted); font-weight:600; }
.table tr:last-child td { border-bottom:0; }

.badge { display:inline-flex; align-items:center; gap:6px; border:1px solid var(--line); border-radius:var(--r-pill); padding:4px 8px; font-size:12px; color:var(--muted); background: var(--badge-bg); }
.badge.good { color: var(--good); border-color: rgba(167,243,208,.25); }
.badge.warn { color: var(--warn); border-color: rgba(253,230,138,.25); }
.badge.bad { color: var(--bad); border-color: rgba(254,202,202,.25); }

.notice { border: 1px dashed var(--line); border-radius:var(--r-md); padding:14px; color:var(--muted); background: var(--notice-bg); }

.notion-error {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: grid;
  gap: 8px;
  background: var(--notice-bg);
}
.notion-error h3 { margin: 0; color: var(--text); }
.notion-error p { margin: 0; color: var(--text-soft); line-height: 1.55; }
.notion-error details { color: var(--muted); font-size: 13px; margin-top: 4px; }
.notion-error details summary { cursor: pointer; }
.notion-error details pre {
  background: var(--code-bg);
  padding: 8px 10px;
  font-size: 11px;
  max-height: 100px;
  overflow: auto;
  margin: 6px 0 0;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}
.notion-error-warn { border-color: color-mix(in srgb, var(--warn) 30%, var(--line)); }
.notion-error-bad { border-color: color-mix(in srgb, var(--bad) 30%, var(--line)); background: color-mix(in srgb, var(--bad) 4%, var(--notice-bg)); }
.product-page { min-height: 100vh; }
.product-hero { padding: 80px 0 50px; max-width: 940px; }
.product-hero h1 { font-size: 80px; }
.section { padding: 22px 0; }
pre { overflow:auto; white-space:pre-wrap; background: var(--code-bg); border:1px solid var(--line); padding:16px; border-radius:var(--r-md); }

.landing-shell { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.landing-hero { position: relative; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; border-bottom: 1px solid var(--line); }
.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 78% 28%, var(--hero-tint-mint), transparent 60%),
    var(--bg);
}
.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 1;
  background-image:
    linear-gradient(var(--hero-pattern) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-pattern) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}
.hero-copy {
  position: relative; z-index: 2;
  padding-top: 120px; padding-bottom: 80px;
  max-width: 1180px; width: 100%;
  text-align: left;
}
.hero-copy h1 { max-width: 640px; margin: 14px 0 0; font-size: 78px; line-height: .94; letter-spacing: -0.035em; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; max-width: 640px; }

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

/* hero prompt — left-aligned glass card. radius derives from
   buttonRadius (22px) + padding (20px) = 42px so the circle buttons
   nest cleanly into the bottom corners. */
.hero-prompt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 36px 0 0;
  max-width: 620px;
  width: 100%;
  background: color-mix(in srgb, var(--panel) 55%, transparent);
  border: 1px solid var(--line-strong);
  border-radius: 42px;
  padding: 20px;
  box-shadow: var(--shadow-prompt);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  text-align: left;
  transform-origin: left center;
  transition:
    transform .35s cubic-bezier(.34,1.2,.5,1),
    box-shadow .35s cubic-bezier(.4,0,.2,1),
    border-color .25s ease,
    background .25s ease;
}
@media (max-width: 980px) {
  .hero-copy { text-align: center; }
  .hero-copy h1 { margin-left: auto; margin-right: auto; }
  .hero-prompt { margin: 32px auto 0; transform-origin: center; }
}
.hero-prompt:hover {
  transform: translateY(-2px);
  border-color: var(--chip-border-hover);
  box-shadow: var(--shadow-prompt), 0 18px 44px rgba(0,0,0,.18);
}
.hero-prompt:focus-within {
  transform: translateY(-2px) scale(1.025);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--panel) 72%, transparent);
  box-shadow:
    var(--shadow-prompt),
    0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent),
    0 24px 60px rgba(0,0,0,.22);
}

.hero-prompt-input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: 18px;
  line-height: 1.5;
  padding: 4px 4px 0;
  resize: none;
  min-height: 56px;
  font-family: inherit;
  field-sizing: content;
  max-height: 220px;
  transition: font-size .25s ease;
}
.hero-prompt:focus-within .hero-prompt-input { font-size: 19px; }
.hero-prompt-input::placeholder { color: var(--muted); }

.hero-prompt-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

/* perfect circles — element+class beats the generic button rule */
button.hero-prompt-circle {
  width: 44px;
  min-width: 44px;
  height: 44px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--chip-border);
  cursor: pointer;
  font-weight: 600;
  transition:
    transform .2s cubic-bezier(.34,1.2,.5,1),
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}
button.hero-prompt-circle svg { width: 20px; height: 20px; display: block; }
button.hero-prompt-circle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button.hero-prompt-circle:hover { transform: translateY(-1px) scale(1.05); }
button.hero-prompt-circle:active { transform: translateY(0) scale(.95); }

button.hero-prompt-mic {
  background: var(--btn-secondary-bg);
  color: var(--text);
  border-color: var(--btn-secondary-border);
}
button.hero-prompt-mic:hover {
  background: var(--btn-secondary-bg-hover);
  border-color: var(--btn-secondary-border-hover);
}
button.hero-prompt-mic:disabled,
button.hero-prompt-mic[aria-disabled="true"] {
  opacity: .4;
  cursor: not-allowed;
}
button.hero-prompt-mic.is-listening {
  background: rgba(231,80,80,.14);
  border-color: rgba(231,80,80,.5);
  color: #e75050;
  animation: micPulse 1.5s ease-in-out infinite;
}
@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(231,80,80,.5); }
  50% { box-shadow: 0 0 0 10px rgba(231,80,80,0); }
}

button.hero-prompt-submit-circle {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-color: transparent;
}
button.hero-prompt-submit-circle:hover {
  box-shadow: 0 8px 22px rgba(0,0,0,.22), 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-bottom-width: 2px;
  border-radius: 4px;
  color: var(--text-soft);
}


.hero-visual { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* notion-native window chrome */
.notion-window {
  position: absolute;
  border: 1px solid var(--notion-line);
  background: var(--notion-bg);
  box-shadow: var(--notion-shadow);
  border-radius: var(--r-sm);
  overflow: hidden;
  color: var(--notion-cell-fg);
  font-size: 13px;
}
/* animated cursor inside main window — paths are synchronized with the
   tab/view/row/count keyframes below so the clicks actually drive the scene */
.notion-cursor {
  position: absolute;
  width: 16px; height: 20px;
  pointer-events: none;
  z-index: 5;
  color: #111;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
  top: 18%; left: 75%;
  transform: scale(1);
  transform-origin: top left;
  animation: cursorPath 12s cubic-bezier(.65,.05,.36,1) infinite;
}
.notion-cursor svg { width: 100%; height: 100%; display: block; }
.notion-cursor::after {
  content: "";
  position: absolute;
  left: -4px; top: -2px;
  width: 24px; height: 24px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--accent);
  opacity: 0;
  transform: scale(.3);
  animation: cursorClick 12s linear infinite;
}

@keyframes cursorPath {
  0%   { top: 12%; left: 76%; transform: scale(1); }
  10%  { top: 12%; left: 76%; transform: scale(1); }
  22%  { top: 36%; left: 21%; transform: scale(1); }
  24%  { top: 36%; left: 21%; transform: scale(.78); }
  27%  { top: 36%; left: 21%; transform: scale(1); }
  53%  { top: 88%; left: 11%; transform: scale(1); }
  55%  { top: 88%; left: 11%; transform: scale(.78); }
  58%  { top: 88%; left: 11%; transform: scale(1); }
  82%  { top: 36%; left: 9%;  transform: scale(1); }
  84%  { top: 36%; left: 9%;  transform: scale(.78); }
  87%  { top: 36%; left: 9%;  transform: scale(1); }
  100% { top: 12%; left: 76%; transform: scale(1); }
}

@keyframes cursorClick {
  0%, 23%, 27%, 54%, 58%, 83%, 87%, 100% { opacity: 0; transform: scale(.3); }
  24%, 55%, 84% { opacity: .85; transform: scale(.6); }
  26%, 57%, 86% { opacity: 0; transform: scale(1.7); }
}

/* scene state: products tab active 0-25% and 86-100%, customers active 25-85% */
@keyframes tabProductsActive {
  0%, 24% { color: var(--notion-tab-active); border-bottom-color: var(--notion-tab-active); }
  26%, 84% { color: var(--notion-tab-inactive); border-bottom-color: transparent; }
  86%, 100% { color: var(--notion-tab-active); border-bottom-color: var(--notion-tab-active); }
}
@keyframes tabCustomersActive {
  0%, 24% { color: var(--notion-tab-inactive); border-bottom-color: transparent; }
  26%, 84% { color: var(--notion-tab-active); border-bottom-color: var(--notion-tab-active); }
  86%, 100% { color: var(--notion-tab-inactive); border-bottom-color: transparent; }
}
@keyframes viewProducts {
  0%, 24% { opacity: 1; }
  26%, 84% { opacity: 0; }
  86%, 100% { opacity: 1; }
}
@keyframes viewCustomers {
  0%, 24% { opacity: 0; }
  26%, 84% { opacity: 1; }
  86%, 100% { opacity: 0; }
}
@keyframes newCustomerSlot {
  0%, 55% { grid-template-rows: 0fr; }
  60%, 84% { grid-template-rows: 1fr; }
  86%, 100% { grid-template-rows: 0fr; }
}
@keyframes newCustomerFade {
  0%, 56% { opacity: 0; transform: translateY(-3px); }
  62%, 84% { opacity: 1; transform: translateY(0); }
  86%, 100% { opacity: 0; transform: translateY(-3px); }
}
@keyframes leadBefore {
  0%, 58% { opacity: 1; }
  62%, 84% { opacity: 0; }
  86%, 100% { opacity: 1; }
}
@keyframes leadAfter {
  0%, 58% { opacity: 0; }
  62%, 84% { opacity: 1; }
  86%, 100% { opacity: 0; }
}

.landing-hero.is-offscreen .notion-cursor,
.landing-hero.is-offscreen .notion-cursor::after,
.landing-hero.is-offscreen .tab-products,
.landing-hero.is-offscreen .tab-customers,
.landing-hero.is-offscreen .view-products,
.landing-hero.is-offscreen .view-customers,
.landing-hero.is-offscreen .row-slot,
.landing-hero.is-offscreen .new-customer-row,
.landing-hero.is-offscreen .lead-count-before,
.landing-hero.is-offscreen .lead-count-after { animation-play-state: paused; }
.window-main { right: max(24px, calc((100vw - 1180px) / 2)); top: 64px; width: min(620px, 47vw); animation: floatMain 9s ease-in-out infinite; }
.window-float { right: max(120px, calc((100vw - 900px) / 2)); top: 380px; width: min(280px, 26vw); animation: floatAlt 7s ease-in-out infinite; }

.notion-topbar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--notion-line);
  font-size: 12px; color: var(--notion-topbar-fg);
  background: var(--notion-topbar-bg);
}
.notion-crumb { color: var(--notion-crumb-fg); }
.notion-crumb.is-current { color: var(--notion-title-fg); font-weight: 500; }
.notion-crumb-sep { color: var(--notion-crumb-sep); }
.notion-saved { margin-left: auto; color: var(--notion-saved-fg); font-size: 11px; }

.notion-page { padding: 22px 24px 18px; }
.notion-page-head { display: flex; align-items: center; gap: 10px; }
.notion-emoji { font-size: 26px; line-height: 1; filter: saturate(.9); }
.notion-page-title { font-size: 22px; font-weight: 700; color: var(--notion-title-fg); margin: 0; letter-spacing: -0.015em; }
.notion-page-meta { font-size: 12px; color: var(--notion-meta-fg); margin: 10px 0 18px; }

.notion-db-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--notion-line); padding: 0 0 9px; margin-bottom: 10px; align-items: center; }
.notion-db-tabs span { font-size: 13px; color: var(--notion-tab-inactive); padding-bottom: 6px; margin-bottom: -10px; border-bottom: 2px solid transparent; }
.notion-db-tabs .is-active { color: var(--notion-tab-active); border-bottom-color: var(--notion-tab-active); }
.notion-db-add { color: var(--notion-crumb-sep) !important; font-size: 14px !important; margin-left: 6px; border-bottom-color: transparent !important; }

/* per-tab activation driven by cursor */
.tab-products { animation: tabProductsActive 12s linear infinite; }
.tab-customers { animation: tabCustomersActive 12s linear infinite; }

/* stack views in the same grid cell so opacity controls which is visible */
.notion-views { display: grid; min-height: 224px; }
.notion-view { grid-area: 1 / 1; min-width: 0; }
.view-products { animation: viewProducts 12s linear infinite; }
.view-customers { animation: viewCustomers 12s linear infinite; opacity: 0; }

/* the row that materializes when cursor clicks "+ next signup writes here" */
.row-slot { display: grid; grid-template-rows: 0fr; overflow: hidden; animation: newCustomerSlot 12s linear infinite; }
.row-slot > * { min-height: 0; }
.new-customer-row { animation: newCustomerFade 12s linear infinite; opacity: 0; }

/* lead-count crossfade (128 → 129 when new row appears) */
.lead-count { position: relative; display: inline-grid; grid-template-areas: "x"; vertical-align: baseline; min-width: 1.6em; }
.lead-count-before, .lead-count-after { grid-area: x; }
.lead-count-before { animation: leadBefore 12s linear infinite; }
.lead-count-after { animation: leadAfter 12s linear infinite; opacity: 0; color: var(--accent); }

.notion-table { display: grid; gap: 0; }
.notion-th, .notion-tr {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.5fr;
  gap: 12px;
  padding: 9px 6px;
  align-items: center;
}
.notion-th { color: var(--notion-tab-th); font-size: 11.5px; border-bottom: 1px solid var(--notion-line); }
.notion-th-cell { display: inline-flex; gap: 6px; align-items: center; }
.notion-th-cell i { color: var(--notion-th-icon); font-style: normal; font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.notion-tr { border-bottom: 1px solid var(--notion-line-soft); color: var(--notion-cell-fg); font-size: 13px; }
.notion-tr:last-child { border-bottom: 0; }
.notion-cell-title { display: inline-flex; align-items: center; gap: 7px; color: var(--notion-title-fg); }
.notion-row-icon { font-size: 13px; opacity: .85; }

.notion-tag {
  display: inline-flex;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--notion-tag-bg);
  color: var(--notion-tag-fg);
  width: fit-content;
}
.notion-tag.is-good { background: var(--notion-tag-good-bg); color: var(--accent); }
.notion-tag.is-draft { background: var(--notion-tag-draft-bg); color: var(--notion-tag-draft-fg); }
.notion-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12px; color: var(--notion-mono-fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notion-tr-add { color: var(--notion-meta-fg); }
.notion-tr-add .notion-mono { color: var(--notion-meta-fg); }

/* notion sidebar (float window) */
.notion-side-head {
  color: var(--notion-tab-th); font-size: 11px;
  padding: 12px 14px 8px; text-transform: uppercase; letter-spacing: 0.08em;
  border-bottom: 1px solid var(--notion-line-soft);
}
.notion-tree { display: grid; gap: 1px; padding: 8px 6px; }
.notion-tree-row { display: flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 4px; font-size: 13px; color: var(--notion-cell-fg); }
.notion-tree-row.is-root { color: var(--notion-title-fg); font-weight: 500; }
.notion-tree-row.is-active { background: var(--notion-side-active); color: var(--notion-title-fg); }
.notion-tree-caret { color: var(--notion-crumb-sep); font-size: 10px; }
.notion-tree-icon { font-size: 13px; opacity: .9; }
.notion-tree-count { margin-left: auto; font-size: 11px; color: var(--notion-meta-fg); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

/* notion preview in product-story (not absolutely positioned) */
.notion-shot { position: relative; border: 1px solid var(--notion-line); box-shadow: var(--notion-shadow); animation: revealShot .9s ease both; }

.section-band { padding-top: 82px; padding-bottom: 58px; }
.section-heading { max-width: 720px; margin-bottom: 28px; }
.section-heading h2, .product-story h2, .quote-band h2, .final-cta h2 { font-size: 54px; line-height: .98; letter-spacing: -0.03em; font-weight: 700; }
.section-heading p, .product-story > div > p, .quote-band p, .final-cta p { font-size: 18px; color: var(--text-soft); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-template-rows: auto auto;
  grid-auto-rows: auto auto;
  gap: 36px 28px;
}
@media (min-width: 1280px) { .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.feature-item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: 18px;
}
.feature-item h3 { margin: 0; }
.feature-item p { margin: 0; }
.feature-artifact {
  align-self: end;
  border: 1px solid var(--notion-line);
  background: var(--notion-bg);
  border-radius: var(--r-sm);
  padding: 10px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.02) inset, 0 6px 18px rgba(0,0,0,.22);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-body {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-item:hover .feature-artifact {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.02) inset, 0 10px 24px rgba(0,0,0,.22);
  border-color: var(--notion-line);
}

/* artifact B — data sources tree */
.art-tree { display: grid; gap: 1px; font-size: 12px; }
.art-tree-row {
  display: flex; align-items: center; gap: 6px;
  padding: 3px 6px; border-radius: 4px;
  color: var(--notion-cell-fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.art-tree-row.is-root { color: var(--notion-title-fg); font-weight: 600; }
.art-tree-caret { color: var(--notion-crumb-sep); font-size: 9px; }
.art-tree-icon { font-size: 12px; opacity: .9; flex-shrink: 0; }
.art-tree-count {
  margin-left: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  color: var(--notion-meta-fg);
}

/* artifact P — mini browser with waitlist */
.feature-artifact:has(.art-browser) { padding: 0; }
.art-browser { display: flex; flex-direction: column; }
.art-browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--notion-line);
  background: var(--notion-topbar-bg);
}
.art-browser-dots { display: inline-flex; gap: 4px; }
.art-browser-dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--chip-border-hover);
  display: block;
}
.art-browser-url {
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  color: var(--notion-mono-fg);
  padding: 3px 8px;
  background: var(--input-bg);
  border-radius: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.art-browser-body {
  padding: 14px 12px;
  display: grid;
  gap: 8px;
  text-align: center;
}
.art-browser-title {
  font-weight: 600;
  color: var(--notion-title-fg);
  font-size: 13px;
}
.art-browser-sub {
  color: var(--notion-meta-fg);
  font-size: 11px;
}
.art-browser-form {
  display: flex;
  gap: 5px;
  margin-top: 2px;
  align-items: stretch;
}
.art-browser-input {
  flex: 1;
  font-size: 10px;
  color: var(--notion-mono-fg);
  background: var(--input-bg);
  border: 1px solid var(--notion-line);
  border-radius: 3px;
  padding: 5px 8px;
  text-align: left;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.art-browser-cta {
  font-size: 10px;
  font-weight: 700;
  color: var(--btn-primary-fg);
  background: var(--btn-primary-bg);
  border-radius: 3px;
  padding: 5px 10px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.art-browser-meta {
  font-size: 10px;
  color: var(--notion-meta-fg);
  margin-top: 2px;
}

/* artifact O — visitor form → notion writeback flow */
.art-flow { display: grid; gap: 4px; }
.art-flow-node {
  padding: 8px 12px;
  border: 1px solid var(--notion-line);
  border-radius: 6px;
  background: var(--bg);
  display: grid;
  gap: 3px;
  transition: background .25s ease, border-color .25s ease;
}
.art-flow-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--notion-meta-fg);
}
.art-flow-value {
  font-size: 12px;
  color: var(--notion-title-fg);
  font-weight: 600;
}
.art-flow-arrow {
  position: relative;
  height: 28px;
  display: flex;
  justify-content: center;
  color: var(--notion-mono-fg);
}
.art-flow-arrow svg { width: 12px; height: 100%; display: block; }
.art-flow-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, 0);
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 70%, transparent);
  animation: flowDot 2.6s ease-in-out infinite;
}
.art-flow-record { animation: flowRecordFlash 2.6s ease-in-out infinite; }
@keyframes flowDot {
  0%   { top: 0; opacity: 0; transform: translate(-50%, 0) scale(.5); }
  8%   { opacity: 1; transform: translate(-50%, 0) scale(1); }
  88%  { top: 80%; opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { top: 80%; opacity: 0; transform: translate(-50%, 0) scale(.5); }
}
@keyframes flowRecordFlash {
  0%, 80%   { background: var(--bg); border-color: var(--notion-line); }
  90%       { background: color-mix(in srgb, var(--accent) 18%, var(--bg)); border-color: var(--accent); }
  100%      { background: var(--bg); border-color: var(--notion-line); }
}

/* artifact S — notion decisions-log entry */
.art-decision { display: grid; gap: 8px; }
.art-decision-head { display: flex; align-items: center; gap: 8px; }
.art-decision-emoji { font-size: 18px; line-height: 1; }
.art-decision-title {
  margin: 0;
  font-size: 13px;
  color: var(--notion-title-fg);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.art-decision-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
}
.art-decision-tag {
  background: var(--notion-tag-good-bg);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.art-decision-when {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--notion-meta-fg);
}
.art-decision-body {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--notion-cell-fg);
  padding-left: 8px;
  border-left: 2px solid var(--notion-line);
}
.art-decision-killed {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 10px;
}
.art-decision-killed-label {
  color: var(--notion-meta-fg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 2px;
}
.art-decision-killed-item {
  background: var(--notion-tag-bg);
  color: var(--notion-tag-fg);
  padding: 1px 7px;
  border-radius: 3px;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--notion-meta-fg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.product-story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr); gap: 46px; align-items: center; padding-top: 72px; padding-bottom: 84px; }
.step-list { display: grid; gap: 18px; margin-top: 28px; }
.step-item { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.step-item span { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.step-item p { margin: 0; }
.quote-band { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 84px 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); align-items: center; }
.quote-text p { margin-top: 18px; }

.quote-diagram {
  display: grid;
  gap: 0;
  justify-items: stretch;
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
}
.quote-surfaces {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.quote-surface {
  border: 1px solid var(--notion-line);
  background: var(--notion-bg);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 1px 0 rgba(255,255,255,.02) inset, 0 6px 18px rgba(0,0,0,.22);
}
.quote-surface-emoji { font-size: 22px; line-height: 1; }
.quote-surface-meta { display: grid; gap: 4px; min-width: 0; }
.quote-surface-label {
  font-size: 10px;
  color: var(--notion-meta-fg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.quote-surface-rows {
  font-size: 12px;
  color: var(--notion-title-fg);
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-rails {
  position: relative;
  height: 60px;
  color: var(--notion-mono-fg);
}
.quote-rails svg { width: 100%; height: 100%; display: block; }
.quote-rail-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 70%, transparent);
  transform: translate(-50%, -50%);
}
.quote-rail-dot-left { animation: quoteDotLeft 3.6s ease-in-out infinite; }
.quote-rail-dot-right { animation: quoteDotRight 3.6s ease-in-out infinite; animation-delay: 1.8s; }
@keyframes quoteDotLeft {
  0%   { left: 25%; top: 0;    opacity: 0; }
  10%  { left: 25%; top: 0;    opacity: 1; }
  45%  { left: 25%; top: 50%;  opacity: 1; }
  60%  { left: 50%; top: 85%;  opacity: 1; }
  72%  { left: 50%; top: 100%; opacity: 0; }
  100% { left: 25%; top: 0;    opacity: 0; }
}
@keyframes quoteDotRight {
  0%   { left: 75%; top: 0;    opacity: 0; }
  10%  { left: 75%; top: 0;    opacity: 1; }
  45%  { left: 75%; top: 50%;  opacity: 1; }
  60%  { left: 50%; top: 85%;  opacity: 1; }
  72%  { left: 50%; top: 100%; opacity: 0; }
  100% { left: 75%; top: 0;    opacity: 0; }
}

.quote-db {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--notion-bg));
  border-radius: var(--r-sm);
  padding: 12px 18px;
  justify-self: center;
  box-shadow:
    0 1px 0 rgba(255,255,255,.05) inset,
    0 0 0 5px color-mix(in srgb, var(--accent) 12%, transparent),
    0 16px 36px rgba(0,0,0,.28);
  animation: quoteDbPulse 3.6s ease-in-out infinite;
}
@keyframes quoteDbPulse {
  0%, 60%, 100% { box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 0 0 5px color-mix(in srgb, var(--accent) 12%, transparent), 0 16px 36px rgba(0,0,0,.28); }
  72% { box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 0 0 9px color-mix(in srgb, var(--accent) 22%, transparent), 0 16px 36px rgba(0,0,0,.28); }
}
.quote-db-emoji { font-size: 22px; line-height: 1; }
.quote-db-label {
  font-size: 13px;
  color: var(--notion-title-fg);
  font-weight: 600;
}
.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding-top: 96px;
  padding-bottom: 72px;
}
.final-cta-text {
  display: grid;
  gap: 12px;
  max-width: 580px;
  justify-items: center;
}
.final-cta-text .kicker { display: inline-block; }
.final-cta-text h2 { max-width: 540px; }
.final-cta p { margin-bottom: 0; }
.final-cta .hero-prompt {
  margin: 8px auto 0;
  width: 100%;
  max-width: 580px;
  text-align: left;
  transform-origin: center;
}

@keyframes floatMain {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(0, -14px, 0) rotate(1deg); }
}
@keyframes floatAlt {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(2deg); }
  50% { transform: translate3d(-8px, 12px, 0) rotate(-1deg); }
}
.landing-hero.is-offscreen .notion-window { animation-play-state: paused; }

/* site footer */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding: 56px 28px 44px;
  background: linear-gradient(180deg, transparent, var(--panel-2));
}
.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 36px;
  align-items: start;
}
.site-footer-brand { display: grid; gap: 12px; max-width: 320px; }
.site-footer-brand .brand { font-size: 18px; }
.site-footer-col-title {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.site-footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer-col a { color: var(--text-soft); font-size: 14px; }
.site-footer-col a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 860px) {
  .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 480px) {
  .site-footer-inner { grid-template-columns: 1fr; }
  .site-footer { padding: 44px 20px 36px; }
}

/* pricing page */
.pricing-shell { max-width: 1180px; padding: 36px 28px 80px; }
.pricing-hero { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.pricing-hero h1 { max-width: 640px; margin: 14px auto 16px; font-size: 64px; line-height: .96; letter-spacing: -0.03em; font-weight: 700; }
.pricing-hero p { font-size: 18px; color: var(--text-soft); max-width: 580px; margin: 0 auto; }
.pricing-hero .kicker { display: inline-block; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  margin-bottom: 80px;
}
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
  position: relative;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.pricing-card:hover { transform: translateY(-3px); border-color: var(--chip-border-hover); }
.pricing-card.is-highlight {
  border-color: var(--accent);
  box-shadow: var(--shadow-card), 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-on);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 32%, transparent);
}
.pricing-card-head { display: grid; gap: 8px; }
.pricing-card-head p { margin: 0; color: var(--text-soft); font-size: 14px; }
.pricing-price { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.pricing-price-amount { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); line-height: 1; }
.pricing-price-cadence { font-size: 13px; color: var(--muted); }

.pricing-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; flex: 1; }
.pricing-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-soft); line-height: 1.45; }
.pricing-check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.pricing-check svg { width: 11px; height: 11px; }
.pricing-cta { justify-content: center; text-align: center; }

.pricing-faq { max-width: 920px; margin: 0 auto; }
.pricing-faq h2 { font-size: 32px; letter-spacing: -0.02em; margin-bottom: 24px; }
.pricing-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 36px;
}
@media (max-width: 720px) { .pricing-faq-grid { grid-template-columns: 1fr; } }
.pricing-faq-item h3 { font-size: 15px; margin: 0 0 8px; color: var(--text); }
.pricing-faq-item p { margin: 0; font-size: 14px; color: var(--text-soft); line-height: 1.55; }

/* changelog page */
.changelog { display: grid; gap: 28px; margin-top: 22px; }
.changelog-entry { padding-top: 22px; border-top: 1px solid var(--line); }
.changelog-entry:first-child { padding-top: 0; border-top: 0; }
.changelog-entry header { display: grid; gap: 6px; margin-bottom: 10px; }
.changelog-entry header .row { justify-content: flex-start; gap: 12px; }
.changelog-entry h3 { margin: 0; }
.changelog-entry ul { margin: 0; padding-left: 18px; color: var(--text-soft); display: grid; gap: 6px; }

/* support page */
.support-lane h3 { font-size: 16px; }
.support-lane .row { justify-content: space-between; align-items: center; }
.support-lane a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@keyframes revealShot {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 980px) {
  h1 { font-size: 58px; }
  .landing-hero { min-height: 820px; align-items: flex-end; }
  .window-main { top: 80px; left: 28px; right: 28px; width: auto; }
  .window-float { display: none; }
  .hero-copy { padding-top: 360px; }
  .hero-copy h1 { font-size: 64px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-story, .quote-band { grid-template-columns: 1fr; }
  .section-heading h2, .product-story h2, .quote-band h2, .final-cta h2 { font-size: 44px; }
  .product-hero h1 { font-size: 64px; }
}

@media (max-width: 640px) {
  h1 { font-size: 44px; }
  .landing-shell { padding-left: 20px; padding-right: 20px; }
  .landing-hero { min-height: 720px; }
  .window-main { top: 74px; left: 18px; right: 18px; }
  .hero-copy { padding-top: 330px; padding-bottom: 44px; }
  .hero-copy h1 { font-size: 46px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item { min-height: 180px; }
  .product-story { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 62px; }
  .quote-band { padding-top: 56px; padding-bottom: 56px; }
  .final-cta { align-items: flex-start; flex-direction: column; }
  .section-heading h2, .product-story h2, .quote-band h2, .final-cta h2 { font-size: 34px; }
  .product-hero h1 { font-size: 46px; }
}
