/* Oratia · oratia.co
   Dirección: "El producto en acción" (tasteskill, semilla 1895753153). Página blanca, tinta negra, el verde de
   Mercabot como único acento y como escenario de los fragmentos de interfaz. Tipografía: Figtree (OFL), servida
   desde este mismo sitio. */

@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  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: "Figtree";
  src: url("fonts/figtree-latin-ext.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #ffffff;
  --surface: #f3f4f3;
  --ink: #111111;
  --muted: #5d615f;
  --accent: #1f6b4a;          /* el verde del ícono de Mercabot */
  --accent-strong: #165238;
  --accent-ink: #ffffff;
  --stage: #1f6b4a;
  --tint: #dcefe3;
  --field-1: #111111;
  --field-1-ink: #ffffff;

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.1rem + 0.9vw, 2rem);
  --step-head: clamp(1.875rem, 1.15rem + 2.7vw, 3.5rem);
  --step-display: clamp(2.4rem, 0.9rem + 5vw, 5rem);

  --margin: clamp(1rem, 2.8vw, 2.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(7.5rem, 12vw, 13rem);
  --radius: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body);
  line-height: 1.45; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
:target { scroll-margin-top: 5rem; }
.skip { position: absolute; left: var(--margin); top: -100px; z-index: 10; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
button, a, input { touch-action: manipulation; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- grid ---------- */
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

/* ---------- links and the one button ---------- */
.link {
  color: var(--accent); text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease;
}
.button {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.25rem; background: var(--accent);
  color: var(--accent-ink); text-decoration: none; font-weight: 600; border-radius: var(--radius);
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-strong); }
  .link:hover { text-decoration-color: currentColor; }
}

/* ---------- navigation ---------- */
.nav {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 28px; font-size: var(--step-small);
}
.wordmark { font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; text-decoration: none; }
.nav ul { display: flex; gap: clamp(1rem, 2.4vw, 2rem); }
.nav a:not(.wordmark) { text-decoration: none; }
.nav a:not(.wordmark):hover { text-decoration: underline; text-underline-offset: 0.25em; }
@media (max-width: 720px) {
  .nav li:not(.nav-keep) { display: none; }
}

/* ---------- hero: fragment on a shaped stage ---------- */
.hero { position: relative; min-height: max(100svh, 820px); overflow: hidden; }
.hero-copy { position: relative; z-index: 1; padding-top: clamp(64px, 11vh, 150px); max-width: 64rem; }
.hero h1 { font-size: clamp(2.75rem, 1rem + 6vw, 6rem); line-height: 0.95; letter-spacing: -0.03em; }
.hero .lede { margin-top: 32px; max-width: 40ch; }
.hero .button { margin-top: 32px; }
.stage {
  position: absolute; left: calc(var(--margin) + (100% - 2 * var(--margin) + var(--gutter)) / 12 * 4); right: 0; top: 46%; bottom: 0;
  background: var(--stage);
  clip-path: polygon(0 0, calc(100% - 0px) 0, 100% 100%, 0 100%);
}
.stage-cut { /* el corte del escenario: la cola del globo de chat de Mercabot */
  clip-path: polygon(0 72px, 72px 72px, 120px 0, 100% 0, 100% 100%, 0 100%);
}
.stage .fragment-wrap { position: absolute; left: 56px; top: 128px; width: min(620px, calc(100% - 56px)); }

@media (max-width: 860px) {
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-copy { padding-top: 48px; padding-bottom: 40px; }
  .stage { position: relative; left: 0; right: 0; top: 0; height: 560px; margin-inline: calc(var(--margin) * -1); }
  .stage .fragment-wrap { left: 16px; top: 96px; width: min(560px, calc(100% - 16px)); }
}

/* ---------- interface fragments (data-ui) ---------- */
[data-ui] { font-size: 14px; line-height: 1.4; letter-spacing: 0; color: #1b1f1d; }
.chat { background: #f1f2ef; border-radius: 12px 12px 0 0; padding: 0 0 20px; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #ffffff; border-bottom: 1px solid #e3e5e2; } /* taste-skill-ignore: borde del propio fragmento de interfaz (data-ui) */
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.chat-avatar svg { width: 20px; height: 20px; }
.chat-name { font-weight: 600; font-size: 15px; }
.chat-sub { color: #5d615f; font-size: 13px; }
.chat-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 14px 0; }
.msg { max-width: 82%; padding: 8px 11px 6px; border-radius: 10px; background: #ffffff; position: relative; }
.msg.out { align-self: flex-end; background: #d9f0e0; }
.msg time { display: block; text-align: right; font-size: 13px; color: #5d615f; margin-top: 2px; }
.msg ul { margin: 6px 0; padding: 0; list-style: none; }
.msg li { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
.msg li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.msg .total { display: flex; justify-content: space-between; gap: 16px; font-weight: 600; padding-top: 6px; margin-top: 4px; border-top: 1px solid #e3e5e2; } /* taste-skill-ignore: borde del propio fragmento de interfaz (data-ui) */
.voice { display: flex; align-items: center; gap: 10px; min-width: 230px; }
.voice-play { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.voice-play svg { width: 12px; height: 12px; }
.wave { display: flex; align-items: center; gap: 2px; height: 26px; flex: 1; }
.wave i { display: block; width: 3px; border-radius: 2px; background: #6f8f7f; }
.voice-time { font-size: 13px; color: #5d615f; font-variant-numeric: tabular-nums; }
.transcript { margin-top: 6px; color: #3c413e; font-size: 13px; }
.paylink { display: block; margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: #f3f4f3; color: var(--accent); font-weight: 600; text-decoration: none; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #7d8580; }

/* ---------- showcase: a headline you can type ---------- */
.showcase { padding-top: var(--section); min-height: 88svh; }
.showcase h2 { font-size: var(--step-head); line-height: 1; max-width: 18ch; }
.dish-line { position: relative; margin-top: 40px; display: flex; align-items: baseline; }
.dish-input {
  width: 100%; border: 0; background: transparent; padding: 0; font-size: var(--step-display); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); caret-color: var(--accent); outline: none;
  white-space: nowrap; overflow-x: auto;
}
.dish-input:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.dish-help { margin-top: 12px; color: var(--muted); font-size: var(--step-small); max-width: 60ch; }
.answer-area { margin-top: 48px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.answer-area .answer { grid-column: 1 / span 6; max-width: 600px; }
.answer-area .examples { grid-column: 8 / span 5; }
.answer { background: #f1f2ef; border-radius: 12px; padding: 16px 14px; min-height: 300px; }
.answer .msg { max-width: 100%; }
.answer .msg li.opt { color: #5d615f; }
.answer .note { color: #5d615f; font-size: 13px; margin-top: 6px; }
.examples { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.examples p { color: var(--muted); }
.examples button { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; color: var(--accent); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; text-align: left; transition: transform var(--t-press) var(--ease-out); }
.examples button:active { transform: scale(0.97); }
@media (max-width: 860px) {
  .answer-area { display: block; margin-top: 28px; }
  .answer-area .examples { margin-top: 20px; }
  .examples button { font-size: var(--step-body); font-weight: 500; }
  .examples { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .examples p { width: 100%; }
  .examples button { min-height: 44px; padding: 0 14px; background: var(--surface); text-decoration: none; color: var(--ink); }
}

/* ---------- how it works: pinned fragment, changing state ---------- */
.how { padding-top: var(--section); }
.how .grid { align-items: start; }
.how-steps { grid-column: 1 / span 5; }
.how h2 { font-size: var(--step-head); line-height: 1; }
.how-step { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; }
.how-step:first-of-type { min-height: 60vh; justify-content: flex-start; padding-top: 18vh; }
.how-step h3 { font-size: var(--step-lead); line-height: 1.12; color: var(--muted); transition: color var(--t-ui) ease; max-width: 20ch; }
.how-step p { margin-top: 14px; max-width: 40ch; color: var(--muted); }
.how-step.is-active h3 { color: var(--ink); }
.how-step.is-active p { color: var(--ink); }
.how-stage { grid-column: 7 / span 6; position: sticky; top: 14vh; margin-top: 18vh; }
.how-stage-inner { background: var(--stage); aspect-ratio: 1 / 1; max-height: 72vh; padding: 48px 40px 0; overflow: hidden; position: relative; }
.how-state { position: absolute; inset: 48px 40px auto 40px; opacity: 0; transform: translateY(16px); transition: opacity 320ms var(--ease-out), transform 420ms var(--ease-out); }
.how-state.is-on { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .how .grid { display: block; }
  .how-step, .how-step:first-of-type { min-height: 0; padding: 48px 0 0; display: block; }
  .how-step h3, .how-step p { color: var(--ink); }
  .js .how-stage { display: none; }
  .how-stage { position: static; margin: 32px calc(var(--margin) * -1) 0; }
  .how-stage-inner { aspect-ratio: auto; height: auto; padding: 20px 16px; }
  .how-stage .how-state { position: static; opacity: 1; transform: none; display: none; }
  .how-stage .how-state[data-state="1"] { display: block; }
  .how-inline { margin: 24px calc(var(--margin) * -1) 0; background: var(--stage); padding: 20px 16px; }
}
@media (min-width: 861px) { .how-inline { display: none; } }

/* the order card from the panel */
.order { background: #ffffff; border-radius: 10px; padding: 14px 16px; }
.order-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.order-ref { font-weight: 600; font-size: 15px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #d9f0e0; color: #165238; }
.tag.new { background: #111111; color: #ffffff; }
.order-meta { color: #5d615f; font-size: 13px; margin-top: 2px; }
.order-rows { margin: 10px 0; padding: 0; list-style: none; border-top: 1px solid #e3e5e2; } /* taste-skill-ignore: borde del propio fragmento de interfaz (data-ui) */
.order-rows li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #eceeeb; } /* taste-skill-ignore: borde del propio fragmento de interfaz (data-ui) */
.order-rows li span:last-child { font-variant-numeric: tabular-nums; }
.order-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.order-total { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.order-btn { background: var(--accent); color: #fff; border-radius: 6px; padding: 7px 12px; font-weight: 600; font-size: 13px; }
.notice { margin-top: 12px; background: #ffffff; border-radius: 10px; padding: 10px 12px; display: flex; gap: 10px; align-items: flex-start; }
.notice b { display: block; }

/* ---------- features: sentences with switches ---------- */
.features { padding-top: var(--section); }
.features-head { margin-bottom: 48px; align-items: end; }
.features-head h2 { grid-column: 1 / span 6; font-size: var(--step-head); line-height: 1; }
.features-head p { grid-column: 8 / span 5; color: var(--ink); max-width: 44ch; }
@media (max-width: 860px) { .features-head { display: block; } .features-head p { margin-top: 16px; } }
.band {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center;
  min-height: 20vh; padding: 28px var(--margin); transition: background-color 320ms var(--ease-out), color 320ms var(--ease-out);
  color: var(--muted);
}
.band-text { grid-column: 1 / span 10; }
.band h3 { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.025em; }
.band .consequence { margin-top: 10px; max-width: 60ch; display: none; }
.band.is-on { color: var(--ink); }
.band.is-on .consequence { display: block; }
.band.is-on[data-fill="1"] { background: var(--tint); }
.band.is-on[data-fill="2"] { background: var(--field-1); color: var(--field-1-ink); }
.band.is-on[data-fill="3"] { background: var(--surface); }
.band.is-on[data-fill="4"] { background: var(--stage); color: var(--accent-ink); }
.band.is-on[data-fill="5"] { background: #c6e3d1; }
.switch-cell { grid-column: 11 / span 2; justify-self: end; }
.switch {
  position: relative; width: 2.1em; height: 1.15em; border-radius: 999px; background: #c9ccca; font-size: var(--step-head);
  display: block; transition: background-color var(--t-ui) ease;
}
.switch::after {
  content: ""; position: absolute; top: 0.12em; left: 0.12em; width: 0.91em; height: 0.91em; border-radius: 50%;
  background: #ffffff; transition: transform var(--t-ui) var(--ease-out);
}
.switch[aria-checked="true"] { background: var(--accent); }
.band[data-fill="4"] .switch[aria-checked="true"] { background: #0e3a27; }
.switch[aria-checked="true"]::after { transform: translateX(0.95em); }
.switch:active::after { width: 1.05em; }
@media (max-width: 860px) {
  .band { min-height: 132px; }
  .band-text { grid-column: 1 / span 9; }
  .band h3 { font-size: clamp(1.5rem, 6.4vw, 2.25rem); }
  .band .consequence { font-size: var(--step-small); }
  .switch-cell { grid-column: 10 / span 3; }
  .switch { font-size: 1.75rem; }
  .switch-cell button { min-width: 44px; min-height: 44px; display: grid; place-items: center; }
}

/* ---------- about: the founder's letter ---------- */
.about { padding-top: max(var(--section), 160px); }
.letter { max-width: 560px; margin-inline: auto; }
.letter h2 { font-size: var(--step-lead); line-height: 1.15; margin-top: 28px; }
.letter-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.letter-mark svg { width: 24px; height: 24px; }
.letter p { margin-top: 1.1em; line-height: 1.55; }
.letter mark { background: var(--tint); color: inherit; padding: 0 0.15em; }
.sign { margin-top: 32px; }
.sign b { display: block; font-weight: 600; font-style: italic; }
.sign span { font-size: var(--step-small); color: var(--muted); }

/* ---------- faq: question index, one answer ---------- */
.faq { padding-top: var(--section); }
.faq-list { grid-column: 1 / span 5; }
.faq h2 { font-size: var(--step-head); line-height: 1; margin-bottom: 32px; }
.faq-q { display: flex; align-items: baseline; gap: 14px; width: 100%; text-align: left; font-size: var(--step-body); color: var(--muted); padding: 9px 0; transition: color var(--t-hover) ease; }
.faq-q::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; transform: translateY(-2px); transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.faq-q[aria-selected="true"], .faq-q[aria-expanded="true"] { color: var(--ink); }
.faq-q[aria-selected="true"]::before, .faq-q[aria-expanded="true"]::before { background: var(--accent); transform: translateY(-2px) scale(1.25); }
.faq-pane { grid-column: 7 / span 6; position: sticky; top: 120px; min-height: 280px; }
.faq-pane p { font-size: var(--step-lead); line-height: 1.3; max-width: 34ch; transition: opacity 150ms ease; }
.faq-pane p a { color: var(--accent); }
.faq-inline { display: none; }
@media (max-width: 860px) {
  .faq .grid { display: block; }
  .faq-pane { display: none; }
  .faq-inline { font-size: 19px; line-height: 1.4; padding: 4px 0 14px 22px; }
  .faq-inline.is-open { display: block; }
}

/* ---------- cta: a sentence with a blank ---------- */
.cta { margin-top: var(--section); padding-block: clamp(6rem, 16vh, 11rem); background: var(--tint); min-height: 72svh; display: flex; flex-direction: column; justify-content: center; }
.cta-form { font-size: var(--step-head); }
.cta-sentence { font-size: inherit; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.cta-input {
  display: inline-block; width: 9.5em; max-width: 100%; height: 1.25em; vertical-align: baseline; border: 0; padding: 0 0.25em;
  background: var(--bg); font-weight: 700; letter-spacing: -0.02em; border-radius: var(--radius);
}
.cta-input::placeholder { color: var(--muted); opacity: 1; }
.cta-submit {
  display: inline-block; height: 1.25em; padding: 0 0.3em; background: var(--accent); color: var(--accent-ink); font-weight: 700;
  letter-spacing: -0.02em; vertical-align: baseline; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.cta-submit:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .cta-submit:hover { background: var(--accent-strong); } }
.cta-note { margin-top: 20px; color: var(--ink); max-width: 52ch; }
@media (max-width: 860px) {
  .cta-input { display: block; width: 100%; margin: 0.1em 0; }
  .cta-note { font-size: var(--step-small); }
}

/* ---------- footer: a single quiet line ---------- */
.foot { padding-top: 64px; padding-bottom: 30px; font-size: var(--step-small); }
.foot-line { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: baseline; color: var(--muted); }
.foot-line ul { display: flex; gap: 24px; }
.foot-line a { color: var(--ink); text-decoration: none; }
.foot-line a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.foot-line > :last-child { text-align: right; }
.foot-legal { margin-top: 10px; color: var(--muted); font-size: var(--step-small); }
@media (max-width: 860px) {
  .foot { padding-top: 48px; padding-bottom: 24px; }
  .foot-line { grid-template-columns: 1fr; gap: 8px; }
  .foot-line ul { flex-wrap: wrap; gap: 8px 20px; }
  .foot-line > :last-child { text-align: left; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .shutter { clip-path: inset(100% 0 0 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter .chat { transform: scale(1.06) translateY(24px); transition: transform 1500ms var(--ease-soft); }
  .js .shutter.is-in { clip-path: inset(0); }
  .js .shutter.is-in .chat { transform: none; }

  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .js .hero-copy > * { opacity: 0; transform: translateY(20px); animation: rise 900ms var(--ease-expo) forwards; }
  .js .hero-copy > :nth-child(2) { animation-delay: 90ms; }
  .js .hero-copy > :nth-child(3) { animation-delay: 180ms; }
  @keyframes rise { to { opacity: 1; transform: none; } }

  .js .msg.later { opacity: 0; transform: translateY(10px); }
  .js .shutter.is-in .msg.later { animation: rise 500ms var(--ease-out) forwards; }
  .js .shutter.is-in .msg.later:nth-of-type(2) { animation-delay: 900ms; }
  .js .shutter.is-in .msg.later:nth-of-type(3) { animation-delay: 1500ms; }
  .js .shutter.is-in .msg.later:nth-of-type(4) { animation-delay: 2100ms; }

  .wave.playing i { animation: wave 1.1s ease-in-out infinite; transform-origin: center; }
  @keyframes wave { 50% { transform: scaleY(0.45); } }
  .typing i { animation: dot 1.2s ease-in-out infinite; }
  .typing i:nth-child(2) { animation-delay: 0.15s; }
  .typing i:nth-child(3) { animation-delay: 0.3s; }
  @keyframes dot { 30% { transform: translateY(-4px); opacity: 0.6; } }
  .answer .msg { animation: rise 360ms var(--ease-out); }
  .caret { animation: blink 1.05s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
}

@media (prefers-reduced-motion: reduce) {
  .how-state { transform: none; transition: opacity 200ms ease; }
  .switch::after { transition: none; }
}
