:root {
  --ink: #0e1726;
  --ink-soft: #475569;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --line: #e2e8f0;
  --accent: #1d4ed8;
  --accent-ink: #ffffff;
  --highlight: #fef3c7;
  --max: 1080px;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .04);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.logo {
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  font-size: 18px;
}
.logo span { color: var(--accent); }
nav.site a {
  margin-left: 24px;
  color: var(--ink-soft);
  font-size: 14px;
}
nav.site a.cta {
  color: var(--accent-ink);
  background: var(--accent);
  padding: 8px 14px;
  border-radius: 8px;
}
nav.site a.cta:hover { text-decoration: none; opacity: .92; }

.hero {
  padding: 72px 0 48px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}
.hero h1 mark {
  background: var(--highlight);
  padding: 0 6px;
  border-radius: 4px;
}
.hero p.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 28px;
}
.hero .cta-row a.btn { margin: 0 6px; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity .12s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { opacity: .92; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); text-decoration: none; }

section { padding: 64px 0; }
section.alt { background: var(--bg-soft); }
section h2 {
  font-size: 30px;
  letter-spacing: -.01em;
  margin: 0 0 8px;
}
section .lede {
  color: var(--ink-soft);
  margin: 0 0 32px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--bg);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.toggle {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin: 0 0 28px;
}
.toggle button {
  background: transparent;
  border: 0;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}
.toggle button.active {
  background: var(--ink);
  color: #fff;
}
.savings {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #065f46;
  background: #d1fae5;
  padding: 2px 8px;
  border-radius: 999px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.tier {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.tier.featured { border-color: var(--accent); position: relative; }
.tier.featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.tier h3 { margin: 0 0 4px; font-size: 18px; }
.tier .blurb { color: var(--ink-soft); font-size: 14px; min-height: 40px; }
.tier .price {
  margin: 16px 0 8px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.tier .price small {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  font-size: 14px;
}
.tier ul li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.tier ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.tier .btn { width: 100%; text-align: center; margin-top: auto; }

.faq dt { font-weight: 600; margin-top: 16px; }
.faq dd { margin: 4px 0 0; color: var(--ink-soft); }

footer.site {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  font-size: 13px;
  color: var(--ink-soft);
}
footer.site .row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site a { color: var(--ink-soft); margin-right: 16px; }

@media (max-width: 720px) {
  .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  nav.site a:not(.cta) { display: none; }
}
