/* ==========================================================================
   Maspeth Tech — maspeth.tech rebuild
   Design system per build spec v1.0 (July 2026)
   ========================================================================== */

:root {
  --ink:        #16181D;  /* near-black graphite — primary text, dark sections */
  --steel:      #33415C;  /* steel blue — secondary headings, diagram strokes, links on light */
  --paper:      #F4F5F3;  /* cool shop-floor white — page background */
  --white:      #FFFFFF;  /* cards on paper */
  --signal:     #E8590C;  /* safety orange — CTAs, key stats, active states ONLY */
  --line:       #D5D8DC;  /* hairline rules, borders */
  --label:      #5C6470;  /* mono micro-labels, captions */
  --signal-bg:  #FDEEE3;  /* 8% tint of signal for subtle highlights */

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  --nav-h: 64px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

body { overflow-x: hidden; }

/* Prevent grid blowout: nowrap content (mono log lines, labels) must not
   force columns wider than the viewport */
.hero-grid > *, .results-grid > *, .team-grid > *,
.feature-row > *, .card-grid-3 > *, .steps-grid > *,
.pricing-grid > *, .security-grid > * { min-width: 0; }

a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

::selection { background: var(--signal-bg); }

/* ---- Type roles ---- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  letter-spacing: -0.02em;
  font-style: normal;
  color: var(--ink);
}

h1 { font-size: 64px; line-height: 1.05; font-weight: 700; }
h2 { font-size: 40px; line-height: 1.15; font-weight: 700; }
h3 { font-size: 24px; line-height: 1.3; font-weight: 600; }

p { max-width: 68ch; }

.em-signal { color: var(--signal); }
.em-steel  { color: var(--steel); }

.mono,
.eyebrow,
.microtrust,
.cred-strip,
.tb-label,
.step-foot,
.pilot-step,
.tier-foot,
.footer-meta {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 400;
}

/* Section eyebrow: 24px orange rule + mono label */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--label);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--signal);
  flex: none;
}

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 104px 0; }
.section-head { margin-bottom: 48px; }
.section-head h2 { max-width: 22ch; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
  text-align: left;
}
.btn-primary { background: var(--signal); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-secondary-dark { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-secondary-dark:hover { background: var(--paper); color: var(--ink); }

/* ---- Title block (signature component) ---- */
.titleblock {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
}
/* 6px corner tick marks via two pseudo-elements (top-left/bottom-right on the
   block, top-right/bottom-left on an inner wrapper) */
.titleblock::before, .titleblock::after,
.tb-ticks::before, .tb-ticks::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  pointer-events: none;
}
.titleblock::before {
  top: -1px; left: -7px;
  border-top: 1px solid var(--label);
  width: 13px;
}
.titleblock::after {
  bottom: -7px; right: -1px;
  border-right: 1px solid var(--label);
  height: 13px;
}
.tb-ticks::before {
  top: -7px; left: -1px;
  border-left: 1px solid var(--label);
  height: 13px;
}
.tb-ticks::after {
  bottom: -1px; right: -7px;
  border-bottom: 1px solid var(--label);
  width: 13px;
}
.tb-ticks { position: absolute; inset: 0; pointer-events: none; }

.tb-label {
  color: var(--label);
  font-size: 12px;
  display: block;
  margin-bottom: 4px;
}
.tb-value {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.tb-value.signal { color: var(--signal); }
.tb-note { font-size: 13px; color: var(--label); margin-top: 4px; font-family: var(--font-body); text-transform: none; letter-spacing: 0; }

/* ---- Sticky nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  justify-self: start;
}
.nav-logo img { height: 34px; width: 34px; flex: none; display: block; }
.nav-logo span {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--signal);
  white-space: nowrap;
}
.nav nav[aria-label="Main"] { justify-self: center; }
.nav .btn-primary { justify-self: end; }
.nav-toggle { justify-self: end; }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--steel); }
.nav-links a.active { border-bottom-color: var(--signal); }
.nav .btn { padding: 10px 20px; font-size: 15px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  padding: 8px 14px;
  cursor: pointer;
  color: var(--ink);
}

/* Mobile overlay menu */
.nav-overlay {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--paper);
  z-index: 99;
  padding: 40px 24px;
}
.nav-overlay.open { display: block; }
.nav-overlay ul { list-style: none; }
.nav-overlay ul a {
  display: block;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.nav-overlay .btn { margin-top: 32px; display: inline-block; }

/* ---- Hero ---- */
.hero { padding: 96px 0 88px; }
.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: start;
}
.hero h1 { margin: 0 0 24px; max-width: 15ch; }
.hero-sub { font-size: 19px; color: var(--steel); margin-bottom: 32px; max-width: 54ch; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.cta-link {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  align-self: center;
  padding: 14px 0;
}
.cta-link:hover { color: var(--signal); }
.microtrust { color: var(--label); font-size: 12px; }

/* Hero title-block card */
.hero-card { width: 100%; }
.hero-card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--label);
}
.hero-card-status { color: var(--signal); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero-card-status::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--signal);
  display: inline-block;
}
.hero-card-cells {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-card-cells .cell {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.hero-card-cells .cell:nth-child(odd) { border-right: 1px solid var(--line); }

.hero-log {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  line-height: 2;
  color: var(--steel);
  min-height: 148px;
}
.hero-log .log-line { display: block; visibility: hidden; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-log .log-line.shown { visibility: visible; }
.hero-log .log-line .tick { color: var(--label); margin-right: 8px; }
.hero-log .log-line.final { color: var(--ink); }
.hero-log .log-line.final .tick { color: var(--signal); }

/* ---- Credibility strip ---- */
.cred-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
  background: var(--white);
}
.cred-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cred-chip {
  background: var(--white);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cred-chip .tb-label { color: var(--label); }
.cred-value {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
}
.cred-value.signal { color: var(--signal); }

/* ---- Problem cards ---- */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card { padding: 0; }
.problem-card .card-stat {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--signal);
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--signal-bg);
}
.problem-card .card-body { padding: 24px; }
.problem-card h3 { font-size: 20px; margin-bottom: 12px; }
.problem-card p { font-size: 15.5px; color: var(--steel); }

.problem-close {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--steel);
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  max-width: 46ch;
}

/* ---- Product section ---- */
.product-lead { font-size: 19px; color: var(--steel); max-width: 62ch; margin-bottom: 72px; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row:nth-child(even) .feature-visual { order: -1; }
.feature-copy h3 { margin-bottom: 12px; }
.feature-copy p { color: var(--steel); font-size: 16px; }
.feature-visual { padding: 8px; }
.feature-visual svg { width: 100%; height: auto; display: block; }

/* ---- How it works ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.step-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--signal);
}
.step h3 { font-size: 22px; }
.step p { font-size: 15.5px; color: var(--steel); flex: 1; }
.step-foot {
  color: var(--label);
  font-size: 11.5px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* ---- Knowledge gaps demo ---- */
.gaps-panel { max-width: 100%; }
.gaps-head {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--label);
}
.gap-item { padding: 24px; border-bottom: 1px solid var(--line); }
.gap-item:last-child { border-bottom: 0; }
.gap-source {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11.5px;
  color: var(--label);
  margin-bottom: 10px;
}
.gap-item .gap-text { font-size: 16px; margin-bottom: 18px; max-width: 58ch; }
.gap-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.gap-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 10px 18px;
  cursor: default;
}
.gap-metric {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11.5px;
  color: var(--signal);
}
.gaps-caption { margin-top: 24px; color: var(--label); font-size: 15px; max-width: 68ch; }

/* ---- Results ---- */
.results-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: start;
}
.results-attribution {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--label);
  margin-bottom: 20px;
}
.results-narrative p { font-size: 17px; color: var(--ink); margin-bottom: 16px; }
.metrics-block .cell { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.metrics-block .cell:last-child { border-bottom: 0; }
.metrics-block .tb-value { font-size: 32px; }

/* ---- Security (dark) ---- */
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark .eyebrow { color: var(--line); }
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(244, 245, 243, 0.18);
  border: 1px solid rgba(244, 245, 243, 0.18);
  margin-bottom: 48px;
}
.security-cell { background: var(--ink); padding: 32px; }
.security-cell h3 { font-size: 20px; margin-bottom: 12px; }
.security-cell p { font-size: 15.5px; color: var(--line); }
.security-cta { text-align: center; }
.security-cta-note {
  margin: 16px auto 0;
  max-width: 46ch;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: var(--label);
}

/* ---- Team ---- */
.team-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}
.team-photo-frame { padding: 0; overflow: hidden; }
.team-photo-frame img { width: 100%; height: auto; }
.team-photo-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(92,100,112,0.06) 10px 11px);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--label);
  text-align: center;
  padding: 24px;
}
.team-caption {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11.5px;
  color: var(--label);
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}
.team-copy h3 { margin-bottom: 20px; }
.team-copy ul { list-style: none; }
.team-copy li {
  padding: 14px 0 14px 24px;
  border-top: 1px solid var(--line);
  position: relative;
  color: var(--steel);
  font-size: 16px;
  max-width: 60ch;
}
.team-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 12px;
  height: 1px;
  background: var(--signal);
}
.advisors {
  margin-top: 40px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--label);
  display: flex;
  gap: 8px 32px;
  flex-wrap: wrap;
}

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.tier { display: flex; flex-direction: column; }
.tier-name {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--label);
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
}
.tier-price {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.tier-price .tb-value { font-size: 32px; }
.tier-body { padding: 24px; flex: 1; }
.tier-body .tier-for { font-weight: 600; font-size: 16px; margin-bottom: 10px; }
.tier-body .tier-inc { font-size: 15px; color: var(--steel); }
.tier-foot {
  color: var(--label);
  font-size: 11px;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
}
.tier-featured {
  border: 2px solid var(--signal);
  margin-top: 14px;
}
.tier-featured .tier-price .tb-value { color: var(--signal); }
.tier-badge {
  position: absolute;
  top: -13px;
  left: 22px;
  background: var(--signal);
  color: var(--white);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  white-space: nowrap;
}

.pilot-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.pilot-step {
  color: var(--ink);
  font-size: 11.5px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px 14px;
}
.pilot-arrow { color: var(--signal); font-family: var(--font-mono); }
.pilot-caption { color: var(--label); font-size: 15px; max-width: 68ch; }

/* ---- FAQ ---- */
.faq-list { max-width: 860px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 22px 4px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}
.faq-q .faq-toggle {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--label);
  flex: none;
  width: 20px;
  text-align: center;
}
.faq-item[data-open] .faq-toggle { color: var(--signal); }
.faq-a { display: none; padding: 0 44px 24px 4px; }
.faq-item[data-open] .faq-a { display: block; }
.faq-a p { color: var(--steel); font-size: 16px; }

/* ---- Final CTA ---- */
.final-cta { text-align: left; }
.final-cta h2 { max-width: 24ch; margin-bottom: 20px; }
.final-cta .sub {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12.5px;
  color: var(--line);
  margin-bottom: 36px;
}
.cta-form { display: flex; gap: 12px; max-width: 560px; flex-wrap: wrap; }
.cta-form input[type="email"] {
  flex: 1 1 280px;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(244, 245, 243, 0.35);
  background: transparent;
  color: var(--paper);
  border-radius: 0;
}
.cta-form input[type="email"]::placeholder { color: rgba(244, 245, 243, 0.5); }
.cta-form input[type="email"]:focus { border-color: var(--paper); outline: 2px solid var(--signal); outline-offset: 2px; }
.cta-message {
  font-size: 16px;
  color: var(--paper);
  border: 1px solid rgba(244, 245, 243, 0.35);
  padding: 14px 16px;
  max-width: 560px;
}
.cta-message.is-error { color: #E24B4A; border-color: rgba(226, 75, 74, 0.5); }

/* ---- Footer ---- */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--line); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo img { height: 32px; width: 32px; flex: none; display: block; }
.footer-logo span {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--signal);
}
.footer p, .footer a { font-size: 15px; color: var(--label); }
.footer a:hover { color: var(--ink); }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer-meta {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--label);
  font-size: 11.5px;
}

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 400ms ease-out, transform 400ms ease-out; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Inner pages (blog / privacy) ---- */
.page { padding: 80px 0 120px; }
.page h1 { font-size: 44px; margin-bottom: 24px; }
.page h2 { font-size: 26px; margin: 40px 0 12px; }
.page p, .page li { color: var(--steel); margin-bottom: 14px; max-width: 68ch; }
.page ul { padding-left: 20px; }
.blog-empty {
  padding: 40px;
  margin-top: 40px;
}
.blog-empty p { color: var(--label); margin: 0; }
.blog-post-card { margin-top: 40px; transition: border-color 200ms ease-out; }
.blog-post-card:hover { border-color: var(--steel); }
.blog-post-link { display: block; padding: 32px 40px; color: inherit; }
.blog-post-link:hover { color: inherit; }
.blog-post-date { color: var(--label); margin-bottom: 8px; }
.blog-post-title { font-size: 26px; margin: 0 0 12px; }
.blog-post-excerpt { color: var(--steel); margin: 0; max-width: 68ch; }

/* ==========================================================================
   Responsive — breakpoints 1200 / 900 / 600
   ========================================================================== */

@media (max-width: 1200px) {
  .container, .nav-inner { max-width: 100%; }
}

@media (max-width: 900px) {
  h1 { font-size: 48px; }
  h2 { font-size: 34px; }
  .section { padding: 88px 0; }
  .hero { padding: 64px 0; }
  .hero-grid, .results-grid, .team-grid { grid-template-columns: 1fr; }
  .cred-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 24px; }
  .feature-row:nth-child(even) .feature-visual { order: 0; }
  .nav-inner { display: flex; justify-content: space-between; }
  .nav-links, .nav .btn-primary { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  h3 { font-size: 20px; }
  .section { padding: 64px 0; }
  .card-grid-3, .steps-grid, .pricing-grid, .security-grid, .footer-grid, .cred-strip-grid { grid-template-columns: 1fr; }
  .hero-card-cells { grid-template-columns: 1fr 1fr; }
  .problem-close { font-size: 20px; }
  .metrics-block .tb-value, .tier-price .tb-value { font-size: 28px; }
  .pilot-strip { flex-direction: column; align-items: flex-start; }
  .pilot-arrow { display: none; }
  .tier-badge { white-space: normal; left: 12px; right: 12px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-log .log-line { visibility: visible; }
}
