/* ScoreMint landing — indigo + mint, editorial "exam paper" motif. System fonts only. */
:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #1d1c26;
  --muted: #5c5a6b;
  --line: #e4e2da;
  --brand: #5c6bc0;
  --brand-deep: #414f9e;
  --brand-tint: #eef0fa;
  --mint: #1e9e60;
  --mint-tint: #e7f6ee;
  --streak: #c96a00;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131318;
    --surface: #1d1d24;
    --ink: #f1f0f7;
    --muted: #a5a3b4;
    --line: #33323e;
    --brand: #8b97d9;
    --brand-deep: #a8b2e6;
    --brand-tint: #232541;
    --mint: #3ecf83;
    --mint-tint: #17301f;
    --streak: #ffa53d;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-deep); }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: .6rem 1rem; z-index: 100;
  border-radius: 0 0 8px 0; text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 3.6rem; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.1rem; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.site-nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500; }
.site-nav a:hover { color: var(--ink); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: .45rem .6rem; cursor: pointer; color: var(--ink); font: inherit;
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: .2rem; }
  .site-nav a { display: block; padding: .55rem 0; font-size: 1.05rem; }
}

/* Hero */
.hero { padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 2.2rem; } }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.12; margin: 0 0 1rem; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lede { font-size: 1.13rem; color: var(--muted); margin: 0 0 1.4rem; max-width: 34rem; }
.launch-note {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .82rem; letter-spacing: .02em;
  color: var(--brand-deep); background: var(--brand-tint);
  border: 1px dashed var(--brand); border-radius: 999px;
  padding: .35rem .9rem; margin-bottom: 1.1rem;
}
.launch-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.play-badge { display: inline-block; margin: .3rem 0 .9rem; }
.play-badge svg { display: block; height: 56px; width: auto; }
.disclaimer-box {
  font-size: .82rem; color: var(--muted); max-width: 34rem;
  border-left: 3px solid var(--line); padding-left: .8rem; margin-top: .6rem;
}

/* Sample question card (pure CSS mock) */
.q-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.2rem 1.3rem; box-shadow: 0 12px 30px rgba(30, 30, 60, .08);
  max-width: 24rem; margin: 0 auto;
}
.q-card .q-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .75rem; color: var(--muted); margin-bottom: .7rem; }
.q-card .q-bar { height: 4px; background: var(--line); border-radius: 2px; margin-bottom: 1rem; overflow: hidden; }
.q-card .q-bar span { display: block; height: 100%; width: 62%; background: var(--brand); }
.q-card .stem { font-size: .95rem; margin: 0 0 .9rem; }
.choice {
  display: flex; align-items: center; gap: .7rem;
  border: 1.5px solid var(--line); border-radius: 11px;
  padding: .5rem .7rem; margin-bottom: .5rem; font-size: .9rem;
}
.choice .letter {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); font-family: var(--mono); font-size: .75rem; font-weight: 700;
}
.choice.correct { border-color: var(--mint); background: var(--mint-tint); }
.choice.correct .letter { border-color: var(--mint); background: var(--mint); color: #fff; }
.q-card .explain { font-size: .8rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: .7rem; margin: .4rem 0 0; }
.q-card .explain strong { color: var(--mint); }

/* Sections */
section { padding: 3.2rem 0; }
section + section { border-top: 1px solid var(--line); }
.kicker { font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--brand-deep); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; margin: 0 0 1rem; letter-spacing: -0.015em; }
.section-intro { color: var(--muted); max-width: 42rem; margin: 0 0 2rem; }

/* Syllabus rows (subjects) */
.syllabus { border-top: 2px solid var(--ink); }
.subject-row { display: grid; grid-template-columns: 15rem 1fr; gap: 1.5rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .subject-row { grid-template-columns: 1fr; gap: .4rem; } }
.subject-row h3 { margin: 0 0 .25rem; font-size: 1.15rem; }
.subject-row .format { font-family: var(--mono); font-size: .74rem; color: var(--muted); display: block; }
.subject-row .topics { margin: 0; color: var(--muted); font-size: .95rem; }
.subject-row .topics strong { color: var(--ink); font-weight: 600; }
.tick { color: var(--mint); font-weight: 700; }

/* Practice modes styled as answer choices */
.modes { list-style: none; margin: 0; padding: 0; max-width: 44rem; }
.modes li { display: flex; gap: .9rem; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: .85rem 1rem; margin-bottom: .65rem; background: var(--surface); }
.modes li .letter { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--brand); color: var(--brand-deep); font-family: var(--mono); font-weight: 700; font-size: .8rem; margin-top: .1rem; }
.modes h3 { margin: 0; font-size: 1rem; display: inline; }
.modes p { margin: .15rem 0 0; color: var(--muted); font-size: .92rem; }

/* Privacy strip */
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 2rem; }
@media (max-width: 820px) { .privacy-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .privacy-grid { grid-template-columns: 1fr; } }
.privacy-grid h3 { font-size: 1.02rem; margin: 0 0 .3rem; }
.privacy-grid h3::before { content: "✓ "; color: var(--mint); }
.privacy-grid p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Progress stats */
.stat-line { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 1.6rem; }
.stat-line .stat { min-width: 9rem; }
.stat .num { font-family: var(--mono); font-size: 1.5rem; font-weight: 700; color: var(--brand-deep); display: block; }
.stat .lbl { font-size: .85rem; color: var(--muted); }

/* Guides list */
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 720px) { .guide-list { grid-template-columns: 1fr; } }
.guide-list a { display: block; text-decoration: none; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; padding: 1.1rem 1.2rem; background: var(--surface); color: var(--ink); }
.guide-list a:hover { border-left-color: var(--mint); }
.guide-list h3 { margin: 0 0 .3rem; font-size: 1.05rem; color: var(--brand-deep); }
.guide-list p { margin: 0; color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--brand); font-size: 1.2rem; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 0 1.1rem; color: var(--muted); max-width: 46rem; }
.faq .faq-a p { margin: 0 0 .6rem; }

/* CTA band */
.cta-band { background: var(--brand-tint); border-top: 1px solid var(--line); text-align: center; }
.cta-band h2 { margin-bottom: .6rem; }
.cta-band p { color: var(--muted); max-width: 36rem; margin: 0 auto 1.2rem; }

/* Footer */
.site-footer { border-top: 2px solid var(--ink); padding: 2.2rem 0 2.8rem; font-size: .85rem; color: var(--muted); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; margin-bottom: 1.4rem; }
.site-footer nav ul { list-style: none; margin: .4rem 0 0; padding: 0; }
.site-footer nav li { margin-bottom: .3rem; }
.site-footer a { color: var(--muted); }
.site-footer .legal { border-top: 1px solid var(--line); padding-top: 1.2rem; max-width: 52rem; }
.site-footer .legal p { margin: 0 0 .55rem; }

/* Article / guide pages */
.breadcrumb { font-size: .82rem; color: var(--muted); margin: 1.6rem 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "→"; margin-right: .35rem; color: var(--line); }
article.guide { max-width: 46rem; margin: 0 auto; padding: 1.6rem 1.25rem 3.5rem; }
article.guide h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.02em; margin: .6rem 0 .8rem; }
article.guide .byline { font-family: var(--mono); font-size: .78rem; color: var(--muted); margin-bottom: 1.8rem; }
article.guide h2 { font-size: 1.45rem; margin: 2.2rem 0 .7rem; }
article.guide h3 { font-size: 1.12rem; margin: 1.6rem 0 .5rem; }
article.guide p, article.guide li { color: var(--ink); }
article.guide ul, article.guide ol { padding-left: 1.3rem; }
article.guide li { margin-bottom: .35rem; }
article.guide table { border-collapse: collapse; width: 100%; font-size: .92rem; margin: 1rem 0; }
article.guide th, article.guide td { text-align: left; border-bottom: 1px solid var(--line); padding: .5rem .6rem .5rem 0; vertical-align: top; }
article.guide th { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.callout { border: 1px solid var(--line); border-left: 4px solid var(--mint); border-radius: 0 10px 10px 0; background: var(--surface); padding: 1rem 1.2rem; margin: 1.6rem 0; }
.callout h2, .callout h3 { margin-top: 0; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.guide-footer-nav { border-top: 1px dashed var(--line); margin-top: 2.4rem; padding-top: 1.2rem; font-size: .92rem; }
.guide-footer-nav ul { list-style: none; padding: 0; margin: .4rem 0 0; }
.guide-footer-nav li { margin-bottom: .35rem; }
.article-disclaimer { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1rem; }
