/* Exam Weightage — the data is the design.
   One typeface, tabular figures, and a chart that carries the argument. */

:root {
  --paper:      #ffffff;
  --canvas:     #f6f7f9;
  --ink:        #101828;
  --ink-2:      #475467;
  --ink-3:      #98a2b3;
  --line:       #e4e7ec;
  --brand:      #1d4ed8;
  --brand-ink:  #ffffff;
  --brand-soft: #eff4ff;
  --hot:        #d92d20;
  --good:       #067647;
  --bar-1:      #1d4ed8;
  --bar-2:      #3b82f6;
  --bar-3:      #7ba4f8;
  --bar-4:      #b3ccfb;
  --shadow:     0 1px 2px rgba(16,24,40,.04), 0 8px 24px -12px rgba(16,24,40,.12);
  --shadow-lg:  0 2px 4px rgba(16,24,40,.04), 0 24px 48px -24px rgba(16,24,40,.24);
  --r:          14px;
  --wrap:       1080px;
  --text:       720px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper:      #16181d;
    --canvas:     #0e1013;
    --ink:        #f2f4f7;
    --ink-2:      #a9b1bd;
    --ink-3:      #6b7280;
    --line:       #282c34;
    --brand:      #6d9bff;
    --brand-ink:  #0b1020;
    --brand-soft: #182135;
    --hot:        #f97066;
    --good:       #47cd89;
    --bar-1:      #6d9bff;
    --bar-2:      #4a7ff0;
    --bar-3:      #35589f;
    --bar-4:      #26375e;
    --shadow:     0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
    --shadow-lg:  0 2px 4px rgba(0,0,0,.4), 0 24px 48px -24px rgba(0,0,0,.8);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Inter', ui-sans-serif, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv05' 1, 'ss01' 1;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: var(--text); }

h1, h2, h3 { letter-spacing: -0.028em; line-height: 1.12; margin: 0; font-weight: 680; }
h1 { font-size: clamp(34px, 5.4vw, 54px); }
h2 { font-size: clamp(24px, 3.2vw, 32px); }
h3 { font-size: 17px; letter-spacing: -0.015em; line-height: 1.35; }
p  { margin: 0 0 1em; }
a  { color: var(--brand); text-underline-offset: 3px; }

.num { font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */

header.site {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 62px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 640; letter-spacing: -0.02em; font-size: 16px;
  color: var(--ink); text-decoration: none;
}
.brand .glyph {
  display: inline-flex; align-items: flex-end; gap: 2.5px; height: 17px;
}
.brand .glyph i {
  display: block; width: 3.5px; border-radius: 1.5px; background: var(--brand);
}
.brand .glyph i:nth-child(1) { height: 7px;  opacity: .45; }
.brand .glyph i:nth-child(2) { height: 12px; opacity: .7;  }
.brand .glyph i:nth-child(3) { height: 17px; }
header.site nav { display: flex; align-items: center; gap: 22px; font-size: 14.5px; }
header.site nav a { color: var(--ink-2); text-decoration: none; }
header.site nav a:hover { color: var(--ink); }
header.site nav a.cta {
  background: var(--brand); color: var(--brand-ink);
  padding: 8px 15px; border-radius: 9px; font-weight: 560;
}
@media (max-width: 620px) { .hide-sm { display: none; } }

/* ---------- hero ---------- */

.hero { padding: 68px 0 20px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 580; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { max-width: 15ch; }
.hero .sub {
  font-size: clamp(17px, 2.1vw, 19.5px); color: var(--ink-2);
  max-width: 52ch; margin: 18px 0 0;
}

.stats {
  display: flex; flex-wrap: wrap; gap: 0 40px;
  margin: 30px 0 0; padding: 0; list-style: none;
}
.stats li { padding: 4px 0; }
.stats b {
  display: block; font-size: 25px; font-weight: 680;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.stats span { font-size: 13.5px; color: var(--ink-2); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 570; line-height: 1;
  padding: 14px 22px; border-radius: 11px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-lg { width: 100%; padding: 16px 22px; font-size: 16.5px; }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px;
}

/* ---------- the chart ---------- */

.chart-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 26px 26px 20px; margin: 44px 0 0;
}
.chart-head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 8px 16px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 20px;
}
.chart-head h2 { font-size: 18px; letter-spacing: -0.02em; }
.chart-head .meta { font-size: 13px; color: var(--ink-3); }

.bars { display: grid; gap: 13px; }
.bar-row {
  display: grid; grid-template-columns: minmax(150px, 260px) 1fr auto;
  align-items: center; gap: 16px;
}
.bar-row .label { font-size: 14.5px; color: var(--ink-2); line-height: 1.35; }
.bar-row .label strong { color: var(--ink); font-weight: 600; }
.bar-row .label .sub {
  display: block; font-size: 12px; color: var(--ink-3);
  font-variant-numeric: tabular-nums; margin-top: 1px;
}
.bar-row .track {
  display: block; height: 11px; border-radius: 999px; overflow: hidden;
  /* must read as a track against the page, in either theme */
  background: color-mix(in srgb, var(--ink) 9%, transparent);
}
.bar-row .fill {
  /* No entrance effect, deliberately. Animations, rAF and transitions are all
     throttled in a background tab, and each attempt left every bar rendering
     at zero -- a chart that states the opposite of the truth. A static bar is
     always right: in a background tab, a screenshot, a link preview, in print,
     and with JS disabled. The chart is the argument; it does not need to move. */
  display: block; height: 100%; border-radius: 999px;
  width: var(--w);
}

.bar-row:nth-child(1) .fill { background: var(--bar-1); }
.bar-row:nth-child(2) .fill { background: var(--bar-1); }
.bar-row:nth-child(3) .fill { background: var(--bar-2); }
.bar-row:nth-child(4) .fill { background: var(--bar-2); }
.bar-row:nth-child(5) .fill { background: var(--bar-3); }
.bar-row:nth-child(6) .fill { background: var(--bar-3); }
.bar-row:nth-child(7) .fill { background: var(--bar-4); }
.bar-row:nth-child(8) .fill { background: var(--bar-4); }

}

.chart-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-3);
}

.notice {
  margin: 14px 0 0; padding: 11px 14px;
  background: var(--brand-soft); border-radius: 10px;
  font-size: 13.5px; color: var(--ink-2);
}

@media (max-width: 560px) {
  .bar-row { grid-template-columns: 1fr auto; }
  .bar-row .track { grid-column: 1 / -1; order: 3; }
  .chart-card { padding: 20px 18px 16px; }
}

/* ---------- sections ---------- */

section { padding: 58px 0; }
section.tight { padding: 40px 0; }
.section-head { max-width: var(--text); margin-bottom: 30px; }
.section-head p { color: var(--ink-2); margin: 12px 0 0; }

.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px; }

.feature {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px;
}
.feature .ico { color: var(--brand); margin-bottom: 13px; display: block; }
.feature h3 { margin-bottom: 6px; }
.feature p { font-size: 14.5px; color: var(--ink-2); margin: 0; }

.steps { counter-reset: s; display: grid; gap: 14px; max-width: var(--text); }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 15px; align-items: start;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px 20px;
}
.step::before {
  counter-increment: s; content: counter(s);
  width: 27px; height: 27px; border-radius: 8px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 13.5px; font-weight: 680; font-variant-numeric: tabular-nums;
  display: grid; place-items: center;
}
.step h3 { margin-bottom: 3px; }
.step p { font-size: 14.5px; color: var(--ink-2); margin: 0; }

.honesty {
  background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--hot);
  border-radius: var(--r); padding: 22px 24px; max-width: var(--text);
}
.honesty h2 { font-size: 19px; margin-bottom: 8px; }
.honesty p { color: var(--ink-2); font-size: 15px; margin-bottom: 0; }

/* ---------- catalogue ---------- */

.options { display: grid; gap: 12px; margin-bottom: 26px; }

.option { position: relative; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option label {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px;
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--r); padding: 17px 19px; cursor: pointer;
  transition: border-color .14s ease, background .14s ease;
}
.option label:hover { border-color: var(--ink-3); }
.option input:checked + label { border-color: var(--brand); background: var(--brand-soft); }
.option input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; }

.option .dot {
  width: 19px; height: 19px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--paper);
  display: grid; place-items: center; flex: none;
}
.option input:checked + label .dot { border-color: var(--brand); }
.option input:checked + label .dot::after {
  content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--brand);
}
.option .name { font-weight: 580; letter-spacing: -0.015em; display: block; }
.option .blurb { font-size: 13.5px; color: var(--ink-2); display: block; margin-top: 3px; }
.option .price {
  font-size: 21px; font-weight: 680; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

@media (max-width: 520px) {
  .option label { grid-template-columns: auto 1fr; }
  .option .price { grid-column: 2; margin-top: 6px; }
}

.checkout {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow); padding: 26px;
}
.field { margin-bottom: 15px; }
label.lbl { display: block; font-size: 14px; font-weight: 560; margin-bottom: 6px; }
/* Every text-like input, not a hand-listed few. The phone field shipped
   unstyled because input[type='tel'] was missing from this list. */
input[type='text'], input[type='email'], input[type='tel'],
input[type='number'], input[type='search'], input[type='url'] {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 15.5px;
  color: var(--ink); background: var(--canvas);
  border: 1.5px solid var(--line); border-radius: 10px;
}
input::placeholder { color: var(--ink-3); }
input:focus { outline: none; border-color: var(--brand); background: var(--paper); }
.hint { font-size: 13px; color: var(--ink-3); margin: 6px 0 0; }
.trust {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 13px; color: var(--ink-3); margin-top: 14px;
}

.msg {
  margin-top: 15px; padding: 13px 15px; border-radius: 11px;
  border: 1px solid var(--line); font-size: 14.5px; display: none;
}
.msg.show { display: block; }
/* Payment references are long and unbreakable; without this they run off
   the edge of the card on a phone. */
.msg { overflow-wrap: anywhere; word-break: break-word; }
.msg.error { border-color: var(--hot); color: var(--hot); background: color-mix(in srgb, var(--hot) 7%, transparent); }
.msg.success { border-color: var(--good); color: var(--good); background: color-mix(in srgb, var(--good) 8%, transparent); }
.msg a { font-weight: 600; }

/* ---------- faq ---------- */

.faq { max-width: var(--text); }
.faq details {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 19px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; font-weight: 570; font-size: 15.5px;
  letter-spacing: -0.012em; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; color: var(--ink-3); font-size: 19px; font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: '\2013'; }
.faq details p { margin: 11px 0 0; font-size: 14.5px; color: var(--ink-2); }

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--line); background: var(--paper);
  padding: 34px 0 44px; margin-top: 50px; font-size: 14px; color: var(--ink-2);
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-bottom: 16px; }
footer.site nav a { color: var(--ink-2); text-decoration: none; }
footer.site nav a:hover { color: var(--ink); text-decoration: underline; }
footer.site .legal-line { font-size: 13px; color: var(--ink-3); }

/* ---------- legal pages ---------- */

main.legal { max-width: var(--text); padding: 46px 0 20px; }
main.legal h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 6px; }
main.legal h2 { font-size: 19px; margin: 34px 0 10px; }
main.legal p, main.legal li { color: var(--ink-2); font-size: 15.5px; }
main.legal li { margin-bottom: 7px; }
.updated { font-size: 13.5px; color: var(--ink-3); margin-bottom: 30px; }
.lead { font-size: 18px; color: var(--ink-2); }

table.kv { border-collapse: collapse; width: 100%; margin: 14px 0; }
table.kv th, table.kv td {
  text-align: left; vertical-align: top; padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--line); font-size: 15px;
}
table.kv th { width: 32%; font-weight: 560; color: var(--ink); }
table.kv td { color: var(--ink-2); }
