:root {
  color-scheme: light;
  --ink: #10251f;
  --muted: #64726b;
  --paper: #f6f4ee;
  --card: #ffffff;
  --line: #dce1db;
  --accent: #f4c65b;
  --accent-dark: #c89a2d;
  --shadow: 0 14px 35px rgba(16, 37, 31, 0.09);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: radial-gradient(circle at 100% 0, #deebe6 0, transparent 28rem), var(--paper);
}

button, a { font: inherit; }

button { cursor: pointer; }

.app-shell { width: min(100%, 680px); margin: 0 auto; padding: 20px 18px 48px; }

.topbar { display: flex; align-items: center; justify-content: space-between; }

.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; letter-spacing: 0.12em; text-decoration: none; font-size: 0.82rem; }

.brand-mark { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--ink); color: var(--accent); font-size: 1.25rem; }

.status { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.8rem; }

.hero { padding: 46px 4px 25px; }

.eyebrow { margin: 0 0 10px; color: #5f7168; font-weight: 750; letter-spacing: 0.06em; font-size: 0.75rem; text-transform: uppercase; }

h1, h2, p { margin-top: 0; }
h1 { max-width: 13ch; margin-bottom: 18px; font-size: clamp(2.2rem, 8vw, 4.2rem); line-height: 0.98; letter-spacing: -0.055em; }
h2 { margin-bottom: 0; font-size: 1.2rem; letter-spacing: -0.025em; }
.lead { max-width: 52ch; margin-bottom: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }

.audio-card, .content-card, .next-card, .feedback-card { border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }

.audio-card { margin-bottom: 16px; padding: 18px; background: var(--ink); color: #fff; }

.audio-card__meta { display: flex; align-items: center; gap: 10px; color: #d0ddd7; font-size: 0.87rem; }
.sound-bars { display: inline-flex; align-items: center; gap: 3px; height: 15px; }
.sound-bars i { display: block; width: 3px; border-radius: 9px; background: var(--accent); }
.sound-bars i:nth-child(1) { height: 6px; }.sound-bars i:nth-child(2) { height: 13px; }.sound-bars i:nth-child(3) { height: 9px; }.sound-bars i:nth-child(4) { height: 4px; }

.play-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin: 18px 0 12px; min-height: 58px; border: 0; border-radius: 14px; background: var(--accent); color: var(--ink); font-weight: 800; }
.play-button:hover { background: #f8d276; }.play-button:focus-visible, .next-link:focus-visible, .feedback-button:focus-visible, .text-toggle:focus-visible { outline: 3px solid #5a93df; outline-offset: 3px; }
.play-icon { width: 18px; font-size: 1rem; }.audio-note { margin: 0; color: #b4c4bd; font-size: 0.8rem; text-align: center; }

.content-card, .next-card, .feedback-card { margin-top: 16px; padding: 22px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.text-toggle { padding: 0; border: 0; background: transparent; color: #45695a; font-size: 0.86rem; text-decoration: underline; }
.story { color: #37473f; line-height: 1.65; }.story p:last-child { margin-bottom: 0; }
.next-card { background: #e4efe8; }.next-card .eyebrow { color: #49705f; }.next-link { display: inline-flex; gap: 9px; margin-top: 20px; color: var(--ink); font-weight: 750; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.feedback-card { color: var(--muted); font-size: 0.91rem; line-height: 1.5; box-shadow: none; }.feedback-card p:last-child { margin-bottom: 0; }
.feedback-button { min-height: 38px; padding: 0 13px; border: 1px solid #b9cabe; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 700; }.feedback-button:disabled { color: var(--muted); cursor: default; }.feedback-message { margin-top: 10px; font-size: 0.82rem; }

@media (min-width: 640px) { .app-shell { padding: 28px 30px 60px; }.audio-card, .content-card, .next-card, .feedback-card { padding: 26px; } }
