:root {
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --surface: #ffffff;
  --surface-subtle: #f9fafb;
  --text: #18181b;
  --muted: #71717a;
  --line: #e4e4e7;
  --brand: #16a34a;
  --brand-strong: #15803d;
  --brand-soft: #f0fdf4;
  --shadow: 0 10px 30px rgba(24, 24, 27, 0.04);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

.shell {
  width: min(100%, 64rem);
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.brand {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.brand::before {
  content: "✓";
  margin-right: 0.45rem;
  color: var(--brand);
}

.site-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav a,
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.footer-links a:hover,
.brand:hover {
  color: #3f3f46;
}

.hero,
.legal-hero {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0;
}

.hero {
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.9fr);
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  max-width: 24ch;
}

h3 {
  font-size: 1.05rem;
}

p,
li,
address {
  font-size: 0.96rem;
  line-height: 1.65;
}

.lead {
  max-width: 42rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0 1rem;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.button-primary {
  color: #ffffff;
  background: #18181b;
  border-color: #18181b;
}

.button-primary:hover {
  background: #27272a;
}

.button-secondary {
  background: var(--surface);
}

.button-secondary:hover {
  background: var(--surface-subtle);
}

.hero-card,
.card,
.step,
.legal-card,
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card,
.card,
.legal-card,
.pricing-card {
  border-radius: 0.9rem;
  padding: 1.35rem;
}

.hero-card h2,
.legal-card h2 {
  max-width: none;
}

.feature-list,
.legal-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.feature-list li::marker,
.legal-list li::marker {
  color: var(--brand);
}

.section {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps,
.pricing-grid {
  display: grid;
  gap: 1rem;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
  border-radius: 0.9rem;
  padding: 1.35rem;
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 700;
}

.pricing-card.highlight {
  border-color: #86efac;
  background: var(--brand-soft);
  box-shadow: 0 0 0 1px #86efac;
}

.pricing-badge {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 700;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.5rem 0 1rem;
}

.price {
  font-size: 2rem;
  font-weight: 700;
}

.period,
.muted {
  color: var(--muted);
}

.cta-disabled {
  display: block;
  margin-top: 1.35rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--surface-subtle);
  color: var(--muted);
  text-align: center;
  font-weight: 500;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--bg-subtle);
}

.legal-hero {
  grid-template-columns: minmax(0, 1fr);
}

.legal-card h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  max-width: none;
  margin-bottom: 1rem;
}

.legal-card h2 {
  font-size: 1.15rem;
  margin: 1.6rem 0 0.6rem;
}

.legal-card p,
.legal-card li,
.legal-card address {
  color: var(--muted);
}

.legal-card address {
  font-style: normal;
}

.note {
  padding: 1rem;
  border-radius: 0.75rem;
  background: var(--brand-soft);
  border: 1px solid #bbf7d0;
  color: #166534;
}

@media (max-width: 920px) {
  .hero,
  .grid-2,
  .grid-3,
  .steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    max-width: 10ch;
  }
}
