:root {
  --navy-950: #06162d;
  --navy-900: #0b2347;
  --navy-800: #123467;
  /* #267dff measured 3.85:1 on white (WCAG AA fail for body links / eyebrows);
     deepened to #1c69db → 5.1:1 on white, 4.9:1 on --surface-soft. */
  --blue-600: #1c69db;
  --blue-500: #3991ff;
  --blue-300: #9bc2ff;
  --sky-100: #eef5ff;
  --surface: #ffffff;
  --surface-soft: #f6f9fc;
  --surface-deep: #eaf1fb;
  --ink: #15304e;
  --ink-soft: #526983;
  --line: #d5e1f0;
  --success: #0f766e;
  --warning: #9a6700;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px rgba(8, 26, 54, 0.12);
  --shadow-soft: 0 10px 30px rgba(8, 26, 54, 0.08);
  --maxw: 1180px;
  --header-h: 78px;
  --font-sans: Inter, "Segoe UI", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue-600);
  text-decoration: none;
}

a:hover {
  color: var(--navy-900);
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.2rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  line-height: 1.15;
  color: var(--navy-900);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 3.75rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
}

::selection {
  background: var(--blue-300);
  color: var(--navy-950);
}

.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;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 82px 0;
}

.section--soft {
  background: var(--surface-soft);
}

.section--dark {
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #dce9ff;
}

.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark .eyebrow {
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue-600);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.lede,
.text-muted {
  color: var(--ink-soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head--center,
.cta-band {
  text-align: center;
  margin-inline: auto;
}

.page-shell {
  min-height: 100vh;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.button--primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(38, 125, 255, 0.24);
}

.button--primary:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1d6ded, #2c83f2);
}

.button--secondary {
  background: #ffffff;
  color: var(--navy-900);
  border-color: var(--line);
}

.button--ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.button--ghost:hover {
  color: var(--navy-950);
  background: #ffffff;
}

.button--block {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(213, 225, 240, 0.8);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
  font-weight: 800;
  min-width: 0;
}

.brand:hover,
.site-footer__brand:hover {
  color: var(--navy-900);
}

.brand__mark,
.site-footer__brand svg {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.brand__text {
  line-height: 1.15;
}

.brand__name {
  display: block;
  font-size: 1rem;
}

.brand__tag {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav__link {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
}

.site-nav__link[aria-current="page"],
.site-nav__link:hover {
  background: var(--sky-100);
  color: var(--navy-900);
}

/* Mega-menu groups — desktop dropdown panels, mobile accordion (JS-toggled .is-open) */
.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-group__trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
}

.nav-group__trigger:hover,
.nav-group.is-open .nav-group__trigger {
  background: var(--sky-100);
  color: var(--navy-900);
}

.nav-group__chev {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-group.is-open .nav-group__chev {
  transform: rotate(225deg);
}

.nav-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 120;
  min-width: 340px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-group.is-open .nav-panel {
  display: grid;
  gap: 2px;
}

.nav-panel__item {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink);
}

.nav-panel__item strong {
  display: block;
  color: var(--navy-900);
  font-size: 0.95rem;
}

.nav-panel__item span {
  display: block;
  margin-top: 2px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.nav-panel__item:hover,
.nav-panel__item[aria-current="page"] {
  background: var(--sky-100);
  color: var(--navy-900);
}

/* Fine-pointer desktop fallback: hover also opens the panel (click/JS still governs state) */
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .nav-group:hover .nav-panel {
    display: grid;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--navy-900);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 78px;
  background:
    radial-gradient(circle at top left, rgba(57, 145, 255, 0.18), transparent 34%),
    linear-gradient(180deg, #eff5ff 0%, #ffffff 64%);
}

.hero__grid,
.content-grid,
.split-grid,
.contact-grid,
.footer-cta,
.feature-grid,
.stats-grid,
.card-grid,
.workflow-board,
.scenario-grid,
.faq-grid,
.detail-grid,
.legal-grid,
.mini-grid {
  display: grid;
  gap: 24px;
}

.hero__grid {
  align-items: center;
}

.hero__lede {
  max-width: 38rem;
  font-size: 1.12rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.hero__notes li,
.pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(155, 194, 255, 0.8);
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-card,
.card,
.panel,
.surface-box,
.faq-item,
.contact-card,
.form-card,
.dashboard-card,
.workflow-card,
.scenario-card,
.legal-card,
.timeline,
.notice,
.placeholder-card {
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: #ffffff;
}

.hero-card__label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.hero-card__title {
  margin: 4px 0 0;
  font-size: 1.15rem;
  color: #ffffff;
}

.hero-card__body {
  padding: 22px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.dashboard-mast {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.dashboard-metric {
  padding: 14px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.dashboard-metric strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.25rem;
  color: var(--navy-900);
}

.dashboard-metric span,
.caption,
.small,
.helper {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.dashboard-stack {
  display: grid;
  gap: 12px;
}

.dashboard-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

.dashboard-row--stacked {
  grid-template-columns: 1fr;
}

.dashboard-panel {
  padding: 16px;
  border-radius: 14px;
  background: #f2f7ff;
  border: 1px solid #d6e4fb;
}

.dashboard-panel--muted {
  background: linear-gradient(180deg, #f7fbff, #edf4ff);
}

.status-list,
.icon-list,
.check-list,
.link-list,
.stats-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.status-list li,
.check-list li,
.stats-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.status-list li:last-child,
.check-list li:last-child,
.stats-list li:last-child,
.faq-item:last-child {
  border-bottom: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e2efff;
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.78rem;
}

.reality-bar {
  margin-top: -24px;
  position: relative;
  z-index: 2;
}

.reality-bar__grid,
.footer-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.reality-pill,
.footer-box {
  background: #ffffff;
  padding: 20px;
}

.reality-pill strong,
.footer-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy-900);
}

.card-grid--3,
.scenario-grid,
.feature-grid,
.mini-grid {
  grid-template-columns: 1fr;
}

.hero-visual-grid,
.proof-studio,
.scenario-case-grid,
.team-grid,
.leadership-snapshot,
.supporting-module,
.scene-stage__legend {
  display: grid;
  gap: 18px;
}

.card,
.scenario-card,
.legal-card,
.placeholder-card,
.dashboard-card,
.workflow-card,
.contact-card,
.form-card,
.panel,
.timeline,
.notice {
  padding: 26px;
}

.card h3,
.scenario-card h3,
.dashboard-card h3,
.workflow-card h3,
.panel h3,
.contact-card h3,
.faq-item h3,
.legal-card h3,
.placeholder-card h3 {
  margin-bottom: 0.5rem;
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: var(--blue-600);
  background: var(--sky-100);
}

.split-grid,
.content-grid,
.contact-grid,
.footer-cta {
  align-items: start;
}

.panel {
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #dce9ff;
  border-color: rgba(155, 194, 255, 0.18);
}

.panel h3,
.panel h4,
.panel strong {
  color: #ffffff;
}

.panel p,
.panel li,
.panel .helper,
.panel .small {
  color: #bfd3f2;
}

.hero-visual-grid {
  align-items: start;
}

.scene-stage,
.ops-console,
.proof-map,
.supporting-module {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.scene-stage,
.ops-console,
.proof-map {
  padding: 18px;
}

.scene-stage {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.scene-stage__head,
.ops-console__head,
.proof-map__head,
.scenario-case__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.scene-stage__kicker,
.scenario-case__eyebrow {
  margin: 0 0 6px;
  font-size: 0.76rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--blue-600);
}

.scene-stage__graphic {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #d6e4fb;
  background: #eef5ff;
}

.scene-stage__legend {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scene-stage__legend span,
.proof-map__lane,
.leadership-snapshot__item {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f3f8ff;
  border: 1px solid #d6e4fb;
}

.ops-console {
  background: linear-gradient(180deg, #fbfdff, #f4f8ff);
}

.workflow-board--proof {
  align-items: start;
}

.proof-studio {
  align-content: start;
}

.proof-map {
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
}

.proof-map__lane {
  display: grid;
  gap: 4px;
  margin-top: 12px;
}

.proof-map__lane strong {
  color: var(--navy-900);
}

.dashboard-card--dense {
  padding: 22px;
}

.mini-grid--proof {
  grid-template-columns: 1fr;
}

.scenario-case-grid,
.team-grid {
  grid-template-columns: 1fr;
}

.scenario-case {
  border-radius: var(--radius);
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.scenario-case--supporting {
  background: linear-gradient(180deg, #f9fbff, #f3f8ff);
}

.scenario-case__client {
  margin-bottom: 1rem;
  color: var(--ink);
}

.scenario-case__details {
  display: grid;
  gap: 14px;
  margin: 0;
}

.scenario-case__details div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.scenario-case__details dt {
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--navy-900);
}

.scenario-case__details dd {
  margin: 0;
  color: var(--ink-soft);
}

.section--supporting {
  padding-top: 22px;
}

.supporting-module {
  padding: 28px;
  background: linear-gradient(135deg, #f8fbff, #eef5ff);
  box-shadow: var(--shadow-soft);
}

.supporting-module__aside {
  display: grid;
  gap: 18px;
  align-content: start;
}

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

.supporting-list li {
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

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

.leadership-snapshot {
  grid-template-columns: 1fr;
  margin: 18px 0;
}

.leadership-snapshot__item strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline__item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.timeline__step {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(57, 145, 255, 0.18);
  color: #ffffff;
  font-weight: 800;
}

.workflow-card {
  overflow: hidden;
}

.workflow-strip {
  display: grid;
  gap: 12px;
}

.workflow-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.workflow-step strong {
  color: var(--navy-900);
}

.workflow-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  font-weight: 800;
}

.faq-grid {
  gap: 14px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 700;
  color: var(--navy-900);
}

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

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ink-soft);
}

.footer-cta {
  padding: 36px;
  margin-bottom: 42px;
  background: linear-gradient(135deg, var(--navy-950), #163d77);
  color: #ffffff;
}

.footer-cta h2,
.footer-cta h3,
.footer-cta p {
  color: inherit;
}

.site-footer {
  padding: 70px 0 28px;
  background: var(--navy-950);
  color: #b9cde9;
}

.site-footer a {
  color: #e6f0ff;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #ffffff;
  font-weight: 800;
}

/* Footer column headings — h3 on content pages, h2 on 404 (its only other heading is the H1),
   so the document heading hierarchy never skips a level (prelaunch checklist E2). */
.footer-box h2,
.footer-box h3 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* B5 / WCAG 2.5.5 — footer tap targets must be ≥44px tall. The vertical
   padding sits on the anchors themselves, so the hit area grows while the
   footer's visual spacing stays as designed. */
.site-footer .link-list a,
.site-footer__legal a,
.site-footer .footer-box p a {
  display: inline-block;
  padding-block: 13px;
}

.page-hero {
  padding: 58px 0;
  background: linear-gradient(140deg, var(--navy-950), #143a73 65%, #1a4c96 100%);
  color: #d9e8ff;
}

.page-hero h1,
.page-hero p,
.breadcrumb,
.breadcrumb a {
  color: inherit;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.9rem;
  opacity: 0.88;
}

.notice {
  background: #f7fbff;
}

.contact-card .contact-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-card .contact-item:last-child {
  border-bottom: 0;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-weight: 700;
  color: var(--navy-900);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(57, 145, 255, 0.12);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #c2410c;
}

.error-msg {
  display: none;
  color: #c2410c;
  font-size: 0.84rem;
}

.field.has-error .error-msg {
  display: block;
}

.field--full {
  grid-column: 1 / -1;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
}

.form-status--success {
  display: block;
  background: #d9faf2;
  color: var(--success);
}

.form-status--error {
  display: block;
  background: #fff1e8;
  color: #c2410c;
}

.form-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.form-hint {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.inquiry-output {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.84rem;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

.supporting-note {
  margin-top: 22px;
  color: var(--ink-soft);
}

.section-link {
  margin-top: 20px;
  font-size: 0.95rem;
  font-weight: 600;
}

.prose {
  max-width: 820px;
  margin-inline: auto;
}

.prose h2 {
  margin-top: 2rem;
}

.prose h3 {
  margin-top: 1.4rem;
}

/* Full-width section photos (real-scene imagery — see docs/image-usage.md) */
.section-photo {
  height: 260px;
  margin-bottom: 28px;
  border-radius: var(--radius);
  overflow: hidden;
}

.section-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-photo--sm {
  height: 240px;
}

.section-photo--lg {
  height: 300px;
}

.section-photo--xl {
  height: 320px;
}

/* index.html — photo band across the top of the hero card */
.hero-card__photo {
  height: 240px;
}

.hero-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .section-photo {
    height: 200px;
    margin-bottom: 22px;
  }

  .section-photo--sm {
    height: 180px;
  }

  .section-photo--lg,
  .section-photo--xl {
    height: 220px;
  }

  .hero-card__photo {
    height: 180px;
  }
}

/* case-studies.html — snapshot detail lists run 2x2 from tablet width up */
.scenario-case__details--split {
  gap: 14px 24px;
}

@media (min-width: 768px) {
  .scenario-case__details--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Keep anchor targets clear of the sticky header */
.section[id] {
  scroll-margin-top: 96px;
}

/* WCAG 1.4.1 — in-body links must not rely on colour alone (global `a` has no underline) */
.prose p a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Same WCAG 1.4.1 rule, extended to in-body links outside .prose (about / contact copy).
   Scoped to paragraph-level copy only — nav, buttons, footer, breadcrumb and
   homepage card links keep their plain treatment. */
.caption a,
.placeholder-card p a,
.contact-card p a,
.form-hint a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.placeholder-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (min-width: 768px) {
  .reality-bar__grid,
  .footer-grid,
  .feature-grid,
  .mini-grid,
  .card-grid--3,
  .scenario-grid,
  .stats-grid,
  .detail-grid,
  .legal-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenario-case-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leadership-snapshot {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero__grid,
  .split-grid,
  .content-grid,
  .contact-grid,
  .footer-cta,
  .workflow-board {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .reality-bar__grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .card-grid--3,
  .feature-grid,
  .scenario-grid,
  .mini-grid,
  .stats-grid,
  .legal-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .workflow-strip {
    grid-template-columns: repeat(7, 1fr);
    align-items: stretch;
  }

  .workflow-step {
    min-height: 172px;
  }

  .workflow-arrow {
    display: none;
  }

  .hero-visual-grid,
  .proof-studio,
  .supporting-module {
    grid-template-columns: 1.02fr 0.98fr;
  }

  .mini-grid--proof {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenario-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* index.html only — three short representative scenarios in one row */
  .scenario-case-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large desktop (≥1440px): widen the shell and open up vertical rhythm
   so the 1180px column does not float in excess margin on big screens. */
@media (min-width: 1440px) {
  :root {
    --maxw: 1280px;
  }

  .section {
    padding: 96px 0;
  }
}

@media (max-width: 1023px) {
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 24px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.nav-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    width: 100%;
  }

  /* Mega-menu on mobile: groups stack as an accordion inside the open nav */
  .nav-group {
    display: block;
  }

  .nav-group__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
  }

  .nav-panel {
    position: static;
    min-width: 0;
    padding: 2px 0 10px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-panel__item {
    padding: 9px 12px;
  }

  .dashboard-mast,
  .dashboard-row {
    grid-template-columns: 1fr;
  }

  .scene-stage__legend {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .container {
    padding-inline: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 34px 0 64px;
  }

  .page-hero {
    padding: 46px 0;
  }

  .footer-cta,
  .card,
  .scenario-card,
  .dashboard-card,
  .workflow-card,
  .contact-card,
  .form-card,
  .panel,
  .timeline,
  .placeholder-card,
  .legal-card {
    padding: 22px;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .brand__tag {
    display: none;
  }
}
