:root {
  --bg: #ffffff;
  --band: #eef3f1;
  --text: #0f1416;
  --body: #2b3336;
  --line: #cfd8d4;
  --accent: #0a6b52;
  --accent-dark: #07533f;
  --accent-soft: #dff1ea;
  --red: #c0272d;
  --green: #12865f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 18px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
b { color: var(--text); font-weight: 700; }
a { color: var(--accent); font-weight: 600; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 22px; }

/* header */
.top { background: #fff; border-bottom: 2px solid var(--text); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { font-weight: 800; color: var(--text); text-decoration: none; font-size: 20px; }
nav { display: flex; align-items: center; gap: 26px; font-size: 16px; }
nav a { color: var(--text); text-decoration: none; font-weight: 600; }
nav a:hover { color: var(--accent); }
nav .login { border: 2px solid var(--text); padding: 6px 16px; border-radius: 6px; }
nav .login:hover { background: var(--text); color: #fff; }

/* headings */
h1 { font-size: clamp(36px, 6.5vw, 58px); line-height: 1.1; margin: 0 0 20px; color: var(--text); font-weight: 800; letter-spacing: -0.02em; }
.hl { color: var(--accent); }
h2 { font-size: 34px; line-height: 1.15; margin: 0 0 26px; color: var(--text); font-weight: 800; letter-spacing: -0.01em; padding-bottom: 12px; position: relative; }
h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 52px; height: 4px; background: var(--accent); }
h3 { font-size: 20px; line-height: 1.25; margin: 0 0 8px; color: var(--text); font-weight: 700; }
p { margin: 0 0 12px; }

section { padding: 72px 0; }
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* hero */
.hero { padding: 76px 0 64px; }
.lead { font-size: 22px; line-height: 1.5; max-width: 700px; color: var(--body); }
.actions { margin: 30px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 14px 26px; border-radius: 6px; font-weight: 700; font-size: 17px;
  background: var(--accent); color: #fff; text-decoration: none; border: 2px solid var(--accent);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.ghost { background: #fff; color: var(--text); border-color: var(--text); }
.btn.ghost:hover { background: var(--text); color: #fff; }
.btn.full { display: block; text-align: center; }
.btn.light { background: #fff; color: var(--accent-dark); border-color: #fff; }
.btn.light:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 52px; border: 2px solid var(--text); border-radius: 8px; overflow: hidden; }
.facts div { padding: 18px 22px; border-right: 2px solid var(--text); }
.facts div:last-child { border-right: 0; }
.facts b { display: block; font-size: 21px; line-height: 1.2; }
.facts span { display: block; margin-top: 2px; font-size: 16px; }

/* feature cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 6px; padding: 22px 24px; }
.card p { margin: 0; font-size: 17px; }

.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; }
.dot.ok { background: var(--green); }
.dot.bad { background: var(--red); margin-left: 2px; }

/* steps */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; max-width: 720px; }
.steps li { counter-increment: s; padding: 18px 0 18px 62px; border-top: 1px solid var(--line); position: relative; font-size: 19px; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; text-align: center; line-height: 40px; font-weight: 800; font-size: 19px; }

/* pricing */
.intro { font-size: 19px; max-width: 720px; }
.toggle { display: inline-flex; border: 2px solid var(--text); border-radius: 8px; overflow: hidden; margin: 8px 0 30px; background: #fff; }
.toggle button { font: inherit; font-size: 16px; font-weight: 700; padding: 11px 24px; border: 0; background: #fff; color: var(--text); cursor: pointer; }
.toggle button.on { background: var(--text); color: #fff; }
.toggle button span { font-weight: 600; font-size: 13px; margin-left: 6px; background: var(--accent-soft); color: var(--accent-dark); padding: 2px 8px; border-radius: 4px; }
.toggle button.on span { background: var(--accent); color: #fff; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; margin-bottom: 20px; }
.plan { background: #fff; border: 2px solid var(--line); border-radius: 8px; padding: 30px 26px 26px; position: relative; display: flex; flex-direction: column; }
.plan.pick { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tag { position: absolute; top: -14px; left: 24px; margin: 0; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 4px; }
.plan h3 { font-size: 24px; }
.for { font-size: 18px; margin-bottom: 18px; color: var(--body); }
.for b { display: block; font-size: 30px; line-height: 1.1; color: var(--accent); letter-spacing: -0.01em; }
.price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.amt { font-size: 52px; font-weight: 800; line-height: 1; color: var(--text); }
.amt::before { content: "$"; font-size: 26px; font-weight: 700; vertical-align: 16px; margin-right: 2px; }
.per { font-size: 17px; }
.sub { font-size: 15px; margin: 8px 0 20px; min-height: 22px; }
.plan ul { margin: 0 0 24px; padding: 0; list-style: none; flex: 1; }
.plan li { padding: 10px 0 10px 26px; border-top: 1px solid var(--line); font-size: 17px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 6px; height: 11px; border: solid var(--accent); border-width: 0 3px 3px 0; transform: rotate(45deg) scale(.9); }
.note { font-size: 16px; margin-top: 8px; }

/* faq */
details { border-top: 1px solid var(--line); padding: 18px 0; max-width: 780px; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 19px; color: var(--text); list-style: none; position: relative; padding-right: 36px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: -4px; font-size: 28px; font-weight: 500; color: var(--accent); }
details[open] summary::after { content: "\2212"; }
details p { margin: 12px 0 0; }

/* closing band */
.cta { background: var(--accent); color: #fff; text-align: center; }
.cta h2 { color: #fff; padding-bottom: 0; }
.cta h2::after { display: none; }
.cta p { font-size: 20px; margin-bottom: 26px; }

footer { background: var(--text); color: #e7ecea; padding: 24px 0; font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer a { color: #fff; }

@media (max-width: 800px) {
  nav { gap: 14px; }
  nav a:not(.login) { display: none; }
  .cards { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; gap: 28px; }
  .facts { grid-template-columns: 1fr; }
  .facts div { border-right: 0; border-bottom: 2px solid var(--text); }
  .facts div:last-child { border-bottom: 0; }
  .hero { padding: 48px 0 44px; }
  .lead { font-size: 20px; }
  section { padding: 52px 0; }
  h2 { font-size: 29px; }
}
