:root {
  --bg: #ffffff;
  --alt: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --radius: 14px;
  --max: 1050px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* NAV */
.nav { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; padding: .9rem 1.25rem; background: rgba(255,255,255,.95); border-bottom: 1px solid #e2e8f0; }
.logo { font-weight: 800; font-size: 1.25rem; }
.logo span { color: var(--primary); }
.nav nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .95rem; }
.nav nav a:hover { color: var(--primary); }

/* BUTTONS */
.btn { display: inline-block; padding: .8rem 1.6rem; background: var(--primary); color: #fff; border: 2px solid var(--primary); border-radius: var(--radius); font-weight: 600; font-size: 1rem; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: #eef2ff; }
.btn-small { padding: .4rem 1rem; font-size: .9rem; }
.buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

/* HERO (mobile first: stacked) */
.hero { max-width: var(--max); margin: 0 auto; padding: 4rem 1.25rem; display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.15; }
.hero p { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }
.mock { background: var(--alt); border-radius: var(--radius); padding: 1.25rem; box-shadow: 0 10px 30px rgba(15,23,42,.1); }
.mock-row { background: #fff; padding: .8rem 1rem; border-radius: 10px; margin-bottom: .7rem; border-left: 4px solid var(--primary); }
.mock-row:last-child { margin-bottom: 0; }
.mock-row.done { text-decoration: line-through; color: var(--muted); border-left-color: #22c55e; }

/* SECTIONS */
.section { max-width: var(--max); margin: 0 auto; padding: 4rem 1.25rem; }
.section h2 { text-align: center; font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: 2rem; }
.alt { max-width: none; background: var(--alt); }
.alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* GRIDS (mobile first: 1 column) */
.grid-3, .grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.card { background: #fff; padding: 1.5rem; border-radius: var(--radius); border: 1px solid #e2e8f0; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); }
.icon { font-size: 1.8rem; margin-bottom: .5rem; }

/* STEPS */
.steps { list-style: none; display: grid; gap: 1.25rem; }
.steps li { background: #fff; padding: 1.25rem; border-radius: var(--radius); color: var(--muted); }
.steps strong { display: block; color: var(--text); }

/* PRICING */
.price { font-size: 2.2rem; font-weight: 800; color: var(--text) !important; margin: .5rem 0 1rem; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.card li { padding: .3rem 0; color: var(--muted); }
.card li::before { content: "✓ "; color: #22c55e; font-weight: 700; }
.featured { border: 2px solid var(--primary); }

/* CTA */
.cta { text-align: center; }
.cta p { color: var(--muted); margin-bottom: 1.5rem; }
.signup { display: flex; flex-direction: column; gap: .8rem; max-width: 480px; margin: 0 auto; }
.signup input { padding: .8rem 1rem; border: 1px solid #cbd5e1; border-radius: var(--radius); font-size: 1rem; }
.signup input:focus { outline: 2px solid var(--primary); border-color: transparent; }

.footer { text-align: center; padding: 2rem 1rem; color: var(--muted); border-top: 1px solid #e2e8f0; font-size: .9rem; }

/* TABLET AND UP */
@media (min-width: 750px) {
  .hero { grid-template-columns: 1.1fr 1fr; padding-top: 5rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .signup { flex-direction: row; }
  .signup input { flex: 1; }
  .nav { padding: 1rem 2.5rem; }
}
