:root {
  --bg:          #fafaf9;
  --bg-alt:      #f1f5f9;
  --text:        #0f172a;
  --text-soft:   #475569;
  --border:      #e2e8f0;
  --accent:      #0c4a6e;
  --accent-soft: #e0f2fe;
}

* { box-sizing: border-box; }

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

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; background: var(--bg-alt); padding: 2px 6px; border-radius: 4px; }

/* Nav */
.nav {
  border-bottom: 1px solid var(--border);
  background: rgba(250, 250, 249, 0.85);
  backdrop-filter: saturate(180%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}
.brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.nav-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 96px 0 56px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 24px;
}
.accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-foot {
  font-size: 14px;
  color: var(--text-soft);
  margin-top: 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: #0a3d5a;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Sections */
section { padding: 80px 0; }
section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
}
.section-sub {
  color: var(--text-soft);
  font-size: 18px;
  max-width: 640px;
  margin: 0 0 48px;
}

/* Problem examples */
.problem { background: var(--bg-alt); }
.examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.example {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.example p {
  font-size: 17px;
  color: var(--text);
  margin: 12px 0 0;
  font-style: italic;
}
.tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 4px;
}

/* Alternatives comparison */
.alternatives {
  margin: 56px auto 0;
  max-width: 720px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
}
.alternatives h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 12px;
}
.alt-row {
  display: flex;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  gap: 24px;
}
.alt-row:last-child { border-bottom: none; }
.alt-name {
  font-weight: 600;
  color: var(--text);
  min-width: 160px;
  flex-shrink: 0;
}
.alt-cost {
  color: var(--text-soft);
  font-size: 16px;
}

/* Steps */
.how {
  padding-bottom: 96px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-n {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 {
  margin: 4px 0 6px;
  font-size: 19px;
  font-weight: 600;
}
.steps p {
  margin: 0;
  color: var(--text-soft);
}

/* Numbers bar */
.numbers {
  background: var(--accent);
  padding: 48px 0;
}
.numbers-row {
  display: flex;
  justify-content: center;
  gap: 80px;
}
.number-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.number-val {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1;
}
.number-label {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

@media (max-width: 560px) {
  .numbers-row {
    gap: 40px;
    flex-wrap: wrap;
  }
}

/* Why */
.why { background: var(--bg-alt); }
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
.why-list li {
  padding-left: 24px;
  position: relative;
  color: var(--text-soft);
}
.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.why-list strong { color: var(--text); font-weight: 600; }

/* Closing CTA (on landing) */
.cta {
  text-align: center;
}
.cta p {
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* Signup page */
.signup {
  padding: 64px 0 96px;
}
.signup-inner {
  max-width: 520px;
}
.signup h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
}
.signup-sub {
  color: var(--text-soft);
  margin: 0 0 40px;
}
.field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.field label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}
.field .optional {
  font-weight: 400;
  color: var(--text-soft);
}
.field input,
.field textarea {
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--text);
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.btn-block {
  width: 100%;
  margin-top: 8px;
}

/* Honeypot — hidden from real users, visible to dumb bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.signup-foot {
  font-size: 14px;
  color: var(--text-soft);
  margin-top: 32px;
  text-align: center;
}

/* Form note (success / error feedback) */
.form-note {
  margin-top: 16px;
  font-size: 14px;
  min-height: 20px;
  text-align: center;
}
.form-note.success { color: var(--accent); }
.form-note.error   { color: #b91c1c; }

/* Legal pages (privacy / terms) */
.legal { padding: 64px 0 96px; }
.legal-inner { max-width: 720px; }
.legal h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.legal-updated {
  color: var(--text-soft);
  font-size: 14px;
  margin: 0 0 40px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 36px 0 12px;
}
.legal p,
.legal ul {
  color: var(--text);
  margin: 0 0 16px;
}
.legal ul {
  padding-left: 22px;
}
.legal li {
  margin-bottom: 6px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-soft);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-tag { color: var(--text-soft); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-soft); }
.footer-links a:hover { color: var(--accent); }

/* Mobile */
@media (max-width: 720px) {
  .hero { padding: 64px 0 56px; }
  section { padding: 56px 0; }
  .examples,
  .steps,
  .why-list { grid-template-columns: 1fr; }
  .alt-row { flex-direction: column; gap: 4px; padding: 16px 0; }
  .alt-name { min-width: 0; }
  .nav-inner { padding: 12px 24px; }
}
