:root {
  color-scheme: light;
  --bg: #f2efe9;
  --panel: rgba(250, 248, 244, 0.86);
  --card: rgba(255, 255, 255, 0.74);
  --line: rgba(70, 52, 34, 0.14);
  --text: #2e2419;
  --muted: #6d5d4d;
  --accent: #0d6b63;
  --accent-strong: #0a544d;
  --danger: #9c3927;
  --shadow: 0 24px 80px rgba(74, 53, 30, 0.12);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(13, 107, 99, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(210, 104, 44, 0.16), transparent 26%),
    linear-gradient(180deg, #f7f2ea 0%, var(--bg) 100%);
  color: var(--text);
}

.shell {
  width: min(920px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.home-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.panel,
.card {
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.panel {
  background: var(--panel);
  padding: 28px;
}

.hero-panel {
  padding: 48px;
}

.panel-header,
.hero-actions,
.actions,
.status-grid {
  display: flex;
  gap: 16px;
}

.panel-header,
.actions {
  justify-content: space-between;
  align-items: center;
}

.panel-header {
  margin-bottom: 20px;
}

.status-grid {
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.46);
}

.status-grid > div {
  min-width: 140px;
}

.card {
  background: var(--card);
  padding: 24px;
  margin-bottom: 18px;
}

.stack {
  display: grid;
  gap: 14px;
}

.eyebrow,
.label,
.tip,
.lede,
.link-action {
  color: var(--muted);
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 12px;
  padding: 0 12px;
  border: 1px solid rgba(13, 107, 99, 0.22);
  border-radius: 999px;
  background: rgba(13, 107, 99, 0.08);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1;
}

h2 {
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.lede {
  max-width: 56ch;
  font-size: 1.05rem;
  line-height: 1.6;
}

.tip {
  margin-bottom: 22px;
}

.button,
input,
.link-action {
  border-radius: 999px;
  font: inherit;
}

input {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(70, 52, 34, 0.18);
  background: rgba(255, 255, 255, 0.84);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 120ms ease, opacity 120ms ease, background 120ms ease;
}

.button:hover,
.link-action:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.primary {
  background: var(--accent);
  color: white;
}

.primary:hover {
  background: var(--accent-strong);
}

.secondary {
  background: rgba(13, 107, 99, 0.12);
  color: var(--accent-strong);
}

.ghost,
.link-action {
  background: transparent;
  color: var(--text);
}

.banner {
  margin: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
}

.banner[data-tone="success"] {
  background: rgba(13, 107, 99, 0.14);
  color: var(--accent-strong);
}

.banner[data-tone="error"] {
  background: rgba(156, 57, 39, 0.12);
  color: var(--danger);
}

.label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

audio {
  width: 100%;
  margin-top: 18px;
}

.hidden {
  display: none;
}

@media (max-width: 640px) {
  .shell {
    width: min(100vw, calc(100vw - 20px));
    padding: 18px 0 28px;
  }

  .panel,
  .hero-panel,
  .card {
    padding: 20px;
    border-radius: 24px;
  }

  .panel-header,
  .actions,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
