/* feret.app: one stylesheet for the home page and the legal pages.
   Dark is Feret's own night and gold; light is warm paper with deeper amber for text.
   The theme follows the system unless the visitor picks one (data-theme on <html>). */

:root {
  --bg: #0c0c0c;
  --surface: #161616;
  --raised: #222222;
  --text: #fafaf9;
  --muted: #a8a29e;
  --faint: #78716c;
  --line: rgba(255, 255, 255, .09);
  --gold: #fcd34d;
  --gold-deep: #fbbf24;
  --accent: #fcd34d;            /* gold used as text or strokes on the page */
  --wash: rgba(252, 211, 77, .1);
  --wash-line: rgba(252, 211, 77, .4);
  --glow: rgba(252, 211, 77, .14);
  --nav: rgba(12, 12, 12, .78);
  --shadow: 0 40px 120px -40px rgba(252, 211, 77, .22), 0 30px 80px -30px rgba(0, 0, 0, .8);
  --desk: linear-gradient(160deg, #2a2118, #15110d 55%, #0f0d0b);
  --error: #fca5a5;
  --radius: 20px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #fbfaf7;
    --surface: #ffffff;
    --raised: #f2efe8;
    --text: #1c1917;
    --muted: #57534e;
    --faint: #78716c;
    --line: rgba(28, 25, 23, .1);
    --accent: #a16207;
    --wash: rgba(234, 179, 8, .13);
    --wash-line: rgba(161, 98, 7, .35);
    --glow: rgba(250, 204, 21, .22);
    --nav: rgba(251, 250, 247, .8);
    --shadow: 0 40px 100px -50px rgba(161, 98, 7, .35), 0 24px 60px -30px rgba(28, 25, 23, .25);
    --desk: linear-gradient(160deg, #f6e7c8, #ead6b0 55%, #e3cba0);
    --error: #b91c1c;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --raised: #f2efe8;
  --text: #1c1917;
  --muted: #57534e;
  --faint: #78716c;
  --line: rgba(28, 25, 23, .1);
  --accent: #a16207;
  --wash: rgba(234, 179, 8, .13);
  --wash-line: rgba(161, 98, 7, .35);
  --glow: rgba(250, 204, 21, .22);
  --nav: rgba(251, 250, 247, .8);
  --shadow: 0 40px 100px -50px rgba(161, 98, 7, .35), 0 24px 60px -30px rgba(28, 25, 23, .25);
  --desk: linear-gradient(160deg, #f6e7c8, #ead6b0 55%, #e3cba0);
  --error: #b91c1c;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 17px/1.6 Outfit, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.1; margin: 0; font-weight: 700; }
p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: var(--nav); backdrop-filter: blur(14px);
       -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 64px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; margin-right: auto; }
.brand svg { width: 20px; height: 24px; color: var(--gold-deep); }
.nav-links { display: none; gap: 28px; font-size: 15px; color: var(--muted); margin-right: 12px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }
@media (min-width: 900px) { .nav-links { display: flex; } }

.theme { width: 38px; height: 38px; flex: none; border-radius: 10px; border: 1px solid var(--line); background: transparent;
         color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.theme:hover { color: var(--text); background: var(--raised); }
.theme svg { width: 18px; height: 18px; }
.theme .sun { display: none; }
:root[data-shown-theme="dark"] .theme .sun { display: block; }
:root[data-shown-theme="dark"] .theme .moon { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; height: 44px;
          border-radius: 12px; border: 0; background: var(--gold); color: #1c1917; font: 600 16px Outfit, system-ui, sans-serif;
          text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s; }
.button:hover { background: var(--gold-deep); }
.button:disabled { opacity: .6; cursor: default; }
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.button.ghost:hover { background: var(--raised); }
.nav .button { height: 38px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
@media (max-width: 380px) { .nav .button { padding: 0 12px; font-size: 14px; } }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -200px 0 auto; height: 640px; z-index: -1;
                background: radial-gradient(closest-side, var(--glow), transparent); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px; border: 1px solid var(--wash-line);
        border-radius: 999px; color: var(--accent); font-size: 14px; font-weight: 500; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-deep); }
.hero h1 { margin: 24px auto 20px; max-width: 14ch; font-size: clamp(2.6rem, 8vw, 4.6rem); }
.hero h1 em { font-style: normal; color: var(--accent); }
:root[data-shown-theme="light"] .hero h1 em { background: linear-gradient(transparent 62%, rgba(252, 211, 77, .55) 62%); color: var(--text); }
.lede { max-width: 38rem; margin: 0 auto; color: var(--muted); font-size: clamp(1.08rem, 2.4vw, 1.3rem); }

.for-whom { margin: 14px auto 0; color: var(--faint); font-size: 15px; }

/* Waitlist form */
.join { display: flex; flex-direction: column; gap: 10px; max-width: 30rem; margin: 32px auto 0; }
@media (min-width: 560px) { .join { flex-direction: row; } .join input[type=email] { flex: 1; } }
.join input[type=email] { min-width: 0; height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line);
                          background: var(--surface); color: var(--text); font: 17px Outfit, system-ui, sans-serif; }
.join input[type=email]::placeholder { color: var(--faint); }
.join input[type=email]:focus { outline: 2px solid var(--gold-deep); outline-offset: 1px; border-color: transparent; }
.join .button { height: 52px; padding: 0 24px; border-radius: 14px; font-size: 17px; }
.join .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join-note { margin-top: 12px; color: var(--faint); font-size: 14px; }
.join-note.done { color: var(--accent); }
.join-note.error { color: var(--error); }

/* Subjects strip */
.subjects { padding: 44px 0; border-block: 1px solid var(--line); margin-top: 72px; text-align: center; }
.subjects p { color: var(--faint); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.subjects ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
               color: var(--muted); font-size: 18px; font-weight: 500; }

/* Sections */
section.block { padding: 96px 0; }
section.tint { background: var(--surface); border-block: 1px solid var(--line); }
.head { max-width: 42rem; margin: 0 auto 56px; text-align: center; }
.head h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
.head p { color: var(--muted); font-size: 1.15rem; }

/* Features, each with a drawn product shot */
.features { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: 1fr 1fr 1fr; } }
.feature { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
section.tint .feature { background: var(--bg); }
.feature .art { aspect-ratio: 16 / 10; background: var(--desk); display: grid; place-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.feature .art svg { width: 100%; height: 100%; }
.feature .copy { padding: 24px 26px 28px; }
.feature h3 { font-size: 21px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 16px; }

/* How it works */
.how { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .how { grid-template-columns: 1fr 1fr; } }
.how h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 36px; }
.steps { display: grid; gap: 28px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 12px; }
.step .n { font: 700 40px/1 ui-monospace, Menlo, monospace; color: var(--wash-line); }
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { color: var(--muted); }
kbd { font: 500 14px Outfit, system-ui, sans-serif; padding: 1px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--raised); color: var(--text); }
.chat { padding: 24px; border-radius: 24px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 14px; box-shadow: var(--shadow); }
.bubble { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--raised); }
.bubble small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.bubble.feret { background: var(--wash); border-color: var(--wash-line); }
.bubble.feret small { color: var(--accent); }

/* Trust */
.trust { display: grid; gap: 20px; }
@media (min-width: 800px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust div { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.trust h3 { font-size: 19px; margin-bottom: 8px; }
.trust p { color: var(--muted); font-size: 16px; }

/* Pricing */
.plans { display: grid; gap: 20px; max-width: 1000px; margin: 0 auto; align-items: stretch; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; padding: 30px 28px; border-radius: 24px; border: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; }
.plan.pick { border: 2px solid var(--gold-deep); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -13px; left: 28px; padding: 3px 12px; border-radius: 999px; background: var(--gold); color: #1c1917;
             font-size: 13px; font-weight: 600; }
.plan h3 { font-size: 22px; }
.plan .price { margin: 10px 0 4px; font-size: 44px; font-weight: 700; letter-spacing: -.03em; }
.plan .price span { font-size: 17px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan .for { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; font-size: 16px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.plans-note { text-align: center; color: var(--faint); font-size: 14px; margin-top: 28px; }

/* FAQ */
.faq { max-width: 46rem; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* Closing call */
.closing { text-align: center; padding: 96px 0; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(closest-side, var(--glow), transparent); }
.closing h2 { font-size: clamp(2.2rem, 6vw, 3.4rem); max-width: 16ch; margin: 0 auto 16px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 760px) { footer .wrap { flex-direction: row; justify-content: space-between; align-items: center; } }
footer .brand { margin-right: 0; }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--text); }

/* Legal pages */
.legal { max-width: 46rem; margin: 0 auto; padding: 64px 0 96px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3rem); margin-bottom: 8px; }
.legal .updated { color: var(--faint); font-size: 15px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal .join { margin: 16px 0 0; max-width: none; }

/* ───────────── The real app: screen recordings, muted, with Feret's words underneath ───────────── */

.reel { margin: 56px auto 0; max-width: 1040px; text-align: left; }
.reel-frame { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); aspect-ratio: 1920 / 1248; }
@media (max-width: 640px) { .reel-frame { aspect-ratio: 960 / 616; } }
.reel-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel-note { margin: 0 0 12px; text-align: center; color: var(--faint); font-size: 14px; }
.reel-caption { display: flex; gap: 12px; align-items: baseline; min-height: 3.6em; margin: 16px auto 0; max-width: 46rem; font-size: clamp(1rem, 2.2vw, 1.2rem); color: var(--text); text-align: left; }
.reel-caption b { flex: none; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.reel-caption b.feret { color: var(--accent); }
.try .demo { margin-top: 0; }

/* ───────────── The live demo: a Mac screen with Feret working on it ───────────── */

.demo { margin: 56px auto 0; max-width: 1000px; text-align: left; }
.demo-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; scrollbar-width: none; }
.demo-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .demo-tabs { justify-content: center; } }
.demo-tab { position: relative; flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
            background: transparent; color: var(--muted); font: 500 15px Outfit, system-ui, sans-serif; cursor: pointer; overflow: hidden; }
.demo-tab:hover { color: var(--text); }
.demo-tab[aria-selected="true"] { background: var(--wash); border-color: var(--wash-line); color: var(--accent); }
.demo-tab i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold-deep); }

.screen { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--desk); box-shadow: var(--shadow);
          padding: clamp(10px, 2.4vw, 28px); }
.window { position: relative; border-radius: 12px; overflow: hidden; background: #fff; color: #1f2937; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .45);
          height: clamp(560px, 60vw, 580px); }
@media (min-width: 900px) { .page.beside .text, .page.beside .code { max-width: calc(100% - 410px); } }
@media (max-width: 600px) {
  .voice { font-size: 13.5px; padding: 10px 14px; gap: 2px; flex-direction: column; }
  .fpanel { right: 12px; top: 40px; }
  .page { font-size: 13px; }
}
.window-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: #f3f4f6; border-bottom: 1px solid #e5e7eb; }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #e5e7eb; }
.window-bar span:nth-child(1) { background: #f87171; } .window-bar span:nth-child(2) { background: #fbbf24; } .window-bar span:nth-child(3) { background: #34d399; }
.window-bar b { margin-left: 10px; font: 500 12px system-ui, sans-serif; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page { position: absolute; inset: 34px 0 0; padding: clamp(16px, 3vw, 30px) clamp(16px, 3.4vw, 36px); overflow: hidden; font: 15px/1.6 system-ui, -apple-system, sans-serif; }
.page h4 { margin: 0 0 2px; font: 700 clamp(17px, 2.4vw, 22px)/1.2 system-ui, sans-serif; color: #111827; }
.page .sub { color: #6b7280; font-size: 13px; margin-bottom: 14px; }
.page .q { font-size: clamp(13px, 1.7vw, 15px); margin-bottom: 10px; }
.page .q b { color: #2563eb; }
.page .text { color: #374151; font-size: clamp(13px, 1.7vw, 15px); max-width: 40em; }
.page .text p + p { margin-top: 10px; }
.hand { font: 500 clamp(15px, 2.2vw, 20px)/1.9 "Caveat", "Bradley Hand", "Segoe Print", cursive; color: #1e3a8a; border-left: 3px solid #dbeafe; padding-left: 14px; }
.hand div { width: fit-content; transition: color .4s; }
.hand .fixed { color: #a16207; }
.key { color: #b91c1c; font-size: 13px; margin-top: 6px; }
.code { font: 13px/1.75 ui-monospace, Menlo, monospace; color: #334155; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px 0; width: fit-content; max-width: 100%; }
.code div { padding: 0 16px 0 0; white-space: pre; width: fit-content; }
.code [data-inner] { white-space: normal; }
.code .ln { display: inline-block; width: 34px; text-align: right; margin-right: 14px; color: #94a3b8; }
.code .k { color: #7c3aed; } .code .n { color: #0369a1; }

/* Feret's own pieces: always its dark panel and gold, as in the app */
.ring { position: absolute; border: 2.5px solid #fcd34d; border-radius: 9px; box-shadow: 0 0 0 4px rgba(252, 211, 77, .25), 0 0 24px rgba(252, 211, 77, .45);
        pointer-events: none; opacity: 0; transform: scale(1.06); transition: opacity .35s, transform .35s; z-index: 3; }
.ring.on { opacity: 1; transform: none; }
.ring-tag { position: absolute; padding: 3px 10px; border-radius: 8px; background: #151515; color: #fff; border: 1.5px solid #fcd34d;
            font: 600 12px system-ui, sans-serif; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .3s .2s; z-index: 3; }
.ring-tag.on { opacity: 1; }
.lasso { position: absolute; pointer-events: none; z-index: 3; overflow: visible; }
.lasso path { fill: none; stroke: #fcd34d; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(252, 211, 77, .6)); }

.fpanel { position: absolute; z-index: 4; width: min(380px, calc(100% - 24px)); right: 14px; top: 46px; background: #121212; color: #fafaf9;
          border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .6);
          opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .4s, transform .4s; font-family: Outfit, system-ui, sans-serif; }
.fpanel.on { opacity: 1; transform: none; }
.fpanel h5 { margin: 0; padding: 14px 16px 8px; font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; }
.fpanel h5::after { content: "×"; color: #71717a; font-weight: 400; }
.fpanel .body { margin: 0 12px; border-radius: 10px; background: #1c1c1c; padding: 8px; }
.fpanel .body svg { width: 100%; height: auto; overflow: visible; }
.fpanel .note { padding: 10px 16px 14px; font-size: 13.5px; color: #d6d3d1; display: flex; gap: 10px; }
.fpanel .note::before { content: ""; width: 3px; border-radius: 2px; background: #fcd34d; flex: none; }
.fpanel .controls { display: grid; gap: 6px; padding: 10px 16px 0; font-size: 13px; color: #a8a29e; }
.fpanel .controls label { display: grid; grid-template-columns: 52px 1fr 54px; gap: 10px; align-items: center; }
.fpanel .controls output { color: #fafaf9; text-align: right; font-variant-numeric: tabular-nums; }
.fpanel input[type=range] { width: 100%; accent-color: #fcd34d; }
.fpanel .switch { display: flex; gap: 6px; }
.fpanel .switch button { flex: 1; height: 26px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .12); background: transparent; color: #a8a29e;
                          font: 500 12px Outfit, system-ui, sans-serif; cursor: pointer; }
.fpanel .switch button[aria-pressed="true"] { background: rgba(252, 211, 77, .15); color: #fcd34d; border-color: rgba(252, 211, 77, .5); }
.try { position: absolute; z-index: 5; right: 28px; top: 14px; padding: 4px 12px; border-radius: 999px; background: #fcd34d; color: #1c1917;
       font: 600 12px Outfit, system-ui, sans-serif; opacity: 0; transition: opacity .3s; pointer-events: none; }
.try.on { opacity: 1; animation: nudge 1.6s ease-in-out infinite; }
.fpanel .try { top: -12px; right: 16px; }
@keyframes nudge { 50% { transform: translateY(-3px); } }

/* Voice: who's talking, and their words as they say them */
.voice { position: absolute; z-index: 6; left: 50%; bottom: 14px; transform: translate(-50%, 8px); width: min(620px, calc(100% - 24px));
         display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 16px; background: rgba(18, 18, 18, .94); color: #fafaf9;
         box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); font: 15px/1.45 Outfit, system-ui, sans-serif; opacity: 0; transition: opacity .3s, transform .3s; }
.voice.on { opacity: 1; transform: translate(-50%, 0); }
.voice .who { flex: none; display: flex; align-items: center; gap: 7px; height: 22px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #a8a29e; }
.voice .who svg { width: 18px; height: 22px; }
.voice.feret .who { color: #fcd34d; }
.voice .bars { display: flex; gap: 2px; align-items: center; height: 16px; }
.voice .bars i { width: 3px; border-radius: 2px; background: #a8a29e; height: 30%; animation: talk .9s ease-in-out infinite; }
.voice .bars i:nth-child(2) { animation-delay: -.3s; } .voice .bars i:nth-child(3) { animation-delay: -.6s; } .voice .bars i:nth-child(4) { animation-delay: -.15s; }
.voice.feret .bars i { background: #fcd34d; }
@keyframes talk { 50% { height: 100%; } }
.voice .said { min-height: 22px; }
.voice .said span { opacity: .25; transition: opacity .15s; }
.voice .said span.on { opacity: 1; }

/* Diagram drawing */
.draw { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); transition: stroke-dashoffset 1.1s ease-out; }
.draw.on { stroke-dashoffset: 0; }
.pop { opacity: 0; transition: opacity .35s; }
.pop.on { opacity: 1; }
.lbl rect { fill: #262626; stroke: rgba(255, 255, 255, .18); }
.lbl text { fill: #fafaf9; font: 600 11px Outfit, system-ui, sans-serif; }
.lbl.hot rect { fill: #fcd34d; stroke: #fcd34d; }
.lbl.hot text { fill: #1c1917; }
.mito.hot ellipse:first-child { stroke: #fcd34d; stroke-width: 3; filter: drop-shadow(0 0 5px rgba(252, 211, 77, .8)); }
.bar { transition: transform .35s ease, fill .25s; }

@media (prefers-reduced-motion: reduce) {
  .draw, .pop, .ring, .ring-tag, .fpanel, .voice, .bar { transition: none !important; }
  .try.on, .voice .bars i { animation: none; }
}
