/* Colours from the Pariksha design system (app/designsystem/tokens.json) */
:root {
  --surface: #FFF5E9;
  --surface-raised: #FFFFFF;
  --surface-sunken: #F3EADE;
  --line: #CEC5BA;
  --line-strong: #837B70;
  --ink: #251F16;
  --ink-muted: #524A41;
  --ink-subtle: #6A6258;
  --brand: #13458B;
  --brand-strong: #002F66;
  --brand-soft: #E3E7FE;
  --on-brand: #FFFFFF;
  --hero: #13458B;
  --on-hero: #FFFFFF;
  --on-hero-muted: #DCE1FF;
  --correct: #02531E;
  --correct-soft: #B7FFBE;
  --on-correct: #FFFFFF;
  --display: 'Anek Latin', 'Anek Malayalam', system-ui, sans-serif;
  --text: 'Noto Sans', 'Noto Sans Malayalam', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #181511;
    --surface-raised: #2A2724;
    --surface-sunken: #110E07;
    --line: #494642;
    --line-strong: #8E8B86;
    --ink: #F0E7DB;
    --ink-muted: #C9C0B4;
    --ink-subtle: #ADA599;
    --brand: #B0CDFF;
    --brand-strong: #D5E3FF;
    --brand-soft: #1C3D61;
    --on-brand: #011D36;
    --hero: #1C3D61;
    --on-hero: #F8F9FF;
    --on-hero-muted: #C9D2FF;
    --correct: #8CD895;
    --correct-soft: #003912;
    --on-correct: #002202;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
a:hover { color: var(--brand-strong); }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: 19px; line-height: 1.35; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.muted { color: var(--ink-muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.header { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; color: var(--brand); }
.brand:hover { color: var(--brand); }
.wordmark { font-family: 'Anek Latin', sans-serif; font-size: 28px; font-weight: 600; letter-spacing: -0.01em; line-height: 1; color: var(--brand); }
.wordmark-sm { font-size: 18px; }
.wordmark-ml { font-family: 'Anek Malayalam', sans-serif; font-size: 15px; font-weight: 500; color: var(--ink-muted); padding-top: 4px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.nav a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 12px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--brand); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 16px;
  background: var(--brand); color: var(--on-brand); text-decoration: none;
  font-family: var(--display); font-size: 17px; font-weight: 600;
}
.btn:hover { background: var(--brand-strong); color: var(--on-brand); }
.btn-sm { min-height: 48px; padding: 0 18px; border-radius: 12px; font-size: 15px; }
.link { display: flex; align-items: center; min-height: 52px; font-weight: 600; }

/* Hero */
.hero { padding-top: 40px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pill { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font-size: 14px; font-weight: 500; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-muted); max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 4px; }

/* Sample question card */
.sample { flex: 1 1 360px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sample-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: 0 12px 32px rgba(36,31,23,0.10); display: flex; flex-direction: column; gap: 14px; }
.sample-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-muted); }
.badge { padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-final { background: var(--brand-soft); color: var(--brand-strong); }
.sample-q { font-size: 18px; line-height: 30px; font-weight: 500; }
.qnum { font-family: var(--display); font-weight: 600; color: var(--brand); margin-right: 6px; }
.options { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.option { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px 8px 10px; border: 1.5px solid var(--line-strong); border-radius: 12px; font-size: 16px; }
.option-correct { background: var(--correct-soft); border-color: var(--correct); font-weight: 600; }
.bubble { flex-shrink: 0; width: 32px; height: 32px; border-radius: 999px; border: 1.5px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--ink-muted); }
.bubble-filled { background: var(--correct); border-color: var(--correct); color: var(--on-correct); }
.tick { margin-left: auto; color: var(--correct); flex-shrink: 0; }
.sample-foot { font-size: 14px; color: var(--correct); font-weight: 500; }
.sample figcaption { font-size: 13px; color: var(--ink-subtle); padding-left: 4px; }

/* Sections */
.band-raised { background: var(--surface-raised); }
.section { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.section-head { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.card-soon { background: transparent; border-style: dashed; border-width: 1.5px; border-color: var(--line-strong); }
.eyebrow { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--brand); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li div { display: flex; flex-direction: column; gap: 4px; }
.step-bubble { flex-shrink: 0; width: 40px; height: 40px; border-radius: 999px; background: var(--brand); color: var(--on-brand); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 18px; font-weight: 600; }

.band-hero { background: var(--hero); color: var(--on-hero); }
.promise { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.promise p { font-size: clamp(17px, 1.6vw, 20px); color: var(--on-hero-muted); }

.notify { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.notify > div { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer-inner { padding-top: 28px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 16px; font-size: 14px; color: var(--ink-muted); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; }
.footer-brand { display: flex; align-items: baseline; gap: 6px; }
.footer a { color: var(--ink-muted); }
.disclaimer { font-size: 13px; line-height: 1.6; color: var(--ink-subtle); max-width: 760px; }
.copy { font-size: 13px; color: var(--ink-subtle); }

@media (max-width: 480px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .wordmark-ml { display: none; }
}
