/* Secure Smart Solutions — Design 4 (Stripe DESIGN.md adapted to S3 logo palette) */

@font-face {
  font-family: "InterVar";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* S3 Logo-Derived Brand Palette + Stripe Surface Hierarchy */
  --s3-blue: #0053a1;
  --s3-blue-deep: #003f7d;
  --s3-blue-press: #002d5c;
  --s3-blue-soft: #e7f1fb;
  --s3-blue-border: #bfd6ef;

  --s3-green: #189942;
  --s3-green-ink: #106b2e;
  --s3-green-bright: #5ce488;
  --s3-green-soft: #e7f6ec;
  --s3-green-border: #b8e3c6;

  --s3-navy-900: #0d253d;
  --s3-navy-950: #08192b;
  --s3-navy-800: #143252;
  --s3-navy-700: #1e4268;

  --s3-ink: #0d253d;
  --s3-ink-secondary: #273951;
  --s3-ink-mute: #52657d;
  --s3-on-dark: #ffffff;
  --s3-on-dark-muted: #c2d4e8;

  --s3-canvas: #ffffff;
  --s3-canvas-soft: #f6f9fc;
  --s3-canvas-cream: #f5efe0;
  --s3-hairline: #e3e8ee;
  --s3-hairline-input: #a8c3de;
  --s3-error: #b91c1c;
  --s3-error-bg: #fef2f2;

  /* Elevation */
  --shadow-1: 0 1px 3px rgba(0, 55, 112, 0.08), 0 1px 2px rgba(0, 55, 112, 0.04);
  --shadow-2: 0 16px 40px rgba(0, 55, 112, 0.12), 0 3px 10px rgba(0, 55, 112, 0.06);
  --shadow-dark: 0 20px 44px rgba(4, 15, 28, 0.42);

  /* Radii */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-pill: 9999px;

  /* Spacing */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 12px;
  --sp-lg: 16px;
  --sp-xl: 24px;
  --sp-xxl: 32px;
  --sp-huge: 64px;

  /* Container */
  --container-max: 1180px;
  --font-sans: "InterVar", "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

[hidden] {
  display: none !important;
}

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

@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-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--s3-ink);
  background: var(--s3-canvas);
  font-feature-settings: "ss01" 1;
  overflow-x: clip;
}

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

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

a:hover {
  color: var(--s3-blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.band-dark :focus-visible,
.console-dark :focus-visible,
.card-featured :focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

.tnum {
  font-feature-settings: "tnum" 1, "ss01" 1;
  font-variant-numeric: tabular-nums;
}

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

/* Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 1000;
  background: var(--s3-navy-900);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-weight: 500;
}

.skip-link:focus {
  left: 16px;
}

/* Container */
.wrap {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 639px) {
  .wrap { padding: 0 16px; }
}

/* Typography Scale (Stripe weight-300 negative-tracking display signature) */
.display-xxl {
  font-size: clamp(2.25rem, 4.6vw, 3.5rem); /* 36 -> 56px */
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--s3-ink);
}

.display-xl {
  font-size: clamp(1.85rem, 3.6vw, 3rem); /* 30 -> 48px */
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--s3-ink);
}

.display-lg {
  font-size: clamp(1.5rem, 2.4vw, 2rem); /* 24 -> 32px */
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -0.018em;
  margin: 0;
}

.heading-lg {
  font-size: 1.375rem; /* 22px */
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}

.heading-md {
  font-size: 1.125rem; /* 18px */
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.008em;
  margin: 0;
}

.lead {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--s3-ink-secondary);
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--s3-blue);
  margin-bottom: 12px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 83, 161, 0.16);
  color: var(--s3-navy-900);
  font-size: 0.78rem;
  font-weight: 500;
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(8px);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--s3-green);
  flex-shrink: 0;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--s3-blue-soft);
  color: var(--s3-blue-deep);
}

.pill-tag-green {
  background: var(--s3-green-soft);
  color: var(--s3-green-ink);
}

/* Buttons (Stripe tight pill buttons) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  min-height: 42px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  max-width: 100%;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 120ms ease, box-shadow 150ms ease;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--s3-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--s3-blue-deep);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 83, 161, 0.25);
}

.btn-primary:active {
  background: var(--s3-blue-press);
  transform: translateY(1px);
}

.btn-secondary {
  background: var(--s3-canvas);
  color: var(--s3-blue);
  border-color: var(--s3-blue-border);
}

.btn-secondary:hover {
  background: var(--s3-blue-soft);
  color: var(--s3-blue-deep);
  border-color: var(--s3-blue);
}

.btn-green {
  background: var(--s3-green-ink);
  color: #ffffff;
}

.btn-green:hover {
  background: #0b5423;
  color: #ffffff;
}

.btn-on-dark {
  background: #ffffff;
  color: var(--s3-navy-900);
}

.btn-on-dark:hover {
  background: var(--s3-blue-soft);
  color: var(--s3-navy-950);
}

.btn-outline-dark {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: #ffffff;
}

.btn-sm {
  padding: 8px 14px;
  min-height: 36px;
  font-size: 0.85rem;
}

@media (max-width: 767px) {
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; }
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--s3-hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-link img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--s3-ink-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 2px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--s3-blue);
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--s3-blue);
}

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

.header-phone {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--s3-ink-secondary);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  border: 1px solid var(--s3-hairline);
  background: var(--s3-canvas);
  color: var(--s3-ink);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--s3-hairline);
  background: var(--s3-canvas);
  padding: 16px 24px 24px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 4px;
}

.mobile-drawer a {
  display: block;
  padding: 10px 4px;
  color: var(--s3-ink);
  font-weight: 500;
  border-bottom: 1px solid var(--s3-hairline);
}

.mobile-drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 960px) {
  .nav-links, .header-actions { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Signature Atmospheric Gradient Mesh Hero */
.hero-mesh-section {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  background: var(--s3-canvas);
}

.hero-mesh-compact {
  padding: 44px 0 48px;
}

.hero-mesh-backdrop {
  position: absolute;
  inset: 0 0 auto 0;
  height: 560px;
  pointer-events: none;
  z-index: 0;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 0 92%);
}

.hero-mesh-compact .hero-mesh-backdrop {
  height: 360px;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 0 96%);
}

.hero-mesh-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content-wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.hero-copy {
  display: grid;
  gap: 20px;
  align-content: start;
}

.hero-copy .lead {
  max-width: 54ch;
  color: var(--s3-ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.hero-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--s3-hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  max-width: 500px;
}

.hero-byline img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--s3-green-border);
  flex-shrink: 0;
}

.hero-byline-text {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--s3-ink-secondary);
}

.hero-byline-text strong {
  display: block;
  color: var(--s3-ink);
  font-weight: 600;
}

/* Composited Dashboard Mockup (Stripe's iconic floating UI composite) */
.console-composite {
  position: relative;
  background: var(--s3-canvas);
  border: 1px solid var(--s3-hairline);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.console-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--s3-navy-900);
  color: #ffffff;
  font-size: 0.78rem;
}

.console-chrome-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.console-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--s3-green-bright);
}

.console-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px;
  background: var(--s3-canvas-soft);
  border-bottom: 1px solid var(--s3-hairline);
}

.console-tab {
  appearance: none;
  border: 1px solid var(--s3-hairline);
  background: var(--s3-canvas);
  color: var(--s3-ink-secondary);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  cursor: pointer;
  min-height: 36px;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.console-tab:hover {
  border-color: var(--s3-blue);
  color: var(--s3-blue);
}

.console-tab[aria-selected="true"] {
  background: var(--s3-blue);
  border-color: var(--s3-blue);
  color: #ffffff;
}

.console-body {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.console-headline {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--s3-ink);
  margin: 0 0 4px;
}

.console-desc {
  margin: 0;
  font-size: 0.875rem;
  color: var(--s3-ink-secondary);
}

.console-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 440px) {
  .console-metrics { grid-template-columns: 1fr; }
}

.console-tile {
  background: var(--s3-canvas-soft);
  border: 1px solid var(--s3-hairline);
  border-radius: var(--r-md);
  padding: 12px;
}

.console-tile-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--s3-ink-mute);
  margin-bottom: 4px;
}

.console-tile-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--s3-ink);
}

.console-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.console-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--s3-ink-secondary);
}

.check-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--s3-green-soft);
  color: var(--s3-green-ink);
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.console-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--s3-hairline);
}

.console-note {
  font-size: 0.78rem;
  color: var(--s3-ink-mute);
}

/* Metrics Strip */
.metrics-strip {
  border-top: 1px solid var(--s3-hairline);
  border-bottom: 1px solid var(--s3-hairline);
  background: var(--s3-canvas);
  padding: 28px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 900px) {
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr; gap: 16px; }
}

.metric-item {
  border-left: 2px solid var(--s3-green);
  padding-left: 14px;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--s3-ink);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--s3-ink-mute);
  margin-top: 4px;
}

/* Section Bands */
.band {
  padding: 76px 0;
}

.band-soft {
  background: var(--s3-canvas-soft);
  border-top: 1px solid var(--s3-hairline);
  border-bottom: 1px solid var(--s3-hairline);
}

.band-cream {
  background: var(--s3-canvas-cream);
  border-top: 1px solid #e6dcc6;
  border-bottom: 1px solid #e6dcc6;
}

.band-dark {
  background: var(--s3-navy-900);
  color: var(--s3-on-dark);
}

.band-dark .display-xl,
.band-dark .display-lg,
.band-dark .heading-lg,
.band-dark .heading-md {
  color: #ffffff;
}

.band-dark .lead {
  color: var(--s3-on-dark-muted);
}

.band-dark .eyebrow {
  color: var(--s3-green-bright);
}

.band-dark a {
  color: #8cc5ff;
}

@media (max-width: 767px) {
  .band { padding: 52px 0; }
}

.section-header {
  max-width: 720px;
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
}

.section-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.section-header-row .section-header {
  margin-bottom: 0;
}

/* Founder Story (Warm Cream Editorial Band) */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

@media (max-width: 860px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.founder-portrait-card {
  background: var(--s3-canvas);
  border: 1px solid #dfd3ba;
  border-radius: var(--r-lg);
  padding: 12px;
  box-shadow: var(--shadow-1);
}

.founder-portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--r-md);
}

.founder-caption {
  padding: 12px 4px 4px;
  font-size: 0.85rem;
  color: var(--s3-ink-secondary);
}

.founder-caption strong {
  display: block;
  font-size: 0.98rem;
  color: var(--s3-ink);
}

.founder-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.founder-story {
  display: grid;
  gap: 16px;
}

.founder-story p {
  margin: 0;
  color: var(--s3-ink-secondary);
  font-size: 0.97rem;
  line-height: 1.65;
}

.founder-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

@media (max-width: 560px) {
  .founder-highlights { grid-template-columns: 1fr; }
}

.founder-highlight-item {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #dfd3ba;
  border-radius: var(--r-md);
  padding: 14px 16px;
}

.founder-highlight-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--s3-ink);
  margin-bottom: 4px;
}

.founder-highlight-item span {
  font-size: 0.84rem;
  color: var(--s3-ink-secondary);
}

.editorial-note {
  font-size: 0.83rem;
  color: var(--s3-ink-mute);
  border-left: 3px solid var(--s3-blue);
  padding: 6px 0 6px 12px;
  margin-top: 4px;
}

/* Interactive Capability Practice Explorer (Homepage) */
.cap-explorer {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 920px) {
  .cap-explorer { grid-template-columns: 1fr; }
}

.cap-list {
  display: grid;
  gap: 6px;
}

.cap-list-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  background: var(--s3-canvas);
  border: 1px solid var(--s3-hairline);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--s3-ink-secondary);
  cursor: pointer;
  min-height: 44px;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.cap-list-btn:hover {
  border-color: var(--s3-blue);
  color: var(--s3-blue);
}

.cap-list-btn[aria-selected="true"] {
  background: var(--s3-navy-900);
  border-color: var(--s3-navy-900);
  color: #ffffff;
  box-shadow: var(--shadow-1);
}

.cap-num {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.72;
  margin-right: 8px;
}

.cap-detail-panel {
  background: var(--s3-canvas);
  border: 1px solid var(--s3-hairline);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-1);
  display: grid;
  gap: 22px;
}

@media (max-width: 639px) {
  .cap-detail-panel { padding: 20px; }
}

.cap-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 680px) {
  .cap-columns { grid-template-columns: 1fr; }
}

.cap-subcard {
  background: var(--s3-canvas-soft);
  border: 1px solid var(--s3-hairline);
  border-radius: var(--r-md);
  padding: 18px;
}

.cap-subcard h3,
.cap-subcard h4 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--s3-blue);
}

.cap-subcard ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--s3-ink-secondary);
  font-size: 0.88rem;
}

.cap-panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--s3-hairline);
}

/* Procurement 3-Card Grid on Dark Band */
.proc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

@media (max-width: 920px) {
  .proc-cards { grid-template-columns: 1fr; }
}

.proc-card {
  background: var(--s3-navy-800);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.proc-card-featured {
  background: linear-gradient(160deg, #0f3660 0%, #0a2a4d 100%);
  border-color: rgba(92, 228, 136, 0.45);
  box-shadow: var(--shadow-dark);
}

.proc-card p {
  margin: 0;
  color: var(--s3-on-dark-muted);
  font-size: 0.92rem;
}

.proc-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 0.87rem;
  color: var(--s3-on-dark-muted);
}

.proc-card-cta {
  margin-top: auto;
  padding-top: 10px;
}

/* Procurement Ledger Table */
.ledger-wrap {
  background: var(--s3-canvas);
  border: 1px solid var(--s3-hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.ledger-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.ledger-table th,
.ledger-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--s3-hairline);
  vertical-align: top;
}

.ledger-table thead th {
  background: var(--s3-canvas-soft);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--s3-ink-mute);
}

.ledger-table tbody tr:last-child th,
.ledger-table tbody tr:last-child td {
  border-bottom: 0;
}

.ledger-table tbody th {
  font-weight: 600;
  color: var(--s3-ink);
  width: 30%;
}

.ledger-table tbody td {
  color: var(--s3-ink-secondary);
}

@media (max-width: 600px) {
  .ledger-table thead { display: none; }
  .ledger-table, .ledger-table tbody, .ledger-table tr, .ledger-table th, .ledger-table td {
    display: block;
    width: 100%;
  }
  .ledger-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--s3-hairline);
  }
  .ledger-table tbody th, .ledger-table tbody td {
    padding: 4px 0;
    border: 0;
  }
}

/* Full Capabilities Page Modules */
.cap-jump-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.cap-jump-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--s3-hairline);
  color: var(--s3-ink-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  min-height: 36px;
}

.cap-jump-link:hover {
  border-color: var(--s3-blue);
  color: var(--s3-blue);
  text-decoration: none;
}

.cap-stack {
  display: grid;
  gap: 24px;
}

.cap-article {
  background: var(--s3-canvas);
  border: 1px solid var(--s3-hairline);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-1);
  scroll-margin-top: 90px;
  display: grid;
  gap: 20px;
}

@media (max-width: 639px) {
  .cap-article { padding: 20px; }
}

.cap-article-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

/* Interactive Conversation & Lead Builder */
.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 960px) {
  .lead-grid { grid-template-columns: 1fr; }
}

.lead-card {
  background: var(--s3-canvas);
  border: 1px solid var(--s3-hairline);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-1);
}

@media (max-width: 639px) {
  .lead-card { padding: 20px; }
}

.draft-card {
  background: var(--s3-canvas-soft);
  border: 1px solid var(--s3-hairline);
  border-radius: var(--r-lg);
  padding: 28px;
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

@media (max-width: 960px) {
  .draft-card { position: static; }
}

.form-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
}

.form-fieldset legend {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--s3-ink);
  margin-bottom: 10px;
  padding: 0;
}

.radio-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 540px) {
  .radio-chip-grid { grid-template-columns: 1fr; }
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--s3-hairline);
  border-radius: var(--r-md);
  background: var(--s3-canvas);
  cursor: pointer;
  min-height: 44px;
  font-size: 0.875rem;
  color: var(--s3-ink-secondary);
  transition: border-color 140ms ease, background-color 140ms ease;
}

.radio-option:hover {
  border-color: var(--s3-blue);
}

.radio-option:has(input:checked) {
  background: var(--s3-blue-soft);
  border-color: var(--s3-blue);
  color: var(--s3-navy-900);
  font-weight: 500;
}

.radio-option input {
  accent-color: var(--s3-blue);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; }
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.field-row .field {
  margin-bottom: 0;
}

.field label {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--s3-ink);
}

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--s3-ink);
  background: var(--s3-canvas);
  border: 1px solid var(--s3-hairline-input);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  min-height: 42px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--s3-blue);
  box-shadow: 0 0 0 3px rgba(0, 83, 161, 0.14);
  outline: none;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--s3-green-soft);
  border: 1px solid var(--s3-green-border);
  margin-bottom: 18px;
  cursor: pointer;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--s3-green-ink);
  margin-top: 2px;
  flex-shrink: 0;
}

.checkbox-row span {
  font-size: 0.87rem;
  color: var(--s3-ink);
}

.error-summary {
  background: var(--s3-error-bg);
  border: 1px solid #fecaca;
  border-left: 4px solid var(--s3-error);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-bottom: 18px;
  color: #7f1d1d;
  font-size: 0.88rem;
}

.error-summary[hidden] { display: none; }

.error-summary ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.error-summary a {
  color: #991b1b;
  text-decoration: underline;
}

.founder-grid > *,
.cap-explorer > *,
.lead-grid > *,
.proc-cards > *,
.footer-grid > * {
  min-width: 0;
}

.draft-meta {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--s3-ink-secondary);
  padding: 12px;
  background: var(--s3-canvas);
  border: 1px solid var(--s3-hairline);
  border-radius: var(--r-md);
  overflow-wrap: anywhere;
}

.draft-meta strong {
  color: var(--s3-ink);
}

.draft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-line {
  font-size: 0.82rem;
  color: var(--s3-green-ink);
  min-height: 1.2em;
  font-weight: 500;
}

.transparency-note {
  font-size: 0.8rem;
  color: var(--s3-ink-mute);
  margin: 0;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background: var(--s3-canvas);
  border-top: 1px solid var(--s3-hairline);
  padding: 56px 0 36px;
  color: var(--s3-ink-mute);
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 28px;
  margin-bottom: 36px;
}

.footer-col {
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h3 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--s3-ink);
  margin: 0 0 12px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: var(--s3-ink-secondary);
}

.footer-col a:hover {
  color: var(--s3-blue);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--s3-hairline);
  font-size: 0.8rem;
}
