:root {
  --plum-ink: #2E1A3B;
  --plum: #6A2C7E;
  --plum-deep: #3A1C4C;
  --bloom: #F2EBF5;
  --paper: #FCFBFD;
  --leaf: #3E7D5A;
  --slate: #4B4A57;
  --line: #E3DAE8;
  --display: "Schibsted Grotesk", system-ui, sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: var(--plum); }
h1, h2, h3 { color: var(--plum-ink); font-family: var(--display); margin: 0; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--plum); color: #fff;
  font: 600 1rem/1 var(--body); text-decoration: none;
  border: 0; border-radius: 999px; cursor: pointer;
  transition: background .15s ease;
}
.btn:hover { background: var(--plum-deep); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.text-link { font-weight: 600; color: var(--plum-ink); text-underline-offset: 4px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgb(252 251 253 / .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 8px; font: 800 1.375rem/1 var(--display); color: var(--plum-ink); text-decoration: none; letter-spacing: -0.02em; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--slate); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.nav a:hover { color: var(--plum-ink); }

/* Hero */
.hero { padding: 64px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-areas: "head app" "rest app"; column-gap: 64px; align-items: end; }
.hero-head { grid-area: head; }
.audience { display: inline-block; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; background: var(--bloom); color: var(--plum-ink); font: 600 .8125rem/1 var(--body, inherit); letter-spacing: .04em; text-transform: uppercase; }
.hero-rest { grid-area: rest; align-self: start; }
.app { grid-area: app; align-self: center; }
.display {
  display: flex; flex-direction: column;
  font-size: clamp(3rem, 6.4vw, 6rem); line-height: .95; font-weight: 900;
  letter-spacing: -0.045em; white-space: nowrap;
}
.lede { margin-top: 0; padding-top: 28px; font: 700 clamp(1.35rem, 2.2vw, 1.75rem)/1.25 var(--display); color: var(--plum-ink); letter-spacing: -0.01em; }
.hero-body { margin-top: 14px; max-width: 34em; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.fine { margin-top: 18px; font-size: .875rem; color: #6C6A78; }

.video-frame { position: relative; border-radius: 28px; overflow: hidden; background: var(--bloom); aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgb(58 28 76 / .45); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.sound {
  position: absolute; right: 14px; top: 14px;
  padding: 8px 14px; border: 0; border-radius: 999px;
  background: rgb(46 26 59 / .72); color: #fff; font: 600 .8125rem/1 var(--body); cursor: pointer;
}
.sound[aria-pressed="true"] { background: var(--plum); }

/* How it works */
.how { padding: 96px 0; background: var(--bloom); }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step h3 { display: flex; align-items: center; gap: 12px; margin: 26px 0 8px; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--plum-ink); color: #fff; font: 800 1rem/1 var(--display); }
.step > p { max-width: 30em; }
.mock { height: 168px; border-radius: 18px; background: #fff; border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.mock-write p { font-size: .9375rem; color: var(--plum-ink); }
.mock-write mark { background: none; color: inherit; text-decoration: underline wavy #C0392B; text-underline-offset: 4px; }
.flag { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #FBF1E6; color: #7A4A12; font-size: .8125rem; line-height: 1.4; }
.approve-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.who { font-weight: 600; color: var(--plum-ink); font-size: .9375rem; }
.status { padding: 6px 12px; border-radius: 999px; background: #E6F2EB; color: var(--leaf); font-weight: 600; font-size: .8125rem; }
.channels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.channels span { padding: 5px 10px; border-radius: 8px; background: var(--bloom); color: var(--plum-ink); font-size: .8125rem; font-weight: 500; }
.setup-note { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--plum-ink); }


/* Founder note */
.note { padding: 0 0 104px; }
.note-inner { display: flex; gap: 28px; align-items: flex-start; max-width: 820px; }
.note blockquote { margin: 0; }
.note blockquote p { font: 600 clamp(1.25rem, 2vw, 1.5rem)/1.4 var(--display); color: var(--plum-ink); letter-spacing: -0.01em; }
.note blockquote footer { margin-top: 14px; font-size: .9375rem; }

/* Compliance */
.compliance { padding: 104px 0; background: var(--plum-deep); color: #E9DFEE; }
.compliance h2 { color: #fff; }
.compliance-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.fine-light { margin-top: 20px; font-size: .9375rem; color: #C9B8D3; max-width: 26em; }
.checks { margin: 0; display: grid; gap: 0; }
.checks div { padding: 20px 0 20px 36px; border-top: 1px solid rgb(255 255 255 / .14); position: relative; }
.checks div:last-child { border-bottom: 1px solid rgb(255 255 255 / .14); }
.checks div::before { content: ""; position: absolute; left: 0; top: 23px; width: 20px; height: 20px; border-radius: 50%; background: #5FA67E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks dt { font: 700 1.125rem/1.3 var(--display); color: #fff; }
.checks dd { margin: 4px 0 0; }

/* Apply */
.apply { padding: 104px 0; }
.apply-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.offer h3 { margin: 32px 0 10px; font-size: 1.0625rem; }
.offer ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.form { display: grid; gap: 16px; padding: 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 48px -32px rgb(58 28 76 / .35); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9375rem; color: var(--plum-ink); }
.form input, .form select { font: 400 1rem/1.4 var(--body); color: var(--plum-ink); padding: 12px 14px; border: 1px solid #CFC3D6; border-radius: 12px; background: #fff; width: 100%; }
.form input:focus, .form select:focus { outline: 2px solid var(--plum); outline-offset: 1px; border-color: var(--plum); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--slate); }
.form .check input { width: 18px; height: 18px; margin-top: 3px; padding: 0; accent-color: var(--plum); flex: none; }
.form .btn { margin-top: 6px; }
.form-msg { min-height: 1.5em; font-weight: 600; }
.form-msg.ok { color: var(--leaf); }
.form-msg.err { color: #B03A2E; }
.hp { position: absolute; left: -9999px; }

/* FAQ */
.faq { padding: 0 0 104px; }
.faq-inner { max-width: 820px; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font: 700 1.125rem/1.35 var(--display); color: var(--plum-ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 600; color: var(--plum); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; max-width: 40em; }

/* Footer */
.site-footer { padding: 40px 0 56px; border-top: 1px solid var(--line); font-size: .8125rem; color: #6C6A78; }
.site-footer p { max-width: 70em; }
.footer-links { display: flex; gap: 20px; margin-top: 14px; }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid, .compliance-grid, .apply-grid { grid-template-columns: 1fr; gap: 40px; }
    .steps { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .header-row { justify-content: space-between; }
  .btn-small { padding: 0 14px; font-size: .875rem; }
  .form { padding: 22px; }
  .note-inner { flex-direction: column; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (max-width: 640px) { .hide-sm { display: none; } }

/* Hero app walkthrough */
.app { margin: 0; }
.app-steps { list-style: none; display: flex; gap: 8px; margin: 0 0 14px; padding: 0; }
.app-steps li { flex: 1; padding: 9px 0; border-radius: 999px; text-align: center; font-size: .8125rem; font-weight: 600; color: #8A8396; background: #fff; border: 1px solid var(--line); transition: background .3s, color .3s; }
.app-steps li.on { background: var(--plum-ink); color: #fff; border-color: var(--plum-ink); }
.app-screen { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 30px 60px -30px rgb(58 28 76 / .45); }
.pane { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
.pane.on { opacity: 1; visibility: visible; }
.app-screen .video-frame { border-radius: 0; box-shadow: none; height: 100%; }
.app figcaption { margin-top: 12px; font-size: .8125rem; color: #6C6A78; }
.pane-topic, .pane-post { padding: 30px 28px; display: flex; flex-direction: column; }
.field-label { font-size: .8125rem; font-weight: 600; color: #8A8396; margin-bottom: 8px; }
.topic-input { padding: 14px 16px; border: 2px solid var(--plum); border-radius: 14px; font: 600 1.0625rem/1.3 var(--body); color: var(--plum-ink); min-height: 54px; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--plum); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.script { margin-top: 24px; flex: 1; }
.script-line { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--plum-ink); font-size: .9375rem; opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; }
.script-line.on, .check-ok.on { opacity: 1; transform: none; }
.check-ok { margin-top: 16px; font-size: .875rem; font-weight: 600; color: var(--leaf); opacity: 0; transition: opacity .35s; }
.fake-btn { align-self: flex-start; padding: 13px 22px; border-radius: 999px; background: var(--plum); color: #fff; font-weight: 600; font-size: .9375rem; transition: transform .15s; }
.fake-btn.press { transform: scale(.94); }
.approve-card { display: flex; gap: 18px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.approve-card img { border-radius: 12px; object-fit: cover; }
.approve-card .who { font-weight: 600; color: var(--plum-ink); }
.approve-card .status { margin-top: 8px; display: inline-block; padding: 6px 12px; border-radius: 999px; background: #E6F2EB; color: var(--leaf); font-weight: 600; font-size: .875rem; }
.posted { list-style: none; margin: 10px 0 0; padding: 0; }
.posted li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--plum-ink); }
.posted li span { opacity: 0; transition: opacity .35s; }
.posted li.on span { opacity: 1; }
.post-btn { margin-top: auto; }
.post-btn.done { background: var(--leaf); }
.posted span { color: var(--leaf); font-size: .875rem; }
.pane-end { padding: 28px; display: flex; flex-direction: column; justify-content: center; background: var(--plum-ink); }
.end-line { margin: 0; font: 900 clamp(2rem, 9cqw, 3rem)/1.02 var(--display); letter-spacing: -0.04em; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.end-line.on { opacity: 1; transform: none; }
.app-screen { container-type: inline-size; }

/* How it works extras */
.setup { margin-top: 14px; max-width: 40em; color: var(--plum-ink); }
.mock-chart { justify-content: space-between; }
.mini-title { font: 700 .9375rem/1.2 var(--display); color: var(--plum-ink); }
.mini-bars { display: flex; align-items: flex-end; gap: 10px; height: 92px; border-bottom: 2px solid var(--line); }
.mini-bars i { flex: 1; border-radius: 6px 6px 0 0; background: var(--plum); height: 42%; }
.mini-bars i:first-child { background: #C4B4CD; height: 100%; }

/* Why */
.why { padding: 104px 0; }
.why-inner { max-width: 820px; }
.why p { margin-top: 18px; font-size: 1.1875rem; color: var(--plum-ink); max-width: 36em; }
.note { padding: 104px 0 0; }

@media (prefers-reduced-motion: reduce) {
  .pane, .script-line, .check-ok, .posted li, .end-line { transition: none; }
  .caret { animation: none; }
}
@media (max-width: 900px) { .app { max-width: 440px; } }

@media (max-width: 900px) {
  .hero { padding: 20px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "aud" "app" "head" "rest"; row-gap: 16px; }
  .hero-head { display: contents; }
  .audience { grid-area: aud; justify-self: center; margin: 0; }
  .display { grid-area: head; }
  .display { font-size: clamp(2.3rem, 10.5vw, 3.4rem); }
  .app { display: flex; flex-direction: column; width: 100%; max-width: min(440px, 46vh); justify-self: center; }
  .app-steps { order: 2; margin: 12px 0 0; }
  .app-screen { order: 1; }
  .app figcaption { order: 3; }
  .lede { padding-top: 4px; }
}

/* Post pane: compact so the Approve & post button fits on small phones */
.pane-post { padding: 22px 24px; }
.pane-post .approve-card { gap: 14px; padding-bottom: 14px; }
.pane-post .approve-card img { width: 64px; height: 80px; }
.pane-post .approve-card .status { margin-top: 6px; font-size: .8125rem; }
.pane-post .posted { margin-top: 4px; }
.pane-post .posted li { padding: 8px 0; font-size: .9375rem; }
.post-btn { margin-top: auto; align-self: stretch; text-align: center; }

/* iOS draws its own play glyph when autoplay is blocked; ours is the "Tap to play" button */
.video-frame video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.video-frame video { cursor: pointer; }

/* Intro card: the first thing the walkthrough shows */
.pane-intro { padding: 28px; display: flex; flex-direction: column; justify-content: center; background: var(--plum-ink); }
.intro-line { margin: 0; font: 800 clamp(1.5rem, 7.4cqw, 2.4rem)/1.12 var(--display); letter-spacing: -0.03em; color: #D9C7E3; }
.intro-strong { margin-top: .35em; color: #fff; }

/* Topic pane: compact so nothing spills or gets cut off on phones */
.pane-topic { padding: 20px 22px; }
.pane-topic > * { flex-shrink: 0; }
.pane-topic .field-label { margin: 0 0 6px; }
.pane-topic .topic-input { margin: 0; padding: 10px 14px; min-height: 0; font-size: clamp(.875rem, 4.5cqw, 1.0625rem); white-space: nowrap; overflow: hidden; }
.pane-topic .script { margin-top: 14px; flex: 1 1 auto; min-height: 0; }
.pane-topic .script-line { margin: 0; padding: 7px 0; font-size: clamp(.8125rem, 4cqw, .9375rem); line-height: 1.4; }
.pane-topic .check-ok { margin: 10px 0 0; font-size: .8125rem; }
.pane-topic .fake-btn { margin-top: 10px; padding: 11px 20px; }

/* Legal pages */
.legal { padding: 56px 0 88px; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.03em; line-height: 1.05; }
.legal-date { margin-top: 10px; font-size: .875rem; color: #6C6A78; }
.legal h2 { margin-top: 40px; font-size: 1.375rem; letter-spacing: -0.01em; }
.legal h3 { margin-top: 22px; font-size: 1.0625rem; }
.legal p, .legal ul { margin-top: 12px; }
.legal ul { padding-left: 1.25em; }
.legal li { margin-top: 6px; }
.legal a, .form-legal a { color: var(--plum); text-underline-offset: 3px; }
.form-legal { margin-top: 12px; font-size: .8125rem; color: #6C6A78; }
.footer-links { flex-wrap: wrap; }

/* End card: outcome line */
.end-line { font-size: clamp(1.5rem, 7.6cqw, 2.6rem); line-height: 1.1; letter-spacing: -0.035em; }
.end-soft { color: #D9C7E3; margin-bottom: .2em; }

/* Hero timing claim + sample button */
.time-claim { margin: 22px 0 0; display: inline-block; padding: 9px 16px; border-radius: 12px; background: var(--plum); color: #fff; font: 700 clamp(1.05rem, 1.7vw, 1.3rem)/1.2 var(--display); letter-spacing: -0.01em; }
.hero-rest .lede { padding-top: 18px; }
.hero-actions { gap: 14px 18px; }
.btn-ghost { background: transparent; color: var(--plum); border: 2px solid var(--plum); cursor: pointer; gap: 8px; }
.btn-ghost:hover { background: var(--bloom); }
.btn-ghost svg { width: 14px; height: 14px; flex: none; }
.fine + .fine { margin-top: 8px; }
@media (max-width: 900px) {
  .time-claim { margin-top: 8px; }
  .hero-rest .lede { padding-top: 14px; }
}

/* Sample video dialog */
.sample-dialog { border: 0; padding: 14px; border-radius: 22px; background: var(--plum-ink); width: min(420px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; }
.sample-dialog::backdrop { background: rgb(30 14 40 / .72); }
.sample-dialog video { display: block; width: 100%; aspect-ratio: 4 / 5; max-height: calc(100dvh - 150px); border-radius: 14px; background: #000; object-fit: contain; }
.dialog-close { display: block; margin: 0 0 10px auto; padding: 8px 14px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .14); color: #fff; font: 600 .875rem/1 var(--body); cursor: pointer; }
.dialog-note { margin: 10px 4px 2px; font-size: .8125rem; line-height: 1.4; color: #D9C7E3; }

/* Walkthrough: step buttons sit under the screen at every size */
.app { display: flex; flex-direction: column; }
.app-screen { order: 1; }
.app-steps { order: 2; margin: 12px 0 0; }
.app figcaption { order: 3; }

/* Desktop: size the hero to the window height so the whole walkthrough and the buttons are visible without scrolling */
@media (min-width: 901px) {
  .hero { padding: clamp(18px, 4svh, 64px) 0 clamp(40px, 8svh, 88px); }
  .hero-grid { align-items: center; grid-template-areas: "head app" "rest app"; row-gap: 0; }
  .hero-head { align-self: end; }
  .display { font-size: clamp(2.6rem, min(6.4vw, 11.5svh), 6rem); }
  .audience { margin-bottom: clamp(8px, 1.8svh, 18px); }
  .hero-rest .lede { padding-top: clamp(12px, 2.6svh, 28px); font-size: clamp(1.15rem, min(2.2vw, 3.6svh), 1.75rem); }
  .hero-body { margin-top: clamp(8px, 1.6svh, 14px); }
  .hero-actions { margin-top: clamp(14px, 3svh, 32px); }
  .app { width: 100%; max-width: clamp(250px, calc((100svh - 235px) * 0.8), 520px); justify-self: center; align-self: start; grid-row: 1 / span 2; }
  .hero-grid { align-items: start; }
  .hero-head { align-self: start; }
}
@media (min-width: 901px) and (max-height: 720px) {
  .hero-body { font-size: 1rem; line-height: 1.5; }
  .btn { min-height: 46px; }
}

/* Small walkthrough screen (short desktop windows): tighten the inner screens */
.pane-topic .topic-input { font-size: clamp(.6875rem, 4.1cqw, 1.0625rem); }
@container (max-width: 310px) {
  .pane-topic { padding: 16px 18px; }
  .pane-topic .script { margin-top: 10px; }
  .pane-topic .script-line { padding: 5px 0; }
  .pane-post { padding: 16px 18px; }
  .pane-post .approve-card img { width: 48px; height: 60px; }
  .pane-post .posted li { padding: 6px 0; font-size: .875rem; }
  .fake-btn { padding: 9px 16px; font-size: .875rem; }
}
.app-steps li { white-space: nowrap; }
@container (max-width: 310px) {
  .pane-topic .script-line { font-size: .6875rem; line-height: 1.35; padding: 4px 0; }
  .pane-topic .check-ok { margin-top: 6px; font-size: .6875rem; }
  .pane-topic .field-label { font-size: .6875rem; margin-bottom: 4px; }
  .pane-topic .fake-btn { margin-top: 8px; }
}
@media (min-width: 901px) and (max-height: 640px) {
  .app-steps { gap: 6px; }
  .app-steps li { font-size: .6875rem; padding: 8px 0; }
}

/* Sample popup: the walkthrough itself, lifted over a blurred page */
.sample-dialog { padding: 14px 16px 16px; border-radius: 26px; background: var(--paper); width: min(440px, calc(100vw - 24px), calc((100dvh - 190px) * 0.8 + 32px)); max-height: calc(100dvh - 16px); overflow: visible; box-shadow: 0 40px 90px -30px rgb(20 8 30 / .7); }
.sample-dialog::backdrop { background: rgb(30 14 40 / .5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.sample-dialog .app { width: 100%; max-width: none; margin: 0; }
.sample-dialog .dialog-close { background: var(--bloom); color: var(--plum-ink); }
.app-placeholder { grid-area: app; }
@media (min-width: 901px) { .app-placeholder { grid-row: 1 / span 2; } }

/* Sound toggle sits in the caption row under the walkthrough */
.app figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app figcaption .sound { position: static; flex: none; padding: 7px 13px; border: 0; border-radius: 999px; background: var(--bloom); color: var(--plum-ink); font: 600 .8125rem/1 var(--body); cursor: pointer; white-space: nowrap; }
.app figcaption .sound[aria-pressed="true"] { background: var(--plum); color: #fff; }

/* Words on the opening and closing cards are typed in one at a time */
.typed-word { opacity: 0; }
.typed-word.on { opacity: 1; }
.pane-end .end-line { opacity: 1; transform: none; }

/* Cards typed letter by letter, with a cursor */
.typed-word { opacity: 1; white-space: nowrap; }
.typed-char { opacity: 0; }
.typed-char.on { opacity: 1; }
.card-caret { display: inline-block; width: .06em; height: .82em; margin-left: .05em; vertical-align: -.06em; background: currentColor; animation: blink 1s steps(1) infinite; }

/* Sound: the whole walkthrough is the switch, with a speaker on it that says so */
.app-screen { cursor: pointer; }
.snd-chip { position: absolute; z-index: 5; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 8px; border-radius: 999px; background: rgb(46 26 59 / .82); color: #fff; font: 600 .75rem/1 var(--body); pointer-events: none; box-shadow: 0 0 0 1.5px rgb(255 255 255 / .35); }
.snd-chip svg { width: 18px; height: 18px; flex: none; }
.snd-chip .snd-wave { display: none; }
.snd-chip.is-on { background: var(--plum); }
.snd-chip.is-on .snd-wave { display: inline; }
.snd-chip.is-on .snd-x { display: none; }
/* On the Topic and Approve screens the corner is tight: show the speaker only */
.app[data-pane="0"] .snd-chip, .app[data-pane="2"] .snd-chip { padding: 0 6px; }
.app[data-pane="0"] .snd-label, .app[data-pane="2"] .snd-label { display: none; }
.snd-toast { position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 10px 18px; border-radius: 999px; background: rgb(30 14 40 / .88); color: #fff; font: 600 .9375rem/1 var(--body); opacity: 0; pointer-events: none; transition: opacity .2s; white-space: nowrap; }
.snd-toast.on { opacity: 1; }
