:root {
  color-scheme: light;
  --ink: #0b1220;
  --muted: #536177;
  --line: #dfe7f2;
  --blue: #3156e8;
  --blue-deep: #17338f;
  --blue-soft: #edf3ff;
  --white: #ffffff;
  --cloud: #f5f8fc;
  --shadow: 0 22px 55px rgba(27, 52, 102, 0.13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  border-radius: .6rem;
  background: var(--ink);
  color: white;
  padding: .7rem 1rem;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 231, 242, .9);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
}

.nav-shell,
.page-shell,
.footer-shell {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.18rem;
  text-decoration: none;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: .8rem;
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 18px rgba(49, 86, 232, .24);
}

.brand-mark svg { width: 1.25rem; height: 1.25rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: #36445a;
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--blue); }

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: white;
  padding: .55rem .75rem;
  font: inherit;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #dceeff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 19, 49, .9) 0%, rgba(10, 32, 77, .72) 38%, rgba(9, 29, 64, .13) 74%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: 7rem;
}

.hero-copy { max-width: 660px; color: white; }

.eyebrow {
  margin: 0 0 1rem;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero .eyebrow { color: #bcd0ff; }

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -.035em;
}

h1 { margin-bottom: 1.25rem; font-size: clamp(2.8rem, 6vw, 5.6rem); }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { margin-bottom: .65rem; font-size: 1.2rem; }

.hero-lede {
  max-width: 600px;
  margin: 0 0 2rem;
  color: rgba(255,255,255,.86);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.button-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: .8rem;
  padding: .7rem 1.1rem;
  background: var(--blue);
  color: white;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(11, 28, 75, .24);
}

.button:hover { background: #2449d6; }

.button-secondary {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.1);
  box-shadow: none;
}

.button-secondary:hover { background: rgba(255,255,255,.18); }

.section { padding: 6rem 0; }
.section-soft { background: var(--cloud); }

.section-intro { max-width: 700px; margin-bottom: 2.7rem; }
.section-intro p { color: var(--muted); font-size: 1.08rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: white;
  padding: 1.6rem;
  box-shadow: 0 12px 32px rgba(24, 52, 104, .06);
}

.card-number {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}

.card p { margin: 0; color: var(--muted); }

.trust-panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--blue-deep);
  color: white;
  box-shadow: var(--shadow);
}

.trust-copy { padding: clamp(2rem, 5vw, 4rem); }
.trust-copy p { color: #dbe5ff; }

.trust-list { margin: 1.6rem 0 0; padding: 0; list-style: none; }
.trust-list li { position: relative; padding: .55rem 0 .55rem 1.7rem; }
.trust-list li::before { content: "✓"; position: absolute; left: 0; color: #88a7ff; font-weight: 900; }

.trust-note {
  display: grid;
  align-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(145deg, #3156e8, #18388f);
}

.trust-note strong { display: block; margin-bottom: .8rem; font-size: 1.35rem; line-height: 1.3; }
.trust-note p { margin: 0; color: #e7edff; }

.page-hero {
  padding: 6rem 0 3.5rem;
  background: linear-gradient(180deg, var(--blue-soft), white);
}

.page-hero .eyebrow { color: var(--blue); }
.page-hero h1 { max-width: 820px; font-size: clamp(2.5rem, 5vw, 4.4rem); }
.page-hero p { max-width: 720px; color: var(--muted); font-size: 1.15rem; }

.prose-shell {
  width: min(820px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 4rem 0 6rem;
}

.prose-shell h2 { margin-top: 2.8rem; font-size: 1.65rem; }
.prose-shell h3 { margin-top: 2rem; }
.prose-shell p,
.prose-shell li { color: #3e4c61; }
.prose-shell a { color: var(--blue); font-weight: 700; }
.prose-shell ul { padding-left: 1.25rem; }

.notice {
  margin-bottom: 2rem;
  border-left: 4px solid var(--blue);
  border-radius: .3rem .8rem .8rem .3rem;
  background: var(--blue-soft);
  padding: 1rem 1.2rem;
  color: #24385e;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--cloud);
  padding: 1.6rem;
}

.site-footer { background: #091329; color: white; }

.footer-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: 3.3rem 0;
}

.footer-summary { max-width: 520px; color: #aebbd2; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); align-content: start; gap: .6rem 1.5rem; }
.footer-links a { color: #dbe4f5; text-decoration: none; }
.footer-links a:hover { color: white; text-decoration: underline; }
.copyright { grid-column: 1 / -1; margin: 0; border-top: 1px solid #26334e; padding-top: 1.5rem; color: #8391aa; font-size: .88rem; }

@media (max-width: 800px) {
  .menu-button { display: inline-flex; }
  .nav-links {
    position: absolute;
    inset: 72px 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: white;
    padding: .5rem;
    box-shadow: var(--shadow);
  }
  .nav-links[data-open="true"] { display: flex; }
  .nav-links a { border-radius: .6rem; padding: .75rem; }
  .nav-links a:hover { background: var(--blue-soft); }
  .hero { min-height: 610px; }
  .hero::after { background: linear-gradient(90deg, rgba(7,19,49,.9), rgba(7,19,49,.58)); }
  .hero-content { padding-block: 5rem; }
  .card-grid, .trust-panel, .footer-shell { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .copyright { grid-column: auto; }
}

@media (max-width: 520px) {
  .hero { min-height: 640px; }
  h1 { font-size: 2.7rem; }
  .section { padding: 4.5rem 0; }
  .button-row, .button { width: 100%; }
  .footer-links { grid-template-columns: 1fr; }
}

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