/* VoMini website — styles ported from the Claude Design project "VoMini Website". */

:root {
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --text: #1C1C1E;
  --muted: #6E6E73;
  --line: #EBEBED;
  --line-strong: #DCDCE0;

  --amber: #D97706;
  --amber-dark: #B05508;
  --amber-darker: #8A4306;
  --cream: #FFF4DC;
  --cream-light: #FFFBF1;

  --green: #5B8A3E;
  --green-dark: #3F7A26;
  --green-bg: #EEF4E8;
  --red: #C4342D;

  --tint-sage: #F7FAF3;
  --tint-sand: #FBF8F2;
  --tint-sky: #F6F9FB;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Roboto, "Helvetica Neue", system-ui, sans-serif;
  --container: 1200px;
  --header-h: 64px;
}

/* ---------- Base ---------- */

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

html { scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

a { color: inherit; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 12px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.link { color: var(--amber-dark); font-weight: 600; }
.link:hover { color: var(--amber-darker); }

/* Yellow chip for content that still has to be filled in before launch. */
.todo {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--amber-dark);
  font-weight: 600;
}

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

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

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header--sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 250, 250, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 24px);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); }
@media (max-width: 720px) {
  .nav-links { display: none; }
}

.btn-soft {
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: transform 120ms ease;
}
.btn-soft:active { transform: scale(0.97); }

.back-link {
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.back-link:hover { color: var(--text); }

/* ---------- Store badges ---------- */

.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.badges--center { justify-content: center; }

.badge {
  height: 56px;
  padding: 0 20px 0 16px;
  border-radius: 12px;
  background: #000000;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  text-align: left;
  transition: transform 120ms ease;
}
.badge:hover { color: #FFFFFF; transform: translateY(-1px); }
.badge:active { transform: scale(0.97); }
.badge__text { display: flex; flex-direction: column; line-height: 1.1; }
.badge__small { font-size: 12px; font-weight: 500; }
.badge__big { font-size: 21px; font-weight: 600; letter-spacing: -0.3px; }

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

.hero {
  background: linear-gradient(180deg, #F2F7FB 0%, #F6FAFC 55%, var(--bg) 100%);
  overflow: hidden;
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 80px) 20px clamp(64px, 9vw, 96px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(40px, 6vw, 64px);
}
.hero__copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--green-dark);
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -1.5px;
}
.hero__lead {
  max-width: 520px;
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
  color: var(--muted);
}
.hero__note { font-size: 14px; line-height: 20px; color: var(--muted); }

/* Phone mock-up */
.hero__visual {
  flex: 1 1 360px;
  display: flex;
  justify-content: center;
  position: relative;
}
.hero__halo {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--cream);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.phone {
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 320 / 652;
  border-radius: 48px;
  background: var(--text);
  padding: 10px;
  box-shadow: 0 40px 80px rgba(28, 28, 30, 0.18);
}
.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 52px 16px 20px;
  position: relative;
}
.phone__island {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  border-radius: 14px;
  background: #000000;
}
.phone__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}
.phone__lives { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }
.phone__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  margin-top: 12px;
}
.phone__word {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}
.phone__options { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.option {
  height: 44px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
}
.option--correct {
  background: var(--green-bg);
  box-shadow: inset 0 0 0 2px var(--green);
  font-weight: 600;
}

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

.langs {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.langs__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  font-size: 15px;
  font-weight: 600;
}
.langs__label { color: var(--muted); }
.langs__item { display: flex; align-items: center; gap: 8px; }
.langs__item img { width: 24px; height: 16px; border-radius: 3px; object-fit: cover; }
.langs__item img.flag-light { box-shadow: 0 0 0 1px var(--line); }
.langs__more { color: var(--amber-dark); }

/* ---------- Section heading ---------- */

.section-head {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--amber-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.h2 {
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.section-lead { font-size: 18px; line-height: 28px; color: var(--muted); }

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

.modes { padding-top: clamp(64px, 10vw, 112px); padding-bottom: clamp(24px, 4vw, 48px); }
.modes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}
.mode-card {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mode-card h3 { font-size: 22px; line-height: 30px; font-weight: 700; }
.mode-card p { font-size: 16px; line-height: 24px; color: var(--muted); }
.mode-card__art {
  height: 200px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.mode-card__art--guess { background: var(--tint-sage); gap: 12px; }
.mode-card__art--spell { background: var(--tint-sand); flex-direction: column; }
.mode-card__art--speak { background: var(--tint-sky); flex-direction: column; }

.mini-card { width: 120px; height: 120px; border-radius: 16px; object-fit: cover; }
.mini-options { display: flex; flex-direction: column; gap: 6px; }
.mini-option {
  width: 96px;
  height: 28px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding-left: 10px;
}
.mini-option--correct {
  box-shadow: inset 0 0 0 2px var(--green);
  background: var(--green-bg);
  font-weight: 600;
}

.tiles { display: flex; gap: 4px; }
.tile {
  width: 32px;
  height: 40px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 -2px 0 var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
}
.tile--active { box-shadow: inset 0 0 0 2px var(--amber); color: var(--amber-dark); }
.tiles__hint { font-size: 14px; color: var(--muted); }

.wave { display: flex; align-items: center; gap: 4px; height: 40px; }
.wave span { width: 4px; border-radius: 2px; background: var(--line-strong); }
.wave span.on { background: var(--amber); }
.mic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Topics + streak ---------- */

.features {
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(64px, 10vw, 112px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 24px;
}
.feature {
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature--topics { background: var(--tint-sage); overflow: hidden; }
.feature--streak { background: var(--cream); }
.feature h3 { font-size: 30px; line-height: 38px; font-weight: 700; letter-spacing: -0.4px; }
.feature p { font-size: 17px; line-height: 26px; color: var(--muted); }

.topics { display: flex; gap: 12px; margin-top: 16px; }
.topics img {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 0 0 4px var(--surface);
}
.topics img.is-next { filter: grayscale(0.4); }
.topics img.is-locked { filter: grayscale(1); opacity: 0.6; }

.streak {
  margin-top: 16px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.streak__count { display: flex; align-items: center; gap: 12px; }
.streak__num { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.streak__label { font-size: 15px; color: var(--muted); }
.streak__week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.streak__week span {
  height: 36px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 500;
}
.streak__week span.done { background: var(--cream); color: var(--amber-dark); font-weight: 600; }
.streak__week span.today { box-shadow: inset 0 0 0 2px var(--amber); color: var(--text); font-weight: 600; }

/* ---------- Premium ---------- */

.premium {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.premium__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(64px, 10vw, 112px) 20px;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 6vw, 64px);
  align-items: flex-start;
}
.premium__copy {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.premium__icon {
  align-self: flex-start;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.premium__fine { font-size: 15px; line-height: 22px; color: var(--muted); }
.premium__table-wrap {
  flex: 1 1 440px;
  min-width: 0;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}

.plans { width: 100%; border-collapse: collapse; font-size: 16px; }
.plans thead tr { background: var(--bg); }
.plans thead th {
  padding: 18px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.plans thead th:first-child { text-align: left; padding: 18px 24px; }
.plans thead th.is-premium { font-weight: 700; color: var(--amber-dark); background: var(--cream); }
.plans tbody tr { border-top: 1px solid var(--line); }
.plans tbody th { text-align: left; padding: 20px 24px; font-weight: 600; }
.plans tbody th small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.plans td { text-align: center; padding: 20px 16px; color: var(--muted); }
.plans td.is-premium { font-weight: 600; color: var(--text); background: var(--cream-light); }
@media (max-width: 520px) {
  .plans th, .plans td { padding-left: 12px !important; padding-right: 12px !important; font-size: 15px; }
  .plans tbody th { padding-left: 16px !important; }
}

/* ---------- FAQ ---------- */

.faq { max-width: 800px; margin: 0 auto; padding: clamp(64px, 10vw, 112px) 20px; }
.faq .h2 { margin-bottom: 32px; }
.faq__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 18px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex-shrink: 0; transition: transform 200ms ease; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin: 0 0 24px; font-size: 16px; line-height: 26px; color: var(--muted); }
.faq__more { margin-top: 32px; font-size: 16px; line-height: 26px; color: var(--muted); }

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

.cta { padding-bottom: clamp(64px, 10vw, 112px); }
.cta__box {
  border-radius: 32px;
  background: linear-gradient(180deg, #F2F7FB 0%, #F6FAFC 100%);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: clamp(40px, 7vw, 64px) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.cta__logo { width: 80px; height: 80px; border-radius: 20px; box-shadow: 0 12px 32px rgba(28, 28, 30, 0.12); }
.cta h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; font-weight: 700; letter-spacing: -0.6px; }
.cta p { max-width: 480px; font-size: 18px; line-height: 28px; color: var(--muted); }

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

.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.site-footer__copy { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.site-footer__copy img { width: 24px; height: 24px; border-radius: 6px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; font-weight: 500; }
.site-footer nav a { color: var(--muted); text-decoration: none; padding: 12px 0; }
.site-footer nav a:hover { color: var(--text); }

/* ---------- Legal pages (Privacy, Terms, Delete account) ---------- */

.doc {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 72px) 20px clamp(64px, 10vw, 112px);
}
.doc__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.doc__head h1 { font-size: clamp(36px, 4.4vw, 52px); line-height: 1.1; font-weight: 700; letter-spacing: -1px; }
.doc__updated { font-size: 15px; color: var(--muted); }
.doc__lead { font-size: clamp(17px, 1.8vw, 19px); line-height: 1.6; color: var(--muted); }

.doc__layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
  gap: clamp(32px, 5vw, 48px);
  align-items: start;
}
.doc__body { display: flex; flex-direction: column; gap: clamp(32px, 5vw, 40px); min-width: 0; }
.doc__body section { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.doc__body h2 { font-size: clamp(21px, 2.4vw, 24px); line-height: 1.33; font-weight: 700; letter-spacing: -0.3px; }
.doc__body p, .doc__body li { font-size: 17px; line-height: 28px; }
.doc__body a { color: var(--amber-dark); }
.doc__body a:hover { color: var(--amber-darker); }

.doc__body h3 { font-size: 18px; line-height: 26px; font-weight: 700; margin-top: 8px; }
.doc__body ul,
.doc__body ol:not(.steps) {
  margin: 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doc__body li::marker { color: var(--muted); }

.note {
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--cream);
  font-size: 16px;
  line-height: 26px;
}
.note--strong { box-shadow: inset 0 0 0 2px var(--amber); font-weight: 600; }

.contact-card {
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.contact-card p { font-size: 16px; line-height: 26px; }

.doc-table {
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--line);
  overflow-x: auto;
}
.doc-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.doc-table th, .doc-table td { text-align: left; vertical-align: top; padding: 12px 16px; }
.doc-table thead th { background: var(--bg); color: var(--muted); font-weight: 600; font-size: 14px; }
.doc-table tbody tr { border-top: 1px solid var(--line); }

/* The aside stretches to the article's height so the TOC can stay sticky. */
.doc__aside { align-self: stretch; min-width: 0; }

.toc {
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 16px 20px;
}
.toc__title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}
.toc a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  text-decoration: none;
}
.toc a:hover { color: var(--text); }

/* Narrow screens: one column, table of contents above the text (as in the design). */
@media (max-width: 880px) {
  .doc__layout { grid-template-columns: minmax(0, 1fr); }
  .doc__aside { order: -1; }
  .toc { position: static; max-height: none; }
}

/* Numbered steps (Delete account) */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: step; }
.steps li { display: flex; align-items: flex-start; gap: 12px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--amber-dark);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- 404 ---------- */

.not-found {
  min-height: calc(100vh - var(--header-h) - 97px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding: 64px 20px;
}
.not-found p { max-width: 420px; font-size: 18px; line-height: 28px; color: var(--muted); }
