:root {
  color-scheme: dark;
  --bg: #0f1217;
  --card: #1e222a;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.55);
  --accent: #fad619;
  --send: #6bff9e;
  --danger: #ff5c5c;
  --radius: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

.shell {
  max-width: 440px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2 {
  margin: 0 0 12px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

h1 { font-size: 34px; line-height: 1.05; }
h2 { font-size: 28px; }

.muted {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 24px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  gap: 14px;
}

.hidden { display: none !important; }

.optional-label {
  font-size: 14px;
  font-weight: 700;
}

.optional-label span {
  color: var(--muted);
  font-weight: 600;
}

input {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
  background: #12151b;
  color: var(--text);
  outline: none;
}

input:focus { box-shadow: 0 0 0 2px var(--accent); }

.btn {
  border: 0;
  border-radius: 18px;
  padding: 18px 16px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
}

.btn.secondary.recording {
  background: var(--danger);
  color: #fff;
  box-shadow: none;
}

.btn.send {
  background: var(--send);
  color: #111;
  font-size: 20px;
  padding: 20px 16px;
  box-shadow: 0 10px 28px rgba(107, 255, 158, 0.28);
}

.card.success {
  text-align: center;
  padding: 28px 20px;
}

.check {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 900;
  color: #111;
  background: var(--send);
}

.done-copy { margin-bottom: 0; }

.timer {
  margin: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--muted);
}

audio { width: 100%; }

.status {
  min-height: 1.2em;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.status.error { color: var(--danger); }
