:root {
  --paper: #ffffff;
  --ink: #0b4c36;
  --muted: #3f6b58;
  --line: #d7e6d6;
  --sage: #73a170;
  --sage-soft: #eef6ee;
  --gold: #f5b52d;
  --card: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Nunito, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.brand img { display: block; width: 40px; height: 40px; object-fit: contain; }

.nav-links { display: flex; gap: 1.1rem; align-items: center; }
.nav-stores { display: inline-flex; gap: 0.45rem; align-items: center; }
.nav-links a.button.nav-download { display: none; }

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
}

.nav-links a[aria-current="page"] { color: var(--sage); }

.nav-links a.button, a.button, button.button {
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

a.button .store-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  flex-shrink: 0;
}

a.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: 0.95rem;
  padding: 0.7rem 1.25rem 0.7rem 0.85rem;
}

a.store-badge .store-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: block;
  flex-shrink: 0;
}

.store-badge-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.store-badge-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #d7e6d6;
}

.store-badge-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

a.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--sage);
}

.nav-links a.button { background: var(--gold); color: var(--ink); }

.hero, .section { padding: 3.5rem 1.5rem; }

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

.hero { padding-top: 3rem; }

.lockup {
  display: block;
  width: min(220px, 62vw);
  height: auto;
  margin: 0 0 1.6rem;
}

.kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--sage);
  font-weight: 800;
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin: 0 0 1rem; max-width: 16ch; }

h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.lede { font-size: 1.2rem; font-weight: 600; max-width: 38rem; color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

.panel {
  margin-top: 2.5rem;
  background: var(--sage-soft);
  color: var(--ink);
  border-radius: 1.6rem;
  padding: 1.4rem 1.5rem 1.6rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
}

.panel h2 { margin: 0 0 0.8rem; font-size: 1.45rem; }

.row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #d3e4d2;
  font-weight: 700;
}

.row span { color: var(--muted); font-weight: 600; }

.sim {
  background: #fff;
  border-radius: 1.1rem;
  padding: 1rem 1.1rem;
  font-size: 0.95rem;
}

.sim p { margin: 0.4rem 0; }

.sim p:first-child {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.sim p:first-child::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-1px);
}

.grid, .cards { display: grid; gap: 1rem; }

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

.cards { grid-template-columns: repeat(3, 1fr); margin-top: 1.5rem; }

.membership-cards .card strong {
  font-size: 1.25rem;
  color: var(--ink);
}

.cards + h2 { margin-top: 2.75rem; }

.card, .step {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.15rem 1.2rem;
}

.card strong, .step strong { display: block; margin-bottom: 0.35rem; font-weight: 800; }

.muted { color: var(--muted); font-weight: 600; }

.hold { color: var(--ink); font-weight: 800; }

.principles { display: grid; gap: 0.7rem; padding-left: 1.2rem; }

.principles li { margin: 0.2rem 0; }

.principles li::marker { color: var(--gold); font-weight: 800; }

footer {
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  background: var(--sage-soft);
}

footer a { font-weight: 800; }

footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.note {
  background: #fff8e8;
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  color: var(--ink);
  margin-top: 1.5rem;
}

.compare-scroll {
  overflow-x: auto;
  margin-top: 1.75rem;
  border: 1.5px solid var(--line);
  border-radius: 1.25rem;
}

table.compare {
  width: 100%;
  min-width: 52rem;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.compare thead th {
  background: var(--sage-soft);
  font-weight: 800;
}

.compare tbody th {
  font-weight: 800;
  width: 8.5rem;
}

.compare .us {
  background: #f4faf4;
}

.compare tr:last-child th,
.compare tr:last-child td { border-bottom: 0; }

.sources { font-size: 0.95rem; margin-top: 1rem; }

.sources a { font-weight: 800; }

.survey-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.ballot { display: grid; gap: 0.7rem; margin-top: 1.2rem; }

.ballot label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border: 1.5px solid var(--line);
  border-radius: 1rem;
  padding: 0.8rem 1rem;
  font-weight: 700;
}

.ballot input { margin-top: 0.35rem; accent-color: var(--ink); width: 1.05rem; height: 1.05rem; }

.suggest-label { display: block; margin-top: 1.2rem; font-weight: 800; }

textarea#survey-note {
  width: 100%;
  min-height: 6.5rem;
  margin-top: 0.45rem;
  border: 1.5px solid var(--line);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  resize: vertical;
}

.bar-row { margin: 0.85rem 0 1rem; }

.bar-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 800;
  font-size: 0.98rem;
}

.bar {
  height: 0.55rem;
  margin-top: 0.4rem;
  background: var(--sage-soft);
  border-radius: 999px;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  background: var(--ink);
  border-radius: 999px;
}

.notes { display: grid; gap: 0.6rem; }

.notes p {
  margin: 0;
  background: var(--sage-soft);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
}

code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--sage-soft);
  border-radius: 0.4rem;
  padding: 0.1rem 0.35rem;
}

@media (max-width: 1100px) {
  .nav { flex-wrap: wrap; row-gap: 0.65rem; }
  .nav-links { flex-wrap: wrap; justify-content: flex-end; row-gap: 0.55rem; }
  .nav-stores { flex: 1 1 100%; display: grid; grid-template-columns: 1fr 1fr; min-width: 0; }
  .nav-stores a.button { justify-content: center; min-width: 0; }
}

@media (max-width: 800px) {
  html, body { overflow-x: clip; }
  .panel, .grid, .cards, .survey-layout { grid-template-columns: 1fr; }
  .nav-links { display: contents; }
  .nav-links a:not(.button) { display: none; }
  .nav-stores {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-width: 0;
  }
}
