:root {
  --bg: #f9fafb;
  --surface: #eeeef3;
  --card: #ffffff;
  --fg: #1a1a1e;
  --muted: #55555e;
  --line: #e1e1e8;
  --ink: #1a1a1e;
  --royal: #4169e1;
  --royal-strong: #2a4fc7;
  --on-royal: #ffffff;
}
* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-height: 100vh;
  background-color: #ffffff;
  background-image:
    radial-gradient(60rem 30rem at 12% -5%, rgba(65, 105, 225, .07), transparent 60%),
    radial-gradient(50rem 28rem at 95% 8%, rgba(120, 90, 230, .05), transparent 60%),
    linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--fg);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
a { color: var(--royal-strong); }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(249, 250, 251, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; }
.brand { font-weight: 800; letter-spacing: -0.01em; color: var(--fg); text-decoration: none; }
nav a[aria-current="page"] { color: var(--fg); }
.page-intro { border-top: 0; padding: 56px 0 8px; }
.workflow { border-top: 0; padding-top: 16px; }
.workflow .btn { margin-top: 8px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; font-weight: 500; transition: color .2s; }
nav a:first-child { margin-left: 0; }
nav a:hover { color: var(--royal-strong); }

section { padding: 56px 0; border-top: 1px solid var(--line); }
h1 { font-size: clamp(2.6rem, 8vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 20px; }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 16px; }
p { margin: 0 0 16px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 42ch; margin-bottom: 32px; }
.text { max-width: 68ch; color: var(--muted); }

.btn {
  display: inline-block; padding: 13px 24px; border-radius: 10px; font-weight: 600; font-size: 1rem;
  background: var(--royal-strong); color: var(--on-royal); text-decoration: none;
  transition: all 0.2s ease;
}
.btn:hover, .btn:focus-visible { background: #111827; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(17, 24, 39, .25); outline: none; }
.btn.secondary { background: transparent; color: var(--fg); border: 1.5px solid var(--line); margin-left: 8px; }
@media (max-width: 480px) { .btn.secondary { margin-left: 0; margin-top: 10px; } }
.btn.secondary:hover, .btn.secondary:focus-visible { background: transparent; border-color: var(--royal); color: var(--royal-strong); box-shadow: none; }

.hero { padding: 64px 0 72px; border-top: 0; }
.pivot { border-top: 0; padding: 8px 0 40px; }
.pivot h2 { max-width: 28em; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 28px; }
.card { background: var(--surface); border-radius: 14px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
li { margin-bottom: 8px; }
.steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 32px 0; }
.step {
  background: #ffffff; border: 3px solid #111827; border-radius: 24px; padding: 30px 26px;
  box-shadow: 0 14px 28px -10px rgba(17, 24, 39, .28), 0 3px 6px rgba(17, 24, 39, .08);
}
.step h3 { margin: 18px 0 10px; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); font-size: 1rem; }
.num {
  display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 44px; padding: 0 16px;
  border-radius: 999px; background: #00D632; color: #0a0a0a; font-size: 1.35rem; font-weight: 900; line-height: 1;
}

/* how-it-works page: soft off-white mesh behind the step cards */
body.how {
  background-image:
    radial-gradient(48rem 26rem at 8% -6%, rgba(0, 214, 50, .10), transparent 60%),
    radial-gradient(46rem 26rem at 96% 4%, rgba(65, 105, 225, .09), transparent 60%),
    radial-gradient(50rem 30rem at 50% 108%, rgba(0, 214, 50, .07), transparent 60%),
    linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

/* action pill (how-it-works page) */
.btn.btn-pill {
  border-radius: 50px; padding: 18px 40px; font-size: 1.1rem; font-weight: 800;
  transition: background .1s linear, color .1s linear, transform .1s linear, box-shadow .1s linear;
}
.btn.btn-pill:hover, .btn.btn-pill:focus-visible {
  background: #00D632; color: #0a0a0a; transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 22px rgba(0, 214, 50, .35);
}

.semantic { background: var(--surface); border-radius: 20px; padding: 40px 28px; border-top: 0; margin: 24px 0; }
.semantic p:last-child { margin-bottom: 0; }

.pricing-lede { color: var(--muted); }
.tiers { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 24px; }
.tier {
  display: flex; flex-direction: column;
  background: var(--card); color: var(--fg); border: 1px solid #e5e7eb; border-radius: 16px; padding: 28px 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.tier:hover, .tier:focus-within {
  transform: translateY(-8px);
  background: var(--ink); color: #fff; border-color: var(--royal);
  box-shadow: 0 24px 48px rgba(26, 26, 30, .22);
}
.tier:hover h3, .tier:hover .price span, .tier:hover .cadence,
.tier:focus-within h3, .tier:focus-within .price span, .tier:focus-within .cadence { color: #b9bccb; }
.tier:hover .btn, .tier:focus-within .btn { background: #fff; color: var(--ink); }
.tier:hover .btn:hover, .tier:focus-within .btn:hover { background: var(--royal); color: #fff; }
@media (prefers-reduced-motion: reduce) { .tier, .btn, .option { transition: none; } .tier:hover, .tier:focus-within { transform: none; } }
.tier h3 { margin: 0 0 4px; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.tier-name { margin: 0 0 12px; font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.price { margin: 0; font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.cadence { margin: 0; color: var(--muted); font-size: .9rem; }
.tier ul { margin: 18px 0 20px; padding-left: 1.1em; font-size: .95rem; flex: 1; }
.tier .btn { text-align: center; }
.pricing-note { margin: 24px 0 0; font-size: .93rem; color: var(--muted); max-width: 68ch; }

.intake { display: grid; gap: 8px; max-width: 620px; margin-top: 8px; }
.intake label.field { font-weight: 600; font-size: .95rem; margin-top: 12px; }
.intake input[type="text"], .intake input[type="email"], .intake textarea {
  width: 100%; padding: 12px; font: inherit; color: var(--fg);
  background: var(--card); border: 1.5px solid var(--line); border-radius: 12px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.intake input[type="text"]:hover, .intake input[type="email"]:hover, .intake textarea:hover { border-color: #b7b7c4; }
.intake input[type="text"]:focus, .intake input[type="email"]:focus, .intake textarea:focus {
  outline: none; border-color: var(--royal); transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(65, 105, 225, .18);
}
fieldset { border: 0; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: 10px; }
.option {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; cursor: pointer;
  background: var(--card); border: 2px solid var(--line); border-radius: 14px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.option:hover, .option:focus-within { border-color: var(--royal); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(26, 26, 30, .1); }
.option:has(input:checked) { border-color: var(--royal); background: #eef2fe; }
.option strong { display: block; }
.option .detail { display: block; color: var(--muted); font-size: .93rem; margin-top: 2px; }
.option input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--royal-strong); flex: none; }
.intake button { border: 0; cursor: pointer; font-family: inherit; justify-self: start; margin-top: 12px; }
.intake button:disabled { opacity: .6; cursor: default; }
.note { margin: 4px 0 0; color: var(--muted); font-size: .92rem; min-height: 1.4em; }

footer { padding: 32px 0 56px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
