:root {
  --midnight: #0b1a2e;
  --cyan: #29bdef;
  --slate: #2e5e82;
  --lime: #c6f432;
  --sky: #e6f7fd;
  --white: #fff;
  --ink: var(--midnight);
  --glass: var(--white);
  --paper: var(--white);
  --line: #cfe6ef;
  --teal: var(--slate);
  --blue: var(--cyan);
  --muted: var(--slate);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  font:
    17px/1.6 Figtree,
    system-ui,
    sans-serif;
  background: var(--glass);
  color: var(--ink);
}
h1,
h2,
h3 {
  font-family: Montserrat, system-ui, sans-serif;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
}
h3 {
  font-size: 1.2rem;
}
a {
  color: var(--teal);
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  padding: 64px 0;
}
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--glass);
  border-bottom: 3px solid var(--cyan);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font:
    700 1.25rem Montserrat,
    sans-serif;
  color: var(--ink);
  text-decoration: none;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
nav a:hover {
  color: var(--teal);
}
.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  font-size: 1rem;
  cursor: pointer;
}
nav .btn {
  color: #fff;
  padding: 8px 16px;
}
.btn.alt {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
#menu {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  color: var(--ink);
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 700;
}
.hero {
  padding: 72px 0 56px;
}
.hero p {
  max-width: 60ch;
  font-size: 1.15rem;
  color: var(--muted);
}
.hero .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.why ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px 32px;
}
.why li {
  padding-left: 26px;
  position: relative;
}
.why li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 6px;
  border-left: 3px solid var(--cyan);
  border-bottom: 3px solid var(--cyan);
  transform: rotate(-45deg);
}
.band {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
}
.legend span:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c, var(--teal));
  margin-right: 7px;
  vertical-align: -1px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-top: 6px solid var(--c);
  border-radius: 4px;
  padding: 20px;
}
.card p {
  margin: 0;
  color: var(--muted);
}
.w {
  --c: var(--blue);
}
.h {
  --c: var(--green);
}
.e {
  --c: var(--yellow);
}
.p {
  --c: var(--red);
}
.areas {
  max-width: 68ch;
}
form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}
label {
  font-weight: 600;
  display: grid;
  gap: 4px;
}
input,
textarea {
  font: inherit;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}
#status {
  min-height: 1.5em;
  font-weight: 600;
}
footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 760px) {
  #menu {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    background: var(--glass);
    border-bottom: 1px solid var(--line);
  }
  nav.open {
    display: flex;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.page {
  padding: 48px 0 64px;
}
.page .wrap {
  max-width: 780px;
}
.page h2 {
  margin-top: 1.8em;
}
.page ul {
  padding-left: 1.2em;
}
.page li {
  margin: 0.35em 0;
}
.note {
  border-left: 4px solid var(--cyan);
  background: var(--paper);
  padding: 12px 16px;
  margin: 1.2em 0;
  border-radius: 0 4px 4px 0;
}
.crumbs {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 12px;
}
details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  margin: 10px 0;
  padding: 12px 16px;
}
summary {
  font-weight: 700;
  cursor: pointer;
}
details p {
  margin: 0.6em 0 0;
}
.cols {
  columns: 2;
  column-gap: 32px;
}
@media (max-width: 600px) {
  .cols {
    columns: 1;
  }
}
.card h3 a {
  color: inherit;
  text-decoration: none;
}
.card h3 a:hover {
  text-decoration: underline;
}

nav .dd {
  position: relative;
}
nav .dd summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
}
nav .dd summary::-webkit-details-marker {
  display: none;
}
nav .dd summary:after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-2px);
}
nav .dd[open] summary:after {
  transform: rotate(-135deg);
}
nav .panel {
  position: absolute;
  top: calc(100% + 20px);
  left: -12px;
  z-index: 20;
  width: max-content;
  max-width: 340px;
  max-height: 70vh;
  overflow: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  display: grid;
  gap: 2px;
}
nav .panel a {
  padding: 6px 10px;
  border-radius: 4px;
  font-weight: 400;
}
nav .panel a:hover {
  background: var(--glass);
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
}
legend {
  font-weight: 600;
  padding: 0 6px;
}
.chk {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 400;
}
.chk input {
  width: auto;
}
.flinks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 16px;
}
.flinks strong {
  width: 100%;
  color: var(--ink);
}
.page .wrap a {
  overflow-wrap: anywhere;
}
.page h1 {
  margin-bottom: 0.6em;
}
@media (max-width: 760px) {
  nav {
    max-height: calc(100vh - 72px);
    overflow: auto;
  }
  nav .panel {
    position: static;
    border: 0;
    padding: 4px 0 4px 8px;
    max-width: none;
  }
}
.after-grid {
  margin-top: 28px;
}
.logo img {
  display: block;
  height: 56px;
  width: auto;
}
.card {
  position: relative;
  transition:
    border-color 0.15s,
    background-color 0.15s;
}
.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.card:has(h3 a) {
  cursor: pointer;
}
.card:has(h3 a):hover {
  background: var(--paper);
  border-color: var(--c);
}
.card:has(a:focus-visible) {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.card h3 a:focus-visible {
  outline: none;
}
@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
}
.btn:hover,
nav a.btn:hover {
  background: var(--ink);
  color: #fff;
}
.btn.alt:hover,
nav a.btn.alt:hover {
  background: var(--ink);
  color: #fff;
}

/* Homepage hero (from design PDF) */
.hero {
  --navy: #0a1b3d;
  --lime: #c6f432;
  background:
    radial-gradient(
      900px 340px at 50% -80px,
      #1c8fab 0%,
      rgba(28, 143, 171, 0) 70%
    ),
    linear-gradient(#0e3556 0, var(--navy) 38%, #08152f 100%);
  color: #fff;
  padding: 56px 0 64px;
  font-family: Figtree, system-ui, sans-serif;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 56px;
  align-items: center;
  max-width: 1180px;
}
.hero h1 {
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 18px 0 22px;
}
.hero .hero-copy > p {
  color: #c9d6e6;
  font-size: 1.1rem;
  max-width: 52ch;
}
.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: #7fd6ee;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero .actions {
  margin-top: 28px;
}
.btn.lime {
  background: var(--lime);
  color: #0a1b3d;
  font-weight: 600;
  border-radius: 4px;
}
.btn.lime:hover,
nav a.btn.lime:hover {
  background: #d8ff5c;
  color: #0a1b3d;
}
.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid #6fd0ea;
  border-radius: 4px;
  font-weight: 600;
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.hero .trust {
  margin-top: 26px;
  font-size: 0.92rem;
  color: #c9d6e6;
}
.quote {
  background: #fff;
  color: #0a1b3d;
  border-radius: 12px;
  padding: 28px;
  gap: 16px;
  max-width: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.quote h2 {
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 1.35rem;
  margin: 0;
}
.quote .sub {
  margin: -8px 0 0;
  color: #5b6b82;
  font-size: 0.92rem;
}
.quote label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0a1b3d;
}
.quote input,
.quote select {
  font: inherit;
  font-weight: 400;
  font-size: 0.92rem;
  padding: 12px;
  border: 1px solid #d5dce6;
  border-radius: 6px;
  background: #fff;
  color: #0a1b3d;
  width: 100%;
}
.quote input::placeholder {
  color: #8a97a8;
}
.quote .btn {
  width: 100%;
  text-align: center;
  padding: 14px;
}
.quote #status {
  margin: 0;
  font-size: 0.9rem;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ===== Brand guide: Sky Midnight palette, Montserrat + Figtree ===== */
body {
  font:
    400 16px/1.6 Figtree,
    system-ui,
    sans-serif;
  color: var(--midnight);
  background: var(--white);
}
h1,
h2,
h3 {
  font-family: Montserrat, system-ui, sans-serif;
  color: var(--midnight);
}
h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}
h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}
.hero .hero-copy > p,
.page .wrap > p:first-of-type {
  font-size: 18px;
  line-height: 1.55;
}
@media (min-width: 761px) {
  body {
    font-size: 17px;
  }
  h1 {
    font-size: 54px;
  }
  h2 {
    font-size: 40px;
  }
  h3 {
    font-size: 22px;
  }
  .hero .hero-copy > p,
  .page .wrap > p:first-of-type {
    font-size: 20px;
  }
}
a {
  color: var(--slate);
}
header {
  background: var(--white);
  border-bottom: 3px solid var(--cyan);
}
nav a {
  color: var(--midnight);
}
nav a:hover {
  color: var(--slate);
}
.band {
  background: var(--sky);
  border-color: var(--sky);
}
.card {
  border: 1px solid var(--line);
  border-top: 5px solid var(--cyan);
  background: var(--white);
}
.card:has(h3 a):hover {
  background: var(--sky);
  border-color: var(--cyan);
}
.card p {
  color: var(--slate);
}
details {
  background: var(--sky);
  border-color: var(--sky);
}
.note {
  background: var(--sky);
  border-left-color: var(--cyan);
}
input,
textarea,
select {
  background: var(--white);
  color: var(--midnight);
}
/* buttons: lime = quote/call actions only, always midnight text */
.btn,
nav a.btn {
  background: var(--lime);
  color: var(--midnight);
  font:
    600 16px/1 Figtree,
    sans-serif;
  border-radius: 4px;
  padding: 13px 22px;
}
nav a.btn {
  padding: 10px 16px;
}
@media (min-width: 761px) {
  .btn {
    font-size: 17px;
  }
}
.btn:hover,
nav a.btn:hover {
  background: #d8f95f;
  color: var(--midnight);
}
.btn.alt {
  background: transparent;
  border: 2px solid var(--midnight);
}
.btn.alt:hover,
nav a.btn.alt:hover {
  background: var(--sky);
  color: var(--midnight);
}
.btn.lime,
.btn.lime:hover {
  background: var(--lime);
  color: var(--midnight);
}
.btn.lime:hover {
  background: #d8f95f;
}
.btn.ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--cyan);
}
.btn.ghost:hover {
  background: rgba(41, 189, 239, 0.15);
  color: var(--white);
}
/* hero: flat Midnight, no gradient or shadow */
.hero {
  background: var(--midnight);
  font-family: Figtree, system-ui, sans-serif;
}
.hero h1 {
  color: var(--white);
}
.hero .hero-copy > p,
.hero .trust {
  color: var(--sky);
}
.badge {
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
@media (min-width: 761px) {
  .badge {
    font-size: 14px;
  }
}
.quote {
  box-shadow: none;
  border-radius: 8px;
}
.quote .sub {
  color: var(--slate);
}
.quote input,
.quote select {
  border-color: #c4d6e0;
  color: var(--midnight);
}
.quote input::placeholder {
  color: #6b8397;
}
/* footer: Midnight */
footer {
  background: var(--midnight);
  color: var(--sky);
  border-top: 0;
}
footer a {
  color: var(--cyan);
}
footer .flinks strong {
  color: var(--white);
}
.flinks span {
  color: var(--sky);
}
