/* iDoc redesign — navy surfaces, red accent only on logo/CTA/hero highlight */
:root {
  --navy-950: #0b1730;
  --navy-900: #12234a;
  --navy-800: #1b3366;
  --navy-700: #26457f;
  --navy-600: #3a5d9c;
  --navy-100: #e6edf8;
  --navy-50: #f3f6fc;
  --hero-from: #1d3768;
  --hero-to: #2f5291;
  --ink: #16213a;
  --ink-2: #4a5670;
  --ink-3: #7a8499;
  --line: #dfe5f0;
  --paper: #ffffff;
  --wash: #f6f8fc;
  --red: #ac0203;
  --red-600: #c4161a;
  --red-50: #fdecec;
  --gold: #b8892b;
  --gold-ink: #7a5a12;
  --gold-50: #fbf4e2;
  --gold-line: #ecd9a8;
  --silver: #8a94a6;
  --silver-ink: #4b5566;
  --silver-50: #f1f3f7;
  --silver-line: #d5dae3;
  --ok: #1f8a5b;
  --ok-50: #e5f5ec;
  --warn: #b7791f;
  --warn-50: #fdf3e1;
  --f-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --shadow: 0 1px 2px rgba(11, 23, 48, 0.06), 0 8px 24px rgba(11, 23, 48, 0.08);
  /* legacy aliases */
  --pine: var(--red);
  --pine-deep: var(--navy-900);
  --moss: var(--red);
  --stamp: var(--red);
  --copper: var(--navy-600);
  --good: var(--ok);
  --good-bg: var(--ok-50);
  --mid: var(--warn);
  --mid-bg: var(--warn-50);
  --low: var(--red);
  --low-bg: var(--red-50);
  --muted: var(--ink-3);
  --raised: var(--paper);
  --paper-2: var(--navy-50);
  --serif: var(--f-display);
  --sans: var(--f-body);
  --max: 1180px;
  --header: 72px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.6 var(--f-body);
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
  color: var(--navy-900);
  text-wrap: balance;
}

a { color: var(--navy-700); }
.mono { font-family: var(--f-mono); font-size: 0.85em; }

.wrap {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.eyebrow {
  font: 600 12px/1 var(--f-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-600);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  min-height: 44px;
  border-radius: var(--r-sm);
  font: 600 15px/1 var(--f-body);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: inherit;
}
.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid #9cc0ff;
  outline-offset: 2px;
}
.btn-red, .btn-primary, .btn-stamp { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover, .btn-primary:hover, .btn-stamp:hover { background: var(--red-600); border-color: var(--red-600); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-outline { border-color: var(--line); color: var(--navy-900); background: #fff; }
.btn-outline:hover { border-color: var(--navy-600); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--wash); }
.btn-small { min-height: 38px; padding: 8px 14px; font-size: 14px; }

.chip {
  font: 600 11.5px/1 var(--f-body);
  padding: 6px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.chip.ok { background: var(--ok-50); color: var(--ok); }
.chip.warn { background: var(--warn-50); color: var(--warn); }
.chip.navy { background: var(--navy-100); color: var(--navy-800); }

.tier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 11.5px/1 var(--f-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 999px;
  width: max-content;
}
.tier.gold { background: #fff; color: var(--gold-ink); border: 1px solid var(--gold-line); }
.tier.silver { background: var(--silver-50); color: var(--silver-ink); border: 1px solid var(--silver-line); }
.tier.case { background: #fff; color: var(--ink-2); border: 1px dashed var(--silver-line); }

section.band { padding-block: 80px; }
section.band.wash { background: var(--wash); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; margin: 10px 0 12px; color: var(--navy-900); }
.sec-head p { color: var(--ink-2); margin: 0; font-size: 17px; }

/* Navy header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header);
  padding: 12px max(16px, env(safe-area-inset-left, 0px));
  background: var(--hero-from);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: none;
}
.site-header.is-stuck { border-bottom-color: rgba(255, 255, 255, 0.18); }
.brand { color: #fff; margin-right: auto; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand strong, .brand em { font-family: var(--f-display); font-size: 1.1rem; font-weight: 700; color: #fff; }
.brand em { color: #fff; margin-left: 0.2em; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; }
.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.site-nav > a,
.site-nav .nav-drop > summary {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 14.5px;
  padding: 8px 10px;
  border-radius: 6px;
  list-style: none;
  cursor: pointer;
}
.site-nav > a:hover,
.site-nav > a[aria-current="page"],
.site-nav .nav-drop > summary:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.site-nav .nav-drop { position: relative; }
.site-nav .nav-drop > summary::-webkit-details-marker { display: none; }
.site-nav .nav-drop[open] > summary { background: rgba(255, 255, 255, 0.12); color: #fff; }
.site-nav .nav-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 50;
}
.site-nav .nav-panel a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
}
.site-nav .nav-panel a:hover { background: var(--navy-50); }
.site-nav .nav-panel .core {
  font: 600 10px/1 var(--f-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-ink);
  background: var(--gold-50);
  border: 1px solid var(--gold-line);
  padding: 4px 6px;
  border-radius: 999px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-actions .btn-primary { background: var(--red); }
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  line-height: 1.2;
  margin-right: 2px;
}
.header-contact a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font: 600 12px/1.2 var(--f-body);
  white-space: nowrap;
}
.header-contact a:hover { color: #fff; text-decoration: underline; }
.header-mail { font-weight: 500; color: rgba(255, 255, 255, 0.8); font-size: 11.5px; }
@media (max-width: 1180px) {
  .header-contact { display: none; }
}
.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .header-actions { margin-left: 0; }
  body.nav-open .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px;
  }
  .site-nav .nav-panel {
    position: static;
    box-shadow: none;
    margin-top: 4px;
  }
}

/* Homepage hero */
.home-hero {
  background: linear-gradient(160deg, var(--hero-from), var(--hero-to));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 420px;
  background: radial-gradient(closest-side, rgba(156, 192, 255, 0.25), transparent);
  pointer-events: none;
}
.home-hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding-block: 72px 88px;
  position: relative;
  z-index: 1;
}
.home-hero .eyebrow { color: #a9c3ef; }
.home-hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  margin: 16px 0 18px;
  font-weight: 700;
  color: #fff;
}
.home-hero h1 em {
  font-style: normal;
  color: #ffd9d9;
  background: linear-gradient(transparent 62%, rgba(172, 2, 3, 0.55) 62%);
  padding: 0 2px;
}
.home-hero .lead { font-size: 18px; color: #dbe5f6; max-width: 34em; margin: 0 0 28px; }
.home-hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; font-size: 13.5px; color: #bcd0f0; }
.trust span::before { content: "✓"; color: #8fe0b5; margin-right: 6px; font-weight: 700; }

.suite {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  padding: 18px;
  backdrop-filter: blur(4px);
}
.suite-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #bcd0f0;
  margin-bottom: 12px;
  gap: 8px;
  flex-wrap: wrap;
}
.suite-head b { color: #fff; font-weight: 600; }
.tenant { display: flex; align-items: center; gap: 6px; }
.tenant i { width: 8px; height: 8px; border-radius: 50%; background: #8fe0b5; display: inline-block; }
.feed { display: grid; gap: 10px; }
.evt {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.evt .ic {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font: 700 12px/1 var(--f-display);
  color: #fff;
}
.evt .t { font-size: 14px; font-weight: 600; line-height: 1.3; min-width: 0; }
.evt .s { font-size: 12.5px; color: var(--ink-2); font-weight: 400; }
.ic.flow { background: #2f6fd6; }
.ic.ap { background: #0f8a74; }
.ic.dc { background: #6b7486; }
.ic.nas { background: #8b5cf6; }
.evt.dim { opacity: 0.82; }
.suite-foot { margin-top: 12px; font-size: 11.5px; color: #9fb5dc; }
@media (prefers-reduced-motion: no-preference) {
  .evt { animation: rise 0.5s both; }
  .evt:nth-child(2) { animation-delay: 0.1s; }
  .evt:nth-child(3) { animation-delay: 0.2s; }
  .evt:nth-child(4) { animation-delay: 0.3s; }
}
@keyframes rise {
  from { transform: translateY(6px); }
  to { transform: none; }
}
@media (max-width: 960px) {
  .home-hero .wrap { grid-template-columns: 1fr; padding-block: 48px 64px; }
}

/* Products */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.prod {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.prod.gold {
  border-color: var(--gold-line);
  background: linear-gradient(180deg, var(--gold-50), #fff 45%);
  box-shadow: var(--shadow);
}
.prod.silver { background: linear-gradient(180deg, var(--silver-50), #fff 50%); }
.prod.silver h3 { font-size: 22px; }
.prod.case { border-style: dashed; background: #fff; }
.prod.case h3 { font-size: 20px; }
.prod h3 { font-size: 26px; color: var(--navy-900); }
.prod .tag { font-size: 16.5px; color: var(--ink); font-weight: 500; margin: 0; }
.prod ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.prod ul li { padding-left: 22px; position: relative; }
.prod ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--navy-600);
  border-bottom: 2px solid var(--navy-600);
  transform: rotate(-45deg);
}
.prod .mini {
  background: var(--navy-50);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 13.5px;
  display: grid;
  gap: 6px;
}
.mini .row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.prod .foot {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 6px;
}
.prod .trial { font-size: 13px; color: var(--ink-3); }
.second { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 20px; }
@media (max-width: 860px) {
  .products, .second { grid-template-columns: 1fr; }
}

/* Connect */
.connect {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}
.step { padding: 22px 18px; border-right: 1px solid var(--line); min-width: 0; }
.step:last-child { border-right: 0; }
.step .who {
  font: 600 12px/1 var(--f-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.step h4 { font: 600 16px/1.3 var(--f-display); margin: 10px 0 6px; color: var(--navy-900); }
.step p { margin: 0; font-size: 14px; color: var(--ink-2); }
.step .p {
  display: inline-block;
  margin-top: 12px;
  font: 600 12px/1 var(--f-body);
  padding: 5px 8px;
  border-radius: 5px;
  color: #fff;
}
@media (max-width: 900px) {
  .connect { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* Forms gallery */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filters button {
  font: 500 14px/1 var(--f-body);
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
}
.filters button.on,
.filters button[aria-pressed="true"] {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fcard {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  background: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  transition: border-color 0.15s, transform 0.15s;
  color: inherit;
}
.fcard:hover { border-color: var(--navy-600); transform: translateY(-2px); }
.fcard .dept {
  font: 600 11.5px/1 var(--f-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.fcard h4 { font: 600 16px/1.3 var(--f-display); margin: 0; color: var(--navy-900); }
.fcard p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.fcard .route { font-size: 12px; color: var(--navy-700); margin-top: auto; padding-top: 6px; }
@media (max-width: 1000px) { .fgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .fgrid { grid-template-columns: 1fr; } }

.golive { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gl { border-top: 3px solid var(--navy-700); padding-top: 14px; }
.gl .d { font: 600 13px/1 var(--f-mono); color: var(--navy-600); }
.gl h4 { font: 600 17px/1.3 var(--f-display); margin: 8px 0 6px; color: var(--navy-900); }
.gl p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 800px) { .golive { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .golive { grid-template-columns: 1fr; } }

.cta-final {
  background: linear-gradient(160deg, var(--hero-from), var(--hero-to));
  color: #fff;
  border-radius: var(--r-lg);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.cta-final h2 { font-size: clamp(24px, 3vw, 32px); max-width: 20em; color: #fff; }
.cta-final p { color: #dbe5f6; margin: 8px 0 0; }

/* Footer navy */
.site-footer {
  background: var(--navy-950);
  color: #a9b6cf;
  font-size: 14px;
  padding: 40px 0 28px;
}
.site-footer .brand strong,
.site-footer .brand em { color: #fff; }
.site-footer a { color: #c9d6ee; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
  font-family: var(--f-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .fine { color: #a9b6cf; }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 28px; padding-top: 16px; color: #7f8eaa; }
.site-footer .footer-group { margin-top: 24px; }
.site-footer .footer-group p { color: #fff; font-weight: 600; margin-bottom: 8px; }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .two { grid-template-columns: 1fr !important; }
  .home-hero .wrap[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* Form landing extras */
.crumb { font-size: 13.5px; color: #bcd0f0; margin-bottom: 14px; }
.crumb a { text-decoration: none; color: #dbe5f6; }
.formcard {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.formcard .fh {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.formcard .fh b { font: 600 15px/1.2 var(--f-display); }
.formcard .fb { padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { display: grid; gap: 5px; min-width: 0; }
.fld.full { grid-column: 1 / -1; }
.fld label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.fld .v {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 9px 11px;
  font-size: 14px;
  background: var(--wash);
  min-height: 38px;
}
.ai {
  grid-column: 1 / -1;
  background: var(--navy-50);
  border: 1px dashed var(--navy-600);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--navy-800);
}
.formcard .ff {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--wash);
  font-size: 13px;
  color: var(--ink-2);
}
.route-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rstep {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  min-width: 0;
}
.rstep .n { font: 600 12px/1 var(--f-mono); color: var(--navy-600); }
.rstep h4 { font: 600 16px/1.3 var(--f-display); margin: 8px 0 4px; }
.rstep p { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 800px) { .route-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .route-row { grid-template-columns: 1fr; } }

/* Soften legacy red section accents on inner pages */
.kicker { color: var(--navy-600); }
.page-hero h1, .section-head h2, .hero h1 { color: var(--navy-900); }
.page-hero h1 em, .hero h1 em { color: var(--navy-700); }
/* Homepage / forms content bands: readable dark type on light surfaces */
section.band:not(.cta-band) {
  color: var(--ink) !important;
  background: transparent;
}
section.band.wash:not(.cta-band) {
  background: var(--wash) !important;
  color: var(--ink) !important;
}
section.band:not(.cta-band) .sec-head h2,
section.band:not(.cta-band) .section-head h2,
section.band:not(.cta-band) > .wrap > h2,
section.band:not(.cta-band) h2,
section.band:not(.cta-band) h3,
section.band:not(.cta-band) h4 {
  color: var(--navy-900) !important;
}
section.band:not(.cta-band) .sec-head p,
section.band:not(.cta-band) .section-head p,
section.band:not(.cta-band) p {
  color: var(--ink-2) !important;
}
section.band:not(.cta-band) .eyebrow,
section.band:not(.cta-band) .kicker {
  color: var(--navy-600) !important;
}
section.band:not(.cta-band) a:not(.btn):not(.btn-ghost):not(.btn-ghost-light) {
  color: var(--navy-700) !important;
}
/* Final CTA panel: navy surface + white type (overrides band text rules above) */
.cta-final,
section.band .cta-final {
  color: #fff !important;
}
.cta-final h2,
section.band .cta-final h2 {
  color: #fff !important;
}
.cta-final p,
section.band .cta-final p {
  color: #dbe5f6 !important;
}
section.band:not(.cta-band) .video-card figcaption {
  color: var(--ink-2) !important;
}
section.band:not(.cta-band) .gl .d { color: var(--navy-600) !important; }
section.band:not(.cta-band) .gl h4 { color: var(--navy-900) !important; }
section.band:not(.cta-band) .gl p { color: var(--ink-2) !important; }

/* Dark CTA bands (product pages): navy surface + white type */
section.band.cta-band {
  background: linear-gradient(160deg, var(--hero-from), var(--hero-to));
  color: #fff;
}
section.band.cta-band h2,
section.band.cta-band .section-head h2,
section.band.cta-band .kicker,
section.band.cta-band p,
section.band.cta-band .lede {
  color: inherit;
}
section.band.cta-band .kicker,
section.band.cta-band .eyebrow {
  color: #a9c3ef;
}
section.band.cta-band a:not(.btn-primary):not(.btn-red):not(.btn-stamp) {
  color: #dbe5f6;
}

.wa-chat { background: #25d366; }

/* —— Demo page —— */
.demo-hero {
  background: linear-gradient(160deg, var(--hero-from), var(--hero-to));
  color: #fff;
  padding-block: 64px 80px;
}
.demo-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}
.demo-hero .eyebrow { color: #a9c3ef; }
.demo-hero h1 {
  font-size: clamp(28px, 3.8vw, 42px);
  color: #fff;
  margin: 14px 0 16px;
  line-height: 1.12;
}
.demo-hero .lead {
  color: #dbe5f6;
  font-size: 17px;
  max-width: 36em;
  margin: 0 0 28px;
}
.picker-label {
  font: 600 13px/1 var(--f-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a9c3ef;
  margin: 0 0 12px;
}
.path-picker {
  display: grid;
  gap: 10px;
}
.path-opt {
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-md);
  padding: 14px 16px 14px 14px;
  color: #fff;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
}
.path-opt .path-tag {
  grid-row: 1 / span 2;
  align-self: center;
  font: 600 11px/1 var(--f-mono);
  letter-spacing: 0.02em;
  padding: 8px 8px;
  border-radius: 6px;
  background: rgba(11, 23, 48, 0.35);
  color: #dbe5f6;
  min-width: 4.6em;
  text-align: center;
}
.path-opt strong {
  font: 600 15px/1.3 var(--f-display);
  color: #fff;
}
.path-opt > span:last-child {
  font-size: 13.5px;
  color: #c5d4ef;
  line-height: 1.4;
}
.path-opt[aria-pressed="true"] {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.path-opt[aria-pressed="true"] strong { color: var(--navy-900); }
.path-opt[aria-pressed="true"] > span:last-child { color: var(--ink-2); }
.path-opt[aria-pressed="true"] .path-tag {
  background: var(--navy-100);
  color: var(--navy-800);
}
.path-opt.path-case { border-style: dashed; }
.path-opt:focus-visible { outline-color: #9cc0ff; }
.demo-trust { margin-top: 24px; color: #bcd0f0; }

.demo-form-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.demo-form-card h2 {
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--navy-900);
}
.demo-form-card .form-sub {
  margin: 0 0 20px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.demo-form { display: grid; gap: 14px; }
.demo-form .field { display: grid; gap: 6px; }
.demo-form .field[hidden] { display: none !important; }
.demo-form label,
.demo-form .field-label,
.demo-form legend {
  font: 600 13.5px/1.3 var(--f-body);
  color: var(--navy-900);
}
.demo-form .opt { font-weight: 500; color: var(--ink-3); }
.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 11px 12px;
  font: 400 15px/1.4 var(--f-body);
  color: var(--ink);
  background: #fff;
}
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  outline: 2px solid #9cc0ff;
  border-color: var(--navy-600);
}
.demo-form input.is-invalid,
.demo-form select.is-invalid,
.demo-form textarea.is-invalid {
  border-color: var(--red);
}
.demo-form .field-error {
  margin: 0;
  color: var(--red);
  font-size: 13px;
}
.demo-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.products-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 500 13.5px/1 var(--f-body);
  cursor: pointer;
  background: #fff;
  color: var(--ink);
}
.pchip.gold { border-color: var(--gold-line); background: var(--gold-50); color: var(--gold-ink); }
.pchip input { width: auto; margin: 0; accent-color: var(--navy-800); }
.slot-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font: 500 13px/1.2 var(--f-body);
  color: var(--ink);
  cursor: pointer;
}
.slot-chip[aria-pressed="true"] {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}
.bookings-link {
  font-size: 13.5px;
  margin-top: 4px;
}
.btn-block { width: 100%; }
.form-fine {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}
.form-success {
  background: var(--ok-50);
  border: 1px solid #b7e0c8;
  border-radius: var(--r-md);
  padding: 16px;
  color: var(--ok);
  display: grid;
  gap: 12px;
}
.form-success p { margin: 0; font-weight: 600; color: #176b47; }
.form-fail {
  margin: 0;
  padding: 12px 14px;
  background: var(--red-50);
  border: 1px solid #f0c0c0;
  border-radius: var(--r-sm);
  color: #8a1010;
  font-size: 14px;
}
.btn-wa {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.btn-wa:hover { background: #1ebe57; border-color: #1ebe57; color: #fff; }

.golive-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) {
  .golive-3 { grid-template-columns: 1fr; }
}

.bring-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.bring {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bring.gold {
  border-color: var(--gold-line);
  background: linear-gradient(180deg, var(--gold-50), #fff 50%);
}
.bring.case { border-style: dashed; }
.bring h3 {
  font: 600 17px/1.3 var(--f-display);
  margin: 0;
  color: var(--navy-900);
}
.bring p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

.see-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
}
.see-grid li {
  padding: 18px 18px 18px 0;
  border-top: 3px solid var(--navy-700);
  color: var(--ink-2);
  font-size: 15.5px;
}
.see-grid strong { color: var(--navy-900); }

.demo-faq { max-width: 720px; }
.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border-radius: var(--r-lg);
  background: var(--navy-50);
  border: 1px solid var(--line);
}
.contact-strip h2 { font-size: 24px; margin: 0 0 8px; }
.contact-strip p { margin: 0; color: var(--ink-2); }
.contact-strip .fine { margin-top: 8px; }

@media (max-width: 960px) {
  .demo-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .bring-grid { grid-template-columns: 1fr 1fr; }
  .see-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .bring-grid { grid-template-columns: 1fr; }
  .demo-form-card { padding: 22px 18px; }
  .path-opt .path-tag { min-width: 3.8em; font-size: 10px; }
}

/* —— Announcement + white mega header (Prompt 13) —— */
[hidden] { display: none !important; }
.annc {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  line-height: 1.4;
  padding: 8px 0;
}
.annc-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  text-align: center;
}
.annc-tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font: 700 10px/1 var(--f-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 7px;
  border-radius: 4px;
}
.annc-link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.annc-link:hover { color: #fff; }

.site-header.site-header--mega {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: block;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 0;
  min-height: 0;
  backdrop-filter: none;
  isolation: isolate;
}
.site-header.site-header--mega .header-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 8px 0;
}
.site-header.site-header--mega .brand {
  color: var(--navy-900);
  margin-right: 8px;
}
.site-header.site-header--mega .brand strong,
.site-header.site-header--mega .brand em {
  color: var(--navy-900);
}
.site-header.site-header--mega .brand em { color: var(--navy-700); }
.site-header.site-header--mega .mega-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.site-header.site-header--mega .mega-nav {
  display: flex !important;
}
.site-header.site-header--mega .mega-nav > a,
.site-header.site-header--mega .mega-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  font: 500 14.5px/1.2 var(--f-body);
  color: var(--ink-2);
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  list-style: none;
}
.site-header.site-header--mega .mega-trigger::-webkit-details-marker { display: none; }
.site-header.site-header--mega .mega-trigger::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  vertical-align: middle;
}
.site-header.site-header--mega .mega-nav > a:hover,
.site-header.site-header--mega .mega-trigger:hover,
.site-header.site-header--mega .mega-nav > a[aria-current="page"],
.site-header.site-header--mega details.mega[open] > .mega-trigger {
  color: var(--navy-900);
  background: var(--navy-50);
}
.site-header.site-header--mega .mega-nav > a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--navy-700);
}
.site-header.site-header--mega .mega { position: static; }
.site-header.site-header--mega .mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(11, 23, 48, 0.14);
  padding: 28px 0 32px;
  z-index: 1001;
  pointer-events: auto;
}
.home-hero,
.page-hero,
main#main {
  position: relative;
  z-index: 0;
}
.site-header.site-header--mega .mega-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr minmax(220px, 0.95fr);
  gap: 22px 28px;
}
.mega-label {
  margin: 0 0 10px;
  font: 600 11px/1.2 var(--f-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mega-col a {
  display: block;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  margin: 0 -12px;
}
.mega-col a:hover { background: var(--navy-50); }
.mega-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 15px/1.3 var(--f-display);
  color: var(--navy-900);
}
.mega-desc {
  display: block;
  margin-top: 3px;
  font: 400 13.5px/1.4 var(--f-body);
  color: var(--ink-2);
}
.mega-feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--hero-from), var(--hero-to));
  color: #fff;
  text-decoration: none;
}
.mega-feature .mega-label { color: rgba(255, 255, 255, 0.7); }
.mega-feature strong {
  font: 600 18px/1.25 var(--f-display);
  color: #fff;
}
.mega-feature span {
  font: 400 14px/1.45 var(--f-body);
  color: rgba(255, 255, 255, 0.88);
}
.mega-feature em {
  margin-top: auto;
  font: 600 14px/1.3 var(--f-body);
  font-style: normal;
  color: #fff;
}
.site-header.site-header--mega .header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-header.site-header--mega .talk-link {
  color: var(--navy-800);
  font: 600 14px/1.2 var(--f-body);
  text-decoration: none;
}
.site-header.site-header--mega .talk-link:hover { text-decoration: underline; }
.nav-mobile-cta { display: none; }
.site-header.site-header--mega .nav-toggle {
  color: var(--navy-900);
  border-color: var(--line);
  background: #fff;
}

@media (max-width: 1000px) {
  .site-header.site-header--mega .nav-toggle { display: inline-flex; }
  .site-header.site-header--mega .mega-nav {
    display: none !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    max-height: min(80vh, 640px);
    overflow: auto;
    box-shadow: var(--shadow);
  }
  body.nav-open .site-header.site-header--mega .mega-nav { display: flex !important; }
  .site-header.site-header--mega .header-actions { display: none; }
  .site-header.site-header--mega .mega-panel {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 8px;
    background: transparent;
  }
  .site-header.site-header--mega .mega-grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
  }
  .site-header.site-header--mega .mega-feature { display: none; }
  .nav-mobile-cta {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .nav-mobile-cta .btn { width: 100%; justify-content: center; }
}

/* Who it's for + resources cards */
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.who-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 22px 20px;
}
.who-card h3 {
  font: 600 18px/1.25 var(--f-display);
  margin: 0 0 8px;
  color: var(--navy-900);
}
.who-card p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.who-card a { font-weight: 600; color: var(--navy-800); text-decoration: none; }
.who-card a:hover { text-decoration: underline; }
.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.res-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease;
}
.res-card:hover { box-shadow: var(--shadow); }
.res-card .res-cover {
  height: 8px;
  background: linear-gradient(90deg, #2f6fd6, var(--navy-800));
}
.res-card.topic-ap .res-cover { background: linear-gradient(90deg, #0f8a74, var(--navy-800)); }
.res-card.topic-nas .res-cover { background: linear-gradient(90deg, #6b5b95, var(--navy-800)); }
.res-card.topic-guides .res-cover { background: linear-gradient(90deg, #c9a227, var(--navy-800)); }
.res-card.topic-manuals .res-cover { background: linear-gradient(90deg, #8a93a3, var(--navy-800)); }
.res-card.topic-forms .res-cover { background: linear-gradient(90deg, #2f6fd6, var(--navy-800)); }
.res-topic { margin-top: 36px; }
.res-topic-title {
  font: 600 22px/1.25 var(--f-display);
  color: var(--navy-900);
  margin: 0 0 16px;
}
.related-reading { margin-top: 40px; }
.related-reading h2 {
  font: 600 22px/1.25 var(--f-display);
  color: var(--navy-900);
  margin: 0 0 16px;
}
.res-card .res-body { padding: 18px 18px 20px; }
.res-card .res-type {
  font: 600 11px/1.2 var(--f-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 8px;
}
.res-card h3 {
  font: 600 17px/1.3 var(--f-display);
  margin: 0 0 8px;
  color: var(--navy-900);
}
.res-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.sec-head.row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 960px) {
  .who-grid { grid-template-columns: 1fr 1fr; }
  .res-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .who-grid { grid-template-columns: 1fr; }
}

/* Mobile: stack inline two-column grids on form/use-case pages (Dec 2026) */
@media (max-width: 800px) {
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; gap: 24px !important; }
  .home-hero .wrap[style*="grid-template-columns"] { padding-block: 36px 44px !important; }
  .table-wrap { overflow-x: auto; }
}

@media (max-width: 600px) {
  .fgrid { grid-template-columns: 1fr !important; }
  .fcard h4, .fcard p { overflow-wrap: anywhere; }
}
