/* ============================================================
   ComplianceOS — main.css
   Aesthetic: Forensic Precision
   Font pair: DM Serif Display (display) + Syne (UI/body) + IBM Plex Mono (code)
   Build: 2026-06-04
   ============================================================ */


/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  /* Background tokens */
  --bg-primary:    #0B1221;
  --bg-secondary:  #111A2E;
  --bg-surface:    #192340;
  --code-surface:  #0A1018;

  /* Text tokens */
  --text-primary:  #F2F4F7;
  --text-secondary:#8B95A8;

  /* Accent */
  --accent-amber:  #F5A623;
  --amber-hover:   #e09a1f;

  /* Alert — used ONCE, Section 2 "Data moved." only */
  --alert:         #C0392B;

  /* Border */
  --border:        #1E2A42;

  /* Font families */
  --font-display:  'DM Serif Display', serif;
  --font-ui:       'Syne', sans-serif;
  --font-mono:     'IBM Plex Mono', monospace;
}


/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 1.0625rem;       /* 17px body */
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a, a:link, a:visited, a:hover, a:active, a:focus {
  text-decoration: none;
  color: inherit;
}

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

ul { list-style: none; }


/* ─── GLOBAL: NO BORDER-RADIUS ────────────────────────────────── */
/* Enforced on all interactive and container elements per DESIGN.md */
button,
input,
select,
textarea,
.btn-amber-outline,
.btn-amber-filled,
.btn-tier,
.btn-text-link,
.nav-cta,
.mobile-menu-cta,
.terminal-block,
.gap-comparison,
.pricing-tier,
.form-wrapper,
.form-submit,
.mobile-menu {
  border-radius: 0 !important;
}


/* ─── GLOBAL: NO DROP SHADOWS ─────────────────────────────────── */
* {
  box-shadow: none !important;
}


/* ─── REVEAL ANIMATION ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ─── SECTION SEPARATOR ───────────────────────────────────────── */
.section-rule {
  height: 1px;
  background: var(--border);
  margin: 0;
}


/* ─── SHARED SECTION LAYOUT ───────────────────────────────────── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}

.section-inner--narrow {
  max-width: 800px;
}


/* ─── SHARED TYPOGRAPHY TOKENS ────────────────────────────────── */

/* Section label — 11px Syne 600 uppercase, 0.15em tracking */
.section-label {
  font-family: var(--font-ui);
  font-size: 0.6875rem;     /* 11px */
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Section headline — DM Serif Display 500, 44px desktop / 30px mobile */
.section-headline {
  font-family: var(--font-display);
  font-weight: 400;           /* DM Serif Display has no weight axis — 400 renders as designed */
  font-size: clamp(1.875rem, 4vw, 2.75rem);   /* 30px → 44px */
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 32px;
  max-width: 38ch;
}

/* Body text — Syne 400 17px 1.75 lh */
.section-body {
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 60ch;
  margin-bottom: 24px;
}
.section-body--wide {
  max-width: 72ch;
}


/* ─── TERMINAL / CODE TOKEN COLORS ────────────────────────────── */
/* No syntax-highlighting library. Three token colors only. */
.tok-cmd       { color: var(--text-primary); }
.tok-default   { color: var(--text-primary); }
.tok-muted     { color: var(--text-secondary); }
.tok-amber     { color: var(--accent-amber); }

/* Monospace inline tokens (used in gap comparison) */
.tok-muted-mono   { font-family: var(--font-mono); font-size: 0.875rem; color: var(--text-secondary); }
.tok-default-mono { font-family: var(--font-mono); font-size: 0.875rem; color: var(--text-primary); }

/* Inline monospace spans in pricing framing */
.tok-mono-muted {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-secondary);
}


/* ─── BUTTON COMPONENTS ────────────────────────────────────────── */

/* Bordered amber variant — nav CTA and hero primary CTA */
.btn-amber-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-amber);
  border: 1px solid var(--accent-amber);
  padding: 16px 32px;
  min-height: 52px;
  white-space: nowrap;           /* Hard requirement: never wraps */
  transition: background-color 150ms ease, color 150ms ease;
  cursor: pointer;
}
.btn-amber-outline:hover {
  background-color: var(--accent-amber);
  color: var(--bg-primary);
}

/* Filled amber variant — pricing section primary CTA, the single decision point */
.btn-amber-filled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background-color: var(--accent-amber);
  border: 1px solid var(--accent-amber);
  width: 100%;
  max-width: 400px;
  min-height: 56px;
  white-space: nowrap;           /* Hard requirement: never wraps */
  transition: background-color 150ms ease;
  cursor: pointer;
}
.btn-amber-filled:hover {
  background-color: var(--amber-hover);
  border-color: var(--amber-hover);
}

/* Tier CTA — same as bordered but full width within tier */
.btn-tier {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-amber);
  border: 1px solid var(--accent-amber);
  padding: 14px 28px;
  min-height: 48px;
  white-space: nowrap;
  width: 100%;
  max-width: 100%;
  transition: background-color 150ms ease, color 150ms ease;
  cursor: pointer;
  margin-top: 28px;
}
.btn-tier:hover {
  background-color: var(--accent-amber);
  color: var(--bg-primary);
}

/* Text link — secondary CTA in hero */
.btn-text-link {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 150ms ease;
  white-space: nowrap;
}
.btn-text-link:hover {
  color: var(--text-primary);
}


/* ============================================================
   NAVIGATION
   position: static — no sticky behavior, scrolls with page
   ============================================================ */

#site-header {
  position: static;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

#site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
  height: 64px;
  gap: 24px;
}

.nav-wordmark {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 150ms ease;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-amber);
  border: 1px solid var(--accent-amber);
  padding: 8px 16px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 150ms ease, color 150ms ease;
  border-radius: 0;
}
.nav-cta:hover {
  background-color: var(--accent-amber);
  color: var(--bg-primary);
}

/* Hamburger — two horizontal lines, no icon library */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text-primary);
  transition: opacity 150ms ease;
}
.nav-hamburger:hover .hamburger-line {
  background: var(--accent-amber);
}


/* ─── Mobile menu panel ─────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: min(280px, 72vw);
  height: 100%;
  background: var(--bg-primary);
  border-right: 1px solid var(--border);
  z-index: 200;
  flex-direction: column;
  padding: 24px 0;
  overflow-y: auto;
}
.mobile-menu.is-open {
  display: flex;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 8px 24px;
  align-self: flex-end;
  line-height: 1;
  transition: color 150ms ease;
}
.mobile-menu-close:hover {
  color: var(--text-primary);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px 0;
}
.mobile-menu-nav a {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  transition: color 150ms ease, background-color 150ms ease;
}
.mobile-menu-nav a:hover {
  color: var(--text-primary);
  background-color: var(--bg-surface);
}
.mobile-menu-cta {
  margin: 24px;
  padding: 14px 20px !important;
  border: 1px solid var(--accent-amber) !important;
  border-bottom: 1px solid var(--accent-amber) !important;
  color: var(--accent-amber) !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-align: center;
  transition: background-color 150ms ease, color 150ms ease !important;
}
.mobile-menu-cta:hover {
  background-color: var(--accent-amber) !important;
  color: var(--bg-primary) !important;
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta { display: none !important; }
  .nav-hamburger { display: flex !important; }
}


/* ============================================================
   HERO
   Full viewport height, typography-dominant, left-aligned
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: 80px 0;
  overflow: hidden;
}

/* Fine SVG grid overlay — 3% opacity ceiling */
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 5vw;
}

/* Hero eyebrow — uses section-label class */

/* Hero headline — DM Serif Display, viewport-commanding scale */
.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 7vw, 4.5rem);   /* 44px → 72px */
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 32px;
  max-width: 16ch;
  letter-spacing: -0.01em;
}

/* Hero subheadline — Syne 400 20px */
.hero-sub {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(242, 244, 247, 0.85);
  max-width: 56ch;
  margin-bottom: 44px;
}

/* Hero CTA row */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero-headline {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }
  .hero-sub {
    font-size: 1rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}


/* ============================================================
   SECTION 1 — CRYPTOGRAPHIC PROOF
   Background: --bg-secondary
   ============================================================ */

.section-proof-block {
  background: var(--bg-secondary);
  padding: 120px 0;
}

/* Proof statement below terminal */
.proof-statement {
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 60ch;
  margin-top: 32px;
}


/* ─── Terminal verification block ─────────────────────────── */

.terminal-block {
  background: var(--code-surface);
  border: 1px solid var(--border);
  border-radius: 0 !important;
  margin-top: 48px;
  max-width: 720px;
  /* No shadow — color contrast between code-surface and bg-secondary provides depth */
}

.terminal-header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
}

.terminal-filename {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.terminal-body {
  padding: 24px 20px;
  overflow-x: auto;
}

.terminal-body code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.8;
  white-space: pre;
  display: block;
}

@media (max-width: 640px) {
  .terminal-block {
    margin-left: -5vw;
    margin-right: -5vw;
    border-left: none;
    border-right: none;
  }
  .terminal-body {
    padding: 20px 16px;
  }
  .terminal-body code {
    font-size: 0.75rem;
  }
}


/* ============================================================
   SECTION 2 — THE ENFORCEMENT GAP
   Background: --bg-primary
   Alert red used once: "Data moved."
   Amber used once: "Data did not move."
   ============================================================ */

.section-gap {
  background: var(--bg-primary);
  padding: 120px 0;
}

/* Atmospheric image — spans section width, dark-filtered */
.gap-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  margin-bottom: 56px;
}

.gap-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.7) saturate(0.5);
}


/* ─── Two-column mechanism comparison ─────────────────────── */

.gap-comparison {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  margin-top: 48px;
  margin-bottom: 40px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

.gap-divider {
  background: var(--border);
  width: 1px;
  height: 100%;
}

.gap-col {
  padding: 36px 32px;
}

.gap-col-label {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.gap-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gap-event {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gap-event-time {
  display: block;
  margin-bottom: 2px;
}

.gap-event-desc {
  display: block;
}

.gap-event--outcome {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* Alert red — the single appearance on the entire page */
.gap-outcome--alert {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--alert);
}

/* Amber — confirms enforcement succeeded */
.gap-outcome--amber {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--accent-amber);
}

.gap-follow-on {
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 60ch;
  font-style: italic;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .gap-comparison {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1px auto;
  }
  .gap-divider {
    width: 100%;
    height: 1px;
  }
  .gap-image-wrap {
    aspect-ratio: 16 / 9;
  }
}


/* ============================================================
   SECTION 3 — AUDIT DELIVERY
   Background: --bg-secondary
   Four steps, horizontal rules only — no numbering
   ============================================================ */

.section-audit {
  background: var(--bg-secondary);
  padding: 120px 0;
}

/* Section atmospheric image */
.audit-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  margin-bottom: 56px;
}

.audit-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.75) saturate(0.6);
}


/* ─── Four-step sequence ──────────────────────────────────── */

.audit-steps {
  margin-top: 48px;
}

.step-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.audit-step {
  padding: 40px 0;
}

.step-content {
  max-width: 60ch;
}

/* Step headline — Syne 600 17px */
.step-headline {
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 8px;
}

/* Step 4 — slightly larger to signal closure */
.step-headline--close {
  font-size: 1.25rem;
}

/* Step elaboration — Syne 400 17px text-secondary */
.step-body {
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Closing statement below steps */
.audit-closing {
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 60ch;
  margin-top: 16px;
}

@media (max-width: 640px) {
  .audit-step { padding: 28px 0; }
  .audit-image-wrap { aspect-ratio: 4 / 3; }
}


/* ============================================================
   SECTION 4 — PRICING
   Background: --bg-primary
   Filled amber CTA — the single decision point on the page
   ============================================================ */

.section-pricing {
  background: var(--bg-primary);
  padding: 120px 0;
}

/* ─── Consequence framing ─────────────────────────────────── */

.pricing-framing {
  max-width: 64ch;
  margin-bottom: 60px;
}

.pricing-framing-lead {
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.pricing-framing-body {
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.pricing-source-attr {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-secondary);
  opacity: 0.7;
}

.pricing-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 60px;
}

.tier-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}


/* ─── Pricing tiers ───────────────────────────────────────── */

.pricing-tiers {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 60px;
}

.pricing-tier {
  padding: 48px 0;
}

.tier-header {
  margin-bottom: 28px;
}

.tier-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.2;
}

.tier-desc {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 64ch;
  font-style: italic;
}

.tier-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}

.tier-features li {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(242, 244, 247, 0.75);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.tier-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}


/* ─── Pricing note ────────────────────────────────────────── */
.pricing-note {
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 48px;
}


/* ─── Primary CTA block ───────────────────────────────────── */
.pricing-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 0;
  text-align: center;
}

.cta-subtext {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .btn-amber-filled {
    max-width: 100%;
  }
}


/* ============================================================
   LEAD CAPTURE FORM
   Background: --bg-primary (continues)
   Fields: lead-name, lead-email, lead-message
   ============================================================ */

.section-contact {
  background: var(--bg-primary);
  padding: 80px 0 120px;
  border-top: 1px solid var(--border);
}

.form-wrapper {
  margin-top: 48px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group label {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.required-mark {
  color: var(--accent-amber);
}

.form-group input,
.form-group textarea {
  background: rgba(242, 244, 247, 0.04);
  border: 1px solid var(--border);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  outline: none;
  transition: border-color 150ms ease;
  width: 100%;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-amber);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  margin-bottom: 20px;
}

.form-submit {
  display: block;
  width: 100%;
  background: var(--accent-amber);
  color: var(--bg-primary);
  border: 1px solid var(--accent-amber);
  padding: 16px;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 150ms ease;
  border-radius: 0;
  white-space: nowrap;
}
.form-submit:hover {
  background-color: var(--amber-hover);
  border-color: var(--amber-hover);
}
.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-note {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 16px;
}
.form-note a {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: color 150ms ease, border-color 150ms ease;
}
.form-note a:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

/* Success state */
.success-headline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
}
.success-body {
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .form-wrapper {
    padding: 28px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   FOOTER
   Background: --bg-primary
   Copyright in IBM Plex Mono — intentional evidentiary register
   ============================================================ */

.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 5vw;
}

.footer-wordmark {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 28ch;
}

.footer-col-label {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-link-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-col ul a {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 150ms ease;
}
.footer-link-col ul a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 5vw 0;
  border-top: 1px solid var(--border);
}

/* IBM Plex Mono copyright — intentional: reinforces evidentiary register at page exit */
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-brand-col {
    grid-column: 1;
  }
}


/* ============================================================
   SECTION PADDING — RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .section-proof-block,
  .section-gap,
  .section-audit,
  .section-pricing,
  .section-contact {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (max-width: 640px) {
  .section-proof-block,
  .section-gap,
  .section-audit,
  .section-pricing,
  .section-contact {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .hero {
    padding: 64px 0;
  }
}
