:root {
  --navy: #003d8f;
  --navy-deep: #002a63;
  --ink: #0b1f3a;
  --red: #c41e3a;
  --sky: #e8f1fb;
  --slate: #4a5d73;
  --line: #d7e2ef;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 42, 99, 0.12);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #f7fafc;
  line-height: 1.55;
  font-size: 16px;
  padding-bottom: 5.25rem; /* space for mobile dock */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  width: min(720px, calc(100% - 2rem));
}

.visually-hidden {
  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: -999px;
  top: 0;
  background: var(--navy);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

.nav-links a:focus-visible,
.footer-nav a:focus-visible,
.brand:focus-visible,
.contact-meta a:focus-visible,
.faq-body a:focus-visible,
.form-fineprint a:focus-visible,
.breadcrumb a:focus-visible,
.related-card:focus-visible,
.industry-card:focus-visible,
.contact-channel:focus-visible {
  outline: 3px solid #7eb6ff;
  outline-offset: 3px;
  border-radius: 4px;
}

.legal-page {
  padding-bottom: 0;
}

/* Header / brand — max 5 nav links; no overlap */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(247, 250, 252, 0.96);
  border-bottom: 1px solid rgba(215, 226, 239, 0.85);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  min-height: 64px;
  padding: 0.5rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
  max-width: min(42%, 11.5rem);
}

.brand-logo {
  height: 34px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand-tagline {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Always-visible site nav (was hidden <900px — pages looked unlinked) */
.nav-toggle {
  display: none; /* keep in DOM for a11y scripts; links always shown */
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 100%;
  order: 3;
  gap: 0.25rem 0.35rem;
  min-width: 0;
  width: 100%;
  padding: 0.15rem 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-top: 1px solid rgba(215, 226, 239, 0.7);
  margin-top: 0.15rem;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 61, 143, 0.06);
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--navy);
  background: rgba(0, 61, 143, 0.1);
  border-color: #c5d8f0;
}

.nav-links a.is-active,
.nav-links a[aria-current="page"] {
  color: var(--navy);
  background: rgba(0, 61, 143, 0.12);
  border-color: #9ec0eb;
  font-weight: 700;
}

.nav-cta {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
}

.btn-nav-cta {
  min-height: 48px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.site-header .wrap.nav {
  position: relative;
  flex-wrap: wrap;
  align-items: center;
}

.explore-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .explore-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .explore-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.explore-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 42, 99, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.explore-card:hover {
  border-color: #9ec0eb;
  box-shadow: 0 12px 28px rgba(0, 61, 143, 0.1);
  transform: translateY(-1px);
}

.explore-card:focus-visible {
  outline: 3px solid #7eb6ff;
  outline-offset: 2px;
}

.explore-card strong {
  color: var(--navy);
  font-size: 1rem;
}

.explore-card > span:not(.more) {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.4;
  flex: 1;
}

.explore-card .more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.explore-card .more::after {
  content: "→";
  font-weight: 800;
}

/* Hero page links — only on dark home hero */
.hero-explore {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0;
}

.hero .hero-explore a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero .hero-explore a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.hero-explore a:focus-visible {
  outline: 3px solid #7eb6ff;
  outline-offset: 2px;
}

/* Mid-page conversion strip */
.mid-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  border-radius: 14px;
  background: var(--sky);
  border: 1px solid var(--line);
  color: var(--ink);
}

.mid-cta-copy {
  margin: 0;
  color: var(--slate);
  font-size: 0.98rem;
  line-height: 1.45;
}

.mid-cta-copy strong {
  color: var(--ink);
}

.mid-cta .btn-ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.mid-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

@media (min-width: 640px) {
  .mid-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Sticky mobile dock */
.mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0));
  background: rgba(247, 250, 252, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.mobile-dock .btn {
  flex: 1;
  min-height: 48px;
}

.mobile-dock .btn-ghost {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
}

@media (min-width: 900px) {
  .mobile-dock {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 3px solid #7eb6ff;
  outline-offset: 2px;
}

.btn-sm {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 61, 143, 0.28);
}

.btn-primary:hover {
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

/* Only for dark surfaces — prefer scoping under .page-cta / .panel-accent */
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* —— Section-based layout (mobile-first: tight first) —— */
.section-block {
  position: relative;
  padding: 2rem 0;
}

.section-inner {
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.section-label-light {
  color: #9ec5ff;
}

.section-lead {
  margin: 0.75rem 0 0;
  font-size: 1.08rem;
  color: var(--slate);
  line-height: 1.65;
}

.band {
  background: #eef5fc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 1.85rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--slate);
  font-size: 1.02rem;
}

/* Hero — dark revolutionary band */
.hero {
  padding: 3.5rem 0 3.25rem;
  color: #e8f0fa;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(56, 120, 220, 0.45) 0%, transparent 55%),
    radial-gradient(700px 360px at 100% 40%, rgba(196, 30, 58, 0.18) 0%, transparent 50%),
    linear-gradient(155deg, #041428 0%, #0a2a5c 48%, #0c3d8a 100%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: start;
}

/* Eyebrow — default = light surfaces (readable gray/navy) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(0, 61, 143, 0.08);
  border: 1px solid rgba(0, 61, 143, 0.16);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  margin: 0 0 1rem;
}

.eyebrow-icon {
  width: 14px;
  height: 14px;
  color: var(--navy);
}

/* —— Home dark hero: light text ONLY inside .hero —— */
.hero .eyebrow {
  color: #d6e8ff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero .eyebrow-icon,
.hero .eyebrow svg {
  color: #d6e8ff;
}

.hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  font-weight: 800;
}

.hero h1 span {
  color: #cfe3ff;
}

.hero .lead-kicker {
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #b8d4ff;
}

.hero .lead {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  color: rgba(232, 240, 250, 0.92);
  max-width: 38rem;
}

.hero .lead strong {
  color: #fff;
}

.hero a:not(.btn) {
  color: #cfe3ff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.btn-ghost-on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost-on-dark:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.trust {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Trust pills default for light areas */
.trust-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  background: rgba(0, 61, 143, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
}

.trust-pills li svg {
  width: 15px;
  height: 15px;
  color: var(--navy);
  opacity: 1;
}

/* Dark home hero pills */
.hero .trust-pills li {
  color: #e8f0fa;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.hero .trust-pills li svg {
  color: #e8f0fa;
  opacity: 0.9;
}

.hero-card {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  padding: 1.25rem 1.25rem 1.1rem;
  color: var(--ink);
}

.hero-card-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  text-align: center;
}

.stripe {
  height: 6px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    var(--navy) 0 26px,
    var(--red) 26px 52px
  );
  margin: 0 0 1rem;
}

/* Inline Lucide icons — no tile backgrounds (mobile-first) */
.inline-ico,
.step h3 svg,
.format-title svg,
.benefit-card h3 svg,
.panel h3 svg,
.usp-list-tight strong svg {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  vertical-align: -0.15em;
  stroke-width: 2;
  color: var(--navy);
}

.panel-accent h3 svg {
  color: #fff;
}

.ico-pdf { color: #c41e3a; }
.ico-word { color: #1d4ed8; }
.ico-img { color: #0f7a45; }
.ico-multi { color: #7c3aed; }
.ico-list { color: #c2410c; }
.ico-pkg { color: #0369a1; }

.usp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.usp-list-tight li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.usp-list-tight li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.usp-list-tight strong {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

/* Formats — mobile 1 col → sm 2 → lg 3 (2×3) */
.format-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}

.format-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  display: grid;
  gap: 0.25rem;
}

.format-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy-deep);
  font-size: 0.98rem;
  font-weight: 700;
}

.format-card span {
  color: var(--slate);
  font-size: 0.85rem;
  line-height: 1.4;
  padding-left: 1.6rem;
}

.footnote {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--slate);
}

/* AI section */
.section-ai {
  background: #e8f0fa;
}

/* Steps — compact, Lucide icon on same line as title (landing + interior) */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}

/* 2×2 on tablet+ */
.steps.steps-grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .steps.steps-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 2×3 (six cards) or 1×3 row — 3 cols desktop, 2 tablet, 1 mobile */
.steps.steps-grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .steps.steps-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .steps.steps-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  display: grid;
  gap: 0.25rem;
}

.step h3 {
  margin: 0;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
}

.step h3 svg,
.step h3 i {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: var(--navy);
}

.step p {
  margin: 0;
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.4;
  padding-left: 1.6rem;
}

.step p a {
  color: var(--navy);
  font-weight: 600;
}

/* Benefits — icon + title same line */
.benefit-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}

.benefit-grid-4 {
  grid-template-columns: 1fr;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
}

.benefit-card.highlight {
  border-color: #b7d0f0;
  background: #f7fbff;
}

.benefit-card h3 {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.benefit-card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.4;
  padding-left: 1.6rem;
}

/* Two column panels — stack on mobile first */
.two-col {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.05rem;
}

.panel-accent {
  background: linear-gradient(160deg, #002a63 0%, #003d8f 55%, #0a4fa8 100%);
  color: white;
  border-color: transparent;
}

.panel h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.panel-accent p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}

.panel-cta {
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.panel-accent .btn-primary {
  background: white;
  color: var(--navy-deep);
  box-shadow: none;
}

.check-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: var(--slate);
  font-size: 0.9rem;
}

.panel-accent .check-list {
  color: rgba(255, 255, 255, 0.92);
}

.check-list li {
  margin-bottom: 0.3rem;
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* FAQ — banking microsite style: card accordion + chevron */
.faq-section {
  padding-top: 3.25rem;
  padding-bottom: 3.5rem;
}

.faq-wrap {
  width: min(800px, calc(100% - 2rem));
}

.section-head-center {
  text-align: center;
  margin-inline: auto;
  max-width: 36rem;
}

.faq {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 42, 99, 0.06);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
  border-color: #b7d0f0;
  box-shadow: 0 12px 32px rgba(0, 42, 99, 0.1);
}

.faq-item[open] {
  border-color: #9ec0eb;
  box-shadow: 0 14px 36px rgba(0, 61, 143, 0.12);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--ink);
  transition: background 0.15s ease;
}

.faq summary:hover {
  background: rgba(232, 241, 251, 0.55);
}

.faq summary:focus-visible {
  outline: 3px solid #7eb6ff;
  outline-offset: -3px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary span {
  flex: 1;
  text-align: left;
  padding-right: 0.25rem;
}

.faq-chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--navy);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid transparent;
}

.faq-item[open] .faq-body {
  border-top-color: var(--line);
  padding-top: 1rem;
}

.faq-body p {
  margin: 0;
  color: var(--slate);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-body strong {
  color: var(--ink);
}

.faq-body a {
  font-weight: 600;
}

/* Contact + early access — clean light shell + white form card */
.contact-section {
  background: linear-gradient(180deg, #eef4fb 0%, #f7fafc 100%);
}

.contact-shell {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 860px) {
  .contact-shell {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 2.25rem;
    align-items: stretch;
  }
}

.contact-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.25rem 0;
}

.contact-intro .section-label {
  margin-bottom: 0.15rem;
}

.contact-intro h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}

.contact-intro-lead {
  margin: 0 0 1.15rem;
  max-width: 28rem;
  color: var(--slate);
  font-size: 1.02rem;
  line-height: 1.5;
}

.contact-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(0, 42, 99, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-channel:hover {
  border-color: #9ec0eb;
  box-shadow: 0 8px 22px rgba(0, 61, 143, 0.08);
}

.contact-channel:focus-visible {
  outline: 3px solid #7eb6ff;
  outline-offset: 2px;
}

.contact-channel svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--navy);
  flex-shrink: 0;
}

.contact-channel span {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.contact-channel strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.contact-channel em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}

/* White form card */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.25rem;
  box-shadow: 0 16px 40px rgba(0, 42, 99, 0.1);
}

@media (min-width: 480px) {
  .form-card {
    padding: 1.65rem 1.6rem 1.45rem;
  }
}

.form-card-head {
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.form-card-head h3 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.form-card-head p {
  margin: 0;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.45;
}

.access-form {
  position: relative;
  display: grid;
  gap: 0.9rem;
}

.access-form-row {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 520px) {
  .access-form-row {
    grid-template-columns: 1.15fr 1fr;
    gap: 0.75rem;
  }
}

.access-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.access-label {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--ink);
}

.access-label .opt {
  font-weight: 500;
  color: var(--slate);
  font-size: 0.75rem;
}

.access-form input,
.access-form select {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid #c8d6e8;
  border-radius: 11px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: #fbfcfe;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  appearance: none;
}

.access-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5d73' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.4rem;
}

.access-form input::placeholder {
  color: #8a9bb0;
}

.access-form input:hover,
.access-form select:hover {
  border-color: #9eb6d4;
  background: #fff;
}

.access-form input:focus,
.access-form select:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 61, 143, 0.15);
}

.access-form input[aria-invalid="true"] {
  border-color: #c41e3a;
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.12);
}

.access-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.15rem;
  min-height: 50px;
  font-size: 1rem;
}

.access-form .btn:disabled {
  opacity: 0.72;
  cursor: wait;
}

.form-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--slate);
}

.form-status.is-success {
  color: #0d7a3f;
  font-weight: 600;
}

.form-status.is-error {
  color: #b0152d;
  font-weight: 600;
}

.form-status a {
  color: var(--navy);
  font-weight: 650;
}

.access-fine {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--slate);
}

.access-fine a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.access-fine a:hover {
  text-decoration: underline;
}

/* Honeypot — never visible */
.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.75rem;
  color: var(--slate);
  font-size: 0.88rem;
}

.footer-inner {
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-brand img {
  height: 28px;
  width: auto;
}

.footer-brand strong {
  display: block;
  color: var(--ink);
}

.footer-tagline {
  display: block;
  max-width: none;
  margin-top: 0.15rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.footer-nav a {
  color: var(--slate);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--navy);
}

.footer-copy {
  margin: 0;
}

.footer-copy a {
  color: var(--navy);
}

/* Responsive */
@media (min-width: 720px) {
  .brand {
    max-width: 13rem;
  }

  .brand-logo {
    height: 40px;
  }

  .brand-tagline {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
  }

  .btn-nav-cta {
    min-height: 42px;
    padding: 0.5rem 1.1rem;
  }

  .section-block {
    padding: 2.75rem 0;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .format-grid {
    grid-template-columns: 1fr 1fr;
  }

  .benefit-grid,
  .benefit-grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 3.25rem 0 3rem;
  }

  .two-col {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .footer-copy {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .site-header .wrap.nav {
    flex-wrap: nowrap;
  }

  .nav-links {
    order: 0;
    flex: 1 1 auto;
    width: auto;
    justify-content: center;
    border-top: 0;
    margin-top: 0;
    padding: 0;
    gap: 0.2rem 0.15rem;
    font-size: 0.875rem;
  }

  .nav-links a {
    background: transparent;
    border-color: transparent;
    padding: 0.4rem 0.7rem;
  }

  .nav-links a:hover,
  .nav-links a.is-active,
  .nav-links a[aria-current="page"] {
    background: rgba(0, 61, 143, 0.08);
  }

  .brand {
    max-width: 12.5rem;
  }
}

@media (min-width: 980px) {
  .section-block {
    padding: 3.25rem 0;
  }

  .steps {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .format-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .benefit-grid,
  .benefit-grid-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-copy {
    grid-column: auto;
    text-align: right;
  }
}

@media (max-width: 380px) {
  .brand {
    max-width: 48%;
  }

  .btn-nav-cta {
    font-size: 0.82rem;
    padding-inline: 0.75rem;
  }
}

/* ========== Interior pages ========== */
.page-main {
  padding-bottom: 2rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--slate);
}

.breadcrumb a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.breadcrumb-sep {
  opacity: 0.45;
  user-select: none;
}

.page-hero {
  padding: 1.75rem 0 2rem;
  background: linear-gradient(180deg, #e8f0fa 0%, #f7fafc 72%);
  border-bottom: 1px solid var(--line);
  color: var(--ink); /* never inherit light/white body text */
}

.page-hero-inner {
  max-width: 40rem;
}

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(0, 61, 143, 0.08);
  border: 1px solid rgba(0, 61, 143, 0.16);
}

.page-hero .eyebrow svg {
  color: var(--navy);
}

.page-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.page-hero .lead {
  margin: 0 0 1.15rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--slate);
  max-width: 40rem;
}

.page-hero .lead strong {
  color: var(--ink);
  font-weight: 700;
}

.page-hero a:not(.btn) {
  color: var(--navy);
  font-weight: 600;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* Ghost buttons on light page heroes — navy, not white */
.page-hero .btn-ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.page-hero .btn-ghost:hover {
  background: var(--sky);
  color: var(--navy-deep);
}

.page-section {
  padding: 2.25rem 0;
  color: var(--ink);
}

.page-section.band {
  background: var(--sky);
  border-block: 1px solid var(--line);
}

.page-section h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-section .section-lead {
  margin: 0 0 1.25rem;
  max-width: 40rem;
  color: var(--slate);
  font-size: 1.02rem;
}

.page-section a:not(.btn) {
  color: var(--navy);
}

.prose {
  max-width: 40rem;
  color: var(--slate);
}

.prose p {
  margin: 0 0 1rem;
  color: var(--slate);
  line-height: 1.65;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--ink);
}

.prose a {
  color: var(--navy);
  font-weight: 600;
}

/* Legacy feature-points → same visual as .steps cards (2×2 default) */
.feature-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .feature-points {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 0.65rem;
  padding: 0.85rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.feature-points li svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--navy);
  margin-top: 0.12rem;
}

.feature-points strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-size: 0.98rem;
}

.feature-points span {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.4;
}

/* Deprecated numbered page-steps — prefer .steps + Lucide */
.page-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .page-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.page-steps li {
  padding: 0.85rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.page-steps strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.page-steps span {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.4;
}

.industry-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .industry-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .industry-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.industry-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.15rem 1.15rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(0, 42, 99, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.industry-card-featured {
  border-color: #b7d0f0;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 55%);
  box-shadow: 0 1px 0 rgba(0, 61, 143, 0.04);
}

.industry-rank {
  margin: 0 0 0.15rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.industry-card:hover {
  border-color: #9ec0eb;
  box-shadow: 0 12px 28px rgba(0, 61, 143, 0.08);
}

.industry-card h3 {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.industry-card h3 svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--navy);
}

.industry-card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.45;
  flex: 1;
}

.industry-card .more {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.related-grid {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .related-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.1rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 42, 99, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.related-card:hover {
  border-color: #9ec0eb;
  box-shadow: 0 10px 24px rgba(0, 61, 143, 0.1);
  transform: translateY(-1px);
}

.related-card:hover .more {
  color: var(--navy-deep);
  gap: 0.35rem;
}

.related-card strong {
  display: block;
  margin: 0;
  color: var(--navy);
  font-size: 0.98rem;
}

.related-card > span:not(.more) {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.4;
  flex: 1;
}

.related-card .more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  transition: gap 0.15s ease, color 0.15s ease;
}

.related-card .more::after {
  content: "→";
  font-weight: 800;
  line-height: 1;
}

/* Dark CTA band — white text only here (and .btn-ghost-light) */
.page-cta {
  margin: 0.5rem 0 0;
  padding: 1.35rem 1.25rem;
  border-radius: 16px;
  background: var(--navy-deep);
  color: #fff;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .page-cta {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.5rem 1.6rem;
  }
}

.page-cta h2 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  color: #fff;
}

.page-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.45;
}

.page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Secondary CTA on dark band: light outline (only inside .page-cta) */
.page-cta .btn-ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.page-cta .btn-ghost-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.page-faq {
  display: grid;
  gap: 0.65rem;
  max-width: 42rem;
}

.page-faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}

.page-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.page-faq summary::-webkit-details-marker {
  display: none;
}

.page-faq summary:focus-visible {
  outline: 3px solid #7eb6ff;
  outline-offset: -3px;
}

.page-faq details[open] summary {
  border-bottom: 1px solid var(--line);
}

.page-faq .faq-a {
  padding: 0.85rem 1.1rem 1.05rem;
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.55;
}

.page-faq .faq-a strong {
  color: var(--ink);
}

.page-faq .faq-a a {
  color: var(--navy);
  font-weight: 600;
}

/* —— Documentation layout (AI-indexable prose) —— */
.docs-body {
  background: #f7fafc;
}

.docs-main {
  padding: 1.25rem 0 3rem;
}

.docs-shell {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .docs-shell {
    grid-template-columns: 13.5rem minmax(0, 1fr);
    gap: 2.25rem;
  }
}

.docs-nav {
  font-size: 0.9rem;
}

.docs-nav-label {
  margin: 0.85rem 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

.docs-nav-label:first-child {
  margin-top: 0;
}

.docs-nav ul {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.docs-nav a {
  display: block;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  color: var(--slate);
  text-decoration: none;
  font-weight: 500;
}

.docs-nav a:hover {
  color: var(--navy);
  background: rgba(0, 61, 143, 0.06);
}

.docs-nav a[aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
  background: rgba(0, 61, 143, 0.08);
}

.docs-article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.25rem 1.75rem;
  max-width: 48rem;
}

@media (min-width: 640px) {
  .docs-article {
    padding: 1.75rem 2rem 2.25rem;
  }
}

.docs-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--slate);
}

.docs-breadcrumb a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.docs-article h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  line-height: 1.2;
  color: var(--ink);
}

.docs-article h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.docs-article h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.docs-lead,
.docs-prose {
  color: var(--slate);
  font-size: 1.02rem;
  line-height: 1.65;
}

.docs-prose {
  margin: 0.5rem 0;
}

.docs-prose a,
.docs-article a {
  color: var(--navy);
  font-weight: 600;
}

.docs-muted {
  font-size: 0.92rem !important;
  color: #5a6b7d !important;
}

.docs-answer,
.aeo-answer {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  background: #f0f6fc;
  border: 1px solid #d0e2f5;
  border-radius: 12px;
}

.docs-answer p,
.aeo-answer p {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.6;
}

.aeo-answer strong {
  color: var(--ink);
}

/* Home dark hero: light answer band for AEO */
.hero .aeo-answer {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  max-width: 38rem;
}

.hero .aeo-answer p,
.hero .aeo-answer strong {
  color: #fff;
}

.page-hero .aeo-answer {
  margin-top: 0.25rem;
  margin-bottom: 1.15rem;
}

.docs-h2-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.docs-callout {
  margin: 1rem 0 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid #f0d78c;
  background: #fffbeb;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
}

.docs-callout-info {
  border-color: #b7d0f0;
  background: #f5f9ff;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0.75rem 0 1rem;
}

.docs-table th,
.docs-table td {
  text-align: left;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  vertical-align: top;
}

.docs-table th {
  background: #f0f5fa;
  color: var(--ink);
  font-weight: 700;
}

.docs-badge {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.docs-badge-yes {
  background: #e6f6ec;
  color: #0d6b32;
}

.docs-badge-soon {
  background: #e8f0fa;
  color: var(--navy);
}

.docs-badge-later {
  background: #f1f3f5;
  color: #5a6b7d;
}

.docs-code {
  margin: 0.75rem 0;
  padding: 1rem 1.1rem;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre-wrap;
}

.docs-tool {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
}

.docs-tool h3 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.98rem;
  color: var(--navy-deep);
}

.docs-tool p {
  margin: 0.35rem 0 0;
  color: var(--slate);
  font-size: 0.94rem;
  line-height: 1.5;
}

.docs-tool code {
  font-size: 0.88em;
  background: rgba(0, 61, 143, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.docs-next {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
  font-weight: 700;
}

.docs-next a {
  color: var(--navy);
  text-decoration: none;
}

.docs-cta {
  margin-top: 1.5rem;
}

.docs-faq {
  max-width: none;
}

.docs-article .steps {
  margin-top: 0.75rem;
}

.nav-links a.is-active,
.nav-links a[aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
}

/* Legal pages reuse chrome */
.legal-page .legal {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
}

.legal-page .meta {
  color: var(--slate);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.legal-page h2 {
  margin: 1.6rem 0 0.45rem;
  font-size: 1.1rem;
}

.legal-page p,
.legal-page li {
  color: var(--slate);
  line-height: 1.6;
}
