@font-face {
  font-family: "General Sans";
  src: url("../assets/fonts/GeneralSans-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("../assets/fonts/GeneralSans-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("../assets/fonts/GeneralSans-Semibold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --bg:        #ffffff;
  --bg-band:   #f4f7fb;
  --card:      #ffffff;
  --ink:       #102038;
  --ink-2:     #56657d;
  --ink-3:     #8a97ab;
  --accent:    #1260f7;
  --accent-in: #ffffff;
  --cyan:      #19dbf5;
  --line:      #e4eaf2;
  --line-2:    #eef2f7;
  --tint:      #eef4ff;
  --amber:     #b26a00;
  --amber-bg:  #fff6e6;
  --ok:        #0f7a4d;

  --navy:      #102038;
  --on-navy-accent: #5aa4ff;

  --shadow:    0 1px 2px rgba(16, 32, 56, .04), 0 8px 24px rgba(16, 32, 56, .06);
  --shadow-lg: 0 2px 4px rgba(16, 32, 56, .05), 0 24px 60px rgba(16, 32, 56, .12);

  --r:      14px;
  --r-sm:   10px;
  --maxw:   1240px;
  --pad:    28px;
  --font:   "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0a1626;
    --bg-band:   #0e1e33;
    --card:      #13263e;
    --ink:       #e9f2fd;
    --ink-2:     #a3b8d0;
    --ink-3:     #7b90a9;
    --accent:    #5aa4ff;
    --accent-in: #06121f;
    --cyan:      #19dbf5;
    --line:      #223d5e;
    --line-2:    #1a3150;
    --tint:      #10243d;
    --amber:     #f0b354;
    --amber-bg:  #2a2113;
    --ok:        #4ecf95;

    --navy:      #081221;

    --shadow:    0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .28);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .35), 0 24px 60px rgba(0, 0, 0, .45);
  }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: 12px 18px; z-index: 100;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* the signature edge: cyan → blue, top of page and foot of footer */
.edge {
  height: 4px;
  background: linear-gradient(90deg, var(--cyan) 0%, #3ba0f0 42%, var(--accent) 100%);
}
.edge-bottom { height: 4px; }

/* ── buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

.btn-primary { background: var(--accent); color: var(--accent-in); }
.btn-primary:hover { background: #0d4fd6; }
@media (prefers-color-scheme: dark) { .btn-primary:hover { background: #7cb8ff; } }

.btn-outline { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink-3); }

.btn-lg { padding: 8px 16px; font-size: 17px; }

/* ── nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand picture { display: block; line-height: 0; }
.brand:hover { text-decoration: none; }
.brand-name { font-size: 21px; font-weight: 500; letter-spacing: -.03em; }
.brand-name strong { font-weight: 500; color: var(--accent); }

.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--ink-2); font-size: 15px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

.nav-actions { display: flex; gap: 10px; }

/* ── hero ────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; }
.hero-field {
  position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 78% 18%, var(--tint), transparent 70%),
    repeating-linear-gradient(112deg, var(--line-2) 0 1px, transparent 1px 46px);
  opacity: .9;
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-copy { max-width: 640px; }

.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); margin-bottom: 22px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 33em; }

/* ── generic section shells ──────────────────────────────── */
.section { padding: 96px 0; }
.band { padding: 96px 0; background: var(--bg-band); }

/* the heading column carries ~33 characters at the 2.7rem cap; the sub is measure-capped
   well below its column, so the extra width costs nothing and buys a line on longer heads */
.section-head {
  display: grid; grid-template-columns: 1.12fr .88fr;
  gap: 18px 64px; align-items: start;
  margin-bottom: 56px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.3vw, 2.7rem); }
.section-sub { font-size: 17px; color: var(--ink-2); max-width: 46ch; }

.section-head-center { display: block; text-align: center; }
.section-head-center h2 { margin-bottom: 18px; }

.section-head-solo { display: block; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
/* the four value pillars: wider cards, so the body copy still needs a measure cap */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.plain h3 { font-size: 20px; margin-bottom: 12px; }
.plain p { color: var(--ink-2); font-size: 15px; }

/* three flat claims, no invented body copy — weight carried by size and a rule, not a card */
.claims { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.claims li {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  font-size: 28px; font-weight: 500; letter-spacing: -.03em; line-height: 1.2;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 30px;
}

.pillar h3 { font-size: 22px; margin-bottom: 12px; }
.pillar p { color: var(--ink-2); font-size: 15px; max-width: 52ch; }

/* ── closing cta + footer: one navy plate, one wash ──────── */
.cta { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.cta-field {
  position: absolute; inset: 0;
  background:
    radial-gradient(680px 380px at 22% 8%, rgba(18, 96, 247, .40), transparent 68%),
    radial-gradient(520px 320px at 84% 92%, rgba(25, 219, 245, .16), transparent 70%),
    repeating-linear-gradient(112deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 44px);
  pointer-events: none;
}
/* top air stays generous; the run into the baseline row tightens so the two read as one block */
.cta-inner { position: relative; text-align: center; padding: 104px 0 72px; }
.cta h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 20px; }

.brand-light { color: #fff; }
.brand-light .brand-name strong { color: var(--on-navy-accent); }

/* baseline row: rides the same plate, separated by a hairline only */
.footer-bottom {
  position: relative;
  display: flex; flex-wrap: wrap; gap: 14px 24px;
  justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 26px; padding-bottom: 30px;
  color: #7d92ad; font-size: 13.5px;
}

/* ── responsive ──────────────────────────────────────────── */
@media (max-width: 1080px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .nav-links { display: none; }
}

@media (max-width: 780px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .br-lg { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  :root { --pad: 20px; }
  .hero { padding: 56px 0 68px; }
  .section, .band { padding: 68px 0; }
  .cta-inner { padding: 68px 0 48px; }
  .section-head { margin-bottom: 40px; }
}
