* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f3f5f7;
  --panel: #ffffff;
  --border: #dfe3e8;
  --text: #252b33;
  --muted: #5b6472;
  --accent: #1361fa;
  --accent-soft: #eaf1ff;
  --ink: #0a1a33;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171c;
    --panel: #1b1f26;
    --border: #2c323b;
    --text: #e7eaee;
    --muted: #9aa3b0;
    --accent: #5b8cff;
    --accent-soft: #1d2c47;
    --ink: #e7eaee;
  }
}

html, body {
  height: 100%;
  overflow-x: hidden;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a { color: var(--accent); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px max(20px, calc((100vw - 1100px) / 2));
  border-bottom: 1px solid var(--border);
  background: var(--panel);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 760;
  font-size: 18px;
  letter-spacing: -0.2px;
  text-decoration: none;
}
.brand-mark { width: 30px; height: 20px; flex: 0 0 auto; }
.brand-ink { color: var(--ink); }
.brand-accent { color: var(--accent); }
.mark-ink { stroke: var(--ink); }
.mark-accent { stroke: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 650;
  font-size: 13px;
  text-decoration: none;
  color: var(--text);
  background: var(--panel);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { opacity: 0.92; }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-lg { padding: 12px 22px; font-size: 15px; }

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  padding: 72px 0 56px;
  max-width: 720px;
}
.hero h1 {
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  padding: 20px 0 56px;
  border-top: 1px solid var(--border);
}
.feature h2 {
  font-size: 16px;
  letter-spacing: -0.1px;
  margin-bottom: 8px;
}
.feature p {
  font-size: 13.5px;
  color: var(--muted);
}

.how {
  padding: 20px 0 72px;
  border-top: 1px solid var(--border);
  max-width: 640px;
}
.how h2 {
  font-size: 20px;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
}
.how-steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.how-steps li {
  counter-increment: step;
  padding-left: 40px;
  position: relative;
  font-size: 14px;
  color: var(--muted);
}
.how-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-steps strong { color: var(--text); }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px max(20px, calc((100vw - 1100px) / 2)) 32px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 640px) {
  .hero { padding: 44px 0 36px; }
  .header-cta { display: none; }
}
