/* Ishu's public surface uses the same dark-only visual system as the app.
 * Character assets remain byte-identical and render at integer scales. */

:root {
  --bg-base: #000000;
  --bg-surface: #0d0d0d;
  --bg-surface-high: #1a1a1a;
  --text-primary: #d9d9d9;
  --text-secondary: #8a8a8a;
  --text-tertiary: #5a5a5a;
  --accent: #ff7a1a;
  --accent-light: #ff9142;
  --accent-pressed: #cc5f12;
  --accent-gradient-top: #ffa15c;
  --accent-gradient-bottom: #e8690d;
  --accent-tint: #3d1f08;
  --on-accent: #000000;
  --danger: #e5484d;
  --divider: #262626;
  --border-strong: #404040;
  --ink: #d9d9d9;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;

  --radius-card: 16px;
  --radius-pill: 999px;

  --motion-overlay-in: 180ms cubic-bezier(0, 0, 0.2, 1);
  --motion-row-press: 80ms linear;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family:
    Inter,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--on-accent);
  background: var(--accent-light);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--divider);
}

.site-header-row {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  min-height: 72px;
  padding: var(--space-3) var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  margin-right: auto;
}

/* The sprite's body colour (docs/ui.md's text.primary, #D9D9D9) is drawn for
 * a black surface and is nearly invisible on white — the sprite itself is
 * untouched (never resample pixel art), so it gets a dark badge behind it
 * instead, the same way a favicon gets a background tile. */
.brand-sprite-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-surface-high);
  animation: sprite-shift 60s linear infinite;
  flex: none;
}

.brand-sprite {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

.site-nav {
  display: flex;
  gap: var(--space-6);
}

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--accent-light);
}

.nav-cta {
  min-height: 40px;
  padding: 0 var(--space-4);
  font-size: 14px;
  font-weight: 600;
  color: var(--on-accent);
  background: linear-gradient(180deg, var(--accent-gradient-top), var(--accent-gradient-bottom));
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition:
    transform var(--motion-row-press),
    filter var(--motion-row-press);
}

.nav-cta:hover {
  filter: brightness(1.06);
}

.nav-cta:active {
  background: var(--accent-pressed);
  transform: scale(0.97);
}

.nav-cta--large {
  min-height: 52px;
  padding: 0 var(--space-8);
  font-size: 16px;
}

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

/* The product's own burn-in-safe pixel shift (FR-3), reused here as a
 * personality tic rather than a hardware necessity: a marketing page has no
 * OLED retention to protect, so this is decoration, not the app's rule. */
@keyframes sprite-shift {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(1px, -1px);
  }
  50% {
    transform: translate(0, 1px);
  }
  75% {
    transform: translate(-1px, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: var(--space-12) 0 var(--space-8);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: var(--accent-tint);
  border-radius: var(--radius-pill);
  padding: var(--space-1) var(--space-3);
  margin: 0 0 var(--space-4);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
}

h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 var(--space-4);
}

h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
}

.section-lede {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 56ch;
  margin: 0 0 var(--space-8);
}

.subcopy {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 0 var(--space-6);
  max-width: 52ch;
}

.hero-visual {
  position: relative;
}

.video-frame {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--divider);
  box-shadow: 0 24px 48px -24px rgba(22, 19, 15, 0.28);
  animation: fade-rise var(--motion-overlay-in) both;
}

.video-frame img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sits outside the video's own corner, not on top of it — the recording
 * already shows the character once, near the mic button. */
.hero-sprite-wrap {
  position: absolute;
  left: -22px;
  bottom: -22px;
  filter: drop-shadow(0 8px 10px rgba(22, 19, 15, 0.25));
}

.pixel-dust {
  position: absolute;
  inset: -24px -24px auto auto;
  top: -32px;
  right: -32px;
  width: 96px;
  height: 96px;
  z-index: -1;
  background-image: radial-gradient(var(--accent-tint) 3px, transparent 3px);
  background-size: 12px 12px;
  opacity: 0.9;
}

#redirect-banner {
  background: var(--bg-surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  font-size: 14px;
}

#redirect-banner[hidden] {
  display: none;
}

#waitlist-form {
  margin: 0;
}

.form-fields-row {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

@media (max-width: 480px) {
  .form-fields-row {
    flex-direction: column;
  }
}

input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 0 var(--space-4);
}

input[type="email"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-fields-row button[type="submit"] {
  min-height: 48px;
  padding: 0 var(--space-6);
  font-size: 15px;
  font-weight: 600;
  color: var(--on-accent);
  background: linear-gradient(180deg, var(--accent-gradient-top), var(--accent-gradient-bottom));
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform var(--motion-row-press),
    filter var(--motion-row-press);
}

.form-fields-row button[type="submit"]:hover {
  filter: brightness(1.06);
}

.form-fields-row button[type="submit"]:active {
  background: var(--accent-pressed);
  transform: scale(0.98);
}

.form-fields-row button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: default;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 13px;
  color: var(--text-secondary);
}

.consent-row input {
  margin-top: 3px;
  min-width: 18px;
  min-height: 18px;
}

.consent-row a {
  color: var(--accent-light);
}

#form-status {
  margin-top: var(--space-3);
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

#form-status.form-status--error {
  color: var(--danger);
  font-weight: 400;
}

#form-status[hidden] {
  display: none;
}

.hero-note {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: var(--space-3) 0 0;
}

/* ---------- Pain points ---------- */

.pain-points {
  padding: var(--space-12) 0 var(--space-8);
}

.pain-card {
  border-left: 3px solid var(--accent);
}

/* ---------- How it works ---------- */

.how-it-works {
  padding: var(--space-12) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: var(--space-8);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

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

.step {
  background: var(--bg-base);
  border: 1px solid var(--divider);
  border-radius: var(--radius-card);
  padding: var(--space-6);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  /* Sharp corners here on purpose — a small blocky counterpoint to the pill
   * buttons and rounded cards, the "pixel block" the rest of the page is
   * built from softened out to legibility everywhere else. */
  border-radius: 4px;
  background: var(--ink);
  color: var(--accent-tint);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: var(--space-3);
}

.step h3 {
  font-size: 17px;
  margin: 0 0 var(--space-2);
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- Features ---------- */

.features {
  padding: var(--space-12) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.feature-card {
  border: 1px solid var(--divider);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  background: var(--bg-base);
  transition: border-color var(--motion-row-press);
}

.feature-card:hover {
  border-color: var(--border-strong);
}

.feature-icon {
  display: inline-flex;
  padding: var(--space-2);
  background: var(--bg-surface);
  border-radius: 8px;
  margin-bottom: var(--space-4);
  image-rendering: pixelated;
  transition:
    transform var(--motion-row-press),
    background-color var(--motion-row-press);
}

.feature-card:hover .feature-icon {
  background: var(--accent-tint);
  transform: translateY(-2px);
}

.feature-icon svg {
  display: block;
}

.feature-card h3 {
  font-size: 16px;
  margin: 0 0 var(--space-2);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Pricing ---------- */

.pricing {
  padding: var(--space-12) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  max-width: 960px;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.pricing-card {
  position: relative;
  border: 1px solid var(--divider);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  background: var(--bg-base);
  text-align: center;
}

.pricing-card--highlight {
  border-color: var(--accent);
  box-shadow: 0 16px 32px -20px rgba(255, 122, 26, 0.35);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
}

.pricing-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 var(--space-3);
}

.pricing-amount {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 var(--space-2);
}

.pricing-period {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-left: var(--space-1);
}

.pricing-note {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.pricing-boundary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: var(--space-12);
  overflow: hidden;
  background: var(--divider);
  border: 1px solid var(--divider);
  border-radius: var(--radius-card);
}

.pricing-boundary article {
  padding: var(--space-8);
  background: var(--bg-surface-high);
}

.pricing-tier-label {
  margin: 0 0 var(--space-3);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-boundary h3 {
  margin: 0 0 var(--space-4);
  color: var(--text-primary);
  font-size: 20px;
}

.pricing-boundary ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.pricing-choice-title {
  margin: 0 0 var(--space-4);
  color: var(--text-primary);
  font-size: 16px;
}

.pricing-trial-note {
  max-width: 960px;
  margin: var(--space-4) 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- Meet Ishu (character showcase) ---------- */

.showcase {
  padding: var(--space-12) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

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

.showcase-tile {
  margin: 0;
  background: var(--bg-base);
  border: 1px solid var(--divider);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  text-align: center;
}

.showcase-sprite {
  --frame: 64px;
  width: var(--frame);
  height: var(--frame);
  margin: 0 auto var(--space-3);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  /* Sheets are 128px square cells (4x); every cell scales proportionally to
   * `--frame` on height alone, so the displayed frame width always equals
   * the element's own width — an integer-ratio scale of the 32px source,
   * never a resample (AGENTS.md). */
  background-size: auto var(--frame);
}

.showcase-tile figcaption {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Every sequence below is the app's own designed sheet
 * (design/character/sheets/), copied byte-identical: idle → expression →
 * idle, so the loop always starts and ends on the resting frame.
 *
 * The standard sprite-sheet technique: each @keyframes shifts
 * background-position from 0 to -(frameCount × frameWidth), stepped in
 * exactly frameCount increments, so every step lands on a frame boundary.
 * frameWidth is `--frame` (set per element, not per sheet), so the same
 * keyframes work at both the 64px showcase size and the 96px hero size. */

.sprite-blink,
.hero-sprite.sprite-blink {
  background-image: url("./character/sheet-blink.png");
  animation: play-blink 4.8s steps(3) infinite;
}
@keyframes play-blink {
  /* idle held, a quick blink, idle again — not an even 3-way split. */
  0%,
  88% {
    background-position: 0 0;
  }
  92% {
    background-position: calc(var(--frame) * -1) 0;
  }
  96%,
  100% {
    background-position: calc(var(--frame) * -2) 0;
  }
}

.sprite-proud,
.hero-sprite.sprite-proud {
  background-image: url("./character/sheet-proud.png");
  animation: play-proud 1.8s steps(4) infinite;
}
@keyframes play-proud {
  to {
    background-position: calc(var(--frame) * -4) 0;
  }
}

.sprite-lookaround {
  background-image: url("./character/sheet-lookaround.png");
  animation: play-5 3.2s steps(5) infinite;
}

.sprite-curious {
  background-image: url("./character/sheet-curious.png");
  animation: play-3 2s steps(3) infinite;
}

.sprite-talking {
  background-image: url("./character/sheet-talking.png");
  animation: play-4 0.7s steps(4) infinite;
}

.sprite-yawn {
  background-image: url("./character/sheet-yawn.png");
  animation: play-5 3.6s steps(5) infinite;
}

@keyframes play-3 {
  to {
    background-position: calc(var(--frame) * -3) 0;
  }
}
@keyframes play-4 {
  to {
    background-position: calc(var(--frame) * -4) 0;
  }
}
@keyframes play-5 {
  to {
    background-position: calc(var(--frame) * -5) 0;
  }
}

.hero-sprite {
  --frame: 96px;
  width: var(--frame);
  height: var(--frame);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background-size: auto var(--frame);
}

/* ---------- Final CTA ---------- */

.final-cta {
  padding: var(--space-12) 0;
}

.final-cta-inner {
  text-align: center;
  max-width: 560px;
}

.final-cta h2 {
  margin-bottom: var(--space-6);
}

/* ---------- Legal / footer ---------- */

.legal {
  padding: var(--space-8) 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  font-size: 13px;
  color: var(--text-tertiary);
  padding-top: var(--space-6);
  border-top: 1px solid var(--divider);
}

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

.legal p {
  margin: 0;
}

.legal strong {
  color: var(--text-secondary);
}

.legal a {
  color: var(--text-secondary);
}

.site-footer {
  padding: var(--space-6) 0 var(--space-12);
  font-size: 13px;
  color: var(--text-tertiary);
}

.site-footer a {
  color: var(--text-secondary);
}

/* ---------- Privacy policy ---------- */

.privacy-page .site-header {
  position: static;
}

.policy-hero {
  padding: var(--space-12) 0 var(--space-8);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--divider);
}

.policy-hero .container,
.policy-body.container {
  max-width: 800px;
}

.policy-meta {
  margin: var(--space-3) 0 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.policy-body {
  padding-top: var(--space-8);
  padding-bottom: var(--space-12);
}

.policy-body section {
  margin-bottom: var(--space-8);
}

.policy-body h2 {
  margin-bottom: var(--space-3);
  font-size: 24px;
}

.policy-body h3 {
  margin: var(--space-6) 0 var(--space-2);
  font-size: 18px;
}

.policy-body p,
.policy-body li {
  font-size: 16px;
  line-height: 1.65;
}

.policy-body p,
.policy-body ul {
  margin-top: 0;
}

.policy-body li + li {
  margin-top: var(--space-2);
}

.policy-body a {
  color: var(--accent-light);
}

.policy-callout {
  padding: var(--space-4);
  background: var(--accent-tint);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}

/* ---------- Current dark product theme ---------- */

.hero {
  padding: var(--space-24) 0 var(--space-16);
}

.hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: var(--space-16);
  align-items: center;
}

h1 {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.subcopy {
  color: #a6a6a6;
  line-height: 1.55;
}

.section-lede {
  max-width: 62ch;
  line-height: 1.6;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  padding: 0;
  margin: 0 0 var(--space-6);
  color: var(--text-secondary);
  list-style: none;
  font-size: 14px;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hero-proof li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent-light);
  border-radius: 1px;
}

.device-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.device-label span {
  width: 7px;
  height: 7px;
  background: var(--accent-light);
  border-radius: 50%;
}

.video-frame {
  border-color: var(--border-strong);
  box-shadow: none;
}

.hero-sprite-wrap {
  filter: none;
}

.pixel-dust {
  background-image: radial-gradient(var(--divider) 3px, transparent 3px);
}

.eyebrow::before {
  border-radius: 2px;
}

input[type="email"] {
  background: var(--bg-surface-high);
}

.section-kicker {
  margin: 0 0 var(--space-3);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-kicker--center {
  text-align: center;
}

.pain-points,
.features,
.pricing,
.showcase,
.final-cta {
  padding: var(--space-24) 0;
}

.how-it-works {
  padding: var(--space-24) 0;
}

.step,
.pricing-card,
.showcase-tile {
  background: var(--bg-surface-high);
}

.step-index {
  color: var(--accent-light);
  background: var(--accent-tint);
}

.feature-card {
  background: var(--bg-surface);
  transition:
    border-color var(--motion-row-press),
    background-color var(--motion-row-press);
}

.feature-card:hover {
  background: var(--bg-surface-high);
}

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

.pricing-card {
  text-align: left;
}

.pricing-card--highlight {
  box-shadow: none;
}

.pricing-badge {
  right: var(--space-4);
  left: auto;
  transform: none;
}

.final-cta {
  border-bottom: 1px solid var(--divider);
}

.final-cta p:not(.section-kicker) {
  margin: calc(var(--space-4) * -1) auto var(--space-6);
  color: var(--text-secondary);
}

.legal-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Privacy reads like part of the product, not a detached legal document. */

.privacy-page .site-header {
  position: sticky;
}

.privacy-page .site-header-row {
  justify-content: flex-start;
}

.privacy-page .brand {
  margin-right: 0;
}

.policy-hero {
  padding: var(--space-24) 0 var(--space-16);
  background: var(--bg-base);
}

.policy-hero .container {
  max-width: 1180px;
}

.policy-hero h1 {
  max-width: 10ch;
}

.policy-hero .subcopy {
  max-width: 62ch;
}

.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: space-between;
  gap: var(--space-16);
  padding-top: var(--space-16);
  padding-bottom: var(--space-24);
}

.policy-nav {
  align-self: start;
  position: sticky;
  top: 104px;
}

.policy-nav > p {
  margin: 0 0 var(--space-3);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-nav nav {
  display: grid;
  border-left: 1px solid var(--divider);
}

.policy-nav a {
  padding: 7px 0 7px var(--space-4);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.policy-nav a:hover,
.policy-nav a:focus-visible {
  color: var(--accent-light);
}

.policy-body {
  padding: 0;
}

.policy-body section {
  scroll-margin-top: 104px;
  margin-bottom: var(--space-16);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--divider);
}

.policy-body section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.policy-body h2 {
  font-size: 26px;
}

.policy-body p,
.policy-body li {
  color: #a6a6a6;
}

.policy-body strong,
.policy-body h3 {
  color: var(--text-primary);
}

.policy-body code {
  padding: 2px 6px;
  color: var(--accent-light);
  background: var(--accent-tint);
  border-radius: 5px;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.policy-callout {
  background: var(--bg-surface-high);
}

@media (max-width: 900px) {
  .hero {
    padding-top: var(--space-16);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .hero-copy {
    max-width: 720px;
  }

  .legal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .policy-nav {
    position: static;
  }

  .policy-nav nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header-row {
    min-height: 64px;
  }

  .nav-cta {
    padding-inline: var(--space-3);
  }

  .hero,
  .policy-hero {
    padding-top: var(--space-12);
  }

  .pain-points,
  .features,
  .pricing,
  .showcase,
  .final-cta,
  .how-it-works {
    padding: var(--space-16) 0;
  }

  .hero-sprite-wrap {
    left: -10px;
    bottom: -28px;
  }

  .pixel-dust {
    right: -16px;
  }

  .legal-grid,
  .policy-nav nav,
  .pricing-boundary {
    grid-template-columns: 1fr;
  }

  .policy-layout {
    padding-top: var(--space-12);
    padding-bottom: var(--space-16);
  }

  .policy-body section {
    margin-bottom: var(--space-12);
    padding-bottom: var(--space-12);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .video-frame,
  .brand-sprite-badge {
    animation: none;
  }
}
