:root {
  --bg: #15181d;
  --bg-raised: #1d2128;
  --bg-card: #222731;
  --line: #2f3542;
  --text: #e3e7ee;
  --muted: #9aa3b2;
  --accent: #8ab4f8;
  --accent-strong: #aecbfa;
  --accent-ink: #0f1a2b;
  --radius: 14px;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

/* Buttons */

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.button:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--accent-ink);
}

.button.secondary {
  background: transparent;
  color: var(--accent);
}

.button.secondary:hover {
  background: rgba(138, 180, 248, 0.12);
  color: var(--accent-strong);
}

/* Sections */

section {
  padding: 64px 0;
}

section + section {
  border-top: 1px solid var(--line);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(32px, 6vw, 52px);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 19px;
}

p {
  margin: 0 0 12px;
}

.lead {
  font-size: clamp(17px, 2.4vw, 20px);
  color: var(--muted);
  max-width: 680px;
}

.section-intro {
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 32px;
}

.hero {
  text-align: center;
  padding-top: 72px;
}

.hero .lead {
  margin: 0 auto 28px;
}

.hero-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.note {
  font-size: 14px;
  color: var(--muted);
}

.shot {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-raised);
}

.shot figcaption {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

figure {
  margin: 0;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card ul {
  margin: 0;
  padding-left: 20px;
}

.card li + li {
  margin-top: 6px;
}

/* Comparison table */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

tr:last-child td {
  border-bottom: 0;
}

th {
  background: var(--bg-raised);
  font-weight: 600;
}

td.yes,
td.no {
  text-align: center;
  width: 110px;
}

th.center {
  text-align: center;
}

td.yes {
  color: #81c995;
  font-weight: 600;
}

td.no {
  color: var(--muted);
}

/* Pricing */

.price-card {
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--accent);
}

.price {
  font-size: 36px;
  font-weight: 700;
  margin: 8px 0 4px;
}

.price small {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  margin-bottom: 24px;
}

.price-card .button {
  margin-top: auto;
  text-align: center;
}

.pricing-notes {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
}

.pricing-notes li + li {
  margin-top: 4px;
}

/* Steps */

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li + li {
  margin-top: 20px;
}

/* FAQ */

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 16px 20px;
}

details + details {
  margin-top: 12px;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* Legal pages */

.legal {
  max-width: 760px;
  padding-top: 48px;
  padding-bottom: 64px;
}

.legal h2 {
  font-size: 22px;
  margin-top: 36px;
}

.legal ul {
  padding-left: 20px;
}

.legal li + li {
  margin-top: 6px;
}

.updated {
  color: var(--muted);
  font-size: 15px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 760px) {
  section {
    padding: 48px 0;
  }

  .hero {
    padding-top: 48px;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-nav {
    display: none;
  }

  table {
    min-width: 0;
    font-size: 15px;
  }

  th,
  td {
    padding: 12px 10px;
  }

  td.yes,
  td.no {
    width: 52px;
  }
}
