:root {
  --background: #ffffff;
  --surface: #f6f4fb;
  --text: #1d1b24;
  --muted: #5d5a69;
  --border: #e3e0ec;
  --accent: #6d28d9;
  --accent-text: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #15131b;
    --surface: #1f1c28;
    --text: #ece9f3;
    --muted: #a7a3b5;
    --border: #322e3e;
    --accent: #a78bfa;
    --accent-text: #15131b;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

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

header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

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

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

nav.site {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 15px;
}

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

nav.site a:hover,
nav.site a[aria-current="page"] {
  color: var(--text);
}

main {
  padding: 32px 0 48px;
}

h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 16px;
}

h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 36px 0 8px;
}

h3 {
  font-size: 18px;
  margin: 24px 0 4px;
}

.lead {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 24px;
}

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

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

.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
}

.steps {
  padding-left: 22px;
}

.steps li {
  margin-bottom: 12px;
}

.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}

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

.plan {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  background: var(--surface);
}

.plan h2 {
  margin-top: 0;
}

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

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

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

.child-version {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 20px 12px;
  margin: 24px 0;
}

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

footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 8px;
}

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

footer.site p {
  margin: 4px 0;
}
