:root {
  --black: #0a0a0a;
  --off-white: #f5f4f0;
  --accent: #2563eb;
  --accent-light: #dbeafe;
  --muted: #6b7280;
  --border: #e5e7eb;
  --red: #dc2626;
  --red-light: #fef2f2;
  --green: #16a34a;
  --green-light: #f0fdf4;
  --max-w: 760px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  color: var(--black);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ─────────────────────────────────────────── */
nav {
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo-img {
  height: 32px;
  width: 32px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--black); text-decoration: none; }

.nav-links a.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
}

.nav-links a.nav-cta:hover { background: #1d4ed8; color: #fff; text-decoration: none; }

/* On mobile: hide scroll-anchor links, keep email + CTA */
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links li.nav-anchor { display: none; }
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px 60px;
}

.hero-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: #1d4ed8; text-decoration: none; }

.btn-secondary {
  background: transparent;
  color: var(--black);
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: #9ca3af; text-decoration: none; }

/* ── Sections ─────────────────────────────────────── */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 24px;
  border-top: 1px solid var(--border);
}

.section-tinted {
  background: #f8f8f6;
}

.section-tinted.section {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  border-top: 1px solid var(--border);
}

.section-tinted .section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 24px;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.section h2 {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-intro {
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 560px;
}

/* ── Problem / contrast ───────────────────────────── */
.contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .contrast { grid-template-columns: 1fr; }
}

.contrast-col {
  border-radius: 8px;
  padding: 20px 24px;
}

.contrast-bad {
  background: var(--red-light);
  border: 1px solid #fecaca;
}

.contrast-good {
  background: var(--green-light);
  border: 1px solid #bbf7d0;
}

.contrast-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contrast-bad .contrast-label { color: var(--red); }
.contrast-good .contrast-label { color: var(--green); }

.contrast-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contrast-col li {
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
  color: var(--black);
}

.contrast-bad li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.8rem;
  top: 2px;
}

.contrast-good li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.8rem;
  top: 2px;
}

/* ── How it works ─────────────────────────────────── */
.steps {
  display: grid;
  gap: 24px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-body strong {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.step-body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.step-body code {
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
  font-size: 0.85em;
  background: #f3f4f6;
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--black);
}

/* ── How PathReader fits ──────────────────────────── */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.fit-item {
  background: #f8f8f6;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.fit-item.fit-pathreader {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.fit-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.fit-item.fit-pathreader strong {
  color: #1d4ed8;
}

.fit-item p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* ── Use cases ────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.card-icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* ── Regulatory timeline ──────────────────────────── */
.reg-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.reg-item {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.reg-item:last-child { border-bottom: none; }

.reg-date {
  flex-shrink: 0;
  width: 90px;
  padding: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding-top: 18px;
}

.reg-now {
  background: var(--red-light);
  color: var(--red);
  border-right: 1px solid #fecaca;
}

.reg-soon {
  background: #fffbeb;
  color: #b45309;
  border-right: 1px solid #fde68a;
}

.reg-deadline {
  background: #f0fdf4;
  color: var(--green);
  border-right: 1px solid #bbf7d0;
}

.reg-body {
  padding: 16px 20px;
  flex: 1;
}

.reg-body strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.reg-body p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.reg-global {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 560px;
}

/* ── Early access ─────────────────────────────────── */
.early-access-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* ── Footer ───────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Modal ────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.55);
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
}
.modal-overlay:not([hidden]) {
  display: flex;
}
.modal-box {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none; border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.modal-close:hover { color: var(--black); }
.modal-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.modal-helper {
  color: var(--muted); font-size: 0.9rem;
  margin-bottom: 24px; line-height: 1.5;
}
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 0.875rem;
  font-weight: 500; margin-bottom: 6px;
}
.req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%; padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 6px; font-size: 0.9rem;
  font-family: inherit; color: var(--black);
  background: #fff; transition: border-color 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.field textarea { resize: vertical; }
.btn-block { width: 100%; margin-top: 8px; padding: 13px; font-size: 1rem; }
.form-msg { font-size: 0.875rem; margin-bottom: 10px; border-radius: 6px; padding: 10px 12px; }
.form-error { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; }
.form-success {
  text-align: center; padding: 24px 0 8px;
  color: var(--black); font-size: 0.95rem; line-height: 1.6;
}
