:root {
  --primary: #3d6df7;
  --primary-strong: #234de3;
  --accent: #35b6ff;
  --ink: #1f2738;
  --muted: #5e6b80;
  --bg: #f2f5fb;
  --card: #ffffff;
  --line: #e3e8f2;
  --shadow: 0 18px 50px rgba(17, 30, 74, 0.12);
  --shadow-soft: 0 12px 32px rgba(17, 30, 74, 0.08);
  --radius: 16px;
  --max-width: 1100px;
}

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

body {
  margin: 0;
  font-family: "Assistant", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 10px;
  color: var(--ink);
}

p {
  margin: 0 0 12px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
}

.topbar {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.94));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand img {
  width: 125px;
  max-width: 40vw;
}

.action-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-weight: 600;
  color: var(--muted);
}

.nav a {
  padding: 8px 10px;
  border-radius: 10px;
}

.nav a:hover {
  color: var(--primary-strong);
  background: rgba(61, 109, 247, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: var(--shadow);
}

.button.ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--primary-strong);
  box-shadow: var(--shadow-soft);
}

.button.login {
  background: linear-gradient(135deg, #e9edfb, #ffffff);
  border-color: var(--line);
  color: var(--primary-strong);
  box-shadow: var(--shadow-soft);
}

body[data-era="pre"] .era-content[data-era="post"],
body[data-era="pre"] .era-flex[data-era="post"],
body[data-era="pre"] .era-inline-flex[data-era="post"] {
  display: none;
}

body[data-era="post"] .era-content[data-era="pre"],
body[data-era="post"] .era-flex[data-era="pre"],
body[data-era="post"] .era-inline-flex[data-era="pre"] {
  display: none;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 60px;
  background:
    radial-gradient(circle at 10% 20%, rgba(61, 109, 247, 0.15), transparent 36%),
    radial-gradient(circle at 90% 8%, rgba(53, 182, 255, 0.15), transparent 32%),
    linear-gradient(135deg, #f7f9ff 0%, #ffffff 55%, #eff4ff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(240, 244, 255, 0.85) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 8px 0 12px;
}

.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-strong);
  font-size: 12px;
  margin-bottom: 10px;
}

.lede {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 18px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list li {
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual {
  display: flex;
  justify-content: center;
}

.image-frame {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
  max-width: 520px;
}

.image-frame img {
  border-radius: 12px;
}

.section {
  padding: 72px 0;
  background: transparent;
}

.section.alt {
  background: linear-gradient(180deg, #ffffff 0%, #f3f6ff 100%);
  border-block: 1px solid var(--line);
}

.centered {
  text-align: center;
}

.section h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 10px;
}

.body {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 12px;
}

.card-grid {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

.card-grid.two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 24px;
}

.card-grid.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 24px;
}

.card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(61, 109, 247, 0.12);
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 12px;
  width: fit-content;
}

.card .button {
  align-self: flex-start;
}

.chip.accent {
  background: rgba(53, 182, 255, 0.14);
  color: #0b7bc6;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.feature-list:last-of-type {
  margin-bottom: auto;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, #dce4f3, transparent);
}

.timeline-item:last-child::before {
  display: none;
}

.mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  background: #fff;
  margin-top: 4px;
}

.mark.active {
  background: var(--primary);
}

.mark.upcoming {
  border-color: var(--accent);
}

.timeline-title {
  font-weight: 700;
  margin: 0 0 6px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  align-items: center;
}

.stack {
  display: grid;
  gap: 12px;
  align-content: start;
}

.microcopy {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.legal-links .card {
  text-decoration: none;
  color: inherit;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.faq-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.faq-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 16px 0;
  color: var(--muted);
  font-weight: 600;
}

.footer-inner {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.footer-label {
  color: var(--ink);
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer-links a:hover {
  color: var(--primary-strong);
}

@media (max-width: 720px) {
  .topbar-inner {
    justify-content: center;
  }

  .action-group {
    width: 100%;
    justify-content: center;
  }

  .nav {
    width: 100%;
    justify-content: center;
  }

  .topbar-inner .button.login {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 64px 0 40px;
  }

  .cta-row {
    width: 100%;
  }

  .cta-row .button {
    flex: 1 1 auto;
    justify-content: center;
  }
}
