/* =========================================================
   PaShield — Design Tokens
   ========================================================= */
:root {
  /* Brand colors */
  --brand-blue: #15469A;
  --brand-blue-dark: #0D3274;
  --brand-orange: #CC4A06;
  --brand-orange-dark: #A83C04;
  --text-primary: #142033;
  --text-secondary: #5D687A;
  --background-primary: #FFFFFF;
  --background-soft: #F5F8FC;
  --background-blue: #EEF4FF;
  --background-orange: #FFF4ED;
  --border-light: #DFE6EF;

  /* Derived */
  --blue-tint-05: rgba(21, 70, 154, 0.05);
  --blue-tint-10: rgba(21, 70, 154, 0.10);
  --orange-tint-12: rgba(204, 74, 6, 0.12);
  --focus-ring: #0D3274;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --fs-eyebrow: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: 1.375rem;
  --fs-2xl: 1.75rem;
  --fs-3xl: clamp(1.875rem, 3vw, 2.375rem);
  --fs-hero: clamp(2.375rem, 4.6vw, 4.25rem);
  --lh-tight: 1.12;
  --lh-snug: 1.3;
  --lh-normal: 1.55;
  --lh-relaxed: 1.7;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(20, 32, 51, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 32, 51, 0.08);
  --shadow-lg: 0 20px 48px rgba(20, 32, 51, 0.12);
  --shadow-blue: 0 16px 40px rgba(21, 70, 154, 0.16);

  /* Layout */
  --container-max: 1200px;
  --container-pad: 24px;
  --nav-height: 76px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur-med: 320ms;
  --dur-slow: 640ms;
}

@media (max-width: 640px) {
  :root {
    --container-pad: 20px;
    --nav-height: 68px;
  }
}

/* =========================================================
   Base / Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text-primary);
  background: var(--background-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; }
button { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }

h1 { font-size: var(--fs-hero); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-3xl); line-height: var(--lh-snug); }
h3 { font-size: var(--fs-xl); line-height: var(--lh-snug); }

:focus-visible {
  outline: 2.5px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-blue);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

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

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.section {
  padding-block: var(--sp-9);
}
@media (max-width: 640px) {
  .section { padding-block: var(--sp-8); }
}
.section--soft { background: var(--background-soft); }
.section--blue { background: var(--background-blue); }
.section--bordered { border-top: 1px solid var(--border-light); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--brand-orange);
  display: inline-block;
  border-radius: 2px;
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--sp-7);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p {
  margin-top: var(--sp-4);
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

.text-secondary { color: var(--text-secondary); }

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
/* Visible by default (no-JS / JS-failure safe). JS opts elements into
   .reveal-pending to animate them in on scroll; if script never runs,
   content simply stays visible. */
.reveal {
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(18px);
}
@media (prefers-reduced-motion: reduce) {
  .reveal.reveal-pending { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: var(--fs-sm);
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 15px 28px;
  min-height: 48px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(204, 74, 6, 0.28);
}
.btn--primary:hover { background: var(--brand-orange-dark); }

.btn--secondary {
  background: transparent;
  border-color: var(--border-light);
  color: var(--brand-blue-dark);
}
.btn--secondary:hover { border-color: var(--brand-blue); background: var(--blue-tint-05); }

.btn--ghost-light {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.24); }

.btn--block { width: 100%; }
.btn--sm { padding: 11px 20px; min-height: 40px; font-size: var(--fs-sm); }

/* =========================================================
   Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { backdrop-filter: blur(0px); }
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--border-light);
  box-shadow: 0 4px 24px rgba(20, 32, 51, 0.05);
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-link img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav-links a {
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  padding: 6px 2px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--brand-orange);
  border-radius: 2px;
  transition: right var(--dur-fast) var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after { right: 0; }

.nav-right { display: flex; align-items: center; gap: var(--sp-5); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}

.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-right .btn--primary.desktop-only { display: none; }
  .nav-toggle { display: inline-flex; }

  .mobile-menu {
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    background: #fff;
    z-index: 99;
    padding: var(--sp-6) var(--container-pad) var(--sp-8);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), visibility var(--dur-med);
    overflow-y: auto;
  }
  .mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  .mobile-menu nav ul { display: flex; flex-direction: column; gap: 2px; }
  .mobile-menu nav a {
    display: block;
    padding: 16px 4px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
  }
  .mobile-menu .btn { margin-top: var(--sp-6); }
}
@media (min-width: 941px) {
  .mobile-menu { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding-top: var(--sp-9);
  padding-bottom: var(--sp-7);
  background:
    radial-gradient(60% 55% at 82% 8%, var(--background-blue) 0%, rgba(238,244,255,0) 70%),
    var(--background-primary);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--sp-8);
  align-items: center;
}
.hero-copy h1 { color: var(--text-primary); margin-bottom: var(--sp-5); }
.hero-copy .lede {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 46ch;
  margin-bottom: var(--sp-6);
  line-height: var(--lh-relaxed);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.hero-credibility {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-credibility .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-orange);
  flex-shrink: 0;
}

.hero-visual { position: relative; }
.hero-visual-caption {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  text-align: center;
}

.scroll-cue {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-8);
  color: var(--text-secondary);
}
.scroll-cue svg { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue svg { animation: none; } }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .hero-copy { text-align: left; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* =========================================================
   Product system visual (real-photo composition)
   ========================================================= */
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 480 / 560;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--background-blue) 0%, #FFFFFF 100%);
  border: 1px solid var(--border-light);
}

.stage-signal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.stage-signal path { stroke: var(--border-light); }
.stage-signal .sv-signal-dot { animation: travel 3.4s var(--ease-out) infinite; }
@keyframes travel {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  85% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

.stage-photo {
  position: absolute;
  z-index: 2;
}
.stage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-md);
  background: #fff;
}
.stage-photo figcaption {
  position: absolute;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}
.stage-photo figcaption strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-primary);
}
.stage-photo figcaption span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.stage-photo--child {
  left: 5%;
  bottom: 9%;
  width: 36%;
  aspect-ratio: 1 / 1;
}
.stage-photo--child img { border-radius: 24px; }

.stage-photo--band {
  right: 6%;
  top: 6%;
  width: 26%;
  aspect-ratio: 466 / 900;
}
.stage-photo--band img { border-radius: 24px; }

.stage-photo--app {
  right: 6%;
  top: 58%;
  width: 34%;
  aspect-ratio: 473 / 435;
  z-index: 1;
}
.stage-photo--app img { border-radius: 18px; box-shadow: var(--shadow-sm); }

.stage-pulse {
  position: absolute;
  inset: -14%;
  border-radius: 24px;
  border: 1.5px solid var(--brand-blue);
  z-index: 1;
  pointer-events: none;
  animation: pulse-ring 2.6s ease-out infinite;
  transform-origin: center;
}
.stage-photo--child .stage-pulse {
  border-color: var(--brand-orange);
  border-radius: 50%;
  animation-delay: 1.1s;
}
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .stage-signal .sv-signal-dot, .stage-pulse { animation: none; opacity: 0; }
}

@media (max-width: 940px) {
  .stage-photo figcaption { bottom: -30px; }
  .stage-photo figcaption strong { font-size: 0.75rem; }
}

/* =========================================================
   Flow strip (section 3)
   ========================================================= */
.flow-strip { padding-block: var(--sp-7); }
.flow-strip-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: var(--sp-3);
  background: var(--background-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--sp-6) var(--sp-6);
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
}
.flow-step .flow-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--background-blue);
  color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.flow-step p { font-size: var(--fs-sm); font-weight: 600; line-height: var(--lh-snug); color: var(--text-primary); }
.flow-arrow { display: flex; align-items: center; color: var(--border-light); flex-shrink: 0; padding-top: 12px; }
.flow-arrow svg { color: var(--brand-orange); }

@media (max-width: 900px) {
  .flow-strip-inner { flex-direction: column; padding: var(--sp-5); gap: var(--sp-5); }
  .flow-arrow { transform: rotate(90deg); padding-top: 0; align-self: center; }
}

/* =========================================================
   Problem section (editorial split)
   ========================================================= */
.problem-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--sp-9);
  align-items: start;
}
.problem-copy h2 { margin-bottom: var(--sp-5); }
.problem-copy p { font-size: var(--fs-lg); color: var(--text-secondary); line-height: var(--lh-relaxed); max-width: 42ch; }

.observation-list { display: flex; flex-direction: column; }
.observation {
  display: flex;
  gap: var(--sp-5);
  padding-block: var(--sp-5);
  border-top: 1px solid var(--border-light);
}
.observation:last-child { border-bottom: 1px solid var(--border-light); }
.observation .num {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--brand-orange);
  flex-shrink: 0;
  width: 2.2ch;
}
.observation p { font-size: var(--fs-lg); font-weight: 600; color: var(--text-primary); line-height: var(--lh-snug); }

@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}

/* =========================================================
   How it works (steps)
   ========================================================= */
.steps-wrap { position: relative; }
.steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  position: relative;
}
.steps-list::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--border-light) 0%, var(--brand-orange) 50%, var(--border-light) 100%);
  opacity: 0.6;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.step .step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border-light);
  color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--fs-lg);
  position: relative;
  z-index: 1;
}
.step h3 { margin-top: 4px; }
.step p { color: var(--text-secondary); font-size: var(--fs-sm); line-height: var(--lh-relaxed); }

.metric-panel {
  margin-top: var(--sp-8);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-6);
  align-items: center;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--sp-6) var(--sp-7);
}
.metric-panel .metric-value {
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
}
.metric-panel .metric-label {
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.72);
  margin-bottom: 6px;
  display: block;
}
.metric-panel .metric-note {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.85);
  margin-top: 6px;
}

@media (max-width: 900px) {
  .steps-list { grid-template-columns: 1fr 1fr; row-gap: var(--sp-6); }
  .steps-list::before { display: none; }
  .metric-panel { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 520px) {
  .steps-list { grid-template-columns: 1fr; }
}

/* =========================================================
   Product system (section 6)
   ========================================================= */
.system-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
.panel {
  border-radius: var(--radius-xl);
  padding: var(--sp-7) var(--sp-6);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.panel--sensor { background: var(--background-blue); }
.panel--band { background: var(--background-soft); }
.panel-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-blue);
  margin-bottom: var(--sp-5);
}
.panel-label {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-orange);
  margin-bottom: var(--sp-2);
}
.panel h3 { margin-bottom: var(--sp-3); }
.panel > p.panel-desc { color: var(--text-secondary); margin-bottom: var(--sp-5); max-width: 40ch; }
.panel-points { display: flex; flex-wrap: wrap; gap: 8px; }
.panel-points li {
  font-size: var(--fs-sm);
  font-weight: 600;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border-light);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-primary);
}

.connector-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-block: var(--sp-3);
  color: var(--border-light);
}
.connector-row .line { flex: 1; height: 1px; background: var(--border-light); }
.connector-row svg { color: var(--brand-blue); flex-shrink: 0; }

.panel--app {
  background: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-6);
  align-items: center;
  padding: var(--sp-6);
}
.panel--app .panel-icon { margin-bottom: 0; }
.panel--app .app-body { min-width: 0; }
.panel--app h3 { font-size: var(--fs-lg); margin-bottom: 6px; }
.panel--app p.panel-desc { margin-bottom: var(--sp-3); font-size: var(--fs-sm); max-width: none; }

@media (max-width: 860px) {
  .system-panels { grid-template-columns: 1fr; }
  .panel--app { grid-template-columns: 1fr; text-align: left; }
}

/* =========================================================
   Earlier response (section 7)
   ========================================================= */
.response-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--sp-9);
  align-items: start;
}
.response-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.response-item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-4);
  border-radius: var(--radius-md);
  transition: background var(--dur-fast) var(--ease-out);
}
.response-item:hover { background: var(--background-orange); }
.response-item .r-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--background-orange);
  color: var(--brand-orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.response-item p { font-weight: 600; font-size: var(--fs-base); }
.response-note {
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}

@media (max-width: 900px) {
  .response-layout { grid-template-columns: 1fr; gap: var(--sp-6); }
}

/* =========================================================
   Why PaShield (section 8) — asymmetric
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-5);
}
.why-feature {
  grid-row: span 3;
  background: linear-gradient(160deg, var(--background-blue) 0%, #fff 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--sp-7);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
}
.why-feature .panel-icon { margin-bottom: var(--sp-6); background: #fff; }
.why-feature h3 { font-size: var(--fs-2xl); margin-bottom: var(--sp-3); }
.why-feature p { color: var(--text-secondary); font-size: var(--fs-lg); line-height: var(--lh-relaxed); max-width: 40ch; }

.why-row {
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
  padding: var(--sp-5);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}
.why-row .panel-icon { width: 44px; height: 44px; margin-bottom: 0; flex-shrink: 0; }
.why-row h3 { font-size: var(--fs-lg); margin-bottom: 6px; }
.why-row p { color: var(--text-secondary); font-size: var(--fs-sm); line-height: var(--lh-relaxed); }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-feature { min-height: 0; }
}

/* =========================================================
   Learning loop (section 9)
   ========================================================= */
.loop-flow {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
}
.loop-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-3);
  width: 160px;
}
.loop-node .loop-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--background-blue);
  color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
}
.loop-node:nth-child(4n+1) .loop-icon,
.loop-node.is-alert .loop-icon { background: var(--background-orange); color: var(--brand-orange); }
.loop-node p { font-size: var(--fs-sm); font-weight: 600; }
.loop-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  color: var(--border-light);
  flex-shrink: 0;
}
.loop-connector svg { color: var(--brand-blue); }
.loop-return {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  width: 100%;
  margin-top: var(--sp-5);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.loop-return svg { color: var(--brand-orange); }
.loop-copy {
  max-width: 640px;
  margin: var(--sp-7) auto 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
}

@media (max-width: 760px) {
  .loop-flow { flex-direction: column; align-items: center; }
  .loop-node { width: 100%; flex-direction: row; text-align: left; gap: var(--sp-4); }
  .loop-node .loop-icon { flex-shrink: 0; }
  .loop-connector { transform: rotate(90deg); width: auto; height: 32px; }
}

/* =========================================================
   Who it helps (editorial)
   ========================================================= */
.editorial {
  max-width: 800px;
  position: relative;
  padding-left: var(--sp-6);
  border-left: 3px solid var(--brand-orange);
}
.editorial h2 { margin-bottom: var(--sp-5); }
.editorial p { font-size: var(--fs-lg); color: var(--text-secondary); line-height: var(--lh-relaxed); margin-bottom: var(--sp-4); }
.editorial p:last-child { margin-bottom: 0; }

/* =========================================================
   Credibility (section 11)
   ========================================================= */
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.status-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-orange); flex-shrink: 0; }
.status-fineprint { margin-top: var(--sp-5); font-size: var(--fs-sm); color: var(--text-secondary); max-width: 60ch; }

/* =========================================================
   Pilot signup (section 12)
   ========================================================= */
.pilot-section {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  border-radius: var(--radius-xl);
  color: #fff;
  padding: var(--sp-8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}
.pilot-copy .eyebrow { color: #FFD9BE; }
.pilot-copy .eyebrow::before { background: #FFD9BE; }
.pilot-copy h2 { color: #fff; margin-bottom: var(--sp-4); }
.pilot-copy p { color: rgba(255,255,255,0.82); font-size: var(--fs-lg); line-height: var(--lh-relaxed); max-width: 46ch; }
.pilot-copy ul { margin-top: var(--sp-6); display: flex; flex-direction: column; gap: 12px; }
.pilot-copy ul li { display: flex; gap: 10px; align-items: center; font-size: var(--fs-sm); color: rgba(255,255,255,0.9); }
.pilot-copy ul li svg { color: var(--brand-orange); flex-shrink: 0; }

.pilot-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  color: var(--text-primary);
}
.form-row { margin-bottom: var(--sp-5); }
.form-row label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 8px;
}
.form-row .req { color: var(--brand-orange); }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: var(--fs-base);
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: var(--background-soft);
  color: var(--text-primary);
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.form-row textarea { resize: vertical; min-height: 96px; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--brand-blue);
  background: #fff;
  outline: none;
}
.form-row input[aria-invalid="true"],
.form-row select[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
  border-color: var(--brand-orange-dark);
  background: var(--background-orange);
}
.field-error {
  display: none;
  color: var(--brand-orange-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 6px;
}
.field-error.is-visible { display: block; }

.consent-row { display: flex; align-items: flex-start; gap: 10px; }
.consent-row input[type="checkbox"] {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--brand-blue);
}
.consent-row label { font-weight: 500; font-size: var(--fs-sm); color: var(--text-secondary); }

.form-status {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: none;
}
.form-status.is-success { display: block; background: var(--background-blue); color: var(--brand-blue-dark); }
.form-status.is-error { display: block; background: var(--background-orange); color: var(--brand-orange-dark); }

@media (max-width: 900px) {
  .pilot-section { grid-template-columns: 1fr; padding: var(--sp-6); border-radius: var(--radius-lg); }
}

/* =========================================================
   FAQ (section 13)
   ========================================================= */
.faq-list { max-width: 820px; }
.faq-item {
  border-bottom: 1px solid var(--border-light);
}
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  background: none;
  border: none;
  text-align: left;
  padding: var(--sp-5) 4px;
  cursor: pointer;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
}
.faq-question .chevron { flex-shrink: 0; transition: transform var(--dur-fast) var(--ease-out); color: var(--brand-blue); }
.faq-question[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-med) var(--ease-out);
}
.faq-answer-inner { padding: 0 4px var(--sp-5); color: var(--text-secondary); font-size: var(--fs-base); line-height: var(--lh-relaxed); max-width: 68ch; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--background-soft);
  border-top: 1px solid var(--border-light);
  padding-block: var(--sp-8) var(--sp-6);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-6);
  flex-wrap: wrap;
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--border-light);
}
.footer-logo img { height: 26px; margin-bottom: var(--sp-3); }
.footer-tagline { color: var(--text-secondary); font-size: var(--fs-sm); max-width: 32ch; }
.footer-links { display: flex; gap: var(--sp-8); flex-wrap: wrap; }
.footer-col h4 { font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); margin-bottom: var(--sp-3); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; font-size: var(--fs-sm); font-weight: 600; color: var(--text-primary); }
.footer-col a:hover { color: var(--brand-blue); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-5);
  flex-wrap: wrap;
  padding-top: var(--sp-6);
}
.footer-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  max-width: 62ch;
  line-height: var(--lh-relaxed);
}
.footer-copyright { font-size: 0.8125rem; color: var(--text-secondary); white-space: nowrap; }

@media (max-width: 640px) {
  .footer-top, .footer-bottom { flex-direction: column; }
  .footer-links { gap: var(--sp-6); }
}

/* =========================================================
   Legal placeholder pages
   ========================================================= */
.legal-page { padding-block: var(--sp-9); }
.legal-page .container { max-width: 780px; }
.legal-page h1 { font-size: var(--fs-3xl); margin-bottom: var(--sp-3); }
.legal-notice {
  background: var(--background-orange);
  border: 1px solid #F3C7A8;
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  margin-block: var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--brand-orange-dark);
  font-weight: 600;
}
.legal-page h2 { font-size: var(--fs-xl); margin-top: var(--sp-7); margin-bottom: var(--sp-3); }
.legal-page p { color: var(--text-secondary); line-height: var(--lh-relaxed); margin-bottom: var(--sp-4); }
