/* Celestash marketing site. Shared tokens, layout and components for every page.
   Values follow the approved Claude Design handoff (Handoff.dc.html). */

:root {
  --ink: #070b1f;
  --footer: #05071a;
  --text: #2a3142;
  --text-2: #3d4557;
  --muted: #5b6378;
  --faint: #8a91a3;
  --surface: #f4f6fa;
  --line: #e6e9f0;
  --line-soft: #eef0f5;
  --blue: #1f4bff;
  --blue-soft: #eaf0ff;
  --blue-line: #cfdcff;
  --cyan: #19c6f5;
  --cyan-on-dark: #7fd8ff;
  --cyan-pale: #bfe9ff;
  --on-dark-muted: #a7afc2;

  --font-display: "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-serif: "Instrument Serif", serif;
  --font-mono: "Fragment Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, 8vw, 112px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--blue); }
a:hover { color: var(--ink); }
::selection { background: #cfe0ff; color: var(--ink); }
img { max-width: 100%; }
button, input, textarea, select { font-family: inherit; }

.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;
}

/* ---------- Type ---------- */
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow--muted { color: var(--muted); }
.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.lede {
  margin: 18px auto 0;
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
  text-wrap: pretty;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto; }
.section-head--wide { max-width: 760px; }
.section-head .eyebrow + .h2 { margin-top: 14px; }

/* Grid-mark used on Store buttons and the hero eyebrow */
.mark { display: grid; grid-template-columns: repeat(2, var(--s, 7px)); gap: var(--g, 2px); flex-shrink: 0; }
.mark > span { width: var(--s, 7px); height: var(--s, 7px); background: currentColor; }

/* Placeholder tag: anything in these still needs a real value */
.ph {
  font-family: var(--font-mono);
  font-size: 13px;
  background: #fff1c7;
  color: #6a4b00;
  padding: 1px 6px;
  border-radius: 6px;
}
.ph--sm { font-size: 12px; }
.ph--dark { font-size: 12px; background: rgba(255, 210, 90, 0.14); color: #ffd98a; }

/* ---------- Chips & keycaps ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--center { justify-content: center; }
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
}
.chip--accent { background: var(--blue-soft); border-color: var(--blue-line); color: var(--blue); }
.chip--sm { padding: 6px 12px; font-size: 13px; background: #fff; }
.chip--dark { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1); }
.kbd {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 3px 7px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid #dde1ea;
  box-shadow: 0 1px 0 #dde1ea;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 0;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(7, 11, 31, 0.25); }
.btn-lg { height: 54px; padding: 0 24px; border-radius: 16px; font-size: 16px; }
.btn-hero { box-shadow: 0 10px 30px rgba(7, 11, 31, 0.3); }
.btn-hero:hover { box-shadow: 0 16px 40px rgba(7, 11, 31, 0.36); }
.btn-glass {
  height: 54px;
  padding: 0 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 500;
  font-size: 16px;
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.26); color: #fff; }
.btn-light {
  height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  transition: transform 0.2s;
}
.btn-light:hover { transform: translateY(-1px); color: var(--ink); }

/* ---------- Nav ---------- */
.nav-wrap {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 12px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: 100%;
  max-width: 1040px;
  background: rgba(7, 11, 31, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(5, 8, 26, 0.28);
  padding: 8px 8px 8px 14px;
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { display: flex; align-items: center; height: 36px; flex-shrink: 0; }
.nav-logo img { height: 38px; width: auto; display: block; margin-left: -4px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--on-dark-muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  --s: 5px;
  --g: 1.5px;
}
.nav-cta:hover { background: #e9eeff; transform: translateY(-1px); color: var(--ink); }
.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span { width: 16px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform 0.25s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.nav-menu {
  display: none;
  flex-direction: column;
  padding: 12px 4px 6px;
  gap: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 8px;
}
.nav-menu > a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  padding: 10px 8px;
  border-radius: 10px;
}
.nav-menu-legal { display: flex; gap: 16px; padding: 14px 8px 4px; }
.nav-menu-legal a { font-size: 13px; color: #9aa3b8; text-decoration: none; }
@media (max-width: 859.98px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open .nav-menu { display: flex; }
}

/* ---------- Media placeholder (swap for <img>/<video> from the current build) ---------- */
.media {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(31, 75, 255, 0.05) 0 10px, rgba(31, 75, 255, 0) 10px 20px), #eef1f7;
  border: 1px solid rgba(7, 11, 31, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.media-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.media-kind {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.8);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(31, 75, 255, 0.18);
}
.media-label { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); max-width: 320px; text-wrap: pretty; }
.frame { border-radius: 16px; }
.frame > img, .frame > video { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.r-4-3 { aspect-ratio: 4 / 3; }
.r-16-10 { aspect-ratio: 16 / 10; }
.r-16-9 { aspect-ratio: 16 / 9; }
.r-21-9 { aspect-ratio: 21 / 9; }

/* ---------- Cards ---------- */
.card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 10px 10px 22px;
  border-radius: 24px;
  background: var(--surface);
}
.card--lift { transition: transform 0.35s var(--ease); }
.card--lift:hover { transform: translateY(-4px); }
.card--tall { padding-bottom: 24px; }
.card-body { padding: 0 12px; display: flex; flex-direction: column; gap: 6px; }
.card-title { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.03em; }
.card-text { color: var(--muted); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.card--dark { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 24px; }
.card--dark .card-body { gap: 8px; }
.card--dark .card-title { font-size: 22px; }
.card--dark .card-text { color: var(--on-dark-muted); line-height: 1.55; }

.outline-card {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.outline-card:hover { border-color: var(--blue-line); box-shadow: 0 16px 40px rgba(31, 75, 255, 0.08); }
.outline-card .num { font-family: var(--font-mono); font-size: 12px; color: var(--blue); }
.outline-card .card-title { font-size: 22px; }
.outline-card .card-text { line-height: 1.55; }

.grid { display: grid; gap: 16px; }
.grid-240 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid-300 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-320 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

/* ---------- Page scaffolding ---------- */
.container { max-width: 1120px; margin: 0 auto; }
.section { padding: var(--section-y) var(--gutter); }
.panel-section { padding: 0 clamp(8px, 2vw, 24px); }
.panel {
  max-width: 1240px;
  margin: 0 auto;
  border-radius: clamp(24px, 3vw, 40px);
  padding: var(--section-y) clamp(16px, 4vw, 64px);
}
main.home { overflow: hidden; }

.page-main { padding: clamp(128px, 15vw, 176px) var(--gutter) clamp(120px, 14vw, 176px); }
.page-head { text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.page-intro { margin: 0; max-width: 520px; color: var(--muted); font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.page-intro a { text-decoration: none; }

/* ---------- Home: hero ---------- */
.hero { position: relative; padding: clamp(120px, 16vw, 168px) var(--gutter) clamp(56px, 7vw, 96px); }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(180deg, #0a0f3d 0%, #1631c9 26%, #2a6bff 48%, #7cc8ff 70%, #e6f6ff 86%, #fff 100%); }
.hero-inner { position: relative; max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: -0.02em;
  --s: 8px;
}
.hero h1 {
  margin: 22px 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(50px, 9.2vw, 116px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}
.hero h1 .serif { letter-spacing: -0.03em; }
.hero-sub { margin: 26px 0 0; max-width: 620px; color: rgba(255, 255, 255, 0.92); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; color: rgba(255, 255, 255, 0.85); font-size: 14px; }
.hero-facts .sep { opacity: 0.5; }
.hero-media {
  width: 100%;
  margin-top: clamp(48px, 7vw, 80px);
  border-radius: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 40px 100px rgba(10, 15, 61, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.4);
  background: #fff;
}

/* ---------- Home: features ---------- */
.features { background: var(--surface); display: flex; flex-direction: column; gap: clamp(64px, 9vw, 120px); }
.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.feature-copy { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.feature-copy p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.feature-copy .chips { margin-top: 4px; }
.feature-media { border-radius: 22px; box-shadow: 0 24px 60px rgba(10, 15, 61, 0.12); }
.ocr-note { display: flex; align-items: center; gap: 10px; margin-top: 4px; color: var(--muted); font-size: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot--cyan { background: var(--cyan); box-shadow: 0 0 0 4px rgba(25, 198, 245, 0.18); }
.keys { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.keys > div { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-2); }
.keys .key-col { min-width: 112px; display: flex; gap: 4px; }

/* ---------- Home: Island (dark) ---------- */
.island-section { padding: var(--section-y) clamp(8px, 2vw, 24px) 0; }
.island { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.island-glow {
  position: absolute;
  left: 50%;
  top: -220px;
  width: 900px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(42, 107, 255, 0.5), rgba(25, 198, 245, 0.12) 45%, rgba(7, 11, 31, 0) 70%);
  pointer-events: none;
}
.island-stack { position: relative; display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.island .eyebrow { color: var(--cyan-on-dark); }
.island .h2 .serif { color: var(--cyan-pale); }
.island .lede { color: var(--on-dark-muted); }
.island-media { border-radius: 24px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.sync { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.sync > div:first-child { color: var(--on-dark-muted); font-size: 15px; }

/* ---------- Home: reuse ---------- */
.reuse-section, .usecases-section { padding: clamp(72px, 10vw, 136px) var(--gutter) 0; }
.mono-inline { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.system-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1px;
  margin-top: 16px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}
.system-strip > div { background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.system-strip .t { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.system-strip .d { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---------- Home: use cases ---------- */
.usecases-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.usecases-head .h2 { max-width: 620px; }
.usecases-head p { margin: 0; max-width: 360px; color: var(--muted); font-size: 16px; line-height: 1.55; }

/* ---------- Home: pricing ---------- */
.pricing { position: relative; padding: clamp(88px, 12vw, 160px) var(--gutter) clamp(72px, 10vw, 128px); }
.pricing-bg { position: absolute; inset: clamp(40px, 6vw, 80px) 0 0 0; background: linear-gradient(180deg, #fff 0%, #eaf4ff 40%, #bfe3ff 100%); pointer-events: none; }
.pricing-inner { position: relative; max-width: 1080px; margin: 0 auto; }
.pricing-title { font-size: clamp(40px, 6vw, 68px); line-height: 0.98; letter-spacing: -0.05em; }
.pricing-head { max-width: 680px; }
.pricing-head p { margin: 18px auto 0; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; }
.launch-banner-row { display: flex; justify-content: center; margin-top: 24px; }
.launch-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--blue-line);
  font-size: 14px;
  color: var(--text-2);
  text-align: left;
}
.launch-banner .badge { padding: 4px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: 12px; white-space: nowrap; }
.launch-banner strong { color: var(--ink); font-weight: 600; }
.price-card {
  margin: clamp(32px, 4vw, 48px) auto 0;
  max-width: 920px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(10, 15, 61, 0.12), 0 0 0 1px rgba(7, 11, 31, 0.05);
  padding: clamp(10px, 1.4vw, 14px);
}
.plan-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 20px; background: #f1f3f8; }
.plan-tab {
  height: 44px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: transparent;
  color: var(--muted);
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.plan-tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(7, 11, 31, 0.08), 0 0 0 1px rgba(7, 11, 31, 0.04); }
.plan-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.price-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 3.5vw, 40px);
}
.price-main { display: flex; flex-direction: column; gap: 18px; transition: opacity 0.25s; }
.price-main.is-fading { opacity: 0; }
.price-row { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-weight: 700; font-size: clamp(64px, 9vw, 96px); line-height: 0.85; letter-spacing: -0.06em; }
.price-side { display: flex; flex-direction: column; gap: 2px; padding-bottom: 6px; }
.price-was { font-size: 18px; color: var(--faint); text-decoration: line-through; }
.price-term { font-size: 14px; color: var(--muted); }
.launch-box { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 16px; background: #f4f7ff; border: 1px solid #dce5ff; }
.launch-box .title { font-size: 14px; color: var(--ink); font-weight: 600; }
.spots-bar { height: 6px; border-radius: 999px; background: #dce5ff; overflow: hidden; }
.spots-bar > div { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width 0.4s var(--ease); }
.spots-line { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.buy { height: 54px; border-radius: 16px; font-size: 16px; }
.buy-unavailable { margin: -4px 0 0; font-size: 14px; font-weight: 500; color: var(--ink); text-align: center; }
.fine { font-size: 12px; color: var(--faint); line-height: 1.5; }
.price-aside { display: flex; flex-direction: column; gap: 22px; padding-left: clamp(0px, 2vw, 24px); border-left: 1px solid var(--line-soft); }
.checks { display: flex; flex-direction: column; gap: 12px; }
.checks > div { display: flex; gap: 10px; font-size: 15px; color: var(--text-2); }
.checks .tick { color: var(--blue); font-weight: 700; }
.how { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.how .label { font-size: 13px; font-weight: 600; color: var(--faint); }
.how .step { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.how .step a { text-decoration: none; }
.how .n {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767.98px) {
  .price-aside { padding-left: 0; border-left: 0; }
}

/* ---------- Home: FAQ ---------- */
.faq-section { padding: clamp(72px, 10vw, 128px) var(--gutter) clamp(96px, 12vw, 160px); }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.faq-intro { display: flex; flex-direction: column; gap: 16px; }
.faq-intro .h2 { font-size: clamp(36px, 5vw, 56px); }
.faq-intro p { margin: 0; max-width: 380px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.faq-intro a { text-decoration: none; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.faq-item .plus { flex-shrink: 0; font-size: 22px; font-weight: 400; color: var(--faint); transition: transform 0.3s; }
.faq-item[open] .plus { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 40px 22px 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- Updates ---------- */
.updates { max-width: 1000px; margin: 0 auto; }
.releases { display: flex; flex-direction: column; margin-top: clamp(56px, 7vw, 88px); }
.release {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(32px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
}
.release:last-child { border-bottom: 1px solid var(--line); }
.release-meta { display: flex; flex-direction: column; gap: 12px; max-width: 300px; }
.release-status { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.dot--blue { background: var(--blue); box-shadow: 0 0 0 4px rgba(31, 75, 255, 0.16); }
.dot--grey { background: #c4c9d4; }
.release h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.08; letter-spacing: -0.04em; }
.release--template h2 { color: var(--faint); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }
.tag--accent { background: var(--blue-soft); border-color: var(--blue-line); font-family: var(--font-body); font-weight: 500; color: var(--blue); }
.release-body { display: flex; flex-direction: column; gap: 20px; font-size: 16px; line-height: 1.6; color: var(--text); min-width: 0; }
.release-body p { margin: 0; }
.release--template .release-body { gap: 12px; color: var(--muted); }
.release-group { display: flex; flex-direction: column; gap: 8px; }
.release-group h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); letter-spacing: -0.02em; }
.release-group ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.release-media { border-radius: 20px; margin-top: 8px; }

/* ---------- Roadmap ---------- */
.roadmap { max-width: 1200px; margin: 0 auto; }
.roadmap .page-intro { max-width: 560px; }
.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 12px;
  margin-top: clamp(48px, 6vw, 72px);
  align-items: start;
}
.column { background: var(--surface); border-radius: 24px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.column-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 6px; }
.column-head h2 { margin: 0; display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.column-head .note { font-size: 13px; color: var(--faint); }
.dot--violet { background: #7b61ff; }
.item { background: #fff; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); }
.item h3 { margin: 0; font-weight: 600; font-size: 15px; }
.item p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.cta-band {
  margin-top: clamp(48px, 6vw, 72px);
  border-radius: 32px;
  background: var(--ink);
  color: #fff;
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.cta-band-glow { position: absolute; right: -120px; top: -160px; width: 520px; height: 420px; background: radial-gradient(ellipse at center, rgba(42, 107, 255, 0.45), rgba(7, 11, 31, 0) 70%); pointer-events: none; }
.cta-band-copy { position: relative; display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.cta-band h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 44px); line-height: 1; letter-spacing: -0.045em; }
.cta-band h2 .serif { letter-spacing: normal; color: var(--cyan-pale); }
.cta-band p { margin: 0; color: var(--on-dark-muted); font-size: 16px; line-height: 1.55; }
.cta-band .btn-light { position: relative; }

/* ---------- Contact ---------- */
.contact { max-width: 1080px; margin: 0 auto; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 16px;
  margin-top: clamp(48px, 6vw, 72px);
  align-items: start;
}
.form-card { background: var(--surface); border-radius: 28px; padding: clamp(20px, 3vw, 32px); }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); margin: 0; padding: 0; border: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 8px; }
.input {
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid #e1e5ee;
  background: #fff;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea.input { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 75, 255, 0.12); }
.topics { display: flex; flex-wrap: wrap; gap: 6px; }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic span {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #e1e5ee;
  background: #fff;
  color: var(--text-2);
  transition: all 0.2s;
}
.topic input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.topic input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.send { height: 52px; border-radius: 16px; font-size: 16px; transition: transform 0.2s, box-shadow 0.2s; }
.send:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(7, 11, 31, 0.22); }
.send[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.form-note { font-size: 12px; color: var(--faint); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.form-error { margin: 0; font-size: 14px; color: #b42318; }
.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 0; }
.sent[hidden] { display: none; }
.sent .check { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.sent h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.04em; }
.sent p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.btn-ghost { height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid #e1e5ee; background: #fff; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--ink); }
.info { display: flex; flex-direction: column; gap: 12px; }
.info-card { border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.info-card .t { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.info-card .d { font-size: 15px; color: var(--muted); line-height: 1.5; }
.info-card .d a { text-decoration: none; }
.portal-btn {
  margin-top: 6px;
  align-self: flex-start;
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.portal-btn:hover { background: var(--blue-soft); color: var(--ink); }

/* ---------- Legal ---------- */
.legal-main { padding-left: clamp(20px, 4vw, 40px); padding-right: clamp(20px, 4vw, 40px); }
.legal { max-width: 720px; margin: 0 auto; font-size: 16px; line-height: 1.7; color: var(--text); }
.legal h1 { margin: 0; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 6.4vw, 72px); line-height: 0.95; letter-spacing: -0.055em; color: var(--ink); }
.legal .effective { margin-top: 18px; text-align: center; color: var(--muted); font-size: 15px; }
.review-banner { margin-top: 40px; padding: 16px 18px; border-radius: 16px; background: #fffaeb; border: 1px solid #f5e2a8; font-size: 14px; line-height: 1.55; color: #5e4700; }
.review-banner strong { font-weight: 600; }
.legal > p { margin: 14px 0 0; }
.legal > .review-banner + p { margin-top: 40px; }
.legal > p + p.lead-2 { margin-top: 16px; }
.legal h2 { margin: 56px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.15; letter-spacing: -0.035em; color: var(--ink); }
.legal ul { margin: 12px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { text-decoration: none; }

/* ---------- Footer ---------- */
.footer {
  background: var(--footer);
  color: #fff;
  border-radius: 36px 36px 0 0;
  margin-top: -36px;
  position: relative;
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  inset: 0 -10% auto -10%;
  height: 520px;
  background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(31, 75, 255, 0.28), rgba(25, 198, 245, 0.08) 45%, rgba(5, 7, 26, 0) 70%);
  pointer-events: none;
}
.footer-inner { position: relative; max-width: 1120px; margin: 0 auto; padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 40px) 40px; }
.footer-cta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 48px;
  align-items: center;
  padding-bottom: clamp(48px, 7vw, 80px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-cta-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.footer .eyebrow { color: var(--cyan-on-dark); }
.footer h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6vw, 64px); line-height: 0.98; letter-spacing: -0.045em; }
.footer h2 .serif { color: var(--cyan-pale); }
.footer-cta-copy p { margin: 0; max-width: 440px; font-size: 16px; line-height: 1.55; color: var(--on-dark-muted); text-wrap: pretty; }
.footer-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-store {
  height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  gap: 10px;
  --s: 6px;
  transition: transform 0.2s;
}
.footer-store:hover { transform: translateY(-1px); color: var(--ink); }
.footer-outline {
  height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  transition: background 0.2s;
}
.footer-outline:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.footer-portrait { display: flex; justify-content: center; }
.footer-portrait img { width: min(100%, 300px); height: auto; display: block; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 36px; padding: 48px 0; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h3 { margin: 0; font-size: 14px; font-weight: 600; color: #6f7890; }
.footer-col a { color: #fff; text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--cyan-on-dark); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-bottom img { height: 28px; width: auto; display: block; }
.footer-bottom .legal-line { font-size: 13px; color: #6f7890; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
@media (max-width: 479.98px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Scroll reveal (enabled by app.js; off for reduced motion) ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card--lift:hover, .btn:hover, .nav-cta:hover, .send:hover { transform: none; }
  .price-main { transition: none; }
}
