/* The landing page (index.html). White, graphite and Tangerine: the app's colours (android ui/Color.kt), with
   the app's own cream only inside the phones, where it is the app. The other pages use site.css.
   Approved design: docs/superpowers/specs/2026-10-16-landing-page-live-ui-design.md. */

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/newsreader.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/newsreader-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #18140f;
  --muted: #57524d;
  --muted-2: #6e675e;
  --hint: #8a847e;
  --line: #eceae8;
  --line-2: #e7e5e4;
  --grey: #f4f4f4;
  --tangerine: #ff5a1f;
  --tangerine-bright: #ff6a33;
  --tangerine-text: #c2410c;
  --tangerine-on-dark: #ff8a5c;
  --peach: #ffe4d6;
  --peach-soft: #fff4ee;
  --graphite: #0f0e0d;
  --graphite-2: #1a1816;
  --graphite-3: #24211e;
  --graphite-line: #302c28;
  --on-graphite: #f6f3ef;
  --on-graphite-muted: #a39b90;
  --app-bg: #f7f5f2;
  --app-line: #ded8cf;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  /* The names consent.css reads, for a deploy with analytics. */
  --background: #ffffff;
  --text: var(--ink);
  --secondary: var(--muted-2);
  --border: var(--line-2);
  --primary: var(--tangerine-text);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--tangerine-text);
}

a:hover {
  color: #9a3412;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--tangerine);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.serif {
  font-family: var(--serif);
  font-weight: 500;
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.section-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: end;
}

/* ---------- Pieces of the app's own UI ---------- */

.mark {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 9px;
  background: var(--tangerine);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}

.bars i {
  width: 3px;
  height: 9px;
  border-radius: 2px;
  background: currentColor;
  animation: bar 0.8s ease-in-out infinite alternate;
  transform-origin: center;
}

.bars i:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.bars i:nth-child(3) { height: 10px; animation-delay: 0.3s; }
.bars i:nth-child(4) { height: 13px; animation-delay: 0.45s; }
.bars i:nth-child(5) { height: 7px; animation-delay: 0.6s; }

.caret {
  display: none;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  vertical-align: -0.12em;
  background: var(--tangerine);
  animation: blink 1s steps(2) infinite;
}

.phone {
  width: 336px;
  height: 700px;
  padding: 10px;
  border-radius: 52px;
  background: var(--ink);
  box-shadow: 0 50px 90px -36px rgba(24, 20, 15, 0.5), 0 0 0 1px rgba(24, 20, 15, 0.08);
}

.screen {
  height: 100%;
  border-radius: 43px;
  background: var(--app-bg);
  color: var(--ink);
  padding: 26px 18px 14px;
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 13px;
}

.app-bar b {
  flex: 1;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
}

.app-help {
  width: 21px;
  height: 21px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--app-bg);
  font: 800 13px/21px var(--sans);
  text-align: center;
}

.phone-dark .app-help {
  background: var(--on-graphite);
  color: var(--graphite);
}

.app-chips {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.chip-lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--peach);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.chip-lang::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tangerine);
}

.chip-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--app-line);
  font-size: 13px;
  font-weight: 600;
}

.tangerine-icon {
  color: var(--tangerine);
}

.chip-mode .chevron {
  color: var(--muted-2);
}

.phone-dark .tangerine-icon {
  color: var(--tangerine-bright);
}

.exp-prev {
  margin: 22px 2px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted-2);
}

.exp-prev b {
  color: var(--ink);
}

.exp-rule {
  height: 1px;
  margin: 14px 2px;
  background: var(--app-line);
}

.exp-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tangerine-text);
}

.exp-label .bars {
  display: none;
  height: 9px;
  color: var(--tangerine);
}

.exp-label .bars i {
  height: 9px;
}

.exp-now {
  margin: 8px 2px 0;
  font-size: 17px;
  line-height: 1.48;
}

.has-js .is-writing .caret,
.has-js .is-typing .caret {
  display: inline-block;
}

.has-js .is-writing .exp-label .bars {
  display: inline-flex;
}

.grow {
  flex: 1;
}

.disclaimer {
  margin: 0 2px 9px;
  font-size: 10px;
  line-height: 1.4;
  color: var(--muted-2);
}

.dock {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 10px 16px;
  border-radius: 22px;
  background: var(--ink);
  color: var(--on-graphite);
}

.dock-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 12.5px;
  white-space: nowrap;
}

.dock-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--tangerine-bright);
}

.dock-state .bars {
  height: 12px;
}

.dock-state .bars i {
  width: 2.5px;
}

.dock-pause {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(246, 243, 239, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.dock-pause::before,
.dock-pause::after {
  content: '';
  width: 3px;
  height: 12px;
  border-radius: 1px;
  background: currentColor;
}

.dock-stop {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--app-bg);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.dock-stop::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: currentColor;
}

/* The app's dark theme: its dock turns light. */
.phone-dark {
  background: #050504;
  border: 1px solid var(--graphite-line);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9);
}

.phone-dark .screen {
  background: var(--graphite);
  color: var(--on-graphite);
}

.phone-dark .chip-lang {
  background: #3a1c0f;
}

.phone-dark .chip-lang::before {
  background: var(--tangerine-bright);
}

.phone-dark .chip-mode {
  background: var(--graphite-2);
  border-color: var(--graphite-line);
}

.phone-dark .exp-prev {
  color: var(--on-graphite-muted);
}

.phone-dark .exp-prev b {
  color: var(--on-graphite);
}

.phone-dark .exp-rule {
  background: var(--graphite-line);
}

.phone-dark .exp-label {
  color: var(--tangerine-on-dark);
}

.phone-dark .caret {
  background: var(--tangerine-bright);
}

.phone-dark .dock {
  background: var(--on-graphite);
  color: var(--ink);
}

.phone-dark .dock-state {
  color: var(--tangerine-text);
}

.phone-dark .dock-pause {
  border-color: rgba(24, 20, 15, 0.2);
}

.phone-dark .dock-stop {
  background: var(--ink);
  color: var(--on-graphite);
}

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

.btn-dark {
  height: 56px;
  padding: 0 28px;
  border-radius: 28px;
  background: var(--ink);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow:hover {
  color: var(--tangerine-text);
}

/* ---------- Navigation ---------- */

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 16px 24px 0;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  width: 100%;
  max-width: 1080px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(24, 20, 15, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--on-graphite);
  box-shadow: 0 14px 36px -16px rgba(24, 20, 15, 0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: inherit;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.nav-links a {
  color: #cfc8bf;
  text-decoration: none;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--tangerine);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

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

.hero {
  position: relative;
  padding: 80px 24px 56px;
  text-align: center;
  overflow: hidden;
}

.soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  color: #3d3730;
}

.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tangerine);
}

.live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--tangerine);
  animation: pulse 1.8s ease-out infinite;
}

.hero-title {
  max-width: 1000px;
  margin: 24px auto 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 5.6vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-title em {
  font-style: normal;
  color: var(--tangerine);
}

.hero-lede {
  max-width: 600px;
  margin: 24px auto 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 22px;
  margin-top: 32px;
}

.rise {
  animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.rise-2 {
  animation-delay: 0.1s;
}

.rise-3 {
  animation-delay: 0.2s;
}

.stage {
  position: relative;
  max-width: 1200px;
  height: 770px;
  margin: 64px auto 0;
}

/* Decoration never takes a click: the outer ring reaches over the example tabs. */
.glow,
.ring,
.terms,
.finale-terms {
  pointer-events: none;
}

/* The sticky nav covers the top of a section reached from its links. */
section[id] {
  scroll-margin-top: 96px;
}

.glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1000px;
  height: 760px;
  margin: -380px 0 0 -500px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, 0.24), rgba(255, 90, 31, 0.09) 55%, rgba(255, 90, 31, 0));
  animation: breathe 6s ease-in-out infinite;
}

.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 90, 31, 0.22);
}

.ring-1 {
  width: 640px;
  height: 640px;
  margin: -320px 0 0 -320px;
}

.ring-2 {
  width: 860px;
  height: 860px;
  margin: -430px 0 0 -430px;
  border-color: rgba(255, 90, 31, 0.12);
}

.stage .phone {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 24px;
  margin-left: -168px;
}

.float {
  position: absolute;
  z-index: 3;
  text-align: left;
}

.card {
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(24, 20, 15, 0.06);
  box-shadow: 0 30px 60px -28px rgba(24, 20, 15, 0.4);
}

.float-a { animation: float 6s ease-in-out infinite; }
.float-b { animation: float 7s ease-in-out -2s infinite; }
.float-c { animation: float 8s ease-in-out -4s infinite; }
.float-d { animation: float 6.5s ease-in-out -1s infinite; }

.card-heard {
  left: 30px;
  top: 104px;
  width: 310px;
  padding: 16px 18px 18px;
}

.card-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.card-label .bars {
  color: var(--tangerine);
}

.card-label time {
  margin-left: auto;
  letter-spacing: 0;
  font-weight: 500;
  color: #a8a29e;
  font-variant-numeric: tabular-nums;
}

.heard {
  margin-top: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.32;
}

.card-sheet {
  right: 30px;
  top: 70px;
  width: 290px;
  padding: 18px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sheet-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
}

.sheet-note {
  font-size: 12px;
  color: var(--muted-2);
}

.mini-mode {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  font-size: 14px;
  font-weight: 600;
}

.mini-name {
  flex: 1;
}

.mini-mode.is-on {
  padding: 10px 12px;
  border: 2px solid var(--tangerine);
  background: var(--peach-soft);
}

.icon-chip {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  background: var(--peach);
  color: var(--tangerine-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.is-on .icon-chip {
  background: var(--tangerine);
  color: var(--ink);
}

.radio {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  border: 2px solid #d6d3d1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.is-on .radio,
[aria-pressed='true'] .radio {
  border-color: var(--tangerine);
}

.is-on .radio::after,
[aria-pressed='true'] .radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tangerine);
}

.card-langs {
  left: 120px;
  top: 470px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.float-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line-2);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 18px 36px -20px rgba(24, 20, 15, 0.32);
}

.float-chip.chip-lang {
  border-color: transparent;
  background: var(--peach);
}

.float-chip:nth-child(2) {
  margin-left: 36px;
}

.float-chip:nth-child(3) {
  margin-left: 12px;
}

.card-history {
  right: 60px;
  top: 420px;
  width: 330px;
  padding: 16px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-history-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 4px 6px;
}

.card-history-head small {
  font-size: 12px;
  color: #a8a29e;
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-top: 1px solid #f0eeec;
}

.row-icon {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 11px;
  background: var(--peach);
  color: var(--tangerine-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.row-text b {
  font-size: 14px;
}

.row-text small {
  font-size: 12px;
  color: var(--muted-2);
}

.row.is-locked {
  opacity: 0.6;
}

.row.is-locked .row-icon {
  background: var(--grey);
  color: var(--muted-2);
}

.row.is-locked small {
  color: var(--tangerine-text);
}

.demo-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
  padding: 5px;
  border-radius: 999px;
  background: var(--grey);
  border: 1px solid #ececec;
}

.demo-tabs button {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 19px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.demo-tabs button[aria-pressed='true'] {
  background: var(--ink);
  color: #ffffff;
}

.demo-hint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--hint);
}

/* ---------- Terms band ---------- */

.terms {
  overflow: hidden;
  padding: 20px 0 72px;
  border-bottom: 1px solid #f0eeec;
}

.terms-track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquee 48s linear infinite;
}

.terms-track li {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 34px;
  color: #b8b2ac;
  white-space: nowrap;
}

.terms-track li::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tangerine);
  opacity: 0.7;
}

/* ---------- Graphite sections ---------- */

.dark {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
  color: var(--on-graphite);
  padding: 128px 24px;
}

.dark .section-lede {
  color: var(--on-graphite-muted);
}

.dark-glow {
  position: absolute;
  right: -180px;
  top: 50%;
  width: 900px;
  height: 900px;
  margin-top: -450px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, 0.22), rgba(255, 90, 31, 0));
  pointer-events: none;
}

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

.how-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.how-grid .section-lede {
  max-width: 420px;
  margin-top: 18px;
}

.steps {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--graphite-line);
}

.step {
  display: block;
  width: 100%;
  padding: 0 0 24px;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  opacity: 0.42;
  transition: opacity 0.35s;
}

.step.is-active {
  opacity: 1;
}

.step-track {
  display: block;
  height: 2px;
  margin-bottom: 20px;
  border-radius: 2px;
  background: var(--graphite-line);
  overflow: hidden;
}

.step-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 2px;
  background: var(--tangerine);
}

.has-js .step.is-active .step-fill {
  animation: fill 5.5s linear forwards;
}

/* landing.js marks a section that has scrolled away: the player waits for the reader to come back. */
.is-offscreen .step-fill {
  animation-play-state: paused !important;
}

.step-body {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
}

.step-num {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  color: var(--tangerine-on-dark);
}

.step-words {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-words b {
  font-size: 20px;
  font-weight: 600;
}

.step-words span {
  font-size: 16px;
  line-height: 1.55;
  color: var(--on-graphite-muted);
}

.how-phone {
  display: flex;
  justify-content: center;
}

.how-phone .phone {
  width: 330px;
  height: 690px;
}

.how-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.how-screen[hidden] {
  display: none;
}

.mode-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 12px;
  border-radius: 18px;
  background: var(--graphite-2);
  border: 1px solid var(--graphite-line);
}

.mode-row .icon-chip {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--tangerine-bright);
  color: var(--graphite);
}

.mode-row span {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 600;
}

.mode-row small {
  font-size: 12px;
  font-weight: 400;
  color: var(--on-graphite-muted);
}

.ready {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 0 8px;
  text-align: center;
}

.ready b {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
}

.ready span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--on-graphite-muted);
}

.dock-ready {
  justify-content: space-between;
  padding: 12px 12px 12px 18px;
}

.dock-ready .dock-text b {
  font-size: 13.5px;
}

.dock-ready .dock-text small {
  font-size: 12.5px;
  color: var(--muted-2);
}

.dock-start {
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-graphite);
  font-size: 15px;
  font-weight: 700;
}

.history-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.how-screen .row {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--graphite-line);
  border-radius: 18px;
  background: var(--graphite-2);
}

.how-screen .row-icon {
  background: #3a1c0f;
  color: var(--tangerine-on-dark);
}

.how-screen .row small {
  color: var(--on-graphite-muted);
}

.how-screen .row.is-locked .row-icon {
  background: var(--graphite-3);
  color: var(--on-graphite-muted);
}

.how-screen .row.is-locked small {
  color: var(--tangerine-on-dark);
}

.upgrade {
  align-self: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--tangerine-bright);
  color: var(--tangerine-on-dark);
  font-size: 14px;
  font-weight: 600;
}

.how-screen > .rise:nth-of-type(2) { animation-delay: 0.08s; }
.how-screen > .rise:nth-of-type(3) { animation-delay: 0.16s; }
.how-screen > .rise:nth-of-type(4) { animation-delay: 0.24s; }

/* ---------- Modes ---------- */

.modes {
  padding: 128px 24px;
}

.modes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  margin-top: 56px;
  align-items: stretch;
}

.sheet {
  padding: 24px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -48px rgba(24, 20, 15, 0.35);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sheet-head {
  padding: 0 4px 6px;
}

.sheet-head b {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

.sheet-head span {
  font-size: 13px;
  color: var(--muted-2);
}

.mode {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}

.mode:hover {
  border-color: #d6d3d1;
}

.mode[aria-pressed='true'] {
  padding: 11px 13px;
  border: 2px solid var(--tangerine);
  background: var(--peach-soft);
}

.mode .icon-chip {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  transition: background 0.25s;
}

.mode[aria-pressed='true'] .icon-chip {
  background: var(--tangerine);
  color: var(--ink);
}

.mode .radio {
  width: 20px;
  height: 20px;
}

.mode-words {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mode-words b {
  font-size: 15px;
  font-weight: 600;
}

.mode-words span {
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted-2);
}

.read-aloud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding: 14px 6px 2px;
  border-top: 1px solid #f0eeec;
  font-size: 15px;
}

.switch {
  width: 50px;
  height: 30px;
  padding: 3px;
  border-radius: 999px;
  border: 2px solid #d6d3d1;
  display: flex;
  align-items: center;
}

.switch::after {
  content: '';
  width: 18px;
  height: 18px;
  margin-left: 2px;
  border-radius: 50%;
  background: #d6d3d1;
}

.preview {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 30px;
  background: var(--graphite);
  color: var(--on-graphite);
  display: flex;
  flex-direction: column;
}

.preview-glow {
  position: absolute;
  left: -120px;
  bottom: -200px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, 0.2), rgba(255, 90, 31, 0));
  pointer-events: none;
}

.preview .card-label {
  position: relative;
  color: var(--on-graphite-muted);
}

.preview .card-label .bars {
  color: var(--tangerine-bright);
}

.preview .heard {
  position: relative;
  margin-top: 12px;
  font-size: 23px;
  line-height: 1.35;
}

.writes {
  position: relative;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--graphite-line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tangerine-on-dark);
}

.outputs {
  position: relative;
  margin-top: 14px;
}

.output {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.output[hidden] {
  display: none;
}

.output p {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--graphite-2);
  border: 1px solid var(--graphite-line);
  font-size: 17px;
  line-height: 1.5;
  animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.output p:nth-child(2) { animation-delay: 0.12s; }
.output p:nth-child(3) { animation-delay: 0.24s; }

.output p.decided {
  background: #3a1c0f;
  border-color: #5c2a14;
}

.output p.decided b {
  color: var(--tangerine-on-dark);
}

/* ---------- Languages ---------- */

.langs {
  padding: 0 24px 128px;
}

.langs-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 64px;
  border-radius: 34px;
  background: var(--grey);
}

.lang-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.lang-title strong {
  font-weight: 500;
  color: var(--tangerine);
}

.lang-title .caret {
  display: inline-block;
  width: 3px;
  height: 0.8em;
  margin-left: 6px;
  vertical-align: -0.06em;
}

.langs-band .section-lede {
  max-width: 440px;
  margin-top: 22px;
}

.lang-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lang-list li {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #e4e4e4;
  background: #ffffff;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.3s, border-color 0.3s;
}

.lang-list li.is-active {
  border-color: var(--tangerine);
  background: var(--tangerine);
}

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

.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr) 120px minmax(0, 1fr);
  align-items: center;
  margin-top: 72px;
}

.node {
  padding: 24px;
  border-radius: 24px;
  background: var(--graphite-2);
  border: 1px solid var(--graphite-line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.node .icon-chip {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #3a1c0f;
  color: var(--tangerine-on-dark);
}

.node b {
  font-size: 18px;
  font-weight: 600;
}

.node span {
  font-size: 15px;
  line-height: 1.5;
  color: var(--on-graphite-muted);
}

.node .stops {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #5c2a14;
  color: var(--tangerine-on-dark);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.node.is-us {
  border-color: var(--tangerine);
  box-shadow: 0 0 0 6px rgba(255, 90, 31, 0.08);
}

.node.is-us .icon-chip {
  background: var(--tangerine);
  color: var(--ink);
}

.wire {
  position: relative;
  height: 2px;
  margin: 0 6px;
  background: var(--graphite-line);
}

.wire::before,
.wire::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tangerine-bright);
  box-shadow: 0 0 14px var(--tangerine);
  opacity: 0;
  animation: flow 2.6s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.wire::after {
  animation-delay: 1.3s;
}

.wire span {
  position: absolute;
  left: 50%;
  top: -30px;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-graphite-muted);
  white-space: nowrap;
}

.points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  padding-top: 20px;
  border-top: 1px solid var(--graphite-line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.points b {
  font-size: 16px;
  font-weight: 600;
}

.points span {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--on-graphite-muted);
}

.privacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 40px;
  font-size: 15px;
  font-weight: 600;
}

.privacy-links a {
  color: var(--tangerine-on-dark);
  text-decoration: none;
}

.privacy-links a:hover {
  color: #ffffff;
}

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

.pricing {
  padding: 128px 24px;
  text-align: center;
}

.pricing .section-title {
  max-width: 760px;
  margin: 0 auto;
}

.pricing .section-lede {
  max-width: 560px;
  margin: 18px auto 0;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.plan {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan > * {
  position: relative;
}

.plan-kind {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.plan-size {
  font-family: var(--serif);
  font-size: clamp(36px, 3.4vw, 46px);
  white-space: nowrap;
  font-weight: 500;
  line-height: 1;
}

.plan-size small {
  font-size: 0.48em;
  letter-spacing: 0;
}

.plan-note {
  font-size: 14px;
  color: var(--muted-2);
}

.plan-price {
  margin-top: auto;
  padding-top: 18px;
  font-size: 22px;
  font-weight: 600;
}

.plan-price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted-2);
}

.plan-free {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-graphite);
}

.plan-free::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, 0.35), rgba(255, 90, 31, 0));
}

.plan-free .plan-kind {
  color: var(--tangerine-on-dark);
}

.plan-free .plan-note {
  color: var(--on-graphite-muted);
}

/* ---------- Closing block ---------- */

.finale-wrap {
  padding: 0 24px 24px;
}

.finale {
  position: relative;
  overflow: hidden;
  max-width: 1392px;
  margin: 0 auto;
  padding: 120px 40px;
  border-radius: 40px;
  background: var(--tangerine);
  color: var(--ink);
  text-align: center;
}

.finale-terms {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
}

.finale-terms-top {
  top: 34px;
}

.finale-terms-bottom {
  bottom: 34px;
}

.finale-terms .terms-track li {
  font-size: 40px;
  color: rgba(24, 20, 15, 0.12);
}

.finale-terms .terms-track li::after {
  background: rgba(24, 20, 15, 0.12);
  opacity: 1;
}

.finale-terms-bottom .terms-track {
  animation-duration: 60s;
  animation-direction: reverse;
}

.finale h2 {
  position: relative;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.finale h2 span {
  color: #ffffff;
}

.finale .hero-actions {
  position: relative;
  margin-top: 40px;
}

.finale .hero-actions small {
  font-size: 15px;
  font-weight: 600;
}

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

footer.site {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 24px 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  font-size: 14px;
  color: var(--muted-2);
}

footer.site .brand {
  color: var(--ink);
  font-size: 20px;
}

footer.site .mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

footer.site nav a {
  color: var(--muted-2);
}

footer.site p {
  width: 100%;
  font-size: 13px;
}

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

/* ---------- Animations ---------- */

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.4; } 50% { transform: scale(2); opacity: 0; } }
@keyframes bar { from { transform: scaleY(0.3); } to { transform: scaleY(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes flow { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fill { from { width: 0; } to { width: 100%; } }

/* ---------- Smaller screens ---------- */

@media (max-width: 1080px) {
  .card-sheet,
  .card-history,
  .card-langs {
    display: none;
  }

  .card-heard {
    left: 0;
    top: 60px;
    width: 280px;
  }

  .how-grid,
  .modes-grid,
  .langs-band,
  .split-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .how-grid {
    gap: 56px;
  }

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

  .flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .wire {
    width: 2px;
    height: 72px;
    margin: 0 auto;
  }

  .wire::before,
  .wire::after {
    left: -4px;
    animation-name: flow-down;
  }

  .wire span {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
  }
}

@keyframes flow-down { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }

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

  .hero {
    padding: 56px 20px 40px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .stage {
    height: auto;
    margin-top: 40px;
    padding-top: 150px;
  }

  .glow {
    width: 640px;
    height: 640px;
    margin: -320px 0 0 -320px;
  }

  .ring-1 {
    width: 440px;
    height: 440px;
    margin: -220px 0 0 -220px;
  }

  .ring-2 {
    display: none;
  }

  .card-heard {
    left: 50%;
    top: 0;
    width: min(320px, 100%);
    transform: translateX(-50%);
    animation: none;
  }

  .stage .phone {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 auto;
    width: 310px;
    height: 640px;
  }

  /* At this size the hero phone's dock has room for the time left and Stop, not the pause button too. */
  .stage .dock-pause {
    display: none;
  }

  .demo-tabs {
    flex-wrap: nowrap;
    gap: 2px;
  }

  .demo-tabs button {
    padding: 0 12px;
    font-size: 13px;
  }

  .dark,
  .modes,
  .pricing {
    padding: 88px 20px;
  }

  .langs {
    padding: 0 20px 88px;
  }

  .langs-band {
    padding: 36px 24px;
  }

  .how-phone .phone {
    width: 300px;
    height: 630px;
  }

  .sheet,
  .preview {
    padding: 20px;
  }

  .plans,
  .points {
    grid-template-columns: minmax(0, 1fr);
  }

  .finale {
    padding: 96px 24px 116px;
    border-radius: 28px;
  }

  .finale-terms-bottom {
    bottom: 24px;
  }

  .finale-wrap {
    padding: 0 12px 12px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .wire::before {
    left: calc(50% - 5px);
    opacity: 1;
  }
}
