/* ════════════════════════════════════════════════════════════════════════
   deeda Think — Linear × Obsidian
   Cool ink. Hairline borders. Tiempos for headlines, Inter for everything
   else. Real density where the page is informational. No status pills, no
   eyebrows, no emoji icons, no ambient sparkle.
   ════════════════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Tiempos Headline'; src: url('/fonts/TiemposHeadline-Light.woff') format('woff');  font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tiempos Headline'; src: url('/fonts/TiemposHeadline-Medium.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tiempos Text';     src: url('/fonts/TiemposText-Regular.woff') format('woff');     font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tiempos Text';     src: url('/fonts/TiemposText-Italic.woff') format('woff');      font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Tiempos Text';     src: url('/fonts/TiemposText-Bold.woff') format('woff');        font-weight: 700; font-style: normal; font-display: swap; }

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg:         #07090c;
  --bg-rise:    #0a0d11;
  --ink:        #e6e8ec;
  --ink-2:      rgba(230, 232, 236, 0.74);
  --ink-3:      rgba(230, 232, 236, 0.52);
  --ink-4:      rgba(230, 232, 236, 0.32);
  --line:       rgba(255, 255, 255, 0.06);
  --line-2:     rgba(255, 255, 255, 0.10);
  --accent:     #5eead4;            /* cool teal — Linear-ish, not green */
  --accent-2:   #34d4b9;
  --accent-ink: #021712;
  --serif-d:    'Tiempos Headline', 'New York', Georgia, 'Times New Roman', serif;
  --serif-t:    'Tiempos Text', 'New York', Georgia, 'Times New Roman', serif;
  --sans:       Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:       "SF Mono", SFMono-Regular, "JetBrains Mono", Consolas, "Liberation Mono", monospace;
  --container:  1180px;
  --side:       clamp(22px, 5vw, 60px);
  --radius:     14px;
  --radius-lg:  20px;
}

* { box-sizing: border-box; }
*::selection { background: rgba(94, 234, 212, 0.30); color: #fff; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 30% at 50% -8%, rgba(94, 234, 212, 0.06) 0%, transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.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;
}

/* ── Typography utilities ────────────────────────────────────────────── */
.display-serif {
  font-family: var(--serif-d);
  font-weight: 300;
  letter-spacing: -0.028em;
  line-height: 1.04;
  color: var(--ink);
}
.editorial-serif {
  font-family: var(--serif-t);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px var(--side);
  background: rgba(7, 9, 12, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
}
.brand img { border-radius: 6px; }
.brand-mark { display: inline-flex; align-items: baseline; gap: 4px; }
.brand-name { color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: -0.005em; }
.brand-product {
  font-family: var(--serif-d);
  font-weight: 300; font-style: italic; font-size: 16px;
  color: var(--ink); letter-spacing: -0.01em;
}
.nav {
  display: inline-flex; justify-content: center;
  gap: clamp(14px, 2.4vw, 28px);
  font-size: 13px; color: var(--ink-3);
}
.nav a { transition: color 0.18s ease; }
.nav a:hover { color: var(--ink); }
.nav-cta {
  font-size: 13px; color: var(--ink);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  transition: background 0.18s ease;
}
.nav-cta:hover { background: rgba(255, 255, 255, 0.09); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.button.primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.button.primary:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -10px rgba(94, 234, 212, 0.55);
}
.button.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-color: var(--line-2);
}
.button.ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}

/* ── Sections ───────────────────────────────────────────────────────── */
main { display: block; }
.band {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(80px, 11vw, 144px) var(--side);
  border-bottom: 1px solid var(--line);
}
.band:last-of-type { border-bottom: none; }

.section-head {
  max-width: 760px;
  margin: 0 0 clamp(40px, 6vw, 64px);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.05;
}
.section-head p {
  margin: 18px 0 0;
  max-width: 60ch;
  font-family: var(--serif-t);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: var(--ink-2);
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(96px, 13vw, 168px) var(--side) clamp(72px, 9vw, 112px);
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7.4vw, 6.4rem);
  line-height: 0.98;
  max-width: 18ch;
}
.hero h1 em { font-style: italic; font-weight: 300; color: var(--ink-2); }
.hero-lede {
  margin: clamp(22px, 3vw, 32px) 0 0;
  max-width: 640px;
  font-family: var(--serif-t);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: var(--ink-2);
  line-height: 1.55;
}
.hero-actions {
  display: inline-flex; flex-wrap: wrap; gap: 10px;
  margin-top: clamp(28px, 3.6vw, 40px);
}
.hero-meta {
  margin: clamp(36px, 4.5vw, 56px) 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 20px 36px;
  font-size: 13px;
  color: var(--ink-3);
  font-family: var(--sans);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta strong { color: var(--ink); font-weight: 500; }
.access-hero { max-width: 880px; }
.access-card {
  margin-top: clamp(28px, 3.6vw, 40px);
  max-width: 460px;
}

/* ── Three-column ──────────────────────────────────────────────────── */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.6vw, 56px);
  align-items: start;
}
.three-col article h3 {
  margin: 0 0 12px;
  font-family: var(--serif-d);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.three-col article p {
  margin: 0;
  font-family: var(--serif-t);
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 36ch;
}

/* ── Vault tree (the Obsidian-honest visual) ───────────────────────── */
.vault-tree {
  margin: clamp(36px, 4.5vw, 56px) 0 0;
  padding: 22px 24px 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.008) 100%);
}
.vault-tree-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.vault-tree-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }
.vault-tree pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink);
  overflow-x: auto;
  white-space: pre;
}
.vault-tree pre .v-dir  { color: var(--accent); }
.vault-tree pre .v-md   { color: var(--ink); }
.vault-tree pre .v-dim  { color: var(--ink-3); }
.vault-tree pre .v-tree { color: var(--ink-4); }

/* ── Split sections ─────────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.split.reverse { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.split-copy h2 {
  margin: 0 0 22px;
  font-family: var(--serif-d);
  font-weight: 300;
  font-size: clamp(1.85rem, 3.6vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.024em;
  color: var(--ink);
}
.split-copy p {
  margin: 0;
  font-family: var(--serif-t);
  font-size: 1.04rem;
  color: var(--ink-2);
  max-width: 50ch;
}
.split-copy p + p { margin-top: 14px; }

/* ── Detail list (Linear-style dense list) ──────────────────────────── */
.detail-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.detail-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.detail-list li > span:first-child {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.detail-list li > span:last-child {
  font-family: var(--serif-t);
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.5;
}

/* ── Aside callouts (audience C / power users) ─────────────────────── */
.aside-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.aside-card {
  padding: 28px 28px 30px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.008) 100%);
}
.aside-card h3 {
  margin: 0 0 12px;
  font-family: var(--serif-d);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.aside-card p {
  margin: 0;
  font-family: var(--serif-t);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ── Glass card (used for pricing + enterprise only) ───────────────── */
.glass-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.014) 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 36px);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.hosted-auth-screen {
  position: relative;
  min-height: calc(100vh - 67px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(33, 134, 115, 0.14), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(56, 115, 191, 0.16), transparent 24%),
    linear-gradient(180deg, #07111a 0%, #05080f 52%, #060912 100%);
}
.hosted-auth-mesh,
.hosted-auth-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hosted-auth-mesh {
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.08) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.hosted-auth-mesh span { display: none; }
.hosted-auth-veil {
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.1) 0%, rgba(5, 8, 15, 0.22) 40%, rgba(5, 8, 15, 0.62) 100%),
    radial-gradient(circle at center, transparent 0%, rgba(5, 8, 15, 0.08) 48%, rgba(5, 8, 15, 0.36) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hosted-auth-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 430px);
  align-items: center;
  gap: 48px;
  width: min(1200px, 100%);
  min-height: calc(100vh - 67px);
  margin: 0 auto;
  padding: 48px 56px;
}
.hosted-auth-intro {
  align-self: center;
  justify-self: start;
  max-width: 430px;
  padding: 24px;
}
.hosted-auth-intro h1 {
  margin: 0;
  font-family: var(--serif-d);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.hosted-auth-intro p {
  margin: 22px 0 0;
  color: var(--ink-2);
  font-family: var(--serif-t);
  font-size: 1.05rem;
  line-height: 1.6;
}
.auth-screen__capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.auth-screen__capabilities span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}
.auth-card {
  width: 100%;
  max-width: 430px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.08) 100%),
    radial-gradient(circle at top, rgba(59, 130, 246, 0.2), transparent 52%),
    rgba(8, 14, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.auth-card--auth {
  justify-self: end;
  position: relative;
}
.auth-card--auth::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.11), transparent 34%),
    linear-gradient(320deg, rgba(92, 224, 214, 0.08), transparent 38%);
}
.auth-widget,
.auth-brand,
.auth-card .checkout-form,
.auth-card .auth-switch,
.auth-card .plan-tabs {
  position: relative;
  z-index: 1;
}
.auth-brand {
  text-align: left;
  margin-bottom: 24px;
}
.auth-brand__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 600;
}
.auth-brand__eyebrow.private-beta-pill {
  border-color: rgba(94, 234, 212, 0.38);
  background: rgba(94, 234, 212, 0.12);
  color: var(--accent);
}
.auth-brand h2 {
  margin: 14px 0 10px;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.auth-brand p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}
.auth-brand p a {
  color: var(--accent);
}
.auth-card .button.primary {
  min-height: 44px;
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.32);
}
.auth-card .button.primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.4);
}

.price-line {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 6px 12px; margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.price-num {
  font-family: var(--serif-d); font-weight: 300;
  font-size: clamp(2.6rem, 4.2vw, 3.4rem);
  line-height: 1; letter-spacing: -0.04em; color: var(--ink);
}
.price-unit { font-size: 13px; color: var(--ink-3); }
.price-aside {
  margin-left: auto;
  font-size: 12px; color: var(--ink-3);
  font-style: italic; font-family: var(--serif-t);
}

.checkout-form { display: grid; gap: 12px; }
.checkout-form label {
  font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-3); font-weight: 500;
}
.checkout-form input {
  width: 100%; min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14.5px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.checkout-form input::placeholder { color: var(--ink-4); }
.checkout-form input:focus {
  outline: none;
  border-color: rgba(94, 234, 212, 0.5);
  background: rgba(255, 255, 255, 0.06);
}
.checkout-form input[aria-invalid="true"] { border-color: rgba(255, 105, 105, 0.65); }
.form-actions {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px; margin-top: 4px;
}
.form-actions .button { min-height: 42px; padding: 0 14px; font-size: 13.5px; }
.form-message {
  min-height: 20px; margin: 4px 0 0;
  font-size: 12.5px; color: var(--accent);
}
.plan-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}
.plan-tabs button {
  min-height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink-2);
  font: 500 13px/1 var(--sans);
  cursor: pointer;
}
.plan-tabs button[aria-pressed="true"] {
  border-color: rgba(94, 234, 212, 0.58);
  background: rgba(94, 234, 212, 0.13);
  color: var(--ink);
}
.auth-switch {
  margin: 14px 0 0;
  color: var(--ink-3);
  font-size: 13px;
}
.auth-switch button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
}
.auth-switch button:hover { text-decoration: underline; }

/* ── Hosted app dashboard ───────────────────────────────────────────── */
.dashboard-shell {
  max-width: var(--container);
  margin: 0 auto;
  min-height: calc(100vh - 66px);
  padding: clamp(72px, 10vw, 128px) var(--side);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.dashboard-shell h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5.4vw, 5rem);
}
.dashboard-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.plan-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 11px;
  margin-left: 8px;
  border: 1px solid rgba(94, 234, 212, 0.38);
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.12);
  color: var(--accent);
  font: 600 12px/1 var(--sans);
}
.upgrade-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: var(--side);
  background: rgba(7, 9, 12, 0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.upgrade-modal .glass-card {
  width: min(460px, 100%);
}
.upgrade-modal h2 {
  margin: 0 0 12px;
  font-family: var(--serif-d);
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: -0.02em;
}
.upgrade-modal p {
  margin: 0 0 20px;
  color: var(--ink-2);
  font-family: var(--serif-t);
}

/* ── Enterprise rows ────────────────────────────────────────────────── */
.enterprise-rows {
  display: grid; gap: 0;
  padding: 6px clamp(24px, 3vw, 30px);
}
.enterprise-rows div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.enterprise-rows div:last-child { border-bottom: 0; }
.enterprise-rows dt {
  font-family: var(--sans); font-size: 12px;
  color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase;
}
.enterprise-rows dd {
  margin: 0; font-family: var(--serif-t);
  font-size: 0.98rem; color: var(--ink);
}
.enterprise-rows dd a { color: var(--accent); }
.enterprise-rows dd a:hover { text-decoration: underline; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 18px;
  padding: 28px var(--side) 36px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-3);
}
.foot-brand { display: inline-flex; align-items: baseline; gap: 4px; }
.foot-brand .brand-name { font-size: 14px; color: var(--ink); }
.foot-brand .brand-product { font-family: var(--serif-d); font-style: italic; font-weight: 300; color: var(--ink); }
.foot-nav { display: inline-flex; flex-wrap: wrap; gap: clamp(14px, 2vw, 24px); }
.foot-nav a:hover { color: var(--ink); }
.foot-copy { font-size: 12px; letter-spacing: 0.04em; color: var(--ink-4); }

/* ── Versions / downloads page ──────────────────────────────────────── */
.download-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(96px, 12vw, 152px) var(--side) clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}
.download-hero h1 {
  margin: 0;
  font-family: var(--serif-d);
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1.0;
  letter-spacing: -0.026em;
  max-width: 18ch;
  color: var(--ink);
}
.download-hero p.lede {
  margin: clamp(20px, 2.6vw, 28px) 0 0;
  max-width: 580px;
  font-family: var(--serif-t);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  color: var(--ink-2);
}
.download-hero .release-line {
  display: flex; flex-wrap: wrap; gap: 18px 32px;
  margin-top: clamp(28px, 3.4vw, 40px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
  font-family: var(--sans);
}
.download-hero .release-line strong { color: var(--ink); font-weight: 500; }

.os-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--side) clamp(72px, 10vw, 112px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  border-bottom: 1px solid var(--line);
}
.os-card {
  display: grid; align-content: start; gap: 16px;
  padding: clamp(26px, 3.4vw, 32px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}
.os-card .os-name {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.os-card h3 {
  margin: 0;
  font-family: var(--serif-d);
  font-weight: 300;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.04;
  letter-spacing: -0.024em;
  color: var(--ink);
}
.os-card p {
  margin: 0;
  font-family: var(--serif-t);
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.os-card .button { width: 100%; }
.button-row { display: grid; gap: 8px; }
.os-card dl { margin: 4px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.os-card dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.os-card dl div:last-child { border-bottom: 0; }
.os-card dt { font-family: var(--sans); font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; }
.os-card dd { margin: 0; font-family: var(--serif-t); font-size: 0.94rem; color: var(--ink); text-align: right; }
.os-note {
  margin: 0;
  padding: 11px 13px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--serif-t);
  font-size: 12.5px;
  color: var(--ink-3);
}

.verify-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) var(--side) clamp(96px, 12vw, 144px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.verify-section h2 {
  margin: 0 0 18px;
  font-family: var(--serif-d);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.024em;
  color: var(--ink);
}
.verify-section p {
  margin: 0;
  font-family: var(--serif-t);
  font-size: 1rem;
  color: var(--ink-2);
  max-width: 50ch;
}
.verify-section code {
  font-family: var(--mono);
  font-size: 0.92em;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}
.code-block {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.008) 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.code-block-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
}
.code-block-bar .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }
.code-block pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--ink);
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; gap: 12px; }
  .three-col { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .split, .split.reverse { grid-template-columns: minmax(0, 1fr); }
  .aside-pair { grid-template-columns: minmax(0, 1fr); }
  .os-grid { grid-template-columns: minmax(0, 1fr); }
  .verify-section { grid-template-columns: minmax(0, 1fr); }
  .form-actions { grid-template-columns: minmax(0, 1fr); }
  .plan-tabs { grid-template-columns: minmax(0, 1fr); }
  .dashboard-shell { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .hosted-auth-content {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 28px;
    padding: 40px 24px;
  }
  .hosted-auth-intro {
    max-width: 560px;
    padding: 0;
    text-align: center;
  }
  .auth-screen__capabilities { justify-content: center; }
  .auth-card--auth { justify-self: center; }
  .dashboard-actions { flex-wrap: wrap; }
  .price-aside { margin-left: 0; }
  .detail-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .enterprise-rows div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

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

/* ════════════════════════════════════════════════════════════════════════
   CINEMATIC LAYER (additive — does not modify classes above)
   Parallax hero, ThinkID stage, time-axis timeline, scroll reveals.
   ════════════════════════════════════════════════════════════════════════ */

/* Cinematic hero (parallax-aware) */
.cinema-hero {
  position: relative;
  isolation: isolate;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(120px, 16vw, 200px) var(--side) clamp(96px, 12vw, 144px);
  overflow: visible;
}
.cinema-hero-bg {
  position: absolute;
  inset: -10% -8% -20% -8%;
  pointer-events: none;
  z-index: -1;
  transform: translate3d(0, calc(var(--scroll-y, 0) * 0.18px), 0);
  will-change: transform;
}
.cinema-mesh {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
  opacity: 0.7;
}
.cinema-aurora {
  position: absolute;
  left: 50%; top: 6%;
  width: clamp(620px, 80vw, 980px);
  height: clamp(420px, 50vw, 620px);
  transform: translate3d(-50%, calc(var(--scroll-y, 0) * -0.14px), 0);
  filter: blur(60px);
  background:
    radial-gradient(ellipse 50% 50% at 30% 35%, rgba(94, 234, 212, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 72% 60%, rgba(96, 165, 250, 0.16) 0%, transparent 60%);
  opacity: 0.85;
  will-change: transform;
}
.cinema-hero-inner {
  position: relative;
  max-width: 1080px;
}
.hero-headline {
  margin: 0;
  font-size: clamp(3.4rem, 9.4vw, 8.4rem);
  line-height: 0.94;
  letter-spacing: -0.034em;
  font-weight: 300;
  max-width: 14ch;
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  display: block;
}
.hero-sub-italic {
  margin: clamp(20px, 2.4vw, 28px) 0 0;
  max-width: 540px;
  font-family: var(--serif-t);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  color: var(--ink-2);
  line-height: 1.4;
}
.cinema-hero-inner .hero-lede {
  margin-top: clamp(22px, 2.6vw, 32px);
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 3vw, 36px);
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 22px;
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.5;
}
.scroll-cue span {
  width: 3px; height: 7px;
  border-radius: 999px;
  background: var(--accent);
  animation: scroll-cue 1.6s cubic-bezier(0.6, 0, 0.4, 1) infinite;
}
@keyframes scroll-cue {
  0%   { transform: translateY(-7px); opacity: 0; }
  35%  { opacity: 1; }
  75%  { transform: translateY(7px);  opacity: 0; }
  100% { transform: translateY(7px);  opacity: 0; }
}

/* Time + context section (the human aspect blurb) */
.lede-section {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) var(--side);
  text-align: left;
}
.lede-eyebrow {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.lede-quote {
  margin: 0;
  font-family: var(--serif-d);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lede-quote em {
  font-style: italic;
  color: var(--ink-3);
  font-weight: 300;
}

/* ThinkID stage — pinned section with timeline */
.thinkid-stage {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(96px, 12vw, 160px) var(--side) clamp(96px, 12vw, 160px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.thinkid-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(520px, 70vw, 820px);
  height: 360px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(94, 234, 212, 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.thinkid-pin {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.thinkid-copy {
  position: sticky;
  top: clamp(96px, 14vh, 140px);
  align-self: start;
}
.thinkid-copy h2 {
  margin: 12px 0 24px;
  font-family: var(--serif-d);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.026em;
  color: var(--ink);
}
.thinkid-copy h2 em {
  font-style: italic;
  color: var(--accent);
}
.thinkid-copy p {
  margin: 0;
  font-family: var(--serif-t);
  font-size: 1.04rem;
  color: var(--ink-2);
  max-width: 50ch;
  line-height: 1.6;
}
.thinkid-copy p + p { margin-top: 14px; }
.thinkid-pillars {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.thinkid-pillars li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif-t);
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.thinkid-pillars li strong { color: var(--ink); font-weight: 600; }

.thinkid-timeline {
  position: relative;
  margin: 0;
  padding: 4px 0 4px 28px;
  list-style: none;
  border-left: 1px solid var(--line-2);
}
.thinkid-moment {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 16px;
  row-gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0s);
}
.thinkid-moment::before {
  content: "";
  position: absolute;
  left: -34px; top: 32px;
  width: 11px; height: 11px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.16);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0s);
  transform: scale(0.7);
}
.thinkid-moment:last-child { border-bottom: 0; }
.thinkid-moment.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.thinkid-moment.is-revealed::before { transform: scale(1); }
.thinkid-moment .thinkid-time {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
  letter-spacing: 0.02em;
  align-self: center;
}
.thinkid-moment .thinkid-domain {
  display: inline-flex;
  align-items: center;
  align-self: start;
  width: fit-content;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(94, 234, 212, 0.06);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.thinkid-moment .thinkid-id {
  grid-column: 2;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.thinkid-moment .thinkid-label {
  grid-column: 2;
  font-family: var(--serif-t);
  font-size: 0.96rem;
  color: var(--ink);
  line-height: 1.5;
}

/* Generic scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Closing band (final CTA) */
.closing-band {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(120px, 14vw, 184px) var(--side);
  text-align: center;
  isolation: isolate;
}
.closing-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(94, 234, 212, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.closing-band h2 {
  margin: 0;
  font-family: var(--serif-d);
  font-weight: 300;
  font-size: clamp(2.8rem, 6.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.closing-band h2 em {
  font-style: italic;
  color: var(--accent);
  display: block;
}
.closing-band p {
  margin: clamp(20px, 2.4vw, 28px) auto 0;
  max-width: 540px;
  font-family: var(--serif-t);
  font-size: clamp(1.04rem, 1.4vw, 1.2rem);
  color: var(--ink-2);
}
.closing-band .hero-actions {
  justify-content: center;
  margin-top: clamp(32px, 4vw, 44px);
  display: inline-flex;
}

/* Mobile collapses */
@media (max-width: 980px) {
  .thinkid-pin { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .thinkid-copy { position: relative; top: 0; }
  .thinkid-moment { grid-template-columns: 60px 1fr; }
  .cinema-hero { padding-top: clamp(96px, 16vw, 152px); }
  .scroll-cue { display: none; }
}

/* ════════════════════════════════════════════════════════════════════════
   ACCOUNT MENU + APP DASHBOARD (additive)
   Header dropdown when signed in, app shell, tier cards.
   ════════════════════════════════════════════════════════════════════════ */

/* Account pill in header (replaces "Sign in" when signed in) */
.account-menu { position: relative; }
.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 8px 5px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
  max-width: 280px;
}
.account-pill:hover { background: rgba(255, 255, 255, 0.085); border-color: rgba(255, 255, 255, 0.18); }
.account-pill[aria-expanded="true"] { background: rgba(94, 234, 212, 0.10); border-color: rgba(94, 234, 212, 0.32); }
.account-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5eead4, #2bb1c4);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}
.account-email {
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-plan-pill {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.13);
  border: 1px solid rgba(94, 234, 212, 0.32);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.account-caret {
  margin-left: 1px;
  color: var(--ink-3);
  transition: transform 0.18s ease;
}
.account-pill[aria-expanded="true"] .account-caret { transform: rotate(180deg); }

/* Dropdown */
.account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  padding: 6px;
  background: rgba(7, 9, 12, 0.94);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 60px -28px rgba(0, 0, 0, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 60;
  animation: dropdown-in 0.16s ease-out;
}
@keyframes dropdown-in {
  from { opacity: 0; transform: translateY(-4px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.account-dropdown[hidden] { display: none; }
.account-dropdown__head {
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.account-dropdown__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.account-dropdown__email {
  display: block;
  margin-top: 4px;
  font-family: var(--serif-t);
  font-size: 14px;
  color: var(--ink);
  word-break: break-all;
}
.account-dropdown__item {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2);
  font: 500 13.5px/1.3 var(--sans);
  text-align: left;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}
.account-dropdown__item:hover,
.account-dropdown__item:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  outline: none;
}
.account-dropdown__item--danger { color: rgba(252, 165, 165, 0.92); }
.account-dropdown__item--danger:hover { background: rgba(220, 38, 38, 0.14); color: rgba(252, 165, 165, 1); }
.account-dropdown__sep {
  height: 1px;
  margin: 6px 4px;
  background: var(--line);
}

/* ── Dashboard / app shell ───────────────────────────────────────────── */
.app-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) var(--side) clamp(96px, 12vw, 144px);
}
.app-hero {
  max-width: 880px;
  margin: 0 0 clamp(40px, 6vw, 72px);
}
.app-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(2.6rem, 5.6vw, 4.8rem);
  line-height: 1.0;
  letter-spacing: -0.028em;
  font-weight: 300;
}
.app-hero h1 em { font-style: italic; font-weight: 300; color: var(--accent); }
.app-hero .hero-lede {
  margin: 18px 0 0;
  max-width: 580px;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
}

.app-section-head {
  margin: 0 0 clamp(28px, 4vw, 48px);
  max-width: 720px;
}
.app-section-head h2 {
  margin: 10px 0 0;
  font-family: var(--serif-d);
  font-weight: 300;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.024em;
  color: var(--ink);
}

.app-status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
  margin-bottom: clamp(56px, 8vw, 96px);
}
.app-status-card {
  padding: 22px 22px 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}
.app-status-card .lede-eyebrow { margin-bottom: 12px; }
.app-status-card__email {
  margin: 0;
  font-family: var(--serif-t);
  font-size: 1.05rem;
  color: var(--ink);
  word-break: break-all;
}
.app-status-card__email .account-plan-pill { font-size: 12px; height: 22px; padding: 0 10px; }
.app-status-card__email .account-plan-pill--solo { letter-spacing: 0.04em; }
.app-status-card__meta {
  margin: 10px 0 0;
  font-family: var(--serif-t);
  font-size: 0.92rem;
  color: var(--ink-3);
  line-height: 1.5;
}
.app-status-card__meta a { color: var(--accent); }
.app-status-card__meta a:hover { text-decoration: underline; }
.app-status-card__meta code {
  font-family: var(--mono);
  font-size: 0.92em;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-2);
}

/* ── Tier cards ──────────────────────────────────────────────────────── */
.app-tier-section { margin-bottom: clamp(56px, 8vw, 96px); }
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  align-items: stretch;
}
.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 28px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.012) 100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
}
.tier-card:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.18); }
.tier-card--feature {
  border-color: rgba(94, 234, 212, 0.36);
  background:
    linear-gradient(180deg, rgba(94, 234, 212, 0.08) 0%, rgba(94, 234, 212, 0.02) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.012) 100%);
}
.tier-card--current {
  outline: 1px solid rgba(94, 234, 212, 0.5);
  outline-offset: -1px;
}
.tier-card--current::before {
  content: 'Current';
  position: absolute;
  top: -10px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.tier-card__head {
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.tier-card__head h3 {
  margin: 0;
  font-family: var(--serif-d);
  font-weight: 300;
  font-size: clamp(1.7rem, 2.4vw, 2rem);
  line-height: 1;
  letter-spacing: -0.024em;
  color: var(--ink);
}
.tier-card__price {
  margin: 8px 0 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.tier-card__price strong {
  font-family: var(--serif-d);
  font-weight: 300;
  font-size: clamp(2.4rem, 3.6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.tier-card__price span {
  font-family: var(--serif-t);
  font-size: 13px;
  color: var(--ink-3);
}
.tier-card__current {
  position: absolute; left: -10000px;  /* a11y label only — replaced by ::before */
}
.tier-card__list {
  flex: 1;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.tier-card__list li {
  font-family: var(--serif-t);
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
}
.tier-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.85;
}
.tier-card__cta {
  width: 100%;
}
.tier-card__cta:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none !important;
  box-shadow: none !important;
}
.tier-foot-note {
  margin: clamp(20px, 2.4vw, 28px) 0 0;
  font-family: var(--serif-t);
  font-style: italic;
  font-size: 0.94rem;
  color: var(--ink-3);
}

/* ── Account section (on dashboard) ──────────────────────────────────── */
.app-account-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.app-account-list li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.app-account-list li > span:first-child {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.app-account-list li > span:last-child {
  font-family: var(--serif-t);
  font-size: 1rem;
  color: var(--ink);
  word-break: break-all;
}
.app-account-list a { color: var(--accent); }
.app-account-list a:hover { text-decoration: underline; }
.app-link-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.app-link-button:hover { text-decoration: underline; }

/* Mobile collapses */
@media (max-width: 980px) {
  .account-email { display: none; }
  .account-pill { padding: 5px 8px 5px 5px; max-width: 80px; }
  .app-status-row { grid-template-columns: minmax(0, 1fr); }
  .tier-grid { grid-template-columns: minmax(0, 1fr); }
  .app-account-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ════════════════════════════════════════════════════════════════════════
   ANIMATED ART LAYER (additive)
   Hero constellation, ThinkID scroll-driven rail, particle drift, shimmer.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Constellation in hero ──────────────────────────────────────────── */
.constellation {
  position: absolute;
  top: 4%;
  right: -6%;
  width: clamp(560px, 64vw, 880px);
  height: auto;
  pointer-events: none;
  opacity: 0.92;
  transform: translate3d(0, calc(var(--scroll-y, 0) * -0.12px), 0);
  filter: drop-shadow(0 0 22px rgba(94, 234, 212, 0.25));
  mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, #000 35%, rgba(0,0,0,0.7) 70%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, #000 35%, rgba(0,0,0,0.7) 70%, transparent 95%);
  will-change: transform;
  animation: constellation-drift 22s ease-in-out infinite alternate;
}
@keyframes constellation-drift {
  0%   { transform: translate3d(0, calc(var(--scroll-y, 0) * -0.12px), 0); }
  100% { transform: translate3d(-14px, calc(var(--scroll-y, 0) * -0.12px - 6px), 0); }
}
.constellation-conn line {
  stroke: rgba(94, 234, 212, 0.34);
  stroke-width: 0.6;
  stroke-linecap: round;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: conn-draw 5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, conn-breathe 7s ease-in-out infinite;
  animation-delay: var(--delay, 0s), calc(var(--delay, 0s) + 5s);
}
@keyframes conn-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes conn-breathe {
  0%, 100% { stroke-opacity: 0.34; }
  50%      { stroke-opacity: 0.85; }
}
.constellation-nodes circle {
  fill: rgba(94, 234, 212, 0.92);
  opacity: 0;
  animation: node-in 1.2s ease-out forwards, node-pulse 4.6s ease-in-out infinite;
  animation-delay: var(--delay, 0s), calc(var(--delay, 0s) + 1.2s);
}
.constellation-nodes circle[data-anchor] {
  fill: #5eead4;
  filter: drop-shadow(0 0 6px rgba(94, 234, 212, 0.65));
}
@keyframes node-in {
  from { opacity: 0; transform: scale(0.5); transform-box: fill-box; transform-origin: center; }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes node-pulse {
  0%, 100% { opacity: 0.72; }
  50%      { opacity: 1; }
}
.constellation-rings .ring {
  fill: none;
  stroke: rgba(94, 234, 212, 0.55);
  stroke-width: 1;
  transform-origin: center;
  animation: ring-out 4.4s ease-out infinite;
}
.constellation-rings .ring-1 { animation-delay: 0.4s; }
.constellation-rings .ring-2 { animation-delay: 1.8s; }
.constellation-rings .ring-3 { animation-delay: 3.0s; }
@keyframes ring-out {
  0%   { r: 6;  stroke-opacity: 0.6; stroke-width: 1.0; }
  85%  { r: 70; stroke-opacity: 0;   stroke-width: 0.2; }
  100% { r: 70; stroke-opacity: 0;   stroke-width: 0.2; }
}

/* On mobile move constellation behind text and shrink */
@media (max-width: 980px) {
  .constellation {
    top: 0;
    right: -16%;
    width: 130%;
    opacity: 0.55;
  }
}

/* Make sure hero text reads above constellation */
.cinema-hero-inner { position: relative; z-index: 2; }

/* ── ThinkID scroll-progress rail + playhead ────────────────────────── */
.thinkid-timeline { position: relative; }
.thinkid-rail-fill {
  position: absolute;
  left: -1px;
  top: 0;
  width: 1px;
  height: calc(var(--progress, 0) * 100%);
  background: linear-gradient(180deg, rgba(94, 234, 212, 0) 0%, var(--accent) 30%, var(--accent) 100%);
  box-shadow: 0 0 12px rgba(94, 234, 212, 0.6);
  pointer-events: none;
  transition: height 0.05s linear;
}
.thinkid-playhead {
  position: absolute;
  left: -7px;
  top: calc(var(--progress, 0) * 100%);
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow:
    0 0 0 4px rgba(94, 234, 212, 0.16),
    0 0 14px rgba(94, 234, 212, 0.7);
  pointer-events: none;
  transform: translateY(-50%);
  transition: top 0.05s linear;
  opacity: calc(var(--progress, 0) > 0 ? 1 : 0);
}
.thinkid-playhead::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  background: var(--accent);
  filter: blur(6px);
  opacity: 0.55;
}

/* Light up moments as the playhead passes them: each moment activates
   based on its index range against --progress. We use nth-child + CSS
   range checks via custom property thresholds. */
.thinkid-moment {
  position: relative;
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.4s ease;
}
.thinkid-moment::before {
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.4s ease, box-shadow 0.4s ease;
}
.thinkid-timeline:hover .thinkid-moment::before { background: var(--accent-2); }

/* Reduce-motion: hide playhead, fill rail fully */
@media (prefers-reduced-motion: reduce) {
  .thinkid-playhead { display: none; }
  .thinkid-rail-fill { height: 100%; }
}

/* ── Particle field (subtle floating dots) ──────────────────────────── */
.particle-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.particle-field span {
  position: absolute;
  left: var(--x, 50vw);
  top: var(--y, 50vh);
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.4);
  box-shadow: 0 0 12px rgba(94, 234, 212, 0.4);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(var(--s, 1));
  animation: particle-drift 18s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes particle-drift {
  0%   { opacity: 0; transform: translate3d(0, 0,    0) scale(var(--s, 1)); }
  10%  { opacity: 0.45; }
  50%  { opacity: 0.65; transform: translate3d(-12px, -28px, 0) scale(var(--s, 1)); }
  90%  { opacity: 0.3;  }
  100% { opacity: 0; transform: translate3d(8px, -56px, 0) scale(var(--s, 1)); }
}
@media (prefers-reduced-motion: reduce) {
  .particle-field { display: none; }
}

/* ── Button shimmer on primary CTA ──────────────────────────────────── */
.button.primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.button.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 65%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.button.primary:hover::after { transform: translateX(100%); }
.button.primary > * { position: relative; z-index: 1; }

/* ── Slightly stronger card hovers ─────────────────────────────────── */
.aside-card,
.app-status-card,
.tier-card,
.glass-card.signup-card {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.aside-card:hover,
.app-status-card:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 234, 212, 0.32);
  box-shadow: 0 22px 50px -28px rgba(0, 0, 0, 0.55);
}

/* ── Section divider thread (animated) ─────────────────────────────── */
.band + .band::before,
.thinkid-stage + .band::before,
.cinema-hero + .lede-section::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 80px;
  margin-top: -88px;
  background: linear-gradient(180deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.45;
  transform: translateX(-50%);
  pointer-events: none;
}
.band, .thinkid-stage, .cinema-hero, .lede-section, .closing-band { position: relative; }
