:root {
  color-scheme: light dark;
  --bg: #f6faf8;
  --surface: #ffffff;
  --text: #17312a;
  --muted: #4d6a61;
  --border: #dbe7e1;
  --accent: #2f6f5e;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141917;
    --surface: #1c2320;
    --text: #e6efeb;
    --muted: #a3b8b0;
    --border: #2c3833;
    --accent: #6fbfa6;
  }
}

* {
  box-sizing: border-box;
}

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

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

header.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

header.brand img {
  width: 48px;
  height: 48px;
  margin: -6px;
}

header.brand a {
  color: inherit;
  text-decoration: none;
  font-weight: 650;
  font-size: 20px;
}

h1 {
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1.15;
  margin: 0 0 16px;
}

h2 {
  margin: 48px 0 12px;
  font-size: 24px;
}

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

p,
li {
  color: var(--muted);
}

strong {
  color: var(--text);
}

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

.lead {
  font-size: 20px;
}

ul.features {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

ul.features li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}

kbd {
  font: inherit;
  font-size: 0.9em;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 0 5px;
  background: var(--surface);
}

.plans {
  display: grid;
  gap: 16px;
}

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

.plan h3 {
  margin-top: 16px;
}

.plan .price {
  color: var(--text);
  font-size: 20px;
  font-weight: 650;
  margin: 4px 0 8px;
}

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

.soon {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 1px 8px;
  margin-left: 6px;
  vertical-align: 2px;
}

footer {
  margin-top: 64px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

/* Home page: wider layout with images. Legal pages keep the narrow column. */
.home main.wrap {
  max-width: 1040px;
  padding-top: 24px;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 1;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.topbar .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}

.topbar .logo img {
  width: 32px;
  height: 32px;
}

.topbar .links {
  display: flex;
  gap: 18px;
  font-size: 15px;
}

.topbar .links a {
  color: var(--muted);
  text-decoration: none;
}

.topbar .links a:hover {
  color: var(--accent);
}

.home section {
  scroll-margin-top: 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 32px 0 16px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 12px;
}

.button {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--bg);
  font-weight: 650;
  text-decoration: none;
}

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

.button:hover {
  filter: brightness(1.08);
}

.small {
  font-size: 15px;
}

.shot {
  margin: 0;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.08);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.hero-shot {
  max-width: 340px;
  justify-self: center;
}

.shot.narrow {
  max-width: 640px;
  margin-top: 24px;
}

ul.grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

ul.grid li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
}

ul.grid strong {
  display: block;
  font-size: 17px;
  margin-bottom: 2px;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
  margin: 24px 0 40px;
}

.feature h3 {
  margin-top: 0;
  font-size: 21px;
}

.home .plans {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.home .plan {
  display: flex;
  flex-direction: column;
  padding: 4px 20px 20px;
}

.home .plan .button {
  margin-top: auto;
  text-align: center;
}

.plan.featured {
  border: 2px solid var(--accent);
}

.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 4px;
  vertical-align: 2px;
}

ol.steps {
  padding-left: 22px;
}

ol.steps li {
  margin: 6px 0;
}

@media (max-width: 760px) {
  .hero,
  .feature {
    grid-template-columns: 1fr;
  }

  .topbar .links {
    gap: 12px;
  }
}
