/* Chartpass site. Static, no scripts, no external requests, system fonts only. */
:root {
  --paper: #f3f6fa;
  --card: #ffffff;
  --ink: #14171c;
  --muted: #4b5563;
  --blue: #0a5cad;
  --blue-deep: #0a4e94;
  --blue-soft: #e2edfa;
  --magenta: #8a1f5b;
  --line: #d6dee8;
  --frame: #10151d;
  --serif: "New York", "Iowan Old Style", Charter, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0a1220;
    --card: #111b2c;
    --ink: #eef1f5;
    --muted: #aeb6c2;
    --blue: #7db7f5;
    --blue-deep: #1d5fa6;
    --blue-soft: #13304f;
    --magenta: #e07ab3;
    --line: #2c3b55;
    --frame: #000000;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: var(--card); padding: 8px 12px; z-index: 2; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--card); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand img { width: 36px; height: 36px; }
.site-header nav a { margin-left: 18px; text-decoration: none; font-weight: 600; font-size: 0.95rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  border: 3px dashed var(--magenta); opacity: 0.18;
}
.hero::before { width: 620px; height: 620px; right: -160px; top: -140px; }
.hero::after { width: 380px; height: 380px; right: -40px; top: -20px; border-style: solid; border-width: 2px; }
.hero .wrap { position: relative; display: grid; gap: 40px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; }
h1 { font-family: var(--serif); font-size: clamp(2.1rem, 6vw, 3.4rem); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.01em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin: 0 0 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.soon {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px;
  background: var(--blue-deep); color: #ffffff; font-weight: 700;
}
a.badge { display: inline-block; line-height: 0; }
a.badge img { height: 54px; width: auto; }
a.soon { color: #ffffff; text-decoration: none; }
a.soon:hover { text-decoration: underline; }
.soon small { display: block; font-weight: 500; opacity: 0.9; font-size: 0.8rem; }
.cta-note { color: var(--muted); font-size: 0.95rem; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.95rem; }
.facts strong { color: var(--ink); font-size: 1.25rem; display: block; line-height: 1.1; }

/* Phone frame around a real screenshot */
.phone {
  margin: 0 auto; width: min(300px, 78vw); padding: 10px; border-radius: 44px; background: var(--frame);
  box-shadow: 0 24px 60px rgba(10, 30, 60, 0.28);
}
.phone img { border-radius: 34px; aspect-ratio: 1290 / 2796; width: 100%; }
figure { margin: 0; }
figcaption { margin-top: 14px; text-align: center; color: var(--muted); font-size: 0.92rem; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.15; margin: 0 0 12px; }
.section-lede { color: var(--muted); max-width: 40em; margin: 0 0 32px; }
.grid { display: grid; gap: 20px; }
.benefit { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
section.alt .benefit { background: var(--paper); }
.benefit h3 { margin: 0 0 6px; font-size: 1.08rem; }
.benefit p { margin: 0; color: var(--muted); }
.benefit .mark { display: inline-block; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 12px; border: 3px dashed var(--magenta); }
.benefit .mark.solid { border-style: solid; border-color: var(--blue); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 20px 72px; position: relative; }
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: var(--paper); font-weight: 800; display: grid; place-items: center;
}
.steps h3 { margin: 0 0 4px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); }

.gallery { display: grid; gap: 36px; }

.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: outside; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

.cta-band { text-align: center; }
.cta-band .soon { margin-top: 8px; }
.section-lede.center { margin: 0 auto 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: grid; gap: 8px; }
.site-footer a { margin-right: 16px; }

/* Support and privacy pages keep their approved text; only layout changes. */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 20px 56px; }
.doc h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.doc h2 { font-size: 1.3rem; margin-top: 2rem; font-family: var(--sans); }
.muted { color: var(--muted); font-size: 0.95rem; }

.site-header nav a { white-space: nowrap; }
@media (max-width: 559px) {
  .site-header nav a.wide { display: none; }
  .hero::before, .hero::after { display: none; }
}
@media (min-width: 760px) {
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid.four { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 64px 20px 20px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery .phone { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Free practice pages */
.practice .lede { color: var(--muted); }
.practice .eyebrow { margin-bottom: 4px; }
.topic-list { padding-left: 1.2em; }
.topic-list li { margin: 8px 0; }
.q { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin: 24px 0; }
.q .q-num { font-family: var(--sans); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); margin: 0 0 8px; }
.q-stem { font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; margin: 0 0 12px; }
.q-choices { padding-left: 0; list-style: none; margin: 0 0 12px; }
.q-choices li { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 8px 0; }
.q-figure { margin: 0 0 14px; }
.q-figure img { border-radius: 10px; border: 1px solid var(--line); width: 100%; }
.q-figure figcaption { text-align: left; font-size: 0.85rem; }
.q details { border-top: 1px solid var(--line); padding-top: 10px; }
.q summary { cursor: pointer; font-weight: 700; color: var(--blue); padding: 6px 0; }
.q-answer { font-weight: 700; }
.q h3 { font-size: 1rem; margin: 18px 0 6px; }
.q-wrong li, .q-cites li { margin: 6px 0; }
.q blockquote { margin: 6px 0 0; padding-left: 12px; border-left: 3px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.app-cta { background: var(--blue-soft); border-radius: 16px; padding: 20px; margin: 32px 0 16px; }
.app-cta h2 { margin-top: 0; }
.aid-table { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: 0.95rem; }
.aid-table th, .aid-table td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 10px 8px; }
.aid-table th { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.checklist li { margin: 10px 0; }
