:root {
  color-scheme: light;
  --navy: #112747;
  --dark: #091a32;
  --blue: #214e80;
  --soft-blue: #b9d8fb;
  --text: #172c44;
  --muted: #475e75;
  --line: #d3dfec;
  --paper: #f4f8fd;
  font: 16px/1.58 "Inter", system-ui, sans-serif;
  color: var(--text);
  background: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: var(--blue); text-underline-offset: .23em; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #428acb; outline-offset: 4px; }
h1, h2, h3, p { margin: 0 0 .75rem; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.035em; }
h1 { font-size: clamp(2.85rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.top { min-height: 5rem; padding: 1rem max(1.5rem, calc((100vw - 72rem) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--dark); text-decoration: none; font-size: 1.55rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: .875rem; font-weight: 600; letter-spacing: normal; }
.mark { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; background: var(--navy); color: white; border-radius: .7rem; }
.accent { color: #2c6198; }
.top nav { display: flex; gap: clamp(.8rem, 3vw, 2rem); flex-wrap: wrap; }
.top nav a { color: var(--navy); text-decoration: none; font-weight: 650; }
.top nav a:hover { text-decoration: underline; }
.hero { background: radial-gradient(ellipse at right top,#244b78,transparent 68%), var(--dark); color: white; }
.hero-inner { display: grid; grid-template-columns: 1.3fr .9fr; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(3rem, 8vw, 7rem); }
.eyebrow { color: var(--blue); font-size: .875rem; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; }
.hero .eyebrow, .hero em { color: var(--soft-blue); }
.hero em { font-style: normal; }
.intro { color: #dce9f9; font-size: 1.125rem; max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.button { display: inline-block; text-align: center; text-decoration: none; font-weight: 750; padding: .73rem 1rem; border-radius: .55rem; border: 1px solid transparent; }
.primary { background: var(--blue); color: white; }
.primary:hover { background: var(--navy); }
.hero .primary { background: #d6e9ff; color: var(--dark); }
.hero .primary:hover { background: white; }
.ghost { border-color: #809fc0; color: white; }
.ghost:hover { background: #213e61; }
.snapshot { background: #112847; border: 1px solid #43668b; box-shadow: 0 1rem 3rem #06142680; border-radius: 1rem; padding: clamp(1rem, 3vw, 1.8rem); }
.snapshot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .4rem .8rem; padding-bottom: 1rem; border-bottom: 1px solid #526d8a; }
.snapshot-top span,.snapshot-note { color: #c9dcf3; font-size: .875rem; }
.snapshot-goal { display: grid; margin: 1rem 0 .6rem; }
.snapshot-goal strong { font-size: 2.4rem; line-height: 1.2; }
.meter { height: .55rem; background: #344f70; border-radius: 10rem; overflow: hidden; }
.meter span { display: block; width: 21.67%; height: 100%; background: #8cc8ff; }
.snapshot-note { margin-top: .4rem; }
.snapshot-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; margin-top: 1.3rem; }
.snapshot-steps div { padding: .55rem; border-radius: .45rem; background: #203c5d; color: #dce9f9; font-size: .875rem; }
.snapshot-steps strong { display: block; color: #fff; }
.section { padding-block: clamp(2.6rem, 6vw, 5rem); }
.section-intro { color: var(--muted); max-width: 49rem; }
.tour, .gps-grid { display: grid; gap: 1rem; grid-template-columns: minmax(12rem, 1fr) 2fr; margin-top: 1.5rem; }
.tour-options, .scenario-options { display: flex; gap: .55rem; }
.tour-options { flex-direction: column; }
.scenario-options { flex-wrap: wrap; margin-top: 1.4rem; }
.tour-options button, .scenario-options button { padding: .7rem .9rem; text-align: left; background: white; color: var(--navy); font-weight: 700; border: 1px solid var(--line); border-radius: .55rem; }
.tour-options button:hover, .scenario-options button:hover { border-color: var(--blue); }
button[aria-pressed="true"] { color: white; background: var(--navy); border-color: var(--navy); }
.panel { border: 1px solid var(--line); background: white; padding: clamp(1rem, 3vw, 1.75rem); border-radius: .85rem; }
.panel p { color: var(--muted); }
.panel p.eyebrow { color: var(--blue); }
.panel a { font-weight: 700; }
.division-example { background: var(--paper); border-left: .22rem solid #547fa9; padding: .8rem 1rem; margin: 1rem 0; }
.division-example p { margin: .2rem 0 0; }
.gps-area { background: var(--paper); }
.gps-grid { grid-template-columns: 1fr 1.18fr; align-items: start; }
dl { margin-block: .75rem 1.25rem; }
dl div { display: flex; gap: .75rem; justify-content: space-between; padding: .4rem 0; border-bottom: 1px solid var(--line); }
dd { margin: 0; font-weight: 750; white-space: nowrap; }
dl div:last-child { border-bottom: 0; color: var(--blue); }
.fine { margin: .85rem 0 0; font-size: .875rem; color: var(--muted); }
.roadmap ol { padding-left: 1.35rem; }
.roadmap li { padding-left: .35rem; margin-top: .65rem; }
.roadmap li p { margin: .15rem 0 0; }
.model { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.price { display: block; font-size: 1.25rem; margin-bottom: .4rem; }
.price span { font-size: .9rem; }
footer { background: var(--dark); color: #e2eeff; }
.footer-inner { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: space-between; padding-block: 1.6rem; }
.footer-inner p { color: #c3d5ec; margin: .2rem 0 0; }
@media (max-width: 760px) {
  .hero-inner, .gps-grid, .model { grid-template-columns: 1fr; }
  .snapshot { max-width: 31rem; }
}
@media (max-width: 530px) {
  .wrap { width: calc(100% - 2rem); }
  .top { align-items: flex-start; flex-direction: column; padding-inline: 1rem; }
  .top nav a { font-size: .875rem; }
  .tour { grid-template-columns: 1fr; }
  .tour-options { flex-direction: row; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.credit-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.credit-overview .primary, .credit-overview .primary:hover { color: #fff; }
#credit-controls { margin-bottom: 1rem; padding: .8rem; background: var(--paper); border-radius: .55rem; }
#credit-controls label { display: block; font-weight: 700; }
#sample-payment { width: 100%; margin: .5rem 0 .15rem; accent-color: var(--blue); }
#sample-payment-amount { font-weight: 750; }
.sample-reminder { margin-top: .75rem; padding-top: .65rem; border-top: 1px solid var(--line); }
.sample-reminder summary { cursor: pointer; color: var(--blue); font-weight: 700; }
.sample-reminder p { margin: .5rem 0 0; }
@media (max-width: 760px) { .credit-overview { grid-template-columns: 1fr; } }
