@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --light-blue: #e9f1fa;
  --bright-blue: #00abe4;
  --blue-dark: #063b57;
  --blue-mid: #087fa9;
  --white: #ffffff;
  --ink: #123247;
  --muted: #567083;
  --line: #cfe3f2;
  --shadow: 0 22px 60px rgba(6, 59, 87, .13);
  --display: "Fraunces", Georgia, serif;
  --sans: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--blue-dark);
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -.025em;
  text-decoration: none;
}

.brand::before {
  content: "/";
  margin-right: 7px;
  color: var(--bright-blue);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.7vw, 24px);
  font-size: .88rem;
}

.nav a, .nav-cta, .text-link { text-decoration: none; }
.nav a:hover, .text-link:hover { color: var(--bright-blue); }

.nav-cta {
  border-radius: 999px;
  padding: 11px 17px;
  color: var(--white);
  background: var(--bright-blue);
  font-size: .88rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 171, 228, .25);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 82vh;
  padding: clamp(58px, 8vw, 112px) clamp(22px, 7vw, 104px);
  overflow: hidden;
  background: var(--blue-dark);
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 59, 87, .96) 0%, rgba(6, 59, 87, .86) 46%, rgba(0, 171, 228, .18) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-mid);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero .eyebrow, .process .eyebrow, .cta .eyebrow { color: #8be1ff; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "opsz" 72, "SOFT" 40, "WONK" 1;
}

h1, h2 { letter-spacing: -.035em; line-height: 1.02; }

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  font-weight: 650;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 4.15rem);
  font-weight: 620;
}

h3 { margin-bottom: 9px; font-size: 1.28rem; font-weight: 650; line-height: 1.2; }
.hero p { max-width: 620px; font-size: clamp(1.05rem, 2vw, 1.32rem); }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  padding: 12px 23px;
  text-decoration: none;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.button.primary { color: var(--white); background: var(--bright-blue); }
.button.secondary { color: var(--white); border: 1px solid rgba(255,255,255,.65); }

.intro-band, .section, .process, .cta {
  padding: clamp(58px, 8vw, 112px) clamp(22px, 7vw, 104px);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: clamp(30px, 7vw, 94px);
  align-items: end;
  background: var(--light-blue);
}

.intro-band p:last-child, .two-column > p, .two-column > div > p, .page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(280px, 1.14fr);
  gap: clamp(30px, 7vw, 94px);
  align-items: start;
}

.feature-grid, .cards { display: grid; gap: 20px; }
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.feature-grid article, .card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(6, 59, 87, .06);
}

.feature-grid article::before, .card::before {
  content: "";
  display: block;
  width: 38px;
  height: 5px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--bright-blue);
}

.feature-grid p, .card p, .steps p { color: var(--muted); }
.warm { background: var(--light-blue); }
.section-heading { max-width: 850px; margin-bottom: 38px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.process {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), #075777);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 225px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  padding: 25px;
  background: rgba(255,255,255,.04);
}

.steps span { display: block; margin-bottom: 32px; color: #8be1ff; font-weight: 900; }
.steps strong { display: block; margin-bottom: 8px; font-size: 1.55rem; }
.steps p { color: rgba(255,255,255,.76); }

.balance-note {
  padding: clamp(60px, 9vw, 122px) clamp(24px, 12vw, 180px);
  background: var(--light-blue);
  text-align: center;
}

.balance-note blockquote {
  margin: 0 auto;
  max-width: 940px;
  color: var(--blue-dark);
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-variation-settings: "opsz" 72, "SOFT" 55, "WONK" 1;
  font-weight: 620;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue-mid);
  font-weight: 850;
}

.text-link::after { content: " →"; }

.cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--bright-blue), #0786b2);
  text-align: center;
}

.cta p { max-width: 670px; margin-right: auto; margin-left: auto; color: rgba(255,255,255,.88); }
.cta .button { margin-top: 16px; color: var(--blue-dark); background: var(--white); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(22px, 7vw, 104px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer p:first-child { color: var(--blue-dark); font-weight: 900; }
.footer p { margin-bottom: 0; }

.page-hero {
  padding: clamp(78px, 11vw, 145px) clamp(22px, 7vw, 104px);
  background: linear-gradient(135deg, var(--light-blue), var(--white));
}

.page-hero h1 { max-width: 920px; color: var(--blue-dark); }
.page-hero p { max-width: 760px; }

.split-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.split-list li { border-top: 1px solid var(--line); padding-top: 18px; }

form { display: grid; gap: 18px; }
label { color: var(--muted); font-weight: 750; }

input, textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

input:focus, textarea:focus { outline: 3px solid rgba(0,171,228,.2); border-color: var(--bright-blue); }
textarea { resize: vertical; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .site-header { position: static; display: flex; flex-wrap: wrap; gap: 14px 20px; }
  .brand { flex: 1 1 auto; }
  .nav-cta { order: 2; }
  .nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .nav a { white-space: nowrap; }
  .intro-band, .two-column, .feature-grid, .cards.three, .steps { grid-template-columns: 1fr; }
  .hero { min-height: 74vh; }
  .hero::after { background: rgba(6,59,87,.82); }
  .footer { flex-direction: column; }
}
