/* ==========================================================================
   MuVertex — design system
   Light sky-blue canvas, deep navy type, orange accents.
   Dark navy panels (console, CTA band, footer) carry white type for contrast.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  /* Surfaces — light sky blue canvas, white cards lifted off it */
  --bg: #e4f1fd;
  --bg-2: #d7eafb;
  --surface: #ffffff;
  --surface-2: #f4faff;
  --line: #b9d7ee;
  --line-soft: #cde4f6;

  /* Dark panels — where white type lives */
  --navy: #0c2744;
  --navy-2: #123a5f;
  --navy-deep: #081b30;

  /* Ink — deep blue, never pure black */
  --ink: #0b2545;
  --ink-2: #335c82;
  --ink-3: #5d7792;
  --ink-inv: #ffffff;
  --ink-inv-2: #c3dcf0;
  --ink-inv-3: #8fb2ce;

  /* Brand.
     Bright tones are decorative (icons, glows, fills); the -ink variants are the
     accessible versions for text and links on light surfaces. */
  --blue: #0ea5e9;
  --blue-2: #38bdf8;
  --blue-ink: #0369a1;
  --orange: #f97316;
  --orange-2: #fb923c;
  --orange-ink: #c2410c;
  --mint: #15803d;
  --amber: #b45309;

  --grad: linear-gradient(103deg, #0369a1 0%, #1d6fa5 44%, #c2410c 100%);
  --grad-bright: linear-gradient(103deg, var(--blue) 0%, #4f9fd4 46%, var(--orange) 100%);
  --grad-soft: linear-gradient(103deg, rgba(14, 165, 233, .13), rgba(249, 115, 22, .11));

  /* Geometry */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --wrap: 1180px;
  --pad: clamp(1.1rem, 4vw, 2rem);
  --sect: clamp(4rem, 9vw, 7.5rem);

  --shadow: 0 18px 44px -20px rgba(11, 37, 69, .28);
  --shadow-lift: 0 22px 48px -18px rgba(3, 105, 161, .42);

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  line-height: 1.12;
  letter-spacing: -.028em;
  font-weight: 700;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p { margin: 0 0 1.05em; color: var(--ink-2); }
strong { color: var(--ink); font-weight: 600; }

::selection { background: rgba(14, 165, 233, .28); color: var(--ink); }

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

/* ---------- layout ---------- */
.wrap {
  width: min(var(--wrap), 100% - (var(--pad) * 2));
  margin-inline: auto;
}
.sect { padding-block: var(--sect); position: relative; }
.sect--tight { padding-block: clamp(2.8rem, 6vw, 4.5rem); }
.sect--alt { background: var(--bg-2); border-block: 1px solid var(--line-soft); }

.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.measure { max-width: 68ch; }
.center .measure { margin-inline: auto; }

/* Grid and flex items default to min-width:auto, so a wide child — a `white-space: pre`
   code block, a long table — forces its track past the container instead of scrolling
   inside its own box. Opt every track back into shrinking. */
.grid > *,
.row > *,
.hero__grid > *,
.footer__grid > *,
.form__row > * { min-width: 0; }

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
/* min(100%, N) lets a track collapse below N on narrow screens instead of overflowing. */
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* ---------- eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-bright);
}
.center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(270deg, var(--blue), var(--orange));
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--grad);
  color: #fff;
  font-weight: 650;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--blue-ink);
}
.btn--ghost:hover { border-color: var(--blue); background: #f0f9ff; }

.btn--sm { padding: .6rem 1.1rem; font-size: .88rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.8rem;
}
.center .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 650;
  font-size: .92rem;
  color: var(--orange-ink);
}
.link-arrow svg { transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(228, 241, 253, .78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(236, 246, 254, .94);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -.035em;
  flex-shrink: 0;
}
.logo svg { width: 32px; height: 32px; flex-shrink: 0; }
.logo span { color: var(--ink); }
.logo b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav { margin-inline-start: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  /* Dropdown toggles are <button>, so reset the UA chrome to match the <a> links. */
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  padding: .55rem .8rem;
  border-radius: var(--r-sm);
  font-size: .93rem;
  font-weight: 550;
  color: var(--ink-2);
  transition: color .15s ease, background-color .15s ease;
}
.nav__link:hover,
.nav__link[aria-expanded="true"],
.nav__item.is-active > .nav__link { color: var(--blue-ink); background: rgba(3, 105, 161, .09); }
.nav__link .chev { transition: transform .2s ease; }
.nav__link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.nav__item { position: relative; }

.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  translate: -50% 0;
  min-width: 540px;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.mega[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.mega--one { grid-template-columns: 1fr; min-width: 300px; }
.mega__title {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
  margin: 0 0 .6rem .7rem;
}
.mega__link {
  display: block;
  padding: .55rem .7rem;
  border-radius: var(--r-sm);
  transition: background-color .15s ease;
}
.mega__link:hover { background: #eff8ff; }
.mega__link b { display: block; font-size: .92rem; font-weight: 650; color: var(--ink); }
.mega__link small { display: block; font-size: .8rem; color: var(--ink-3); line-height: 1.45; }

.header__cta { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: background-color .2s ease;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .22s ease;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .burger { display: inline-flex; margin-inline-start: auto; }
  .header__cta .btn { display: none; }
  .nav {
    position: fixed;
    inset: 74px 0 auto;
    margin: 0;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--pad) 2rem;
    display: none;
    box-shadow: var(--shadow);
  }
  .nav[data-open="true"] { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav__link { justify-content: space-between; padding: .85rem .6rem; font-size: 1rem; }
  .mega {
    position: static;
    translate: none;
    min-width: 0;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f3faff;
    border-color: var(--line-soft);
    display: none;
    margin-bottom: .5rem;
  }
  .mega[data-open="true"] { display: grid; }
  .nav__mobile-cta { display: block; margin-top: 1.2rem; }
  .nav__mobile-cta .btn { width: 100%; }
}
@media (min-width: 1001px) {
  .nav__mobile-cta { display: none; }
}

/* ---------- decorative background ---------- */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.glow--sky { background: rgba(56, 189, 248, .34); }
.glow--amber { background: rgba(249, 115, 22, .2); }

.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 37, 69, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 37, 69, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}
.sect > .wrap { position: relative; z-index: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  /* Tight at the top so the headline sits close under the sticky header;
     the generous bottom padding still separates the hero from what follows. */
  padding-block: clamp(1.4rem, 3vw, 2.4rem) var(--sect);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #f2f9ff 0%, var(--bg) 100%);
}
.hero .glow--sky { width: 620px; height: 620px; top: -260px; left: -140px; }
.hero .glow--amber { width: 520px; height: 520px; top: -120px; right: -180px; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .9rem .4rem .5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: .82rem;
  color: var(--ink-2);
  margin-bottom: 1.5rem;
}
.badge b {
  padding: .15rem .55rem;
  border-radius: var(--r-pill);
  background: var(--grad);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.hero h1 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  line-height: 1.24;
  letter-spacing: -.02em;
}

/* Supporting detail under the positioning paragraph — a step quieter than .lead
   so the two don't compete. */
.hero__detail {
  font-size: .94rem;
  color: var(--ink-3);
}

.hero__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  margin: 0 0 1.1rem;
  font-size: clamp(.84rem, 1.1vw, .95rem);
  font-weight: 650;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: var(--blue-ink);
}
.hero__pillars span { color: var(--line); font-weight: 400; }

.hero__points {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: .6rem;
}
.hero__points li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .96rem;
  color: var(--ink-2);
}
.hero__points svg { flex-shrink: 0; margin-top: .3rem; color: var(--mint); }

/* ---------- hero visual ----------
   The source image has a near-white background, so a hard edge would read as a pasted
   rectangle on the sky-blue canvas. A soft mask feathers it into the page instead. */
.hero__visual {
  margin: 0;
  position: relative;
}

/* The hero grid centres its columns; top-align the visual so it sits level with the
   headline instead of floating against the middle of a tall text column. */
@media (min-width: 921px) {
  .hero .hero__grid > :last-child { align-self: start; }
}
.hero__visual img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse 92% 88% at 50% 48%, #000 58%, transparent 97%);
  -webkit-mask-image: radial-gradient(ellipse 92% 88% at 50% 48%, #000 58%, transparent 97%);
}

/* ---------- console mock ----------
   A deliberately dark panel on the light canvas: code reads best as light-on-dark,
   and it anchors the hero visually. */
.console {
  border: 1px solid #16375a;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.console__bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .03);
}
.console__dot { width: 10px; height: 10px; border-radius: 50%; background: #39577a; }
.console__path {
  margin-inline-start: .6rem;
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--ink-inv-3);
}
.console__body {
  padding: 1.1rem 1.2rem 1.3rem;
  font-family: var(--mono);
  font-size: .78rem;
  line-height: 1.85;
  overflow-x: auto;
  color: var(--ink-inv);
}
.console__body pre { margin: 0; white-space: pre; }
.tok-key { color: #7dd3fc; }
.tok-str { color: #86efac; }
.tok-num { color: #fcd34d; }
.tok-punc { color: var(--ink-inv-3); }
.tok-cmd { color: #fdba74; }
.tok-com { color: #6b8bab; }

.console__status {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: .78rem;
  color: var(--ink-inv-3);
  font-family: var(--mono);
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ---------- trust strip ---------- */
.strip {
  border-block: 1px solid var(--line-soft);
  background: #fff;
  padding-block: 1.6rem;
}
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2.6rem;
}
.strip__item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  font-weight: 550;
  color: var(--ink-2);
}
.strip__item svg { color: var(--blue-ink); flex-shrink: 0; }

/* ---------- cards ---------- */
.card {
  position: relative;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: 0 2px 10px -6px rgba(11, 37, 69, .18);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-2);
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .45rem; }
.card p { font-size: .94rem; margin-bottom: 1rem; }
.card .link-arrow { margin-top: auto; }

.card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--grad-soft);
  border: 1px solid var(--line-soft);
  color: var(--orange-ink);
  margin-bottom: 1.1rem;
}

.card--flat:hover { transform: none; }

.card--num .card__icon {
  font-family: var(--mono);
  font-size: .95rem;
  font-weight: 700;
  color: var(--blue-ink);
}

/* ---------- feature rows ---------- */
.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.row + .row { margin-top: clamp(3rem, 7vw, 5.5rem); }
@media (min-width: 880px) {
  .row--flip > *:first-child { order: 2; }
}

.panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: .75rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .95rem;
  color: var(--ink-2);
}
.checklist svg { flex-shrink: 0; margin-top: .32rem; color: var(--orange-ink); }

/* ---------- stats ---------- */
.stat {
  padding: 1.5rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: #fff;
  text-align: center;
}
.stat b {
  display: block;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { font-size: .88rem; color: var(--ink-3); }

/* Stats sitting on a dark band invert. */
.cta-band .stat,
.phero--dark .stat { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); }
.cta-band .stat b,
.phero--dark .stat b { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.cta-band .stat span,
.phero--dark .stat span { color: var(--ink-inv-2); }

/* ---------- table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--r); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .92rem; }
th, td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
th { background: #eff7fe; font-weight: 700; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
td { color: var(--ink-2); }
td code { font-family: var(--mono); font-size: .85rem; color: var(--blue-ink); }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- accordion ---------- */
.faq { display: grid; gap: .7rem; max-width: 820px; margin-inline: auto; }
.acc {
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.acc.is-open { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14, 165, 233, .12); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: none;
  border: 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
}
.acc__sign { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.acc__sign::before,
.acc__sign::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 2px;
  background: var(--orange-ink);
  border-radius: 2px;
  transition: transform .22s ease;
}
.acc__sign::after { transform: rotate(90deg); }
.acc.is-open .acc__sign::after { transform: rotate(0); }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .26s ease;
}
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 1.3rem 1.2rem; margin: 0; font-size: .95rem; }

/* ---------- CTA band ----------
   Deep navy with white type — the strongest contrast on the page, which is what a
   closing call to action wants. */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  background: linear-gradient(135deg, #0c2b4c 0%, #0a2340 52%, #3a2010 100%);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band .glow--sky { width: 420px; height: 420px; top: -200px; left: -60px; }
.cta-band .glow--amber { width: 380px; height: 380px; bottom: -220px; right: -60px; }
/* Lift content above the glows — but not the glows themselves, which must stay
   absolutely positioned or their 420px/380px boxes land in the flow and balloon the band. */
.cta-band > :not(.glow) { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--ink-inv-2); }
.cta-band .eyebrow { color: var(--orange-2); }
.cta-band .btn--ghost {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .34);
  color: #fff;
}
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }

/* ---------- page hero (inner pages) ---------- */
.phero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #f2f9ff 0%, var(--bg-2) 100%);
}
.phero .glow--sky { width: 500px; height: 500px; top: -280px; left: 10%; }
.phero .glow--amber { width: 420px; height: 420px; top: -240px; right: 5%; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  font-size: .84rem;
  color: var(--ink-3);
  margin-bottom: 1.1rem;
}
.crumbs a:hover { color: var(--orange-ink); }
.crumbs span[aria-current] { color: var(--ink-2); font-weight: 550; }

/* ---------- form ---------- */
.form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .84rem; font-weight: 650; color: var(--ink); }
.field label .req { color: var(--orange-ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .78rem .95rem;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input::placeholder,
.field textarea::placeholder { color: #8ca6bd; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, .18);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%235d7792' stroke-width='2'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem; }
.field .err { font-size: .78rem; color: #b91c1c; display: none; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #dc2626; background: #fff5f5; }
.field.is-invalid .err { display: block; }

.form__note { font-size: .82rem; color: var(--ink-3); margin: 0; }
.form__ok {
  display: none;
  gap: .7rem;
  align-items: flex-start;
  padding: .95rem 1.1rem;
  border: 1px solid #86d9a4;
  background: #eefbf2;
  border-radius: var(--r-sm);
  font-size: .92rem;
  color: #14532d;
}
.form__ok.is-shown { display: flex; }
.form__ok svg { flex-shrink: 0; margin-top: .22rem; color: var(--mint); }

.form__err {
  display: none;
  padding: .95rem 1.1rem;
  border: 1px solid #f0a9a9;
  background: #fdf2f2;
  border-radius: var(--r-sm);
  font-size: .92rem;
  color: #8f1d1d;
}
.form__err.is-shown { display: block; }

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

button[type="submit"][disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }

/* ---------- contact aside ---------- */
.info-card {
  padding: 1.4rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: #fff;
}
.info-card + .info-card { margin-top: 1rem; }
.info-card h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.info-card p { font-size: .92rem; margin: 0; }
.info-card a { color: var(--blue-ink); font-weight: 550; }
.info-card a:hover { color: var(--orange-ink); }

/* ---------- article ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article h2 { margin-top: 2.4rem; font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
.article h3 { margin-top: 1.8rem; }
.article ul, .article ol { color: var(--ink-2); padding-left: 1.2rem; margin: 0 0 1.1em; }
.article li { margin-bottom: .5rem; }
.article a { color: var(--blue-ink); font-weight: 550; }
.article blockquote {
  margin: 1.8rem 0;
  padding: 1rem 1.3rem;
  border-left: 3px solid var(--orange);
  background: #fff6ed;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--ink);
  font-size: 1.02rem;
}
.article blockquote p:last-child { margin-bottom: 0; color: var(--ink); }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .9rem;
  font-size: .85rem;
  color: var(--ink-3);
  margin-bottom: 1.2rem;
}
.tag {
  display: inline-block;
  padding: .22rem .7rem;
  border-radius: var(--r-pill);
  border: 1px solid #f8c89b;
  background: #fff3e6;
  font-size: .76rem;
  font-weight: 700;
  color: var(--orange-ink);
  letter-spacing: .03em;
}

/* ---------- footer ----------
   Deep navy with white type: closes the page and separates chrome from content. */
.footer {
  background: var(--navy);
  color: var(--ink-inv-2);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}
/* min() keeps the tracks from demanding more width than a narrow viewport has —
   a fixed 230px + 150px minimum overflows a 375px screen. */
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 2.2rem;
}
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: minmax(230px, 1.4fr) repeat(4, minmax(140px, 1fr)); }
}
.footer .logo span { color: #fff; }
.footer .logo b {
  background: linear-gradient(103deg, var(--blue-2) 0%, #7fb4dd 46%, var(--orange-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer h4 {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-inv-3);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { font-size: .91rem; color: var(--ink-inv-2); transition: color .15s ease; }
.footer a:hover { color: var(--orange-2); }
.footer__blurb { font-size: .92rem; color: var(--ink-inv-3); max-width: 34ch; margin: 1rem 0 1.2rem; }

.social { display: flex; gap: .55rem; }
.social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--r-sm);
  color: var(--ink-inv-2);
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}
.social a:hover { border-color: var(--orange-2); color: #fff; background: rgba(255, 255, 255, .08); }

.footer__bar {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--ink-inv-3);
}
.footer__bar nav { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }

/* ---------- cookie bar ---------- */
.cookiebar {
  position: fixed;
  left: var(--pad);
  right: var(--pad);
  bottom: var(--pad);
  z-index: 90;
  max-width: 640px;
  margin-inline: auto;
  display: none;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.cookiebar.is-shown { display: flex; }
.cookiebar p { margin: 0; font-size: .87rem; flex: 1 1 280px; }
.cookiebar a { color: var(--blue-ink); font-weight: 550; }
.cookiebar div { display: flex; gap: .5rem; }

/* ---------- reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.22, .9, .3, 1), transform .55s cubic-bezier(.22, .9, .3, 1);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- misc ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: .7rem 1.1rem;
  background: var(--blue-ink);
  color: #fff;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.divider { height: 1px; background: var(--line-soft); border: 0; margin: 0; }
