/* Dragon Bay IT — site styles
   Brand tokens from Brand Guidelines v1.0 */

/* Fonts are self-hosted (assets/fonts), so no third party is contacted when a page loads.
   Variable fonts: one file covers every weight. Licenses: assets/fonts/OFL-*.txt (SIL Open Font License 1.1). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/assets/fonts/playfair-display-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("/assets/fonts/playfair-display-italic-latin-var.woff2") format("woff2"); }
:root {
  --navy: #0A2540;
  --navy-2: #0F3354;
  --teal: #00BFA5;
  --teal-deep: #01AC99;
  --teal-ink: #00796B;      /* teal for small text on light surfaces (AA) */
  --gold: #F4A261;
  --ember: #B85C3F;
  --bone: #FAFAF7;
  --obsidian: #1C1C1E;
  --mist: #E6F4F1;          /* pale teal wash, hero background */
  --line: #E3E6E8;
  --ink: #0A2540;
  --ink-soft: #46586B;      /* secondary text, 7:1 on bone */
  --white: #FFFFFF;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --shadow-card: 0 1px 2px rgba(10, 37, 64, .06), 0 12px 32px -12px rgba(10, 37, 64, .18);
  --shadow-float: 0 2px 6px rgba(10, 37, 64, .08), 0 24px 48px -16px rgba(10, 37, 64, .35);

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }

.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;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--bone); padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h2 em, .hero__title em, .h3-display em { color: var(--teal-deep); font-weight: 400; }
.h2--light { color: var(--bone); }
.h2--light em { color: var(--teal); }
.h3-display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.15;
}

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  font-size: .8125rem; font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: 0 1px 2px rgba(10, 37, 64, .05);
}
.chip svg { color: var(--teal-ink); }
.chip--quiet { background: transparent; box-shadow: none; }
.chip--quiet::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 3px rgba(0, 191, 165, .2);
}
.chip--dark { color: var(--bone); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.chip--dark::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font: 600 .9375rem/1 var(--font-body);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background-color .18s var(--ease-out), border-color .18s var(--ease-out), transform .12s var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
/* Navy text on teal: 7.4:1. White on teal fails AA, so the brand's "GET A QUOTE" treatment is adapted. */
.btn--primary { background: var(--teal); color: var(--navy); }
.btn--primary:hover { background: #22CDB5; }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(10, 37, 64, .2); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(255, 255, 255, .6); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { opacity: .6; cursor: progress; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  padding: 12px var(--gutter);
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  position: relative;
  max-width: 1240px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px;
  padding: 6px 8px 6px 18px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid rgba(10, 37, 64, .08);
  border-radius: var(--r-pill);
  box-shadow: 0 8px 28px -14px rgba(10, 37, 64, .3);
}
.nav__brand img { width: 150px; height: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a:not(.btn), .nav__dd-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 11px;
  font: 500 .9rem/1 var(--font-body); text-decoration: none; color: var(--navy);
  background: transparent; border: 0; border-radius: var(--r-pill); cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s;
}
.nav__links a:not(.btn):hover, .nav__dd-toggle:hover { background: var(--mist); }
.nav__links a[aria-current="page"], .nav__dd-toggle[data-current="true"] { background: var(--mist); font-weight: 600; }
.nav__dd { position: relative; }
.nav__dd-toggle svg { transition: transform .15s; }
.nav__dd-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__dd-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 220px; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-float);
  display: none;
}
.nav__dd-toggle[aria-expanded="true"] + .nav__dd-menu { display: grid; gap: 2px; }
.nav__dd-menu a:not(.btn) { width: 100%; border-radius: 10px; }
.js .nav__dd:hover .nav__dd-menu { display: grid; gap: 2px; }
.nav__dd:hover .nav__dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__cta-item { margin-left: 6px; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 0; background: transparent; color: var(--navy); border-radius: 50%; cursor: pointer;
}

@media (max-width: 1240px) {
  .nav { border-radius: 24px; padding-left: 14px; max-width: 1000px; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 2px;
    max-height: calc(100dvh - 100px); overflow-y: auto;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-float);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility 0s linear .18s;
  }
  .nav[data-open="true"] .nav__links {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
  }
  .nav__links a:not(.btn), .nav__dd-toggle { width: 100%; padding: 0 14px; }
  .nav__dd-toggle { display: none; }
  .nav__dd-menu, .js .nav__dd:hover .nav__dd-menu {
    position: static; translate: none; display: grid; gap: 2px;
    min-width: 0; padding: 0; border: 0; box-shadow: none; background: transparent;
  }
  .nav__cta-item { margin: 6px 0 0; }
  .nav__cta-item .btn { width: 100%; white-space: normal; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: calc(-1 * (var(--header-h) + 12px));
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 96px));
  padding-bottom: clamp(56px, 8vw, 96px);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(0, 191, 165, .16), transparent 70%),
    linear-gradient(180deg, var(--mist) 0%, #EFF7F5 55%, var(--bone) 100%);
  overflow: hidden;
}
.hero::before { /* faint grid, a nod to the network */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(10, 37, 64, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 37, 64, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__inner {
  position: relative;
  max-width: 860px; margin-inline: auto; padding-inline: var(--gutter);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero__title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero__title em { display: inline-block; }
.hero__lede {
  margin-top: 22px;
  max-width: 600px;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: var(--ink-soft);
}
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.hero__stage {
  position: relative;
  max-width: 980px;
  margin: clamp(48px, 7vw, 80px) auto 0;
  padding-inline: var(--gutter);
}
.stage {
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 340px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(55% 70% at 50% 35%, #163F66 0%, transparent 70%),
    var(--navy);
  border: 8px solid var(--white);
  box-shadow: 0 30px 80px -30px rgba(10, 37, 64, .55);
  overflow: visible;
  isolation: isolate;
}
.stage::after { /* clip the sea to the rounded card while floats overflow */
  content: none;
}
.stage__waves {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: 62%;
  border-radius: 0 0 calc(var(--r-lg) - 8px) calc(var(--r-lg) - 8px);
  overflow: hidden;
  z-index: 1;
}
.wave { will-change: transform; }
.stage__mark {
  position: absolute; left: 50%; bottom: 18%;
  width: clamp(150px, 22%, 230px); height: auto;
  transform: translateX(-50%);
  z-index: 2;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
}

.float {
  position: absolute; z-index: 3;
  width: 230px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-float);
  text-align: left;
}
.float--left { left: -28px; top: -26px; transform: rotate(-3deg); }
.float--right { right: -24px; top: 22%; }
.float--bottom { left: 6%; bottom: -30px; width: 260px; }
.float__row { display: flex; align-items: center; gap: 8px; }
.float__label { font-size: .75rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .01em; }
.float__value { margin-top: 6px; font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.float__meta { margin-top: 4px; font-size: .78rem; color: var(--ink-soft); line-height: 1.4; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--ok { background: var(--teal); box-shadow: 0 0 0 3px rgba(0, 191, 165, .22); }
.bar { margin-top: 10px; height: 6px; border-radius: 6px; background: var(--mist); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--teal); border-radius: inherit; }

@media (max-width: 760px) {
  .stage { aspect-ratio: auto; height: 380px; }
  .float { width: 200px; padding: 12px 14px; }
  .float--left { left: -4px; top: -24px; }
  .float--right { right: -4px; top: auto; bottom: 34%; }
  .float--bottom { left: auto; right: 12%; bottom: -36px; width: 220px; }
  .stage__mark { bottom: 22%; width: 150px; }
}
@media (max-width: 420px) {
  .float--right { display: none; }
  .float--bottom { right: 6%; }
}

/* Load sequence: the one orchestrated motion on the page */
@media (prefers-reduced-motion: no-preference) {
  /* each distance equals that path's wave period, so the loop is seamless */
  .wave--back  { --period: -900px;  animation: drift 26s linear infinite; }
  .wave--mid   { --period: -1200px; animation: drift 30s linear infinite reverse; }
  .wave--front { --period: -900px;  animation: drift 16s linear infinite; }
  @keyframes drift { from { transform: translateX(0); } to { transform: translateX(var(--period)); } }

  .js .stage__mark { animation: rise .9s var(--ease-out) .15s both; }
  .js .float { animation: pop .6s var(--ease-out) both; }
  .js .float--left { animation-delay: .55s; }
  .js .float--right { animation-delay: .7s; }
  .js .float--bottom { animation-delay: .85s; }
  @keyframes rise { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
  @keyframes pop { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
}

/* ---------- Statement ---------- */
.statement {
  max-width: 920px; margin-inline: auto;
  padding: clamp(80px, 11vw, 140px) var(--gutter);
  text-align: center;
}
.statement__text {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.statement__text em { font-family: var(--font-display); font-weight: 400; }
.statement__text .muted { color: #687789; } /* 4.5:1 on bone */
.statement__sig {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-style: italic;
  color: var(--ink-soft);
}
.statement__sig img { width: 18px; height: auto; }

/* ---------- Who we work with ---------- */
.industries { background: var(--white); border-top: 1px solid var(--line); }
.industries__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.industries__intro { display: grid; gap: 20px; justify-items: start; position: sticky; top: calc(var(--header-h) + 32px); }
.industries__text { color: var(--ink-soft); max-width: 460px; }
.industries__list { border-top: 2px solid var(--navy); }
.industry {
  display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 12px 28px; align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.industry__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.2; }
.industry__text { margin-top: 6px; font-size: .9375rem; color: var(--ink-soft); max-width: 460px; }
.industry__tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding-top: 4px; }
.industry__tools li {
  padding: 4px 10px;
  font-size: .8125rem; font-weight: 500;
  background: var(--mist);
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.industries__all { margin-top: clamp(28px, 4vw, 40px); color: var(--ink-soft); font-size: .9375rem; }
.industries__all a { color: var(--teal-ink); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .industries__grid { grid-template-columns: 1fr; }
  .industries__intro { position: static; }
}
@media (max-width: 560px) {
  .industry { grid-template-columns: 1fr; }
  .industry__tools { justify-content: flex-start; }
}

/* ---------- Section heads ---------- */
.section-head { display: grid; gap: 18px; justify-items: start; margin-bottom: clamp(32px, 5vw, 56px); max-width: 720px; }

/* ---------- Services bento ---------- */
.services { background: #F1F4F3; }
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid rgba(10, 37, 64, .06);
  min-height: 320px;
}
.tile__title { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.tile__text { margin-top: 8px; font-size: .9375rem; color: var(--ink-soft); }
.tile__visual { margin-top: auto; padding-top: 24px; }

.tile--feature {
  grid-column: span 2;
  color: var(--bone);
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(0, 191, 165, .35), transparent 60%),
    linear-gradient(160deg, var(--navy-2), var(--navy));
  border: 0;
  overflow: hidden;
}
.tile--feature .tile__text { color: rgba(250, 250, 247, .82); max-width: 520px; }
.tile__eyebrow { font-size: .8125rem; font-weight: 600; color: var(--gold); margin-bottom: 8px; }
.tile__title--lg { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.tile__link {
  margin-top: 18px; align-self: flex-start;
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; font-size: .9375rem; color: var(--teal);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.tile__link:hover { text-decoration-thickness: 2px; }

.policy {
  margin-top: 24px;
  background: rgba(255, 255, 255, .96);
  color: var(--navy);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-float);
}
.policy__head { display: flex; justify-content: space-between; font-size: .8125rem; font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.policy__range { color: var(--ink-soft); font-weight: 500; }
.policy__log li {
  display: grid; grid-template-columns: 92px minmax(0, 150px) 1fr; align-items: center; gap: 12px;
  padding: 10px 0; font-size: .875rem; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.policy__log li:last-child { border-bottom: 0; padding-bottom: 2px; }
.policy__note { color: var(--ink-soft); font-weight: 400; font-size: .8125rem; }

.tag {
  justify-self: start;
  display: inline-flex; align-items: center;
  padding: 3px 9px;
  font-size: .75rem; font-weight: 600;
  border-radius: var(--r-pill);
  background: #EEF1F4; color: var(--ink-soft);
  white-space: nowrap;
}
.tag--ok { background: #DDF5F0; color: #00695C; }
.tag--warn { background: #FDEBDC; color: #8A4A13; }
.tag--stop { background: #F6E1DA; color: #8E3F27; }

.ticket {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.ticket--ghost { margin: 8px 12px 0; opacity: .6; box-shadow: none; }
.ticket__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ticket__who { font-size: .75rem; font-weight: 600; color: var(--ink-soft); }
.ticket__msg { margin-top: 6px; font-size: .875rem; font-weight: 500; }
.ticket__meta { margin-top: 2px; font-size: .78rem; color: var(--teal-ink); }

.checks li {
  position: relative;
  padding: 10px 12px 10px 38px;
  font-size: .875rem; font-weight: 500;
  border-radius: 10px;
  background: #F4F7F6;
}
.checks li + li { margin-top: 6px; }
.checks li::before {
  content: ""; position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; translate: 0 -50%;
  border-radius: 50%; background: var(--teal)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230A2540' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

.migrate { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.migrate__box {
  flex: 1; text-align: center;
  padding: 18px 10px;
  font-size: .8125rem; font-weight: 600;
  border: 1.5px dashed #B9C3CC; border-radius: 12px; color: var(--ink-soft);
}
.migrate__box--to { border: 0; background: var(--navy); color: var(--bone); }

.restore { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.restore__row { display: flex; justify-content: space-between; padding: 10px 14px; font-size: .875rem; color: var(--ink-soft); }
.restore__row + .restore__row { border-top: 1px solid var(--line); }
.restore__row strong { color: var(--navy); font-weight: 600; }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--feature { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .policy__log li { grid-template-columns: 84px 1fr; }
  .policy__note { grid-column: 2; margin-top: -8px; }
}

/* ---------- AI governance ---------- */
.ai {
  position: relative;
  background: var(--navy);
  color: var(--bone);
  overflow: hidden;
}
.ai::before { /* wave line motif from the brand's social kit */
  content: ""; position: absolute; right: -10%; bottom: -30%; width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(0, 191, 165, .18);
  box-shadow: 0 0 0 40px rgba(0, 191, 165, .04), 0 0 0 80px rgba(0, 191, 165, .03);
  pointer-events: none;
}
.ai__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.ai__copy { display: grid; gap: 22px; justify-items: start; position: sticky; top: calc(var(--header-h) + 32px); }
.ai__lede { color: rgba(250, 250, 247, .82); max-width: 480px; }
.ai__lede a { color: var(--teal); text-underline-offset: 3px; }
.ai__list { counter-reset: ai; display: grid; gap: 14px; }
.ai__list li {
  counter-increment: ai;
  position: relative;
  padding: 22px 24px 22px 76px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-md);
}
.ai__list li::before {
  content: counter(ai);
  position: absolute; left: 22px; top: 20px;
  width: 36px; height: 36px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.1rem;
  color: var(--navy); background: var(--teal); border-radius: 50%;
}
.ai__list h3 { font-size: 1.0625rem; font-weight: 600; }
.ai__list p { margin-top: 6px; font-size: .9375rem; color: rgba(250, 250, 247, .78); }
@media (max-width: 900px) {
  .ai__grid { grid-template-columns: 1fr; }
  .ai__copy { position: static; }
}

/* ---------- Before & after ---------- */
.compare .section-head { margin-bottom: 20px; }
.panel {
  display: grid;
  grid-template-columns: 1.1fr .9fr 1fr;
  grid-template-areas: "copy art list";
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--white);
  border: 1px solid rgba(10, 37, 64, .07);
  border-radius: var(--r-md);
}
.panel + .panel { margin-top: 16px; }
.panel--after {
  background: linear-gradient(120deg, #FFFFFF 0%, var(--mist) 100%);
  border-color: rgba(0, 191, 165, .25);
}
.panel__copy { grid-area: copy; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; align-self: stretch; }
.panel__text { color: var(--ink-soft); max-width: 380px; margin-top: auto; }
.panel__art { grid-area: art; }
.panel__art svg { width: 100%; max-width: 320px; margin-inline: auto; }
.xlist { grid-area: list; display: grid; gap: 4px; }
.xlist li {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 0;
  font-weight: 500; font-size: .975rem;
}
.xlist__icon {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background-position: center; background-repeat: no-repeat; background-size: 12px;
}
.xlist__icon--x {
  background-color: #F1F2F4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%23B85C3F' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.xlist__icon--check {
  background-color: #D6F3EE;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-4.9' fill='none' stroke='%2300695C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (max-width: 960px) {
  .panel { grid-template-columns: 1fr 1fr; grid-template-areas: "copy art" "list list"; }
}
@media (max-width: 620px) {
  .panel { grid-template-columns: 1fr; grid-template-areas: "art" "copy" "list"; }
  .panel__art svg { max-width: 220px; }
  .panel__text { margin-top: 0; }
}

/* ---------- Onboarding ---------- */
.onboarding { background: #F1F4F3; }
.onboarding__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.onboarding__head .h2 { max-width: 560px; text-align: right; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.step {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 300px;
  padding: 22px 22px 18px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #D3F1EB 0%, #FFFFFF 62%);
  border: 1px solid rgba(0, 191, 165, .22);
  overflow: hidden;
}
.step__title { font-size: 1.0625rem; font-weight: 700; }
.step__text { margin-top: 8px; font-size: .9rem; color: var(--ink-soft); }
.step__num {
  order: 3;
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 5.5rem; line-height: .9;
  color: rgba(10, 37, 64, .12);
  padding-top: 20px;
}
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .onboarding__head .h2 { text-align: left; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; flex-direction: row; flex-wrap: wrap; column-gap: 16px; align-items: baseline; }
  .step__num { order: -1; margin-top: 0; padding-top: 0; font-size: 3rem; }
  .step__title { flex: 1; }
  .step__text { flex-basis: 100%; }
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__grid > div { display: grid; gap: 20px; justify-items: start; }
.about__mark { width: 100%; max-width: 280px; height: auto; margin-inline: auto; }
.about__text { color: var(--ink-soft); max-width: 620px; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; width: 100%; margin-top: 8px; border-top: 1px solid var(--line); }
.values > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.values dt { font-weight: 700; color: var(--teal-ink); }
.values dd { font-size: .9375rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__mark { max-width: 160px; }
}
@media (max-width: 420px) { .values { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  padding-block: clamp(72px, 10vw, 128px);
  background:
    radial-gradient(50% 60% at 0% 100%, rgba(0, 191, 165, .18), transparent 70%),
    var(--navy);
  color: var(--bone);
  border-top: 4px solid var(--gold);
}
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__copy { display: grid; gap: 20px; }
.contact__lede { color: rgba(250, 250, 247, .82); max-width: 420px; }
.contact__details { display: grid; gap: 12px; margin-top: 8px; }
.contact__details li { display: flex; align-items: center; gap: 12px; color: rgba(250, 250, 247, .9); }
.contact__details svg { color: var(--teal); flex: none; }
.contact__details a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.contact__details a:hover { text-decoration: underline; text-underline-offset: 3px; }

.form {
  padding: clamp(22px, 3vw, 32px);
  background: var(--white);
  color: var(--navy);
  border-radius: var(--r-md);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .5);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; }
.req { color: var(--ember); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit; font-size: 1rem;
  color: var(--navy);
  background: var(--bone);
  border: 1.5px solid #CBD3DA;
  border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-deep); box-shadow: 0 0 0 4px rgba(0, 191, 165, .2);
}
.field [aria-invalid="true"] { border-color: var(--ember); }
.field__err { font-size: .8125rem; color: #9C4529; min-height: 0; }
.field__err:empty { display: none; }
.form__error-summary {
  margin-bottom: 18px; padding: 12px 14px;
  border-radius: 12px; background: #FBECE6; color: #7A3520; font-size: .9rem;
}
.form__error-summary ul { margin-top: 6px; list-style: disc; padding-left: 18px; }
.form__error-summary a { color: inherit; }
.form__status { margin-top: 12px; font-size: .9375rem; font-weight: 500; }
.form__status:empty { display: none; }
.form__status[data-state="ok"] { color: #00695C; }
.form__status[data-state="error"] { color: #9C4529; }
.form__fine { margin-top: 10px; font-size: .8125rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--obsidian); color: rgba(250, 250, 247, .75); padding-block: 56px 40px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 36px 56px; align-items: start; }
.footer__brand { display: grid; gap: 12px; }
.footer__brand img { width: 200px; height: auto; }
.footer__slogan { font-family: var(--font-display); font-style: italic; color: rgba(250, 250, 247, .9); }
.footer__contact { font-size: .9rem; line-height: 1.9; }
.footer__contact a { color: rgba(250, 250, 247, .9); text-decoration: none; }
.footer__contact a:hover { color: var(--teal); text-decoration: underline; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer__cols > div { display: grid; align-content: start; }
.footer__head { font-size: .8125rem; font-weight: 700; color: var(--teal); margin-bottom: 6px; }
.footer__cols a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; font-size: .9rem; color: rgba(250, 250, 247, .85); }
.footer__cols a:hover { color: var(--teal); }
.footer__legal {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8125rem; color: rgba(250, 250, 247, .65);
}
.footer__legal a { color: rgba(250, 250, 247, .85); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Services & plans ---------- */
.plans__head { display: grid; gap: 18px; justify-items: start; max-width: 720px; margin-bottom: clamp(32px, 5vw, 48px); }
.plans__lede { color: var(--ink-soft); max-width: 620px; }

.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tier {
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  background: var(--white);
  border: 1px solid #DAD9D2;
  border-top: 5px solid var(--teal);
  border-radius: var(--r-md);
}
.tier--storm {
  background: var(--navy);
  color: var(--bone);
  border: 0;
  border-top: 5px solid var(--gold);
  box-shadow: 0 30px 60px -30px rgba(10, 37, 64, .6);
}
.tier__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tier__kicker { font-size: .875rem; font-weight: 600; color: var(--ink-soft); }
.tier--storm .tier__kicker { color: var(--teal); }
.tier__tag {
  padding: 4px 10px;
  font-size: .75rem; font-weight: 700;
  color: var(--navy); background: var(--gold);
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.tier__name {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1.05;
}
.tier--storm .tier__name { color: var(--white); }
.tier__summary { margin-top: 8px; color: var(--ink-soft); }
.tier--storm .tier__summary { color: #E8ECF1; }
.tier__billing {
  margin-top: 16px; padding-bottom: 16px;
  font-size: .9375rem; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.tier--storm .tier__billing { border-color: #2C4A6B; color: var(--white); }
.tier__list { display: grid; gap: 8px; margin-top: 16px; }
.tier > .tier__list:last-of-type { margin-bottom: 28px; }
.tier__list li {
  position: relative;
  padding-left: 28px;
  font-size: .9375rem; line-height: 1.45;
}
.tier__list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3.2 3.2L12 3.5' fill='none' stroke='%2300BFA5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.tier__list strong { font-weight: 600; }
.tier__subhead {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid #2C4A6B;
  font-size: .9375rem; font-weight: 700;
  color: var(--gold);
}
.tier__subhead + .tier__list { margin-top: 12px; }
.tier__cta { margin-top: auto; }

.required {
  margin-top: 20px;
  padding: 22px clamp(22px, 3vw, 32px) 26px;
  background: var(--white);
  border: 1px solid #DAD9D2;
  border-top: 5px solid var(--navy);
  border-radius: var(--r-md);
}
.required__kicker { font-size: .875rem; font-weight: 600; color: var(--ink-soft); }
.required__row { padding-top: 18px; }
.required__row + .required__row { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.server-band { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; }
.server-band__copy { display: grid; gap: 6px; max-width: 640px; }
.server-band__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.15; }
.server-band__text { color: var(--ink-soft); font-size: .9375rem; }
.server-band__side { flex: none; display: grid; gap: 12px; justify-items: end; text-align: right; }
.server-band__billing { font-size: .9375rem; font-weight: 600; }

.addons { margin-top: 20px; display: grid; gap: 14px; }
.addon {
  padding: 20px clamp(18px, 2.6vw, 26px) 22px;
  background: var(--white);
  border: 1px solid #DAD9D2;
  border-top: 3px solid var(--teal);
  border-radius: var(--r-md);
}
.addon__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 16px; }
.addon__title { font-size: 1.0625rem; font-weight: 700; }
.addon__tag {
  padding: 3px 10px;
  font-size: .75rem; font-weight: 600;
  color: #00695C; background: #DDF5F0;
  border-radius: var(--r-pill);
}
.addon__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.addon__grid > div { display: grid; gap: 2px; align-content: start; }
.addon__grid--1 { grid-template-columns: 1fr; }
.addon__grid > div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.addon__grid dt { font-size: .875rem; font-weight: 600; color: var(--ink-soft); }
.addon__req { font-weight: 500; }
.addon__value { font-size: 1rem; font-weight: 700; line-height: 1.35; }
.addon__note { font-size: .8125rem; color: var(--ink-soft); }

.cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cell {
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid #DAD9D2;
  border-radius: var(--r-md);
}
.cell--dark { background: var(--navy); border-color: var(--navy); color: var(--bone); }
.cell__title { font-size: 1rem; font-weight: 700; }
.cell__text { margin-top: 4px; font-size: .9rem; color: var(--ink-soft); }
.cell--dark .cell__text { color: #E8ECF1; }

.software {
  margin-top: clamp(32px, 4vw, 44px);
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 24px;
}
.software__title { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; white-space: nowrap; }
.software__list { display: flex; flex-wrap: wrap; gap: 8px; }
.software__list li {
  padding: 5px 12px;
  font-size: .875rem; font-weight: 500;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.plans__fine { margin-top: 16px; font-size: .875rem; color: var(--ink-soft); }

.plans-cta {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px;
  padding: clamp(22px, 3vw, 30px) clamp(22px, 3vw, 36px);
  background: var(--navy);
  border-top: 4px solid var(--gold);
  border-radius: var(--r-md);
  color: var(--white);
}
.plans-cta__text { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.25; }
.plans-cta__text em { color: var(--teal); }

@media (max-width: 860px) {
  .tiers { grid-template-columns: 1fr; }
  .server-band { flex-direction: column; align-items: stretch; }
  .server-band__side { justify-items: start; text-align: left; }
  .addon__grid { grid-template-columns: 1fr; }
  .addon__grid > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
}
@media (max-width: 620px) {
  .cells { grid-template-columns: 1fr; }
  .server-band__side .btn, .plans-cta .btn { width: 100%; }
}

/* ---------- Quote modal ---------- */
body.quote-open { overflow: hidden; }
.quote {
  width: min(960px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--bone);
  color: var(--navy);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6);
  overflow: auto;
  overscroll-behavior: contain;
}
.quote::backdrop { background: rgba(10, 37, 64, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.quote__inner { padding: clamp(20px, 3.4vw, 36px); border-top: 5px solid var(--teal); }
.quote__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.quote__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.1; }
.quote__desc { margin-top: 6px; color: var(--ink-soft); max-width: 560px; }
.quote__close {
  flex: none;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--white); color: var(--navy); cursor: pointer;
}
.quote__close:hover { border-color: var(--navy); }
.quote__body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; align-items: start; }
.quote__panel {
  padding: clamp(18px, 2.6vw, 26px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.quote__opt-title { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 700; }
.quote__panel > .quote__opt-title { margin-bottom: 18px; }
.quote__num {
  flex: none;
  width: 28px; height: 28px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: .95rem; font-weight: 700;
  color: var(--navy); background: var(--teal); border-radius: 50%;
}
.form--quote { padding: 0; box-shadow: none; border-radius: 0; }
.field__help { font-size: .8125rem; color: var(--ink-soft); }
.field__opt { font-weight: 400; color: var(--ink-soft); }
.quote__alts { display: grid; gap: 12px; }
.quote__link {
  display: flex; align-items: center; gap: 14px;
  min-height: 72px; padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.quote__link:hover { border-color: var(--teal-deep); box-shadow: 0 0 0 4px rgba(0, 191, 165, .14); }
.quote__link .quote__opt-title { display: block; font-size: 1rem; }
.quote__opt-detail { display: block; font-size: .9375rem; color: var(--teal-ink); font-weight: 600; overflow-wrap: anywhere; }
.quote__success { display: grid; justify-items: start; gap: 10px; padding: 12px 0 4px; }
.quote__success[hidden] { display: none; }
.quote__success:focus { outline: none; }
.quote__success h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
.quote__success p { color: var(--ink-soft); }
.quote__success .btn { margin-top: 6px; }

@media (prefers-reduced-motion: no-preference) {
  .quote[open] { animation: quote-in .22s var(--ease-out); }
  .quote[open]::backdrop { animation: fade-in .22s var(--ease-out); }
  @keyframes quote-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
}
@media (max-width: 820px) {
  .quote__body { grid-template-columns: 1fr; }
  .quote__alts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .quote { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .quote__alts { grid-template-columns: 1fr; }
}

/* ==========================================================
   Multi-page components (v2)
   ========================================================== */
.narrow { max-width: 860px; }
.section--tint { background: #F1F4F3; }
.section--navy {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(0, 191, 165, .14), transparent 60%),
    var(--navy);
  color: var(--bone);
}
.section--flush-top { padding-top: 8px; }
.section-head__lede { color: var(--ink-soft); max-width: 680px; font-size: 1.0625rem; }
.section-head__lede--light, .section--navy .section-head__lede { color: rgba(250, 250, 247, .82); }

/* Buttons on dark surfaces, and the scheduling placeholder */
.btn--ghost-light { background: transparent; color: var(--bone); border-color: rgba(250, 250, 247, .45); }
.btn--ghost-light:hover { border-color: var(--bone); background: rgba(255, 255, 255, .06); }
.btn--placeholder { cursor: not-allowed; border-style: dashed; }
.btn--placeholder:active { transform: none; }
.btn__note { font-weight: 400; opacity: .8; }

.text-link { color: var(--teal-ink); font-weight: 600; text-underline-offset: 3px; }
.text-link:hover { text-decoration-thickness: 2px; }
.text-link--light, .section--navy .text-link, .prose--light .text-link { color: var(--teal); }

/* Inner-page hero */
.page-hero {
  position: relative;
  margin-top: calc(-1 * (var(--header-h) + 12px));
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 88px));
  padding-bottom: clamp(48px, 7vw, 88px);
  background:
    radial-gradient(50% 70% at 85% 0%, rgba(0, 191, 165, .16), transparent 70%),
    linear-gradient(180deg, var(--mist) 0%, var(--bone) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(10, 37, 64, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 37, 64, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(60% 80% at 80% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(60% 80% at 80% 20%, #000 20%, transparent 75%);
}
.page-hero--tall { min-height: 70vh; display: grid; align-items: center; }
.page-hero__inner { position: relative; display: grid; gap: 20px; justify-items: start; }
.page-hero__title {
  max-width: 900px;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.2rem, 5.2vw, 3.8rem); line-height: 1.08; letter-spacing: -0.015em;
  text-wrap: balance;
}
.page-hero__title em { color: var(--teal-deep); font-weight: 400; }
.page-hero__lede { max-width: 680px; font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--ink-soft); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #9AA6B2; }
.crumbs a { color: var(--ink-soft); text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }

/* Section heading with an extra lede (used on the home page) */
.section-head .h2 + .section-head__lede { margin-top: -4px; }

/* Split: heading column + content column */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split__intro { display: grid; gap: 18px; justify-items: start; }
.split__lede { color: rgba(250, 250, 247, .82); max-width: 460px; }
.split__lede--dark { color: var(--ink-soft); }
.split__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.price-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 1rem; color: var(--navy);
}
.price-line::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--gold); }
.price-line--light, .section--navy .price-line, .overview .price-line { color: var(--bone); }

/* Home: Dragon Bay AI overview band */
.overview { background: radial-gradient(60% 80% at 0% 100%, rgba(0, 191, 165, .16), transparent 60%), var(--navy); color: var(--bone); }

/* Three-up point lists */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.points > li {
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(10, 37, 64, .07);
  border-top: 3px solid var(--teal);
  border-radius: var(--r-md);
}
.points h3 { font-size: 1.0625rem; font-weight: 700; }
.points p { margin-top: 8px; font-size: .9375rem; color: var(--ink-soft); }
.points--dark { grid-template-columns: 1fr; gap: 12px; }
.points--dark > li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); border-top-color: var(--teal); }
.points--dark p { color: rgba(250, 250, 247, .8); }
@media (max-width: 860px) { .points { grid-template-columns: 1fr; } }

/* Home: managed IT teasers */
.foundation { background: #F1F4F3; }
.plan-teasers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan-teaser {
  display: grid; gap: 6px; padding: 28px;
  text-decoration: none; color: var(--navy);
  background: var(--white); border: 1px solid #DAD9D2; border-top: 5px solid var(--teal);
  border-radius: var(--r-md);
  transition: box-shadow .2s var(--ease-out), transform .2s var(--ease-out);
}
.plan-teaser:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.plan-teaser--storm { background: var(--navy); color: var(--bone); border: 0; border-top: 5px solid var(--gold); }
.plan-teaser__kicker { font-size: .875rem; font-weight: 600; color: var(--ink-soft); }
.plan-teaser--storm .plan-teaser__kicker { color: var(--teal); }
.plan-teaser__name { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1.1; }
.plan-teaser__text { font-size: .9375rem; color: var(--ink-soft); }
.plan-teaser--storm .plan-teaser__text { color: #E8ECF1; }
.foundation__more { margin-top: 24px; }
@media (max-width: 760px) { .plan-teasers { grid-template-columns: 1fr; } }

.industry__name a { color: inherit; text-decoration: none; background-image: linear-gradient(var(--teal), var(--teal)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .2s var(--ease-out); }
.industry__name a:hover, .industry__name a:focus-visible { background-size: 100% 2px; }

/* Comparison */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.versus__col { padding: 26px; background: var(--white); border: 1px solid #DAD9D2; border-radius: var(--r-md); }
.versus__col--ours { background: var(--navy); color: var(--bone); border-color: var(--navy); border-top: 5px solid var(--teal); }
.versus__title { font-size: 1.125rem; font-weight: 700; margin-bottom: 12px; }
.versus dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.versus__col--ours dl > div { border-color: #2C4A6B; }
.versus dt { font-size: .8125rem; font-weight: 600; color: var(--ink-soft); }
.versus__col--ours dt { color: var(--teal); }
.versus dd { font-weight: 500; }
@media (max-width: 760px) { .versus { grid-template-columns: 1fr; } }

/* Use cases */
.usecases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.usecase { padding: 24px; background: var(--white); border: 1px solid rgba(10, 37, 64, .08); border-radius: var(--r-md); }
.usecase__title { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; }
.usecase__title a { color: inherit; text-underline-offset: 4px; text-decoration-color: var(--teal); }
.usecase .tier__list { margin-top: 12px; }
@media (max-width: 900px) { .usecases { grid-template-columns: 1fr; } }

/* Dragon Bay AI tiers: cool to warm (Navy -> Teal -> Gold -> Ember), Gold/Ember as accents only */
.ai-tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ai-tier {
  position: relative;
  display: grid; align-content: start; gap: 8px;
  padding: 22px 20px 24px;
  background: var(--bone); color: var(--navy);
  border-radius: var(--r-md);
  border-top: 6px solid var(--tier-color);
}
.ai-tier--1 { --tier-color: #3B6E9E; }
.ai-tier--2 { --tier-color: #1A9C9B; }
.ai-tier--3 { --tier-color: var(--teal); }
.ai-tier--4 { --tier-color: var(--gold); }
.ai-tier--5 { --tier-color: var(--ember); }
.ai-tier__name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; }
.ai-tier__sizing { font-size: .9375rem; color: var(--ink-soft); }
.ai-tier__price { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
.ai-tier__price span { font-family: var(--font-body); font-size: .875rem; font-weight: 500; color: var(--ink-soft); }
.ai-tiers__cta { margin-top: 28px; }
@media (max-width: 1100px) { .ai-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .ai-tiers { grid-template-columns: 1fr; } }

/* Numbered list (light) */
.numbered { counter-reset: n; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.numbered li {
  counter-increment: n;
  position: relative;
  padding: 22px 24px 22px 76px;
  background: var(--white); border: 1px solid rgba(10, 37, 64, .08); border-radius: var(--r-md);
}
.numbered li::before {
  content: counter(n);
  position: absolute; left: 22px; top: 20px;
  width: 36px; height: 36px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.1rem;
  color: var(--navy); background: var(--teal); border-radius: 50%;
}
.numbered h3 { font-size: 1.0625rem; font-weight: 600; }
.numbered p { margin-top: 6px; font-size: .9375rem; color: var(--ink-soft); }
@media (max-width: 760px) { .numbered { grid-template-columns: 1fr; } }

/* Long-form text */
.prose { display: grid; gap: 16px; max-width: 680px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--navy); }
.prose--light p, .prose--light li { color: rgba(250, 250, 247, .85); }
.prose--light strong { color: var(--white); }
.prose--doc h2 { margin-top: 18px; font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; color: var(--navy); }
.prose--doc ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.prose--doc a { color: var(--teal-ink); }

/* Checklists */
.checklist { display: grid; gap: 10px; }
.checklist li {
  position: relative; padding-left: 32px; font-weight: 500;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%;
  background: #D6F3EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-4.9' fill='none' stroke='%2300695C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
.checklist--light li { color: var(--bone); padding: 14px 16px 14px 48px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; }
.checklist--light li::before { left: 14px; top: 15px; background-color: var(--teal); }

/* Services page */
.svc-list { display: grid; }
.svc { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px clamp(32px, 6vw, 80px); padding-block: 40px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.svc:first-child { border-top: 2px solid var(--navy); }
.svc__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.15; }
.svc__tag { margin-top: 10px; font-weight: 600; color: var(--teal-ink); }
.svc__body .tier__list { margin-top: 0; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } }

/* Industry software table */
.softtable { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-md); overflow: hidden; border: 1px solid #DAD9D2; }
.softtable th, .softtable td { padding: 12px 18px; text-align: left; font-size: .9375rem; border-top: 1px solid var(--line); }
.softtable thead th { background: var(--navy); color: var(--bone); font-size: .8125rem; font-weight: 600; border-top: 0; }
.softtable tbody th { font-weight: 600; }
.softtable td { color: var(--ink-soft); }
.softtable__also { margin-top: 12px; font-size: .875rem; color: var(--ink-soft); }
@media (max-width: 520px) { .softtable th, .softtable td { padding: 10px 12px; } }

/* Process page */
.process { display: grid; }
.process__step { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding-block: 36px; border-top: 1px solid var(--line); }
.process__step:first-child { border-top: 2px solid var(--navy); }
.process__num { font-family: var(--font-display); font-size: 5rem; line-height: .9; color: rgba(10, 37, 64, .14); }
.process__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.1; }
.process__sub { margin: 6px 0 12px; font-weight: 600; color: var(--teal-ink); }
.process__step p:not(.process__sub) { color: var(--ink-soft); max-width: 640px; }
@media (max-width: 600px) { .process__step { grid-template-columns: 1fr; gap: 6px; } .process__num { font-size: 3.2rem; } }

/* Placeholder notice (owner content still to come) */
.placeholder-note {
  display: grid; gap: 8px;
  margin-top: 18px; padding: 18px 20px;
  border: 2px dashed var(--gold); border-radius: var(--r-md);
  background: #FFF8F1; color: var(--navy);
}
.placeholder-note__label { font-size: .8125rem; font-weight: 700; color: #8A4A13; }
.prose--doc + .placeholder-note, .placeholder-note + .prose--doc { margin-top: 28px; }

.values--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .values--wide { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--white); border: 1px solid rgba(10, 37, 64, .1); border-radius: var(--r-md); scroll-margin-top: calc(var(--header-h) + 24px); }
.faq__q {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 16px 20px;
  font-weight: 600; font-size: 1.0625rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' fill='none' stroke='%230A2540' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat;
  transition: transform .2s var(--ease-out);
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 20px 20px; color: var(--ink-soft); max-width: 720px; }

/* Closing CTA band */
.closing { padding-block: clamp(56px, 8vw, 96px); background: radial-gradient(50% 70% at 0% 100%, rgba(0, 191, 165, .18), transparent 70%), var(--navy); color: var(--bone); border-top: 4px solid var(--gold); }
.closing__inner { display: grid; grid-template-columns: 1.2fr auto; align-items: center; gap: 28px 48px; }
.closing__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.12; text-wrap: balance; }
.closing__text { margin-top: 12px; color: rgba(250, 250, 247, .82); max-width: 560px; }
.closing__text a { color: var(--teal); }
.closing__actions { display: grid; gap: 12px; justify-items: stretch; }
@media (max-width: 860px) { .closing__inner { grid-template-columns: 1fr; } .closing__actions { justify-items: start; } }

/* Contact page and forms on light backgrounds */
.contact--page { margin-top: calc(-1 * (var(--header-h) + 12px)); padding-top: calc(var(--header-h) + clamp(56px, 8vw, 96px)); border-top: 0; }
.contact__schedule { display: grid; gap: 8px; justify-items: start; }
.contact__or { font-size: .9375rem; color: rgba(250, 250, 247, .82); }
.form--light { box-shadow: var(--shadow-card); border: 1px solid rgba(10, 37, 64, .08); }
.form__consent { margin-top: 8px; font-size: .8125rem; color: var(--ink-soft); }
.form__consent a { color: var(--teal-ink); }

/* ---------- Home: Wild West stats + breach counter ---------- */
.wildwest { background: var(--bone); padding-top: clamp(96px, 12vw, 140px); }
.wildwest__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.wildwest__intro { display: grid; gap: 18px; justify-items: start; }
.wildwest__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  display: grid; align-content: start; gap: 6px;
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(10, 37, 64, .08);
  border-left: 4px solid var(--teal);
  border-radius: var(--r-md);
}
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 2.9rem); line-height: 1; color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.stat__text { font-size: .9375rem; font-weight: 500; line-height: 1.4; }
.stat__src { font-size: .78rem; color: var(--ink-soft); }

.breach {
  margin-top: clamp(28px, 4vw, 40px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(26px, 4vw, 44px);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(184, 92, 63, .28), transparent 60%),
    var(--navy);
  color: var(--bone);
  border-radius: var(--r-lg);
  border-top: 5px solid var(--ember);
}
.breach__label { font-size: .9375rem; font-weight: 600; color: var(--gold); }
.breach__value { margin-top: 6px; }
.breach__num {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 5.2rem); line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  min-width: 7.2ch;
  color: var(--white);
}
.breach__text { margin-top: 16px; max-width: 560px; color: rgba(250, 250, 247, .85); }
.breach__bars { display: grid; gap: 16px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr 64px; align-items: center; gap: 12px; font-size: .875rem; }
.bar-row__label { color: rgba(250, 250, 247, .8); }
.bar-row__track { height: 14px; border-radius: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar-row__fill { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--teal); transform-origin: left; transition: transform 1.6s var(--ease-out); }
.bar-row--hot .bar-row__fill { background: linear-gradient(90deg, var(--gold), var(--ember)); }
.bar-row__value { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.js .breach:not(.is-visible) .bar-row__fill { transform: scaleX(0); }
.breach__src { font-size: .78rem; color: rgba(250, 250, 247, .65); }
.sources { margin-top: 16px; font-size: .78rem; color: var(--ink-soft); max-width: 900px; }
.sources a { color: var(--teal-ink); }
@media (max-width: 960px) { .wildwest__top, .breach { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 1fr 64px; }
  .bar-row__label { grid-column: 1 / -1; }
}

/* ---------- Model picker graphic ---------- */
.picker {
  margin-top: 14px; padding: 14px;
  background: var(--bone); border: 1px solid var(--line); border-radius: 14px;
}
.picker--dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.picker .picker__label { margin-top: 0; font-size: .75rem; font-weight: 600; color: var(--ink-soft); }
.picker--dark .picker__label { color: rgba(250, 250, 247, .7); }
.picker__models { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.picker__model {
  padding: 5px 12px; font-size: .8125rem; font-weight: 600;
  background: var(--white); color: var(--navy);
  border: 1px solid var(--line); border-radius: var(--r-pill);
}
.picker__model--more { background: transparent; color: var(--ink-soft); border-style: dashed; font-weight: 500; }
.picker--dark .picker__model { background: rgba(255, 255, 255, .1); color: var(--bone); border-color: rgba(255, 255, 255, .16); }
.picker--dark .picker__model--more { background: transparent; color: rgba(250, 250, 247, .75); }
.picker__auto {
  display: flex; align-items: center; gap: 10px; margin-top: 10px;
  padding: 8px 10px; border-radius: 10px;
  background: rgba(0, 191, 165, .12); font-size: .8125rem; font-weight: 500;
}
.picker--dark .picker__auto { background: rgba(0, 191, 165, .18); color: var(--bone); }
.picker__auto-badge { padding: 2px 8px; border-radius: var(--r-pill); background: var(--teal); color: var(--navy); font-weight: 700; font-size: .75rem; }
.picker__q { margin-top: 12px; font-size: .9375rem; color: var(--ink-soft); }
.points--dark .picker__q { color: rgba(250, 250, 247, .8); }
.points--dark .picker__q strong { color: var(--white); }
.picker__q strong { color: var(--navy); }

/* ---------- Search-friendly blocks ---------- */
.answer { padding-top: clamp(32px, 5vw, 48px); }
.answer__box {
  max-width: 900px;
  padding: clamp(20px, 3vw, 28px) clamp(22px, 3vw, 32px);
  background: var(--white);
  border: 1px solid rgba(10, 37, 64, .08);
  border-left: 5px solid var(--teal);
  border-radius: var(--r-md);
}
.answer__q { font-size: 1.125rem; font-weight: 700; }
.answer__a { margin-top: 8px; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.65; }
.answer + .section { padding-top: clamp(48px, 7vw, 80px); }

.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.areas__col { padding: 24px; background: var(--white); border: 1px solid rgba(10, 37, 64, .08); border-top: 3px solid var(--teal); border-radius: var(--r-md); }
.areas__county { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; }
.areas__list { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.areas__list li { padding: 5px 12px; font-size: .875rem; font-weight: 500; background: var(--mist); border-radius: var(--r-pill); }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr; } }

.faq-group + .faq-group { margin-top: clamp(36px, 5vw, 52px); }
.faq-group__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 16px; }

/* ---------- About: founder story ---------- */
.founder { margin-top: 20px; max-width: 680px; }
.founder p { line-height: 1.75; }
.founder__sig { margin-top: 4px; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--navy) !important; }
.founder__sig::before { content: "— "; }

/* ---------- Home: Before & After scenes ---------- */
.panel__art .scene { display: block; width: 100%; max-width: 320px; height: auto; margin-inline: auto; border-radius: 22px; box-shadow: 0 18px 40px -22px rgba(10, 37, 64, .55); }
.scene * { transform-box: fill-box; }
.sc-sea, .sc-rain, .sc-cloud, .sc-doc__inner, .sc-boat, .sc-float, .sc-rays, .sc-glow, .sc-ping { will-change: transform; }

/* Storm: rain, drifting clouds, lightning, choppy sea, documents swept away */
.sc-rain { animation: sc-rain .7s linear infinite; }
.sc-cloud--back { animation: sc-drift 7s ease-in-out infinite alternate; }
.sc-cloud--front { animation: sc-drift 5s ease-in-out infinite alternate-reverse; }
.sc-bolt { animation: sc-bolt 5.5s linear infinite; }
.sc-flash { animation: sc-flash 5.5s linear infinite; }
.scene--storm .sc-sea--back { animation: sc-slide 3.2s linear infinite, sc-chop 1.6s ease-in-out infinite alternate; }
.scene--storm .sc-sea--front { animation: sc-slide 2.6s linear infinite; }
.sc-doc__inner { transform-origin: center; animation: sc-leak 6s ease-in infinite; opacity: 1; }
.sc-doc--2 .sc-doc__inner { animation-delay: -2s; }
.sc-doc--3 .sc-doc__inner { animation-delay: -4s; }
.sc-ping { transform-origin: center; animation: sc-ping 2.4s ease-out infinite; }

/* Calm: slow sea, rocking boat, glowing sun, floating shield */
.scene--calm .sc-sea--back { animation: sc-slide 14s linear infinite; }
.scene--calm .sc-sea--front { animation: sc-slide 10s linear infinite; }
.sc-boat { transform-origin: 50% 100%; animation: sc-bob 4.5s ease-in-out infinite alternate; }
.sc-rays { transform-origin: center; animation: sc-spin 40s linear infinite; }
.sc-glow { transform-origin: center; animation: sc-glow 4s ease-in-out infinite alternate; }
.sc-float { animation: sc-float 4s ease-in-out infinite alternate; }

@keyframes sc-slide { to { transform: translateX(var(--p)); } }
@keyframes sc-chop { to { transform: translateY(3px); } }
@keyframes sc-rain { to { transform: translate(-12px, 24px); } }
@keyframes sc-drift { to { transform: translateX(8px); } }
@keyframes sc-bolt { 0%, 86% { opacity: 0; } 87% { opacity: 1; } 89% { opacity: .25; } 91% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes sc-flash { 0%, 86% { opacity: 0; } 87% { opacity: .22; } 89% { opacity: .05; } 91% { opacity: .16; } 96%, 100% { opacity: 0; } }
@keyframes sc-leak {
  0% { transform: translate(0, 18px) rotate(0deg); opacity: 0; }
  15% { opacity: 1; }
  70% { opacity: .9; }
  100% { transform: translate(46px, -118px) rotate(28deg); opacity: 0; }
}
@keyframes sc-ping { from { transform: scale(1); opacity: .55; } to { transform: scale(2); opacity: 0; } }
@keyframes sc-bob { from { transform: translateY(1px) rotate(2deg); } to { transform: translateY(-3px) rotate(-2deg); } }
@keyframes sc-spin { to { transform: rotate(360deg); } }
@keyframes sc-glow { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.12); opacity: .6; } }
@keyframes sc-float { to { transform: translateY(-5px); } }

/* ---------- Cookie consent ---------- */
.btn--light { background: #EAF4FB; color: var(--navy); }
.btn--light:hover { background: #FFFFFF; }

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 1080px; margin-inline: auto;
  padding: 18px 20px;
  background: var(--navy); color: var(--bone);
  border: 1px solid rgba(255, 255, 255, .1);
  border-top: 3px solid var(--teal);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.cookie-banner__copy { flex: 1 1 420px; }
.cookie-banner__title { font-size: 1rem; font-weight: 700; }
.cookie-banner__copy p { margin-top: 4px; font-size: .875rem; color: rgba(250, 250, 247, .82); }
.cookie-banner__copy a { color: var(--teal); text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }
body.has-cookie-banner { padding-bottom: 150px; }
@media (max-width: 620px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1 1 auto; }
  body.has-cookie-banner { padding-bottom: 260px; }
}

.consent-dialog {
  width: min(500px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: var(--r-md);
  background: var(--navy); color: var(--bone);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7);
  overflow: auto;
}
.consent-dialog::backdrop { background: rgba(10, 37, 64, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.consent-dialog__inner { padding: 22px 24px 24px; }
.consent-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.consent-dialog__title { font-size: 1.35rem; font-weight: 700; }
.consent-dialog__close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #9FC3E6; cursor: pointer; }
.consent-dialog__close:hover { background: rgba(255, 255, 255, .08); }
.consent-list { display: grid; }
.consent-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.consent-row__label { font-weight: 700; display: flex; align-items: center; gap: 10px; }
.consent-row__badge { padding: 2px 9px; font-size: .75rem; font-weight: 500; color: #9FC3E6; background: rgba(255, 255, 255, .08); border-radius: var(--r-pill); }
.consent-row__desc { margin-top: 6px; font-size: .875rem; line-height: 1.5; color: rgba(250, 250, 247, .62); }
.consent-dialog__gpc { margin-top: 14px; font-size: .8125rem; color: var(--gold); }
.consent-dialog__gpc[hidden] { display: none; }
.consent-dialog__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.consent-dialog__actions .btn--block { flex-basis: 100%; }

/* Toggle switch */
.switch { position: relative; flex: none; display: inline-flex; margin-top: 2px; cursor: pointer; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch input:disabled { cursor: not-allowed; }
.switch__track { width: 46px; height: 26px; border-radius: 13px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18); transition: background-color .18s var(--ease-out); position: relative; }
.switch__thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #FAFAF7; transition: transform .18s var(--ease-out); }
.switch input:checked + .switch__track { background: var(--teal); border-color: var(--teal); }
.switch input:checked + .switch__track .switch__thumb { transform: translateX(20px); background: var(--navy); }
.switch input:disabled + .switch__track { opacity: .55; }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--teal); outline-offset: 3px; }

.footer__legal-links { display: inline-flex; gap: 18px; align-items: center; }
.footer__cookie { padding: 0; border: 0; background: none; font: inherit; color: rgba(250, 250, 247, .85); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer__cookie:hover { color: var(--teal); }

.link-button { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; text-decoration: underline; }
.prose--doc h3 { margin-top: 6px; font-size: 1.0625rem; font-weight: 700; color: var(--navy); }
.prose--doc code { font-size: .875em; padding: 1px 6px; border-radius: 6px; background: #EEF1F4; color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ==========================================================
   AI Readiness Questionnaire (/assessment)
   ========================================================== */
.js-only { display: none !important; }
.js .js-only { display: revert !important; }
/* Anything hidden on purpose stays hidden, even when it's a JavaScript-only element
   (fixes the cookie banner and questionnaire progress staying on screen after they're dismissed). */
.js .js-only[hidden], .js [hidden] { display: none !important; }
.js .no-js-only { display: none !important; }

.page-hero--assessment { padding-bottom: clamp(40px, 6vw, 64px); }
.qnotes { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 4px; }
.qnotes li { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 500; color: var(--navy); }
.qnotes svg { color: var(--teal-ink); flex: none; }

.qsection { padding-block: 0 clamp(72px, 10vw, 120px); }
.qwrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; max-width: 1100px; }

/* Step rail */
.qrail { position: sticky; top: calc(var(--header-h) + 24px); padding: 22px 18px; background: var(--navy); color: var(--bone); border-radius: var(--r-md); border-top: 4px solid var(--gold); }
.qrail__head { font-family: var(--font-display); font-size: 1.25rem; margin: 0 6px 12px; }
.qrail__list { display: grid; gap: 2px; counter-reset: none; }
.qrail__item { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 4px 8px; border-radius: 10px; color: rgba(250, 250, 247, .62); text-decoration: none; font-size: .9rem; font-weight: 500; }
.qrail__num { width: 26px; height: 26px; flex: none; display: grid; place-items: center; font-size: .8rem; font-weight: 600; border: 1.5px solid rgba(250, 250, 247, .28); border-radius: 50%; }
.js .qrail li[data-state="todo"] .qrail__item { cursor: default; }
.qrail li[data-state="done"] .qrail__item, .qrail li[data-state="partial"] .qrail__item { color: rgba(250, 250, 247, .9); }
.qrail li[data-state="done"] .qrail__num { border-color: var(--teal); background: var(--teal); color: var(--navy); font-size: 0; }
.qrail li[data-state="done"] .qrail__num::after { content: ""; width: 10px; height: 6px; border: solid var(--navy); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.qrail li[data-state="partial"] .qrail__num { border-color: var(--gold); color: var(--gold); }
.qrail__item[aria-current="step"] { background: rgba(255, 255, 255, .08); color: var(--white); font-weight: 600; }
.qrail__item[aria-current="step"] .qrail__num { border-color: var(--teal); color: var(--teal); }
.js .qrail li:not([data-state="todo"]) .qrail__item:hover { background: rgba(255, 255, 255, .06); color: var(--white); }
.qrail__saved { margin: 16px 6px 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.qrail__status { font-size: .8125rem; color: rgba(250, 250, 247, .72); }
.qrail__reset { margin-top: 6px; min-height: 32px; padding: 0; font: 600 .8125rem/1 var(--font-body); color: var(--teal); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.qrail--done .qrail__saved { display: none !important; }

/* Card + progress */
.qcard { padding: clamp(22px, 4vw, 44px); background: var(--white); border: 1px solid rgba(10, 37, 64, .08); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.qprogress { margin-bottom: clamp(20px, 3vw, 28px); }
.qprogress__meta { display: flex; justify-content: space-between; gap: 12px; font-size: .8125rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; }
.qprogress__track { height: 6px; background: #E8ECEE; border-radius: var(--r-pill); overflow: hidden; }
.qprogress__fill { height: 100%; width: 4%; background: linear-gradient(90deg, var(--teal-deep), var(--teal)); border-radius: inherit; transition: width .35s var(--ease-out); }

/* Steps */
.qstep + .qstep { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.qform--steps .qstep + .qstep { margin-top: 0; padding-top: 0; border-top: 0; }
.qstep[hidden] { display: none; }
.qstep__head { display: grid; gap: 8px; margin-bottom: 28px; }
.qstep__eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-ink); }
.qstep__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.15; }
.qstep__title:focus { outline: none; }
.qstep__intro { color: var(--ink-soft); max-width: 620px; }
.qstep__body { display: grid; gap: 30px; }
.qstep__body--grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.qstep__body--grid .q--choice, .qstep__body--grid .field--full { grid-column: 1 / -1; }
.qstep__body--grid .q--choice { margin-top: 10px; }
.qstep .form__error-summary { margin-bottom: 24px; }
.qstep .form__error-summary:focus { outline: 3px solid rgba(184, 92, 63, .35); outline-offset: 2px; }

/* Questions */
.q[hidden] { display: none; }
.q--choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.q__label { padding: 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; color: var(--navy); }
.field.q > label { font-size: .9375rem; }
.q__help { margin-top: 4px; font-size: .875rem; color: var(--ink-soft); max-width: 620px; }
.q--choice .q__help { margin-top: 6px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 8px; margin-top: 12px; }
.choices--compact { display: flex; flex-wrap: wrap; }
.choice { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 52px; padding: 13px 14px; background: var(--bone); border: 1.5px solid #CBD3DA; border-radius: 12px; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.choices--compact .choice { min-height: 48px; padding: 12px 18px; align-items: center; }
.choices--compact .choice__box { display: none; }
.choice:hover { border-color: #8FA0AF; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box { flex: none; width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid #8FA0AF; border-radius: 50%; background: var(--white); display: grid; place-items: center; transition: border-color .15s, background-color .15s; }
.q[data-type="multi"] .choice__box { border-radius: 6px; }
.choice__text { font-size: .9375rem; line-height: 1.4; color: var(--navy); }
.choice:has(input:checked) { border-color: var(--teal-deep); background: var(--mist); box-shadow: inset 0 0 0 1px var(--teal-deep); }
.choice input:checked + .choice__box { border-color: var(--teal-deep); background: var(--teal-deep); }
.choice input:checked + .choice__box::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--white); }
.q[data-type="multi"] .choice input:checked + .choice__box::after { width: 9px; height: 5px; border-radius: 0; background: none; border: solid var(--white); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.choice:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.choice--unsure .choice__text { color: var(--ink-soft); font-style: italic; }
.choice--off { opacity: .45; cursor: not-allowed; }
.q[aria-invalid="true"] .choice { border-color: rgba(184, 92, 63, .55); }
.q__limit { margin-top: 8px; font-size: .8125rem; color: var(--ink-soft); }
.q--choice .field__err { margin-top: 8px; }
.qstep .field textarea { min-height: 120px; }

/* Step nav */
html.js .qnav.js-only { display: flex !important; }
.qnav { justify-content: space-between; align-items: center; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.qnav .btn svg { margin-left: 2px; }

/* Review + send */
.qsummary { margin-bottom: 30px; padding: 20px; background: #F4F6F5; border-radius: var(--r-md); }
.qsummary__head { font-weight: 700; margin-bottom: 10px; }
.qsummary__list { display: grid; }
.qsummary__row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 4px 14px; padding: 10px 0; border-top: 1px solid rgba(10, 37, 64, .08); }
.qsummary__row:first-child { border-top: 0; }
.qsummary__title { font-weight: 600; font-size: .9375rem; }
.qsummary__note { font-size: .8125rem; color: var(--ink-soft); }
.qsummary__row--missing .qsummary__note { color: #9C4529; font-weight: 600; }
.qsummary__edit { min-height: 36px; padding: 0 12px; font: 600 .8125rem/1 var(--font-body); color: var(--teal-ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill); cursor: pointer; }
.qsummary__edit:hover { border-color: var(--teal-deep); }
.qsend { margin-top: 32px; }

/* Done */
.qdone { display: grid; gap: 16px; justify-items: start; }
.qdone:focus { outline: none; }
.qdone__mark { width: 64px; height: 64px; }
.qdone__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.12; }
.qdone__title em { color: var(--teal-deep); font-weight: 400; }
.qdone__lede { color: var(--ink-soft); }
.numbered--stack { grid-template-columns: 1fr; width: 100%; margin-top: 6px; }
.numbered--stack li { background: var(--bone); }
.qdone__ref { font-size: .875rem; color: var(--ink-soft); }
.qdone__ref strong { color: var(--navy); font-family: ui-monospace, "SF Mono", Consolas, monospace; letter-spacing: .02em; }

/* Contact page hand-off */
.qdone[hidden], .contact__next[hidden], .js .qprogress[hidden], .form[hidden] { display: none !important; }
.contact__next { display: grid; gap: 14px; justify-items: start; }
.contact__next:focus { outline: none; }
.contact__next-title { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; line-height: 1.2; }
.contact__next p { color: var(--ink-soft); }
.contact__skip { font-size: .9375rem; color: rgba(250, 250, 247, .82); }
.contact__skip a { color: var(--teal); font-weight: 600; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .qwrap { grid-template-columns: 1fr; }
  .qrail { display: none; }
  .js .qrail { display: none; }
}
@media (max-width: 560px) {
  .qcard { padding: 20px 16px; border-radius: var(--r-md); margin-inline: calc(-1 * var(--gutter) + 8px); }
  .qstep__body--grid { grid-template-columns: 1fr; }
  .qsummary__row { grid-template-columns: 1fr auto; }
  .qsummary__note { grid-column: 1; grid-row: 2; }
  .qsummary__edit { grid-row: 1 / span 2; grid-column: 2; }
  .qnav .btn { flex: 1; }
}
