:root {
  --night: #1f1b3a;
  --night-2: #2b2552;
  --marigold: #f5b400;
  --sindoor: #d7264d;
  --sindoor-dark: #b01b3d;
  --paper: #fffdfa;
  --ink: #231f20;
  --muted: #6b6470;
  --line: #e9e3ea;
  --ok: #1e8e5a;
  --err: #c0233f;
  --radius-lg: 18px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 'Mukta', system-ui, sans-serif;
}
h1, h2, h3, .display { font-family: 'Yatra One', 'Mukta', serif; font-weight: 400; line-height: 1.15; }
a { color: var(--sindoor-dark); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }

.wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }

/* Hero */
.hero { background: var(--night); color: #fff; padding: 28px 0 56px; position: relative; overflow: hidden; }
.hero .brand { font-family: 'Yatra One', serif; font-size: 22px; color: var(--marigold); text-decoration: none; }
.hero h1 { font-size: clamp(38px, 9vw, 60px); margin: 28px 0 12px; }
.hero p.lead { font-size: 19px; color: #d9d4ef; margin: 0 0 24px; max-width: 34ch; }
.lyric {
  font-family: 'Yatra One', serif;
  font-size: clamp(24px, 6vw, 34px);
  color: var(--marigold);
  min-height: 1.4em;
  margin: 28px 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lyric .note { display: inline-block; margin-right: 10px; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .lyric .note { animation: none; } }
.hero-input { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-input input { flex: 1 1 220px; }
.diya-row { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: radial-gradient(circle at 10px 18px, var(--marigold) 3px, transparent 4px) 0 0 / 40px 18px repeat-x; opacity: .55; }

/* Form controls */
label { display: block; font-weight: 600; margin: 18px 0 6px; }
label small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=tel], input[type=email], textarea, select {
  width: 100%;
  font: inherit;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}
.hero input[type=text] { border-color: transparent; }
textarea { min-height: 96px; resize: vertical; }
.err { color: var(--err); font-size: 15px; margin-top: 4px; min-height: 0; }
.err:empty { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 18px 'Mukta', sans-serif;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  background: var(--sindoor);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--sindoor-dark); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }

/* Chips for single choice */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { margin: 0; font-weight: 500; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; }
.chips input:checked + label { background: var(--night); border-color: var(--night); color: #fff; }
.chips input:focus-visible + label { outline: 3px solid var(--marigold); outline-offset: 2px; }

/* Order section */
.order { padding: 40px 0 120px; }
.order h2 { font-size: 32px; margin: 0 0 6px; }
.stepper { display: flex; gap: 6px; margin: 18px 0 8px; }
.stepper span { flex: 1; height: 5px; border-radius: 9px; background: var(--line); }
.stepper span.on { background: var(--sindoor); }
.step-label { color: var(--muted); font-size: 15px; margin: 0; }
fieldset { border: 0; padding: 0; margin: 0; }
fieldset[hidden] { display: none; }
.nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 14px 0 0; }
.check input { margin-top: 6px; width: 18px; height: 18px; flex: none; }

/* Summary bar */
.paybar {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: #fff; border-top: 1px solid var(--line);
  padding: 12px 16px; display: none; z-index: 5;
}
.paybar.show { display: block; }
.paybar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0; }
.paybar .price { font-size: 22px; font-weight: 700; }
.paybar .price small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }

/* How it works */
.how { background: #f7f3fb; padding: 40px 0; }
.how h2 { font-size: 30px; margin: 0 0 16px; }
.how ol { margin: 0; padding-left: 22px; }
.how li { margin-bottom: 12px; }
.how li b { display: block; }

.faq { padding: 40px 0; }
.faq h2 { font-size: 30px; margin: 0 0 12px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; color: #3e383f; }

footer { background: var(--night); color: #c9c3e4; padding: 28px 0 110px; font-size: 15px; }
footer a { color: #fff; margin-right: 14px; }

/* Status and song pages */
.page-top { background: var(--night); color: #fff; padding: 22px 0 40px; }
.page-top .brand { font-family: 'Yatra One', serif; font-size: 22px; color: var(--marigold); text-decoration: none; }
.page-top h1 { font-size: clamp(30px, 7vw, 46px); margin: 22px 0 6px; }
.track { list-style: none; padding: 0; margin: 28px 0; }
.track li { padding: 12px 0 12px 38px; position: relative; color: var(--muted); }
.track li::before { content: ''; position: absolute; left: 6px; top: 16px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.track li.done { color: var(--ink); }
.track li.done::before { background: var(--ok); border-color: var(--ok); }
.track li.now { color: var(--ink); font-weight: 600; }
.track li.now::before { border-color: var(--sindoor); background: var(--marigold); }
.player { background: var(--night-2); border-radius: var(--radius-lg); padding: 18px; margin-top: 18px; }
.player audio { width: 100%; }
.lyrics section { margin: 22px 0; }
.lyrics h3 { font-size: 18px; color: var(--sindoor-dark); margin: 0 0 4px; font-family: 'Mukta', sans-serif; font-weight: 700; }
.lyrics p { margin: 0; font-size: 19px; }
.legal { padding: 32px 0 80px; }
.legal h1 { font-size: 34px; }
.legal h2 { font-size: 22px; margin-top: 28px; }
