:root {
  --bg: #f6f6f8;
  --surface: #ffffff;
  --text: #111114;
  --muted: #5d5d66;
  --line: rgba(17, 17, 20, 0.09);
  --accent: #ff9f0a;
  --accent-2: #ff5e3a;
  --glow: rgba(255, 159, 10, 0.28);
  --button-bg: #111114;
  --button-text: #ffffff;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0d;
    --surface: #151518;
    --text: #f4f4f6;
    --muted: #a0a0aa;
    --line: rgba(255, 255, 255, 0.09);
    --glow: rgba(255, 159, 10, 0.22);
    --button-bg: #f4f4f6;
    --button-text: #111114;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 19px;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand svg { width: 30px; height: 30px; }
nav.site a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 22px;
  font-size: 15px;
}
nav.site a:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 72px 0 40px;
}
.hero .glow {
  position: absolute;
  inset: -40px 0 auto;
  height: 520px;
  margin: 0 auto;
  max-width: 720px;
  background: radial-gradient(closest-side, var(--glow), transparent);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}
.hero .mark {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 auto 18px;
  max-width: 14ch;
  font-weight: 700;
}
.hero p.lede {
  font-size: clamp(18px, 2.4vw, 21px);
  color: var(--muted);
  max-width: 34em;
  margin: 0 auto 34px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.button {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 210px;
  padding: 11px 22px 12px;
  border-radius: 14px;
  background: var(--button-bg);
  color: var(--button-text);
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button small { font-size: 12px; opacity: 0.7; }
.button span { font-size: 18px; font-weight: 600; }
.button.secondary {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.note { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* Sections */
section { padding: 56px 0; }
section h2 {
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 12px;
}
section > .wrap > p.intro { color: var(--muted); max-width: 40em; margin: 0 0 32px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}
.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  margin-bottom: 14px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; color: var(--muted); font-size: 15.5px; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--button-bg);
  color: var(--button-text);
  font-weight: 650;
  margin-bottom: 14px;
}
.steps li strong { display: block; color: var(--text); font-size: 18px; margin-bottom: 4px; }

.price {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px 24px;
}
.price .amount { font-size: 56px; font-weight: 700; letter-spacing: -0.03em; }
.price p { color: var(--muted); max-width: 32em; margin: 8px auto 28px; }

/* Text pages */
.doc { max-width: 720px; padding: 32px 0 64px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); letter-spacing: -0.03em; line-height: 1.1; margin: 16px 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 22px; letter-spacing: -0.015em; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--text); }
.doc details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 10px 0;
}
.doc summary { cursor: pointer; font-weight: 600; color: var(--text); }
.doc details[open] summary { margin-bottom: 8px; }
.contact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  margin: 8px 0 32px;
}
.contact a { font-weight: 600; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 14px;
}
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer.site a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer.site a:hover { color: var(--text); }

@media (max-width: 560px) {
  nav.site a { margin-left: 14px; }
  .hero { padding-top: 40px; }
  .button { min-width: 0; width: 100%; align-items: center; }
}

/* Comparison table */
.compare { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-size: 14px; color: var(--muted); font-weight: 600; }
.compare th:nth-child(2) { color: var(--accent-2); }
.compare td:first-child { color: var(--text); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; white-space: nowrap; width: 150px; }
.compare .yes { color: var(--accent); font-size: 14px; }
.compare .no { color: var(--muted); opacity: 0.6; }
.compare tr:last-child td { font-weight: 600; }

/* Full feature list */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.feature-group { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.feature-group h3 { margin: 0 0 10px; font-size: 18px; }
.feature-group ul { margin: 0; padding: 0; list-style: none; }
.feature-group li { position: relative; padding: 5px 0 5px 24px; color: var(--muted); font-size: 15.5px; }
.feature-group li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

@media (max-width: 560px) {
  .compare th, .compare td { padding: 12px 12px; }
  .compare td:not(:first-child), .compare th:not(:first-child) { width: 90px; white-space: normal; }
}
