:root {
  --ink: #ecf4f7;
  --muted: #9babb4;
  --line: rgba(222, 237, 243, 0.14);
  --surface: #0d1d28;
  --surface-2: #122632;
  --navy: #07131c;
  --blue: #36b9e8;
  --gold: #d89a22;
  --teal: #33c7ae;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--navy);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--navy); color: var(--ink); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  padding: .75rem 1rem;
  background: var(--ink);
  color: var(--navy);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.status-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 2.5rem;
  padding: .6rem 1rem;
  background: #e8f5f7;
  color: #10242d;
  text-align: center;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .02em;
}
.status-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(216,154,34,.15); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  padding: 0 max(1.5rem, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(7, 19, 28, .88);
  backdrop-filter: blur(20px);
}
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(216,154,34,.65);
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 800;
}
.brand strong { display: block; font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; }
.brand small { display: block; margin-top: .15rem; color: var(--muted); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 1.75rem; }
nav a, .back-link { color: #d4e0e5; text-decoration: none; font-size: .84rem; font-weight: 700; }
nav a:hover, nav a:focus-visible, .back-link:hover, .back-link:focus-visible { color: var(--gold); }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 800; }

.hero {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  min-height: 720px;
  padding-block: 7rem;
}
.hero-copy { position: relative; }
.hero-copy::before { content: ""; position: absolute; inset: -14rem auto auto -16rem; width: 34rem; height: 34rem; border-radius: 50%; background: radial-gradient(circle, rgba(54,185,232,.13), transparent 68%); pointer-events: none; }
.eyebrow { margin: 0 0 1rem; color: var(--teal); font-size: .72rem; font-weight: 850; letter-spacing: .19em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
h1 { max-width: 780px; margin-bottom: 1.6rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.4rem, 6.8vw, 6.7rem); line-height: .95; font-weight: 500; }
h1 em { color: var(--gold); font-weight: 500; }
.lede { max-width: 650px; color: #b7c6ce; font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.2rem; padding: 0 1.25rem; border: 1px solid transparent; text-decoration: none; font-size: .8rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; transition: transform .18s ease, background .18s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button.primary { background: var(--gold); color: #111a20; }
.button.secondary { border-color: var(--line); background: rgba(255,255,255,.025); }
.microcopy { margin-top: 1.1rem; color: #71838d; font-size: .75rem; }

.assurance-card { position: relative; padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid var(--line); background: linear-gradient(145deg, rgba(18,38,50,.95), rgba(9,24,33,.95)); box-shadow: var(--shadow); }
.assurance-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(var(--gold), var(--blue)); }
.assurance-state { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 2.2rem; color: #c5d1d7; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.assurance-state span { width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); }
.assurance-card h2 { font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; font-weight: 500; }
.assurance-card > p { color: var(--muted); line-height: 1.7; }
.assurance-card dl { margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.assurance-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.assurance-card dt { color: var(--muted); }
.assurance-card dd { margin: 0; font-weight: 800; }

.section { padding-block: clamp(5rem, 10vw, 9rem); }
.section-heading { max-width: 760px; margin-bottom: 3.5rem; }
.section-heading.compact { margin-bottom: 2.5rem; }
.section-heading h2 { margin-bottom: 1rem; font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; font-weight: 500; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.06rem; line-height: 1.7; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.surface-card { min-height: 310px; padding: 2rem; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.surface-card.engine-card { background: linear-gradient(155deg, rgba(54,185,232,.1), rgba(255,255,255,.02)); }
.card-number { display: block; margin-bottom: 4rem; color: var(--gold); font-family: Georgia, serif; font-size: 1.1rem; }
.surface-card h3 { font-family: Georgia, serif; font-size: 2.15rem; font-weight: 500; }
.surface-card p:last-child { color: var(--muted); line-height: 1.65; }

.security-section { border-block: 1px solid var(--line); background: #0a1922; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); }
.split .section-heading { margin-bottom: 0; }
.check-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.check-list li { position: relative; padding: 1.25rem 1rem 1.25rem 2.25rem; border-bottom: 1px solid var(--line); color: #c6d3d9; line-height: 1.5; }
.check-list li::before { content: "✓"; position: absolute; left: .25rem; color: var(--teal); font-weight: 900; }

.timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.timeline li > span { color: #60727c; font-family: Georgia, serif; }
.timeline li.complete > span { color: var(--teal); }
.timeline li.active > span { color: var(--gold); }
.timeline strong { font-size: 1.05rem; }
.timeline p { margin: .4rem 0 0; color: var(--muted); line-height: 1.5; }

footer { padding-block: 3.5rem; border-top: 1px solid var(--line); background: #050f16; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: start; gap: 2rem; }
.footer-grid a { color: #cfdbe0; text-decoration: none; }
.footer-grid a:hover { color: var(--gold); }
.copyright { grid-column: 1 / -1; margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); color: #647680; font-size: .75rem; }

.recovery-header { position: static; }
.recovery-main { padding-block: clamp(5rem, 10vw, 8rem); }
.recovery-intro { max-width: 880px; }
.recovery-intro h1 { font-size: clamp(3.25rem, 7vw, 6.5rem); }
.recovery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 5rem; }
.recovery-card { min-height: 300px; padding: 2rem; border: 1px solid var(--line); background: var(--surface); }
.recovery-card h2 { font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.recovery-card p { color: var(--muted); line-height: 1.65; }
.recovery-card a { color: var(--gold); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: .25rem; }
.recovery-warning { margin-top: 1rem; padding: 1.5rem 2rem; border-left: 3px solid var(--gold); background: rgba(216,154,34,.08); }
.recovery-warning p { margin: .4rem 0 0; color: var(--muted); }

.error-page { display: grid; min-height: 100vh; place-items: center; padding: 2rem; background: radial-gradient(circle at 20% 20%, rgba(54,185,232,.12), transparent 35%), var(--navy); }
.error-page main { max-width: 820px; }
.error-page .brand { margin-bottom: 5rem; }
.error-page h1 { font-size: clamp(3rem, 7vw, 6rem); }
.error-page p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }

@media (max-width: 900px) {
  .site-header { padding-inline: 1.5rem; }
  .menu-button { display: block; }
  nav { position: absolute; inset: 100% 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.5rem 1.5rem; border-bottom: 1px solid var(--line); background: #08151e; }
  nav[data-open] { display: flex; }
  nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .hero, .split { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-block: 5rem; }
  .card-grid, .recovery-grid { grid-template-columns: 1fr; }
  .surface-card, .recovery-card { min-height: auto; }
  .card-number { margin-bottom: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 2rem, 1180px); }
  .status-bar { font-size: .7rem; }
  .site-header { min-height: 4.8rem; padding-inline: 1rem; }
  .brand-mark { width: 2.25rem; height: 2.25rem; }
  .brand small { display: none; }
  .hero { padding-block: 4rem; }
  h1 { font-size: clamp(3rem, 17vw, 4.8rem); }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .assurance-card { padding: 1.6rem; }
  .section { padding-block: 4.5rem; }
  .section-heading h2 { font-size: 2.55rem; }
  .timeline li { grid-template-columns: 3rem 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .copyright { grid-column: 1; }
  .back-link { font-size: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
