:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #52606d;
  --line: #d9d4c7;
  --accent: #1f5f4a;
  --accent-text: #ffffff;
  --before: #f6efe6;
  --after: #e9f3ee;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181c;
    --surface: #1c2227;
    --text: #e6e9ec;
    --muted: #a7b0b9;
    --line: #36404a;
    --accent: #7fd1b0;
    --accent-text: #10201a;
    --before: #2a2520;
    --after: #1b2a24;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1rem;
  font-size: 2rem;
  line-height: 1.2;
}

h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.5rem;
  line-height: 1.3;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  line-height: 1.35;
}

h4 {
  margin: 1rem 0 0.25rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lead {
  max-width: 44rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.price {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.blurb {
  margin: 0 0 0.75rem;
}

.card ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.card li {
  margin-bottom: 0.5rem;
}

.note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.buy {
  display: block;
  margin-top: auto;
  padding: 0.8rem 1rem;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 0.375rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.buy:hover,
.buy:focus {
  text-decoration: underline;
}

.buy:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 2px;
}

.label {
  margin: 0 0 1rem;
  padding: 0.6rem 0.9rem;
  border-left: 4px solid var(--accent);
  background: var(--surface);
  font-size: 0.95rem;
  font-weight: 600;
}

.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.pane {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.before {
  background: var(--before);
}

.after {
  background: var(--after);
}

.sample {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.15rem 0.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  font-size: 0.9rem;
}

.why {
  margin-top: 1.25rem;
}

.why p,
.limits p {
  max-width: 48rem;
}

.limits {
  padding-bottom: 2.5rem;
}

footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

@media (min-width: 48rem) {
  h1 {
    font-size: 2.6rem;
  }
}
