:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --ink: #101b28;
  --muted: #5b6b7f;
  --line: #e3e9ef;
  --accent: #1d4ed8;
  --accent-ink: #ffffff;
  --accent-soft: #eff5ff;
  --radius: 12px;
  --wrap: 1080px;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .6rem; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
a { color: var(--accent); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

/* --- header ---------------------------------------------------------------- */
.site-head {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--bg); z-index: 10;
}
.site-head .wrap { display: flex; align-items: center; gap: 1rem; height: 68px; }
.brand { font-weight: 800; font-size: 1.15rem; margin-right: auto; text-decoration: none; color: inherit; }
.site-head nav { display: flex; gap: 1.25rem; align-items: center; }
.site-head nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.site-head nav a:hover { color: var(--ink); }

/* --- buttons --------------------------------------------------------------- */
.btn {
  display: inline-block; padding: .7rem 1.25rem; border-radius: 8px;
  font-weight: 600; text-decoration: none; font-size: .98rem;
  background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent);
}
.btn--ghost { background: transparent; color: var(--accent); }
.btn--lg { padding: .9rem 1.6rem; font-size: 1.05rem; }

/* --- sections -------------------------------------------------------------- */
section { padding: 4.5rem 0; }
section.alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }

.hero { padding: 5.5rem 0 4.5rem; }
.hero .lede { font-size: 1.25rem; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.hero__note { color: var(--muted); font-size: .9rem; margin: 1rem 0 0; }

.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.feature h3 { margin-bottom: .35rem; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.feature__icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 1.2rem; margin-bottom: .8rem;
}

/* --- pricing --------------------------------------------------------------- */
.plans { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.plan {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column;
}
.plan--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan__tag {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--accent); margin-bottom: .4rem;
}
.plan__price { font-size: 2rem; font-weight: 800; margin: .4rem 0 0; }
.plan__unit { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: .95rem; }
.plan li { padding: .35rem 0; color: var(--muted); }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: .5rem; }
.plan .btn { margin-top: auto; text-align: center; }

.cycle-toggle { display: inline-flex; gap: .25rem; padding: .25rem; background: var(--bg-soft); border-radius: 999px; border: 1px solid var(--line); margin-bottom: 2rem; }
.cycle-toggle button {
  font: inherit; font-size: .92rem; font-weight: 600; padding: .45rem 1rem;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer;
}
.cycle-toggle button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgb(16 27 40 / 10%); }

/* --- steps ----------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .9rem;
  margin-bottom: .7rem;
}
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }

/* --- cta / footer ---------------------------------------------------------- */
.cta { text-align: center; }
.cta .lede { margin: 0 auto 2rem; }

.site-foot { border-top: 1px solid var(--line); padding: 2.5rem 0; color: var(--muted); font-size: .9rem; }
.site-foot .wrap { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.site-foot nav { display: flex; gap: 1.25rem; margin-left: auto; }
.site-foot a { color: var(--muted); text-decoration: none; }

@media (max-width: 720px) {
  section { padding: 3.5rem 0; }
  .site-head nav a:not(.btn) { display: none; }
}
