/* Miravok site styles. One file for every page.
   Visual rules: the word being learned is always in school cursive (.script),
   the English sound-alike is always highlighted (<mark>), the meaning is always bold.
   Handwritten notes (.note) use a marker font, never the school cursive.
   The cursive font is set per page (--script), since each language has its own school hand.

   Page order (both pages): hero, proof bar, old way / new way, benefits, how it works,
   demo and test, research, what you get, pricing, team, FAQ, final call to action. */

:root {
  --paper: #fbf8f2;
  --paper-2: #f4efe4;
  --surface: #ffffff;
  --ink: #1e1b16;
  --ink-2: #4a443b;
  --muted: #6d665b;
  --rule: #e4dccd;
  --red: #d4432c;
  --red-dark: #b2341f;
  --blue: #2b4cc2;
  --marker: #ffe15a;
  --good: #1f7a4c;
  --good-wash: #e3f3e8;
  --bad: #c23b26;
  --bad-wash: #fbe7e2;
  --shadow: 0 1px 2px rgba(30, 27, 22, .06), 0 8px 24px rgba(30, 27, 22, .08);
  --shadow-lift: 0 2px 4px rgba(30, 27, 22, .08), 0 18px 40px rgba(30, 27, 22, .14);
  --radius: 18px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Playwrite FR Moderne", "Segoe Script", "Apple Chancery", cursive;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --gutter: clamp(16px, 4vw, 32px);
  --wide: 1140px;
  --narrow: 720px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 720px) { body { font-size: 1.125rem; } }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-optical-sizing: auto; color: var(--ink); margin: 0; text-wrap: balance; }
p, li, summary { text-wrap: pretty; }
h1 { font-weight: 700; font-size: clamp(2.5rem, 1.4rem + 4.1vw, 4.6rem); line-height: 1.02; letter-spacing: -.028em; }
h2 { font-weight: 650; font-size: clamp(2rem, 1.35rem + 2.5vw, 3.15rem); line-height: 1.06; letter-spacing: -.022em; }
h3 { font-weight: 650; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.12rem, 1.04rem + .4vw, 1.3rem); line-height: 1.55; color: var(--ink-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 700 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--red);
  margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; }
h1 .script, h2 .script { font-size: .82em; }
mark {
  color: inherit; padding: 0 .12em; border-radius: .2em;
  background: linear-gradient(100deg, transparent 0 1%, var(--marker) 3% 96%, transparent 99%) no-repeat 0 62% / 100% 58%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
strong { font-weight: 750; }
.muted { color: var(--muted); }
.fill { border-bottom: 2px dashed var(--red); color: var(--red); font-weight: 700; } /* text the owner still has to write */

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), var(--narrow)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--alt { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #f3eee4; }
.section--ink h2, .section--ink h3 { color: #fffaf0; }
.section--ink .lead, .section--ink .muted { color: #cfc6b6; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 + p { margin-top: 1.1rem; }
.prose p { font-size: 1.1em; line-height: 1.65; }
.prose p.eyebrow { font-size: .78rem; line-height: 1; margin-bottom: 1.1rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 248, 242, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__name { font: 700 1.4rem/1 var(--display); letter-spacing: -.02em; }
.logo__tag { font: 600 .8rem/1 var(--body); color: var(--muted); padding: 5px 9px; border: 1px solid var(--rule); border-radius: 99px; margin-left: 4px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }
@media (max-width: 520px) { .logo__tag { display: none; } }

/* ---------- buttons and forms ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.5em; border: 0; border-radius: 12px;
  background: var(--bg); color: var(--fg); font: 750 1.02rem/1 var(--body); letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 6px 16px rgba(212, 67, 44, .28);
  transition: transform .15s, background-color .15s, box-shadow .15s;
}
.btn:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--small { min-height: 40px; padding: 0 1.05em; font-size: .92rem; border-radius: 10px; box-shadow: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { --bg: #fffaf0; --fg: var(--ink); box-shadow: none; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--block { width: 100%; white-space: normal; text-align: center; line-height: 1.15; padding: 10px 14px; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

.signup { max-width: 560px; }
.signup__row { display: flex; flex-wrap: wrap; gap: 10px; }   /* a long button drops below the field */
.signup input[type="email"], .signup select {
  flex: 1 1 11em; min-width: 0; min-height: 52px; padding: 0 16px;
  border: 2px solid var(--ink); border-radius: 12px; background: var(--surface);
  font: 500 1.02rem/1 var(--body); color: var(--ink);
}
.signup select { flex: none; width: 100%; margin-bottom: 10px; appearance: none; cursor: pointer;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231e1b16' stroke-width='2.2'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 44px; }
.signup input::placeholder { color: #9a9284; }
.signup input:focus, .signup select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43, 76, 194, .15); }
.signup .fine { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.signup__done { display: none; padding: 18px 20px; border-radius: 14px; background: var(--good-wash); color: #14532f; font-weight: 600; }
.signup__done strong { display: block; font: 700 1.2rem/1.3 var(--display); color: #0f4527; margin-bottom: 4px; }
.signup.is-done .signup__row, .signup.is-done select, .signup.is-done .fine { display: none; }
.signup.is-done .signup__done { display: block; }
.signup__error { display: none; margin-top: 8px; color: var(--bad); font-weight: 600; font-size: .95rem; }
.signup.has-error .signup__error { display: block; }
.signup__dev { display: block; margin-top: 8px; font: 500 .85rem/1.4 var(--body); color: #8a5a00; }
@media (max-width: 520px) {
  .signup__row { flex-direction: column; flex-wrap: nowrap; }
  .signup input[type="email"] { flex: none; }
  .signup .btn { width: 100%; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(24px, 4vw, 60px) clamp(48px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 1.2rem; }
.hero .lead { max-width: 32em; margin-bottom: 1.7rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__visual { position: relative; display: flex; justify-content: center; padding: 64px 0 20px; }
.hero__visual .mcard { width: min(100%, 290px); transform: rotate(-2.2deg); box-shadow: var(--shadow-lift); z-index: 2; }
.hero__visual .mcard--behind { position: absolute; z-index: 1; width: min(78%, 250px); right: -2%; top: 18%; transform: rotate(6deg); opacity: .9; box-shadow: var(--shadow); }
.hero__visual .mcard--behind .mcard__body { visibility: hidden; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__visual .mcard { width: min(80%, 290px); }
  .hero__visual .mcard--behind { right: 4%; width: min(60%, 230px); }
}

/* handwritten note with an arrow, beside a card */
.note {
  position: absolute; z-index: 3; top: 0; left: 0; max-width: 15ch;
  font: 700 clamp(1.45rem, 1.2rem + .8vw, 1.85rem)/1.05 var(--hand); color: var(--red); transform: rotate(-6deg);
}
.note svg { display: block; width: 74px; height: 60px; margin: 2px 0 0 54px; color: var(--red); }
@media (max-width: 900px) { .note { left: 2%; } }

/* ---------- proof bar ---------- */
.proofbar { border-block: 1px solid var(--rule); background: var(--surface); }
.proofbar .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof { display: flex; align-items: center; gap: 16px; padding: 22px clamp(12px, 2vw, 28px); text-decoration: none; color: var(--ink-2); }
.proof + .proof { border-left: 1px solid var(--rule); }
a.proof:hover { background: var(--paper); color: var(--ink); }
.proof__num { flex: none; font: 700 clamp(1.7rem, 1.4rem + 1vw, 2.3rem)/1 var(--display); letter-spacing: -.02em; color: var(--red); }
.proof__text { font-size: .95rem; line-height: 1.4; }
@media (max-width: 860px) {
  .proofbar .wrap { grid-template-columns: 1fr; }
  .proof + .proof { border-left: 0; border-top: 1px solid var(--rule); }
  .proof__num { min-width: 3.4em; }
}

/* ---------- old way / new way ---------- */
.oldnew { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.oldnew__col { border-radius: 22px; padding: clamp(24px, 3vw, 36px); }
.oldnew__col--old { background: #fdf0ec; border: 2px solid #f1c9be; }
.oldnew__col--new { background: #eaf6ee; border: 2px solid #b6dcc3; box-shadow: var(--shadow); }
.oldnew__label { margin: 0 0 6px; font: 700 .78rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.oldnew__col--old .oldnew__label { color: var(--bad); }
.oldnew__col--new .oldnew__label { color: var(--good); }
.oldnew h3 { margin-bottom: 18px; }
.oldnew__arrow { align-self: center; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 1.5rem/1 var(--body); }
@media (max-width: 860px) {
  .oldnew { grid-template-columns: 1fr; }
  .oldnew__arrow { justify-self: center; transform: rotate(90deg); }
}
.xlist, .ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.xlist li, .ticks li { position: relative; padding-left: 36px; color: var(--ink-2); }
.xlist li strong, .ticks li strong { color: var(--ink); }
.xlist li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 24px; height: 24px; border-radius: 50%; }
.xlist li::before {
  background: #f8d6cd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 1.5l7 7M8.5 1.5l-7 7' stroke='%23c23b26' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
}
.ticks li::before {
  background: #cbe9d5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2l3.2 3.1L11 1.5' fill='none' stroke='%231f7a4c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

/* ---------- benefit tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }
.tile { background: var(--surface); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.tile__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--good-wash); font-size: 1.6rem; line-height: 1; margin-bottom: 16px; }
.tile h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.tile p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* ---------- mnemonic card ---------- */
.mcard {
  --tint: #fce4d6;
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  container-type: inline-size;
}
.mcard__pic { position: relative; margin: 0; aspect-ratio: 9 / 16; background: var(--tint); overflow: hidden; }
.mcard__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.mcard__ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 14px; text-align: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .55), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .22) 0 10px, transparent 10px 20px),
    var(--tint);
}
.mcard__ph .emoji { font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1; white-space: nowrap; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .12)); }
.mcard__ph .emoji i { font-style: normal; font-family: var(--display); font-weight: 600; font-size: .5em; color: rgba(30, 27, 22, .45); vertical-align: middle; margin: 0 .25em; }
.mcard__ph small { font: 600 .72rem/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: rgba(30, 27, 22, .45); }
.mcard__body { padding: 16px 18px 18px; }
.mcard__word { margin: 0 0 4px; font-size: clamp(1.4rem, 1.2rem + .9vw, 1.85rem); line-height: 1.5; overflow-wrap: anywhere; }
.mcard__word .art { color: var(--muted); font-size: .8em; }
/* On a tall card, the speak button sits on the picture's bottom-right corner (the picture is 9:16 of the card's width). */
.mcard__word .say {
  position: absolute; z-index: 3; right: 10px; top: calc(100cqw * 16 / 9 - 48px);
  background: rgba(255, 255, 255, .92); box-shadow: 0 2px 8px rgba(30, 27, 22, .18);
}
.mcard__word .say:hover, .mcard__word .say.is-speaking { background: var(--marker); }
.mcard__line { margin: 0; font-size: .98rem; color: var(--ink-2); }
.mcard__line + .mcard__line { margin-top: 2px; }
.mcard__line mark, .mcard__line strong { color: var(--ink); font-weight: 750; font-size: 1.08em; }
.mcard__scene { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--rule); font-size: .92rem; line-height: 1.45; color: var(--muted); }

/* a short card: small picture on the left, text on the right */
.mcard--row { flex-direction: row; align-items: stretch; container-type: normal; }
.mcard--row .mcard__pic { flex: none; width: clamp(92px, 26%, 120px); aspect-ratio: auto; }
.mcard--row .mcard__ph { gap: 8px; padding: 8px; }
.mcard--row .mcard__ph .emoji { font-size: 1.7rem; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mcard--row .mcard__ph .emoji i { display: none; }
.mcard--row .mcard__ph small { display: none; }
.mcard--row .mcard__body { flex: 1; min-width: 0; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
.mcard--row .mcard__word { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: clamp(1.35rem, 1.2rem + .5vw, 1.6rem); }
.mcard--row .mcard__word .say { position: static; box-shadow: none; background: var(--paper-2); }

.cards { display: grid; gap: clamp(14px, 2.4vw, 28px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards--rows { grid-template-columns: 1fr; max-width: 560px; } }
@media (max-width: 760px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--rows { grid-template-columns: 1fr; }
  .mcard__body { padding: 12px 12px 14px; }
  .mcard__line { font-size: .9rem; }
  .mcard__scene { font-size: .84rem; }
}
.subhead { margin: clamp(40px, 6vw, 64px) 0 20px; }
.subhead h3 { margin-bottom: .35rem; }
.subhead p { margin: 0; color: var(--ink-2); max-width: 46em; }

/* a word not written in Latin letters: its own writing with the reading above (魚 さかな), then its Latin spelling */
.word { display: inline-flex; align-items: baseline; gap: .3em; }
.written { font-family: var(--written, serif), "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 600; font-size: 1.12em; }
.written rt { font-size: .4em; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.word .roma { font-size: .78em; color: var(--ink-2); }
.quiz__prompt .word { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); line-height: 1.5; }
.finder__top .word { font-size: 1.7rem; line-height: 1.4; }
.step__visual .finder__top .word { font-size: 1.4rem; }
.audio .word { font-size: 1.45rem; line-height: 1.3; }
.quiz__prompt .word .roma, .finder__top .word .roma, .audio .word .roma { font-size: .78em; }

/* speak button */
.say {
  flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0;
  border: 0; border-radius: 50%; background: var(--paper-2); color: var(--ink); cursor: pointer;
  transition: background-color .15s, transform .15s;
}
.say:hover { background: var(--marker); }
.say:active { transform: scale(.94); }
.say.is-speaking { background: var(--marker); }
.say svg { width: 19px; height: 19px; }
.say:not(.is-ready) { display: none; } /* shown by site.js only when the browser has a voice for the language */

/* ---------- how it works: steps with a picture each ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 560px; } }
.step { position: relative; }
.step__visual {
  position: relative; display: grid; place-items: center; height: 230px; margin-bottom: 22px; padding: 18px;
  background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; z-index: 2; top: -12px; left: -8px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--red); color: #fff; font: 700 1.2rem/1 var(--display); box-shadow: 0 4px 10px rgba(212, 67, 44, .3);
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--ink-2); margin: 0; }
.step__visual .mcard--row { width: 100%; box-shadow: 0 1px 2px rgba(30, 27, 22, .06), 0 4px 14px rgba(30, 27, 22, .08); }

/* search results, as the sound-alike search shows them */
.finder { width: 100%; max-width: 500px; margin-inline: auto; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lift); overflow: hidden; }
.finder__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 16px 20px 12px; border-bottom: 1px solid var(--rule); }
.finder__top .script { font-size: 1.7rem; line-height: 1.4; }
.finder__ipa { font: 500 1rem/1 "Gentium Book Plus", Georgia, serif; color: var(--muted); }
.finder__label { margin-left: auto; font: 700 .7rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.finder ol { list-style: none; margin: 0; padding: 6px 0; }
.finder li { display: grid; grid-template-columns: 1.3em 5.6em 1fr 2.8em; gap: 10px; align-items: center; padding: 8px 20px; font-weight: 600; font-size: .98rem; }
.finder li .n { color: var(--muted); font-size: .88rem; }
.finder li .track { height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.finder li .track span { display: block; height: 100%; width: var(--w); background: #c9c0ae; border-radius: 99px; }
.finder li .pct { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .92rem; }
.finder li.is-pick { background: #fff8d6; }
.finder li.is-pick .track span { background: var(--red); }
.finder li.is-pick .w::after { content: " ✓"; color: var(--red); }
.step__visual .finder { box-shadow: none; border: 1px solid var(--rule); }
.step__visual .finder__top { padding: 10px 16px 8px; }
.step__visual .finder__top .script { font-size: 1.4rem; }
.step__visual .finder li { padding: 6px 16px; font-size: .92rem; }

/* reviews spread out over time */
.timeline { width: 100%; }
.timeline__word { text-align: center; margin: 0 0 26px; font-size: 1.5rem; }
.timeline__track { position: relative; height: 70px; margin: 0 10px; }
.timeline__track::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--red), #f2b8ad); }
.timeline__dot { position: absolute; top: 0; left: var(--x); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.timeline__dot::before { content: ""; width: 25px; height: 25px; border-radius: 50%; background: var(--surface); border: 3px solid var(--red); box-sizing: border-box; }
.timeline__dot:first-child::before { background: var(--red); }
.timeline__dot span { font: 700 .74rem/1.15 var(--body); color: var(--ink-2); text-align: center; white-space: nowrap; }

/* ---------- quiz on ruled paper ---------- */
.sheet {
  /* the red margin line sits just left of the content column */
  --margin-x: calc((100% - min(100% - 2 * var(--gutter), var(--wide))) / 2 - 12px);
  background-color: #fffefa;
  background-image:
    linear-gradient(90deg, transparent calc(var(--margin-x) - 1px), rgba(212, 67, 44, .5) calc(var(--margin-x) - 1px) calc(var(--margin-x) + 1px), transparent calc(var(--margin-x) + 1px)),
    repeating-linear-gradient(0deg, rgba(108, 128, 214, .26) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(108, 128, 214, .1) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, rgba(108, 128, 214, .14) 0 1px, transparent 1px 32px);
  border-block: 1px solid var(--rule);
}
.quiz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .quiz { grid-template-columns: 1fr; } }
.quiz__q { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 20px 20px 22px; }
.quiz__prompt { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 4px; }
.quiz__prompt .script { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); line-height: 1.5; }
.quiz__ask { margin: 0 0 14px; color: var(--muted); font-size: .95rem; font-weight: 600; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quiz__opt {
  min-height: 48px; padding: 8px 12px; border: 2px solid var(--rule); border-radius: 12px; background: var(--paper);
  font: 650 1rem/1.2 var(--body); color: var(--ink); cursor: pointer; text-align: center;
  transition: border-color .15s, background-color .15s, transform .15s;
}
.quiz__opt:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-1px); }
.quiz__opt:disabled { cursor: default; }
.quiz__opt.is-right { border-color: var(--good); background: var(--good-wash); color: #14532f; }
.quiz__opt.is-right::before { content: "✓ "; }
.quiz__opt.is-wrong { border-color: var(--bad); background: var(--bad-wash); color: var(--bad); text-decoration: line-through; }
.quiz__q.is-answered .quiz__opt:not(.is-right):not(.is-wrong) { opacity: .45; }
.quiz__hint { display: none; margin: 12px 0 0; font-size: .92rem; color: var(--ink-2); }
.quiz__q.is-missed .quiz__hint { display: block; }
.quiz__result {
  display: none; margin-top: 24px; padding: 24px clamp(20px, 3vw, 32px); border-radius: 16px;
  background: var(--ink); color: #f6f1e7; box-shadow: var(--shadow-lift);
}
.quiz__result.is-shown { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.quiz__score { font: 700 clamp(1.4rem, 1.2rem + 1vw, 1.9rem)/1.2 var(--display); color: #fffaf0; margin: 0 0 4px; }
.quiz__msg { margin: 0; color: #d7cfbf; max-width: 46ch; }
.quiz-progress { font: 700 .85rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }

/* ---------- research ---------- */
.proof-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .proof-split { grid-template-columns: 1fr; } }
.bars { background: #2a2620; border-radius: 18px; padding: clamp(22px, 3vw, 32px); }
.bars__title { font: 700 .8rem/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: #b9b09f; margin: 0 0 18px; }
.bar { display: grid; grid-template-columns: 9.5em 1fr 3.2em; gap: 12px; align-items: center; margin-bottom: 12px; font-weight: 600; font-size: .98rem; color: #efe8da; }
.bar__track { height: 14px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: var(--w); border-radius: 99px; background: #8c8474; }
.bar--key .bar__fill { background: var(--marker); }
.bar__num { text-align: right; font: 700 1.1rem/1 var(--display); color: #fffaf0; }
.bars__gap { height: 1px; background: rgba(255, 255, 255, .1); margin: 22px 0; }
.bars__cite { margin: 18px 0 0; font-size: .85rem; color: #a49b8a; }
.bars__cite a { color: #d9d0bf; }
@media (max-width: 520px) { .bar { grid-template-columns: 7.4em 1fr 2.8em; font-size: .9rem; } }

/* ---------- what you get ---------- */
.gets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .gets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gets { grid-template-columns: 1fr; } }
.get { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.get__visual { position: relative; height: 170px; display: grid; place-items: center; background: var(--paper-2); overflow: hidden; }
.get__body { padding: 20px 22px 24px; }
.get h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.get p { margin: 0; color: var(--ink-2); font-size: .97rem; }
/* fanned cards */
.fan { position: relative; width: 200px; height: 132px; }
.fan span {
  position: absolute; left: 50%; bottom: 0; width: 74px; height: 118px; margin-left: -37px; border-radius: 10px;
  background: var(--tint, #fce4d6); border: 3px solid #fff; box-shadow: var(--shadow);
  display: grid; place-items: center; font-size: 1.9rem; transform-origin: 50% 100%;
}
.fan span:nth-child(1) { transform: translateX(-50px) rotate(-12deg); }
.fan span:nth-child(3) { transform: translateX(50px) rotate(12deg); }
.fan span:nth-child(2) { z-index: 1; transform: translateY(-6px); }
/* audio */
.audio { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.audio .script { font-size: 1.45rem; line-height: 1.3; }
.audio .say { width: 42px; height: 42px; background: var(--marker); }
.wave { display: flex; align-items: center; gap: 3px; height: 30px; }
.wave i { display: block; width: 4px; border-radius: 3px; background: var(--red); opacity: .75; }
/* today's plan */
.plan { width: 190px; padding: 14px 16px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); font-size: .88rem; }
.plan__title { margin: 0 0 8px; font: 700 .72rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plan__row { display: flex; justify-content: space-between; margin: 0 0 4px; color: var(--ink-2); }
.plan__row strong { color: var(--ink); }
.plan__bar { height: 7px; margin-top: 10px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.plan__bar span { display: block; width: 40%; height: 100%; background: var(--good); border-radius: 99px; }
/* files */
.files { display: grid; gap: 10px; }
.file { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); font: 650 .9rem/1.2 var(--body); }
.file b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: #fff; font: 800 .66rem/1 var(--body); letter-spacing: .04em; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.price-card { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 34px); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.price-card--main { outline: 3px solid var(--ink); outline-offset: -3px; box-shadow: var(--shadow-lift); }
.price-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 7px 12px; border-radius: 99px; background: var(--ink); color: #fff; font: 700 .72rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.price-card h3 { margin-bottom: 4px; }
.price-card__for { margin: 0 0 18px; color: var(--muted); font-size: .95rem; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 4px; }
.price__num { font: 700 clamp(2.4rem, 2rem + 1.4vw, 3.2rem)/1 var(--display); letter-spacing: -.03em; }
.price__unit { font-weight: 650; color: var(--ink-2); }
.price-note { margin: 0 0 20px; color: var(--muted); font-size: .92rem; }
.price-card .ticks { margin-bottom: 26px; gap: 10px; font-size: .97rem; }
.price-card .ticks li::before { width: 22px; height: 22px; }
.price-card .btn { margin-top: auto; }
.plans-signup { max-width: 640px; margin: clamp(40px, 6vw, 64px) auto 0; padding: clamp(22px, 3vw, 32px); border-radius: 22px; background: var(--paper-2); text-align: left; }
.plans-signup h3 { margin-bottom: .4rem; }
.plans-signup > p { color: var(--ink-2); margin-bottom: 18px; }
.plans-signup .signup { max-width: none; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; max-width: 860px; margin-inline: auto; }
@media (max-width: 680px) { .team { grid-template-columns: 1fr; text-align: center; } .team .photo { margin-inline: auto; } }
.photo {
  width: clamp(150px, 20vw, 200px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative;
  background: var(--paper-2); border: 3px dashed #cfc5b2; display: grid; place-items: center;
  font: 600 .8rem/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team__text p { font-size: 1.12em; line-height: 1.65; color: var(--ink-2); }
.team__text p.eyebrow { font-size: .78rem; line-height: 1; color: var(--red); }
@media (max-width: 680px) { .team__text .eyebrow { justify-content: center; } }
.team__text .team__sign { margin-top: 18px; font: 700 2rem/1 var(--hand); color: var(--ink); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); padding: 0 22px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font: 650 1.1rem/1.35 var(--display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 500 1.6rem/1 var(--body); color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); }

/* ---------- languages (root page) ---------- */
.langs .mcard__body { display: flex; flex-direction: column; flex: 1; }
.langs .mcard__go { margin-top: auto; padding-top: 14px; }
@media (max-width: 760px) { .langs .btn--block { font-size: .9rem; min-height: 46px; padding: 8px 10px; } }
.lang-flag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 .78rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lang-flag .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.lang-flag.soon .dot { background: #c9a227; }
.mcard--live { outline: 3px solid var(--ink); outline-offset: -3px; }

/* ---------- final call to action ---------- */
.final { text-align: center; }
.final h2 { margin-bottom: 1rem; }
.final .lead { max-width: 36em; margin: 0 auto 2rem; }
.final .signup { margin-inline: auto; text-align: left; }

/* ---------- footer ---------- */
.site-footer { padding-block: 48px 56px; border-top: 1px solid var(--rule); font-size: .95rem; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }
.site-footer h4 { margin: 0 0 12px; font: 700 .78rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .soon { font-size: .8rem; color: #a0978a; margin-left: 4px; }
.site-footer p { margin: 12px 0 0; max-width: 30ch; }
.site-footer .copyright { grid-column: 1 / -1; margin: 0; max-width: none; padding-top: 20px; border-top: 1px solid var(--rule); font-size: .88rem; }
