:root {
  color-scheme: light;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-tint: #ccfbf1;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
}
* { box-sizing: border-box; }
body {
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  margin: 0; color: var(--ink); background: #fff; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }
.doc { max-width: 720px; margin: 0 auto; padding: 40px 20px 72px; }

/* Header */
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.logo .mark { width: 30px; height: 30px; border-radius: 9px; background: var(--teal-tint);
  display: flex; align-items: center; justify-content: center; color: var(--teal); }
header.site nav a { color: var(--muted); text-decoration: none; font-size: .92rem; margin-left: 20px; }
header.site nav a:hover { color: var(--teal-dark); }

/* Hero */
.hero { text-align: center; padding: 72px 0 56px; background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%); }
.hero .badge { display: inline-block; background: var(--teal-tint); color: var(--teal-dark);
  border-radius: 999px; padding: 4px 14px; font-size: .82rem; font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: 2.6rem; line-height: 1.1; margin: 0 0 16px; letter-spacing: -.02em; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 620px; margin: 0 auto 28px; }
.btn { display: inline-block; background: var(--teal); color: #fff; text-decoration: none;
  font-weight: 700; padding: 13px 26px; border-radius: 12px; transition: background .15s; }
.btn:hover { background: var(--teal-dark); }
.btn.ghost { background: transparent; color: var(--teal-dark); border: 1.5px solid var(--teal); }
.btn.soon { background: #e2e8f0; color: var(--muted); cursor: default; }
.hero .note { display: block; color: var(--muted); font-size: .85rem; margin-top: 14px; }

/* Features */
.features { padding: 56px 0; }
.features h2 { text-align: center; font-size: 1.6rem; margin: 0 0 8px; }
.features .sub { text-align: center; color: var(--muted); margin: 0 0 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: #fff; }
.card .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--teal-tint); color: var(--teal);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 1.3rem; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Steps */
.steps { background: var(--bg); padding: 56px 0; }
.steps h2 { text-align: center; font-size: 1.6rem; margin: 0 0 40px; }
.steps ol { max-width: 640px; margin: 0 auto; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px;
  border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; }
.steps li strong { display: block; }
.steps li span { color: var(--muted); font-size: .95rem; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: .9rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
footer.site a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer.site a:hover { color: var(--teal-dark); }

/* Legal docs */
.doc h1 { font-size: 1.7rem; margin-bottom: 6px; }
.doc h2 { font-size: 1.15rem; margin-top: 2rem; color: var(--teal); }
.doc .meta { color: var(--muted); font-size: .85rem; margin-top: 0; }
.doc .badge { display: inline-block; background: var(--teal-tint); color: var(--teal-dark);
  border-radius: 8px; padding: 2px 10px; font-size: .8rem; font-weight: 600; margin-bottom: 12px; }
.doc ul { padding-left: 1.2rem; }
.doc a { color: var(--teal-dark); }
.doc footer { margin-top: 3rem; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
.back { display: inline-block; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-size: .9rem; }
.back:hover { color: var(--teal-dark); }

@media (max-width: 540px) {
  .hero h1 { font-size: 2rem; }
  .hero p.lead { font-size: 1.05rem; }
}
