:root {
  --bg: #FBFBFA;
  --bg-dark: #0F1B32;
  --bg-dark-raised: #17284A;
  --card: #FFFFFF;
  --ink: #17191A;
  --ink-on-dark: #F3F3F1;
  --ink-dim: #6B6F6D;
  --ink-dim-on-dark: #A6B2CC;
  --ink-faint: #9A9D9A;
  --accent: #0D6E68;
  --accent-bright: #159088;
  --accent-tint: rgba(13, 110, 104, 0.08);
  --status-eol: #B14B42;
  --status-eol-bg: #FBECEA;
  --status-active: #3E8A63;
  --status-active-bg: #EAF5EE;
  --status-watch: #B08A2E;
  --status-watch-bg: #FBF3E1;
  --line: #E7E6E2;
  --line-on-dark: #2B3E63;
  --shadow-sm: 0 1px 2px rgba(20, 20, 18, 0.04), 0 1px 1px rgba(20,20,18,0.03);
  --shadow-lg: 0 30px 60px -20px rgba(20, 20, 18, 0.18), 0 10px 24px -12px rgba(20,20,18,0.08);
  --radius: 18px;
  --radius-sm: 10px;
  --content-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.011em;
}

.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: 0; }
a { color: inherit; }

.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 251, 250, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.logo-mark { flex-shrink: 0; display: block; }
.logo .x { color: var(--accent); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-grow: 1;
  justify-content: center;
}
.header-nav a {
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-dim);
  transition: color 0.15s ease;
}
.header-nav a:hover, .header-nav a.active { color: var(--ink); }

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: var(--bg-dark);
  color: #F4FBFA;
  padding: 9px 18px;
  border-radius: 100px;
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--bg-dark-raised); opacity: 1; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 16px;
}
.on-dark .eyebrow { color: var(--accent-bright); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 100px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero.centered { text-align: center; }
.hero.centered .hero-sub { margin-left: auto; margin-right: auto; }
.hero.centered .hero-actions { justify-content: center; }
.hero.compact { padding: 64px 0 72px; }

h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  font-weight: 800;
}
h1.page-title { font-size: clamp(34px, 4vw, 48px); }
h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 46ch;
  margin: 0 0 36px;
  letter-spacing: -0.006em;
}
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.btn-primary {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: var(--accent);
  color: #F4FBFA;
  padding: 15px 26px;
  border-radius: 100px;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-ghost {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 15px 4px;
  border-bottom: 1.5px solid var(--ink);
  transition: opacity 0.15s ease;
}
.btn-ghost:hover { opacity: 0.65; }

.trust-row {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero.centered .trust-row { justify-content: center; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-dim);
  font-weight: 500;
}
.trust-item svg { flex-shrink: 0; }

/* ---------- Signature demo card ---------- */
.demo-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.demo-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.demo-label .badge {
  background: var(--accent-tint);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
}
.demo-cols {
  display: grid;
  grid-template-columns: 40px 1fr 96px;
  gap: 12px;
  padding: 0 2px 10px;
  color: var(--ink-faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.part-line {
  display: grid;
  grid-template-columns: 40px 1fr 96px;
  gap: 12px;
  align-items: center;
  padding: 6px 2px;
  height: 30px;
}
.part-line .ref { color: var(--ink-dim); font-size: 14px; font-weight: 600; }
.mpn-swap { position: relative; height: 20px; }
.mpn-swap span { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 14px; }
.mpn-old { color: var(--ink-faint); animation: showOld 7s infinite; }
.mpn-old::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1.5px; background: var(--status-eol);
  transform: scaleX(0); transform-origin: left;
  animation: strike 7s infinite;
}
.mpn-new { color: var(--ink); font-weight: 600; opacity: 0; animation: showNew 7s infinite; }
.tag-swap { position: relative; width: 74px; height: 24px; justify-self: end; }
.tag-swap span { position: absolute; right: 0; top: 0; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; padding: 4px 11px; border-radius: 100px; display: inline-block; }
.tag-eol { background: var(--status-eol-bg); color: var(--status-eol); }
.tag-active { background: var(--status-active-bg); color: var(--status-active); }
.tag-watch { background: var(--status-watch-bg); color: var(--status-watch); }
.tag-swap .tag-eol { animation: showOld 7s infinite; }
.tag-swap .tag-active { opacity: 0; animation: showNew 7s infinite; }

@keyframes showOld { 0%, 40% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes strike { 0%, 32% { transform: scaleX(0); } 44%, 100% { transform: scaleX(1); } }
@keyframes showNew { 0%, 50% { opacity: 0; } 60%, 100% { opacity: 1; } }

.demo-verify {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-dim);
}
.demo-verify svg { flex-shrink: 0; color: var(--status-active); }

/* ---------- Section rhythm ---------- */
section { padding: 108px 0; }
section.tight { padding: 72px 0; }
.on-dark { background: var(--bg-dark); color: var(--ink-on-dark); }
.on-dark .section-lede { color: var(--ink-dim-on-dark); }
h2 {
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.12;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
h2.centered { margin-left: auto; margin-right: auto; text-align: center; max-width: 22ch; }
.section-lede {
  font-size: 17.5px;
  color: var(--ink-dim);
  max-width: 60ch;
  margin: 0 0 56px;
  line-height: 1.6;
  letter-spacing: -0.006em;
}
.centered .section-lede { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

/* ---------- Why now (dark band) ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-item {
  background: var(--bg-dark-raised);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  border: 1px solid var(--line-on-dark);
}
.why-item .stat {
  color: var(--accent-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 12px;
}
.why-item p { color: var(--ink-dim-on-dark); font-size: 15px; margin: 0; line-height: 1.6; }

/* ---------- Offer / Pricing cards ---------- */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.offer-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.offer-card.featured { box-shadow: var(--shadow-lg); border-color: transparent; position: relative; }
.offer-card.featured::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--accent), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.offer-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.offer-card.featured .offer-kicker { color: var(--accent); }
.offer-card h3 { font-size: 23px; margin: 0 0 12px; font-weight: 800; letter-spacing: -0.02em; }
.offer-card p.desc { color: var(--ink-dim); font-size: 15.5px; line-height: 1.6; margin: 0 0 26px; }
.offer-price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 26px; }
.offer-price .amount { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.offer-price .period { font-size: 15px; color: var(--ink-dim); font-weight: 500; }
.offer-list { list-style: none; padding: 0; margin: 0 0 30px; flex-grow: 1; }
.offer-list li { font-size: 14.5px; color: var(--ink); padding: 11px 0; border-top: 1px solid var(--line); display: flex; gap: 11px; }
.offer-list li:first-child { border-top: none; }
.offer-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }

/* ---------- Process (dark band) ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-item {
  background: var(--bg-dark-raised);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-sm);
  padding: 26px 22px;
}
.process-num { font-size: 13px; font-weight: 700; color: var(--accent-bright); margin-bottom: 16px; }
.process-item h4 { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; }
.process-item p { margin: 0; color: var(--ink-dim-on-dark); font-size: 14px; line-height: 1.55; }

/* ---------- Who it's for ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fit-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.fit-item .check {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fit-item p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink); }

/* ---------- About ---------- */
.about-block { max-width: 68ch; }
.about-block p { font-size: 18px; color: var(--ink-dim); line-height: 1.65; margin: 0 0 22px; letter-spacing: -0.008em; }
.about-block p strong { color: var(--ink); font-weight: 700; }

/* ---------- Final CTA (dark band) ---------- */
.final-cta { text-align: center; }
.final-cta h2 { margin-left: auto; margin-right: auto; max-width: 20ch; }
.final-cta .hero-sub { margin-left: auto; margin-right: auto; text-align: center; color: var(--ink-dim-on-dark); }
.final-cta .hero-actions { justify-content: center; }
.final-cta .btn-ghost { color: var(--ink-on-dark); border-color: var(--ink-on-dark); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 76ch; }
.faq-item { padding: 24px 0; border-top: 1px solid var(--line); }
.faq-item:first-child { border-top: none; }
.faq-item h4 { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; }
.faq-item p { margin: 0; color: var(--ink-dim); font-size: 15px; line-height: 1.6; max-width: 62ch; }

/* ---------- Report page ---------- */
.report-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.report-head {
  padding: 32px 36px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.report-head .r-title { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 6px; }
.report-head .r-meta { font-size: 13px; color: var(--ink-faint); }
.report-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.report-stat { text-align: right; }
.report-stat .n { font-size: 24px; font-weight: 800; display: block; }
.report-stat.eol .n { color: var(--status-eol); }
.report-stat.watch .n { color: var(--status-watch); }
.report-stat.ok .n { color: var(--status-active); }
.report-stat .l { font-size: 12px; color: var(--ink-faint); font-weight: 600; letter-spacing: 0.03em; }

.report-table { width: 100%; border-collapse: collapse; }
.report-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #F6F6F3;
}
.report-table td {
  padding: 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.report-table tr:last-child td { border-bottom: none; }
.report-table td.mono { font-size: 13.5px; }
.report-table td.dim { color: var(--ink-dim); }

.report-narrative { padding: 36px; border-top: 1px solid var(--line); }
.narrative-item { padding: 20px 0; border-top: 1px solid var(--line); }
.narrative-item:first-child { border-top: none; padding-top: 0; }
.narrative-item h4 { margin: 0 0 8px; font-size: 15.5px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.narrative-item p { margin: 0; color: var(--ink-dim); font-size: 14.5px; line-height: 1.6; max-width: 68ch; }

.report-note {
  text-align: center;
  max-width: 60ch;
  margin: 40px auto 0;
  font-size: 14.5px;
  color: var(--ink-faint);
  line-height: 1.6;
}

/* ---------- Contact / form ---------- */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info p { color: var(--ink-dim); font-size: 16px; line-height: 1.65; max-width: 42ch; margin: 0 0 28px; }
.contact-points { list-style: none; padding: 0; margin: 0; }
.contact-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink);
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.contact-points li:first-child { border-top: none; }
.contact-points li svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-row .optional { font-weight: 400; color: var(--ink-faint); }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.form-row textarea { resize: vertical; min-height: 100px; }

.file-drop {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  position: relative;
}
.file-drop:hover, .file-drop.dragover { border-color: var(--accent); background: var(--accent-tint); }
.file-drop input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
}
.file-drop .fd-icon { color: var(--accent); margin-bottom: 10px; }
.file-drop .fd-text { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.file-drop .fd-sub { font-size: 12.5px; color: var(--ink-faint); }
.file-drop .fd-filename { font-size: 13.5px; font-weight: 600; color: var(--accent); margin-top: 8px; }

.form-note { font-size: 12.5px; color: var(--ink-faint); margin-top: 16px; line-height: 1.6; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.visible { display: block; }
.form-success .fs-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--status-active-bg); color: var(--status-active);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.form-success h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; }
.form-success p { margin: 0; color: var(--ink-dim); font-size: 15px; }

footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--line-on-dark);
  padding: 36px 0;
  font-size: 13px;
  color: var(--ink-faint);
}
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; color: var(--ink-faint); transition: color 0.15s ease; }
.footer-links a:hover { color: var(--ink-on-dark); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .report-table { display: block; overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .report-stats { gap: 20px; }
}

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