:root {
  --navy: #003B71;
  --navy-700: #00294f;
  --blue: #0066B3;
  --blue-bright: #0086D1;
  --blue-50: #F5F9FC;
  --gold: #C9A44C;
  --gold-soft: #e2c98a;
  --gray-900: #172B3A;
  --gray-700: #3f4d5c;
  --gray-500: #64748B;
  --gray-200: #E5EAF0;
  --gray-100: #F7F8FA;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 59, 113, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 59, 113, 0.12);
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1rem; color: var(--gray-700); }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 760px; }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; font-weight: 600; font-size: .95rem; cursor: pointer;
  padding: .7rem 1.3rem; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }
.btn--lg { padding: .95rem 1.8rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #005596; }
.btn--gold { background: var(--gold); color: #241c05; }
.btn--gold:hover { background: #b8923d; }
.btn--outline { background: transparent; border-color: var(--gray-200); color: var(--navy); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--gray-100); }
.btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.btn--ghost-light:hover { background: rgba(255,255,255,.2); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.nav.is-scrolled { box-shadow: var(--shadow); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 800; font-size: 1.2rem; color: var(--navy); display: inline-flex; align-items: center; gap: .5rem; letter-spacing: -.02em; }
.brand__accent { color: var(--gold); }
.brand__dot { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-soft)); box-shadow: 0 0 0 4px rgba(201,164,76,.15); }
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a { color: var(--gray-700); font-weight: 500; }
.nav__links a:hover { color: var(--navy); }
.nav__actions { display: flex; gap: .6rem; align-items: center; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }
.nav__mobile { display: none; flex-direction: column; gap: .4rem; padding: 1rem 20px 1.4rem; border-bottom: 1px solid var(--gray-200); background: #fff; }
.nav__mobile a { padding: .5rem 0; color: var(--navy); font-weight: 500; }
.nav__mobile .btn { margin-top: .3rem; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0; background: linear-gradient(180deg, var(--blue-50), #fff); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--gold); background: rgba(201,164,76,.12); padding: .35rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -.02em; }
.lead { font-size: 1.15rem; color: var(--gray-700); max-width: 34ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1rem; }
.hero__support { font-size: .9rem; color: var(--gray-500); }

/* Dashboard card */
.hero__visual { display: flex; justify-content: center; }
.dashboard-card { width: 100%; max-width: 420px; background: var(--navy); color: #fff; border-radius: 20px; padding: 1.5rem; box-shadow: var(--shadow-lg); }
.dashboard-card--wide { max-width: 460px; }
.dashboard-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.dashboard-card__logo { font-weight: 700; font-size: .95rem; }
.dashboard-card__badge { font-size: .7rem; background: rgba(201,164,76,.25); color: var(--gold-soft); padding: .2rem .6rem; border-radius: 999px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: .9rem; }
.stat__label { display: block; font-size: .75rem; color: #aebbcd; margin-bottom: .3rem; }
.stat__value { font-size: 1.3rem; font-weight: 700; color: #fff; }
.stat__value small { font-size: .8rem; font-weight: 500; color: #aebbcd; }
.dashboard-card__bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.1); margin-top: 1.2rem; overflow: hidden; }
.dashboard-card__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.preview__welcome { color: #cdd7e5; margin: 0 0 1rem; }
.preview__welcome strong { color: #fff; font-size: 1.1rem; }
.activity { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.activity li { font-size: .85rem; color: #cdd7e5; display: flex; gap: .6rem; align-items: center; }
.activity__up { color: #6fd39a; font-weight: 700; }
.activity__down { color: #f2a3a3; font-weight: 700; }

/* Sections */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--muted { background: var(--gray-100); }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.section-sub { color: var(--gray-500); max-width: 60ch; margin: 0 auto 2rem; }
.section-title.center + .section-sub { margin-top: .5rem; }

/* Trust */
.trust { padding: 2.5rem 0; border-bottom: 1px solid var(--gray-200); }
.trust__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem 1rem; padding: 0; margin: 1.5rem 0 0; }
.trust__list li { background: var(--blue-50); color: var(--navy-700); font-weight: 600; font-size: .9rem; padding: .5rem 1rem; border-radius: 999px; }
.trust__list li::before { content: "✓ "; color: var(--gold); }

/* Cards */
.cards { display: grid; gap: 1.2rem; margin-top: 2rem; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card h3 { font-size: 1.1rem; }
.card p { margin: 0; color: var(--gray-500); }
.callout { margin-top: 2rem; font-size: 1.1rem; color: var(--navy); }

/* Program cards */
.program-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .2s ease; }
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.program-card__icon { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--blue-50); border-radius: 12px; margin-bottom: 1rem; }
.program-card h3 { font-size: 1.15rem; }
.program-card > p { color: var(--gray-500); font-size: .92rem; }
.program-card ul { list-style: none; padding: 0; margin: .5rem 0 1.2rem; display: grid; gap: .35rem; }
.program-card ul li { font-size: .88rem; color: var(--gray-700); padding-left: 1.2rem; position: relative; }
.program-card ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.link-cta { margin-top: auto; background: none; border: 0; color: var(--blue); font-weight: 600; font-family: inherit; cursor: pointer; text-align: left; padding: 0; font-size: .92rem; }
.link-cta:hover { text-decoration: underline; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
.timeline li { position: relative; padding-top: 1rem; }
.timeline li::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 2px; background: var(--gray-200); }
.timeline li:last-child::before { display: none; }
.timeline__num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; position: relative; z-index: 1; margin-bottom: .8rem; }
.timeline h3 { font-size: 1rem; }
.timeline p { font-size: .88rem; color: var(--gray-500); margin: 0; }

/* Preview */
.preview { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.preview__visual { display: flex; justify-content: center; }

/* CTA band */
.cta-band { padding: clamp(3rem, 6vw, 5rem) 0; background: linear-gradient(135deg, var(--navy), var(--navy-700)); color: #fff; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.cta-band p { color: #cdd7e5; max-width: 55ch; margin: 0 auto 1.6rem; }
.cta-band__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.disclaimer { font-size: .8rem; color: #9fb0c6; margin-top: 1.4rem; }

/* FAQ */
.faq { margin-top: 2rem; display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 0 1.2rem; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 1rem; margin: 0; color: var(--gray-700); }

/* Footer */
.footer { background: var(--navy); color: #cdd7e5; padding: 3rem 0 1.5rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.brand--footer { color: #fff; }
.footer p { color: #9fb0c6; }
.footer nav { display: flex; flex-direction: column; gap: .5rem; }
.footer nav a { color: #cdd7e5; }
.footer nav a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1.2rem; }
.footer__bottom p { font-size: .82rem; margin: 0; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(15,37,64,.55); backdrop-filter: blur(2px); }
.modal__dialog { position: relative; background: #fff; border-radius: 18px; max-width: 640px; width: 100%; max-height: 92vh; overflow-y: auto; padding: 2rem; box-shadow: var(--shadow-lg); }
.modal__close { position: absolute; top: 1rem; right: 1.1rem; background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--gray-500); }
.modal__sub { color: var(--gray-500); margin-top: -.3rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.2rem 0; }
.field { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--navy); }
.field input, .field select { font-family: inherit; font-size: .95rem; font-weight: 400; padding: .65rem .75rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); color: var(--gray-900); background: #fff; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-50); }
.field--check { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: .6rem; font-weight: 400; color: var(--gray-700); }
.field--check input { width: auto; margin-top: .2rem; }
.field__error { color: #c0392b; font-weight: 500; font-size: .78rem; min-height: 1em; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-size: .9rem; min-height: 1em; }
.form-status.is-error { color: #c0392b; }
.form-success { text-align: center; padding: 2rem 0; }
.form-success__icon { width: 60px; height: 60px; border-radius: 50%; background: #e7f7ee; color: #2f9e63; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }

/* Responsive */
@media (max-width: 1024px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline li::before { display: none; }
}
@media (max-width: 860px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }
  .hero__inner, .preview { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .cards--3 { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cards--4 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .modal__dialog { padding: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
