:root {
  --blue: #1e5aef;
  --blue-deep: #0a1a3a;
  --accent: #4d7fff;
  --muted: #6b7b96;
  --bg: #fbfcfe;
  --surface: #f1f4fa;
  --border: #e2e8f2;
  --success: #10b981;
  --amber: #f59e0b;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--blue-deep);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.inapp-banner {
  width: 100%;
  background: #fff7ed;
  color: #9a3412;
  border-bottom: 1px solid #fed7aa;
  font-size: 13px;
  line-height: 1.5;
  padding: 12px 18px;
  text-align: center;
}

.brand { padding: 22px 0 6px; letter-spacing: 6px; font-size: 18px; font-weight: 500; }
.brand-veil { color: var(--blue-deep); }
.brand-ful { color: var(--blue); }

#app { width: 100%; max-width: 460px; padding: 16px 28px 48px; flex: 1; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2.5px; color: var(--blue); margin: 14px 0 10px; }
.h { font-family: var(--serif); font-weight: 300; font-size: 34px; line-height: 1.15; margin: 0 0 14px; }
.h em { font-style: italic; color: var(--blue); }
.body { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 340px; margin: 0 0 24px; }
.lead-muted { color: var(--muted); margin-top: 40px; }

.listen-card { width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; margin-bottom: 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.listen-label { font-size: 13px; font-weight: 600; letter-spacing: 1px; color: var(--muted); margin: 0; }
.listen-hint { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0; max-width: 280px; }

.play-orb { width: 84px; height: 84px; border-radius: 50%; border: none; background: linear-gradient(135deg, var(--blue), var(--accent)); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 24px rgba(30,90,239,0.30); }
.play-orb.small { width: 52px; height: 52px; box-shadow: none; }
.play-orb.playing { opacity: 0.75; }

.record-orb-wrap { margin: 18px 0; display: flex; flex-direction: column; align-items: center; gap: 18px; min-height: 200px; justify-content: center; }
.record-orb { width: 150px; height: 150px; border-radius: 50%; border: 1px solid rgba(30,90,239,0.30); background: radial-gradient(circle at 35% 35%, #fff, #eef2fb 70%); color: var(--blue); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .2s; }
.record-orb.recording { background: linear-gradient(135deg, #dc2626, #ef4444); color: #fff; border-color: transparent; transform: scale(1.05); box-shadow: 0 0 0 12px rgba(220,38,38,0.10); }
.waveform { display: flex; gap: 4px; align-items: flex-end; height: 28px; }
.waveform span { width: 4px; background: var(--blue); border-radius: 2px; animation: wave 0.9s ease-in-out infinite; }
@keyframes wave { 0%,100% { height: 6px; } 50% { height: 26px; } }

.timer { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); margin: 4px 0 18px; }
.timer.live { color: var(--blue); font-style: normal; font-weight: 500; }

.btn-primary { width: 100%; background: var(--blue); color: #fff; border: none; border-radius: 30px; padding: 16px; font-family: var(--sans); font-size: 15px; font-weight: 600; cursor: pointer; margin-bottom: 12px; }
.btn-primary:disabled { opacity: 0.5; }
.btn-ghost { width: 100%; background: var(--surface); color: var(--blue-deep); border: 1px solid var(--border); border-radius: 30px; padding: 15px; font-family: var(--sans); font-size: 15px; font-weight: 500; cursor: pointer; text-decoration: none; display: inline-block; box-sizing: border-box; margin-bottom: 12px; }
.btn-link { background: none; border: none; color: var(--blue); font-family: var(--sans); font-size: 14px; font-weight: 600; cursor: pointer; }

.foot-note { font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 8px; max-width: 320px; }
.foot-note a { color: var(--blue); }

.review-card { width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 16px; display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.review-card > div { flex: 1; text-align: left; }
.review-title { font-weight: 600; font-size: 14px; margin: 0; }
.review-dur { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--muted); margin: 2px 0 0; }

.optional-label { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--muted); align-self: flex-start; margin: 4px 0 6px; }
.optional-help { font-size: 12px; line-height: 1.5; color: var(--muted); text-align: left; align-self: flex-start; margin: 0 0 16px; }
.field-label { font-size: 13px; font-weight: 600; color: var(--blue-deep); align-self: flex-start; margin: 6px 0 8px; }
.text-input { width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 13px 14px; font-family: var(--sans); font-size: 15px; color: var(--blue-deep); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; margin-bottom: 22px; }
.chip { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 9px 16px; font-family: var(--sans); font-size: 14px; color: var(--muted); cursor: pointer; }
.chip.selected { background: rgba(30,90,239,0.10); border-color: var(--blue); color: var(--blue); font-weight: 600; }

.success-check { width: 88px; height: 88px; border-radius: 50%; background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.35); color: var(--success); display: flex; align-items: center; justify-content: center; margin: 30px 0 8px; }
.about-card { width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 22px; margin: 14px 0; }
.about-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; color: var(--muted); margin: 0 0 8px; }
.about-title { font-family: var(--serif); font-weight: 300; font-size: 24px; line-height: 1.2; margin: 0 0 10px; }
.about-title em { font-style: italic; color: var(--blue); }
.about-body { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 16px; }

/* 15-second minimum gate on the review step */
.min-note { color: #dc2626; font-size: 13px; text-align: center; margin: 0 0 12px; }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }
