/* OracleFlow landing v7.
   Open canvas: no section containers (top-site pattern: Linear/Cursor/
   Vercel). Dark app tokens, gold accents with gradient-text pop in the
   hero, wide Hanover-style feature cards, chat demo that streams its
   answer like the real app. Geist Sans + Geist Mono bundled. */

/* ---------- Fonts ---------- */

@font-face {
  font-family: "Geist";
  src: url("/landing/assets/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/landing/assets/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens (app dark theme, exact) ---------- */

:root {
  --bg: oklch(0.145 0 0);
  --surface: oklch(0.205 0 0);
  --surface-2: oklch(0.269 0 0);
  --surface-3: oklch(0.371 0 0);
  --fg: oklch(0.985 0 0);
  --muted: oklch(0.75 0 0);
  --subtle: oklch(0.6 0 0);
  --border: oklch(1 0 0 / 10%);
  --border-strong: oklch(1 0 0 / 16%);
  --gold: oklch(0.84 0.07 98);
  --gold-fg: oklch(0.25 0.04 98);
  --primary: oklch(0.87 0 0);
  --primary-fg: oklch(0.205 0 0);

  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 0.625rem;
  --content-w: 1152px;

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-reveal: 640ms;
}

/* ---------- Reset / base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--gold);
  color: var(--gold-fg);
}

/* ---------- Sections: open canvas, whitespace does the work ---------- */

.section {
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 4vw, 2rem);
}

/* ---------- Type ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
}

h1 {
  font-size: clamp(2.875rem, 5.4vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 38rem;
  text-wrap: pretty;
}

.gold {
  color: var(--gold);
}

.grad {
  background: linear-gradient(115deg, oklch(0.92 0.085 96), oklch(0.78 0.07 98) 60%, oklch(0.68 0.09 90));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-head .eyebrow {
  margin-bottom: 1rem;
}

.section-head .lede {
  margin: 1rem auto 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  height: 2.75rem;
  padding: 0 1.375rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}

.btn-primary:hover {
  background: var(--fg);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: oklch(1 0 0 / 24%);
  color: var(--fg);
}

.btn-outline:hover {
  border-color: oklch(1 0 0 / 40%);
  background: oklch(1 0 0 / 6%);
}

.btn-ghost {
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--fg);
  background: oklch(1 0 0 / 6%);
}

.btn-lg {
  height: 3.125rem;
  padding: 0 1.75rem;
  font-size: 1rem;
}

/* ---------- Floating pill nav ---------- */

.nav {
  position: fixed;
  top: clamp(0.625rem, 1.5vw, 1rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(var(--content-w), calc(100% - 1.5rem));
  background: oklch(0.145 0 0 / 72%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 999px;
  padding: 0 1.25rem;
  animation: nav-in 600ms var(--ease-spring) both;
}

@keyframes nav-in {
  from {
    opacity: 0;
    transform: translate(-50%, -14px);
  }
}

.nav::after {
  content: "";
  position: absolute;
  inset: auto 1.5rem 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(1 0 0 / 22%), transparent);
}

.nav-inner {
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

.nav-logo .star {
  width: 1.375rem;
  height: 1.375rem;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  transition:
    color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out);
}

.nav-links a:hover {
  color: var(--fg);
  background: oklch(1 0 0 / 6%);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-actions .btn {
  height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.875rem;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

/* ---------- Hero: open, full-bleed glow, no container ---------- */

.hero {
  position: relative;
  background: radial-gradient(
    ellipse 85% 62% at 50% -14%,
    oklch(0.26 0.008 98) 0%,
    oklch(0.19 0.004 98) 48%,
    transparent 78%
  );
  padding: clamp(9rem, 15vw, 12rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 2rem);
}

.hero-copy .eyebrow {
  margin-bottom: 1.5rem;
}

.hero-copy .lede {
  margin: 1.5rem 0 0;
  max-width: 30rem;
}

.hero-ctas {
  margin-top: 2.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 3rem;
  display: flex;
  gap: clamp(1.75rem, 4vw, 3.25rem);
}

.hero-stat b {
  display: block;
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.hero-stat span {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy .lede {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas,
  .hero-stats {
    justify-content: center;
  }
  .hero-visual {
    width: 100%;
    max-width: 42rem;
    margin: 0 auto;
  }
}

/* ---------- Chat demo (streams like the app) ---------- */

.demo {
  position: relative;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 1.125rem;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(155deg, oklch(0.84 0.07 98 / 45%), oklch(1 0 0 / 16%) 30%, oklch(1 0 0 / 10%) 65%, oklch(0.84 0.07 98 / 14%)) border-box;
  box-shadow: 0 24px 80px oklch(0 0 0 / 45%);
}

.demo-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: grid;
  gap: 1.25rem;
}

.demo-q {
  justify-self: end;
  max-width: 85%;
  background: var(--surface-2);
  border-radius: 1.125rem;
  border-bottom-right-radius: 0.375rem;
  padding: 0.75rem 1.125rem;
  font-size: 0.9375rem;
}

.demo-a {
  display: grid;
  gap: 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--fg);
}

/* Streaming units: words + citation chips fade in as they "arrive" */
.demo-a .su {
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
}

.demo-a .su.on {
  opacity: 1;
}

.cite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: 0.16em;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.25rem;
  margin: 0 0.125rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.3125rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--gold);
  background: oklch(0.84 0.07 98 / 7%);
}

.demo-sources {
  display: grid;
  gap: 0.4375rem;
  padding-top: 0.375rem;
}

.demo-source {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  font-family: var(--mono);
  font-size: 0.71875rem;
  color: var(--subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-source b {
  color: var(--muted);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-source .cite {
  vertical-align: baseline;
  flex: none;
}

/* Elements that appear after the stream finishes */
[data-after-stream] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--dur-reveal) var(--ease-spring),
    transform var(--dur-reveal) var(--ease-spring);
}

[data-after-stream].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Moment player (karaoke) ---------- */

.moment {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1.125rem;
}

.moment-play {
  flex: none;
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  position: relative;
}

.hero-visual .moment-play::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: pulse 2.6s var(--ease-out) infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 oklch(0.84 0.07 98 / 38%);
  }
  70%,
  100% {
    box-shadow: 0 0 0 14px oklch(0.84 0.07 98 / 0%);
  }
}

.moment-play svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: var(--gold-fg);
  margin-left: 2px;
}

.moment-main {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 0.5rem;
}

.moment-words {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.moment-words span {
  color: var(--surface-3);
  animation: spoken 7.2s infinite var(--ease-out);
  animation-delay: calc(var(--i) * 0.42s);
}

@keyframes spoken {
  0% {
    color: var(--surface-3);
  }
  4% {
    color: var(--gold);
  }
  10%,
  78% {
    color: var(--fg);
  }
  88%,
  100% {
    color: var(--surface-3);
  }
}

.moment-track {
  height: 3px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}

.moment-track i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: var(--gold);
  transform-origin: left;
  animation: progress 7.2s linear infinite;
}

@keyframes progress {
  0% {
    transform: scaleX(0);
  }
  78% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(1);
  }
}

.moment-meta {
  font-family: var(--mono);
  font-size: 0.65625rem;
  letter-spacing: 0.02em;
  color: var(--subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Marquee strip ---------- */

.marquee-strip {
  width: 100%;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.marquee-caption {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--subtle);
  text-align: center;
  margin-bottom: 2rem;
}

.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee + .marquee {
  margin-top: 1.375rem;
}

.marquee-inner {
  display: flex;
  flex: none;
  align-items: baseline;
  animation: marquee 90s linear infinite;
}

.marquee.reverse .marquee-inner {
  animation-direction: reverse;
}

.marquee:hover .marquee-inner {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.mq-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0 1.375rem;
  white-space: nowrap;
  font-size: 0.9375rem;
  color: var(--muted);
}

.mq-item::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  align-self: center;
  margin-left: 1.375rem;
  opacity: 0.55;
}

.mq-item small {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--subtle);
}

/* ---------- How it works (open) ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 60rem;
  margin: 0 auto;
}

.step {
  border-top: 1px solid var(--border-strong);
  padding-top: 1.5rem;
}

.step em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.step h3 {
  margin: 0.75rem 0 0.5rem;
}

.step p {
  font-size: 0.9375rem;
  color: var(--muted);
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Feature cards (Hanover-style wide cards) ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition:
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: oklch(0.84 0.07 98 / 10%);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
}

.feature-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 1.25rem 0 0.5rem;
}

.feature-card > p {
  font-size: 0.9375rem;
  color: var(--muted);
}

.feature-art {
  margin-top: auto;
  padding-top: 1.5rem;
  transition: transform var(--dur-fast) var(--ease-out);
}

.feature-card:hover .feature-art {
  transform: translateY(-2px);
}

@media (max-width: 1000px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* Feature artifacts: inset app-UI cards */

.art-answer {
  display: grid;
  gap: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.art-answer .demo-sources {
  padding-top: 0.625rem;
}

.art-moments {
  display: grid;
  gap: 0.625rem;
}

.art-moments .moment {
  background: var(--bg);
}

.moment.idle .moment-play {
  background: var(--surface-3);
}

.moment.idle .moment-play svg {
  fill: var(--muted);
}

.moment.idle .moment-words {
  color: var(--muted);
  font-weight: 400;
}

.moment.idle .moment-track i {
  animation: none;
  transform: scaleX(0.32);
  background: var(--surface-3);
  filter: brightness(1.5);
}

.art-sessions {
  display: grid;
  gap: 0.625rem;
}

.session-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1.125rem;
  display: grid;
  gap: 0.25rem;
}

.session-card b {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.session-card small {
  font-family: var(--mono);
  font-size: 0.65625rem;
  color: var(--subtle);
}

.art-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.term {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.3125rem 0.75rem;
  white-space: nowrap;
}

.term.more {
  color: var(--gold);
  border-style: dashed;
}

.art-radar {
  display: grid;
  gap: 0.625rem;
}

.radar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  min-width: 0;
}

.radar-item i {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px oklch(0.84 0.07 98 / 14%);
}

.radar-item b {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.8125rem;
}

.radar-item span {
  color: var(--subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.art-post {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.125rem;
  display: grid;
  gap: 0.75rem;
}

.post-head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.post-avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, oklch(0.55 0.1 98), oklch(0.4 0.08 260));
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  font-weight: 600;
}

.post-head b {
  font-size: 0.8125rem;
  font-weight: 500;
}

.post-head small {
  font-family: var(--mono);
  font-size: 0.625rem;
  color: var(--subtle);
}

.art-post > p {
  font-size: 0.875rem;
}

.post-chart {
  height: 5.5rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, oklch(0.84 0.07 98 / 9%), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 39px, oklch(1 0 0 / 4%) 39px 40px),
    var(--surface-2);
  position: relative;
  overflow: hidden;
}

.post-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--subtle);
}

/* ---------- Statement (open, centered) ---------- */

.statement {
  text-align: center;
}

.statement::before {
  content: "";
  display: block;
  width: 4rem;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 2.25rem;
}

.statement h2 {
  max-width: 22ch;
  margin: 0 auto;
}

.statement .lede {
  margin: 1.5rem auto 0;
  max-width: 36rem;
}

/* ---------- Pricing (open, cards only) ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem;
}

.plan-featured {
  border-color: oklch(0.84 0.07 98 / 55%);
}

.plan-badge {
  position: absolute;
  top: -0.75rem;
  right: 1.25rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--bg);
  border: 1px solid oklch(0.84 0.07 98 / 55%);
  border-radius: 999px;
  padding: 0.25rem 0.625rem;
}

.price-tier {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan-featured .price-tier {
  color: var(--gold);
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin: 0.875rem 0 0.25rem;
}

.price-line b {
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-line span {
  color: var(--subtle);
  font-size: 0.9375rem;
}

.plan-sub {
  font-size: 0.75rem;
  color: var(--subtle);
  margin-bottom: 1.25rem;
}

.price-list {
  list-style: none;
  display: grid;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.price-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.price-list svg {
  flex: none;
  width: 1rem;
  height: 1rem;
  stroke: var(--gold);
}

.plan .btn {
  width: 100%;
  margin-top: auto;
}

.price-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--subtle);
  text-align: center;
}

.plans-note {
  margin-top: 1.5rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.71875rem;
  color: var(--subtle);
}

@media (max-width: 900px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

/* ---------- Closer (open, huge whitespace) ---------- */

.closer {
  text-align: center;
  padding-top: clamp(6rem, 12vw, 10rem);
  padding-bottom: clamp(6rem, 12vw, 10rem);
}

.closer h2 {
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  max-width: 18ch;
  margin: 0 auto;
}

.closer .btn {
  margin-top: 2.5rem;
}

/* ---------- Footer meta ---------- */

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 1.5rem 2.75rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-brand .star {
  width: 1.125rem;
  height: 1.125rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--muted);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-links a:hover {
  color: var(--fg);
}

.footer-meta p {
  font-family: var(--mono);
  font-size: 0.71875rem;
  color: var(--subtle);
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(8rem, 14vw, 10rem) clamp(1.5rem, 4vw, 2rem) 5rem;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.legal .legal-date {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--subtle);
  margin-top: 0.75rem;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 2.5rem 0 0.75rem;
}

.legal p,
.legal li {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}

.legal ul {
  padding-left: 1.25rem;
  display: grid;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.legal a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Reveal motion ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dur-reveal) var(--ease-spring),
    transform var(--dur-reveal) var(--ease-spring);
  transition-delay: var(--d, 0ms);
}

[data-reveal="scale"] {
  transform: translateY(24px) scale(0.97);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .nav {
    animation: none;
  }
  [data-reveal],
  [data-after-stream] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .demo-a .su {
    opacity: 1;
    transition: none;
  }
  .marquee-inner {
    animation: none;
  }
  .moment-words span {
    animation: none;
    color: var(--fg);
  }
  .moment-track i {
    animation: none;
    transform: scaleX(0.4);
  }
  .hero-visual .moment-play::after {
    animation: none;
  }
  .btn,
  .feature-card,
  .feature-art {
    transition: none;
  }
}


/* --- Billing toggle (pricing) --- */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 0 2.5rem;
}
.switch {
  position: relative;
  width: 2.4rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2, rgba(255, 255, 255, 0.08));
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
  flex: none;
}
.switch[aria-checked="true"] {
  background: var(--gold);
  border-color: var(--gold);
}
.switch-thumb {
  position: absolute;
  top: 50%;
  left: 0.15rem;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--fg);
  transform: translateY(-50%);
  transition: transform 0.25s ease, background 0.25s ease;
}
.switch[aria-checked="true"] .switch-thumb {
  transform: translate(1.05rem, -50%);
  background: var(--gold-fg);
}
.switch:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.billing-label { font-size: 0.9rem; font-weight: 600; }
.billing-hint { color: var(--gold); font-weight: 600; }


/* --- Roadmap page --- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
  margin-top: 1rem;
}
@media (max-width: 900px) {
  .roadmap-grid { grid-template-columns: 1fr; }
}
.roadmap-col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.roadmap-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted, var(--fg));
  margin-bottom: 0.25rem;
}
.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  flex: none;
}
.status-shipped .status-dot { background: oklch(0.72 0.19 150); }
.status-planned .status-dot { background: var(--gold); }
.status-considering .status-dot { background: oklch(0.65 0.02 260); }
.roadmap-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  background: var(--surface, rgba(255, 255, 255, 0.03));
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.roadmap-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.roadmap-card h4 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}
.roadmap-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--fg-muted, var(--fg));
  margin: 0;
  opacity: 0.85;
}
.roadmap-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 3.5rem;
  text-align: center;
}


/* --- FAQ --- */
.faq-list {
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface, rgba(255, 255, 255, 0.03));
  transition: border-color 0.25s ease;
}
.faq-item[open],
.faq-item:hover {
  border-color: var(--gold);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--gold);
  transition: transform 0.25s ease;
  flex: none;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 1.2rem 1.1rem;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.85;
}
.faq-item summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 14px;
}
