:root {
  color-scheme: light dark;
  --bg: #f6f7f9;
  --card: #ffffff;
  --ink: #1a2230;
  --sub: #5d6b80;
  --line: #e3e7ee;
  --accent: #0369a1;
  --accent-ink: #ffffff;
  --green: #047857;
  --green-bg: #d1fae5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --card: #161b26;
    --ink: #e6eaf2;
    --sub: #8b98ac;
    --line: #252d3d;
    --accent: #7dd3fc;
    --accent-ink: #0d1117;
    --green: #6ee7b7;
    --green-bg: #053b2c;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  padding: 20px 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
}

.btn.small {
  padding: 8px 16px;
  font-size: 14px;
}

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

section {
  padding: 48px 0;
}

section.hero {
  padding: 56px 0 48px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero p.sub {
  color: var(--sub);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto 28px;
}

.badge {
  display: inline-block;
  background: var(--green-bg);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

h2 {
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.section-sub {
  color: var(--sub);
  margin: 0 0 28px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--sub);
  font-size: 14px;
}

.pricing-table {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-row.head {
  background: var(--bg);
  font-weight: 600;
  font-size: 13px;
  color: var(--sub);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-row .amount {
  font-weight: 700;
}

.pricing-row .old {
  color: var(--sub);
  text-decoration: line-through;
  font-weight: 400;
  font-size: 14px;
  margin-right: 8px;
}

.pricing-note {
  font-size: 13px;
  color: var(--sub);
  margin-top: 12px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.trust-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.trust-item p {
  margin: 0;
  color: var(--sub);
  font-size: 14px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.faq-item p {
  margin: 0;
  color: var(--sub);
  font-size: 14px;
}

section.cta {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 24px;
}

section.cta h2 {
  margin-bottom: 12px;
}

section.cta p {
  color: var(--sub);
  margin: 0 0 24px;
}

footer.site {
  padding: 32px 0 48px;
  color: var(--sub);
  font-size: 13px;
  text-align: center;
}

footer.site a {
  color: var(--sub);
}

footer.site .links {
  margin-top: 8px;
}

footer.site .links a {
  margin: 0 8px;
}
