:root {
  --ink: #0f1724;
  --soft: #5c6778;
  --mint: #12826f;
  --mint-deep: #0e6b5c;
  --sand: #f4efe6;
  --paper: #faf8f4;
  --line: #243041;
  --card: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

.wrap {
  width: min(1242px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}
.skip:focus {
  left: 16px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}

.bar {
  position: relative;
}
.bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 20px;
  white-space: nowrap;
}
.logo-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.bar nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--soft);
}

.bar nav a:hover,
.bar nav a.is-active {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: #1c2838; }
.btn-mint {
  background: var(--mint);
  color: #fff;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}
.btn-mint:hover { background: var(--mint-deep); }
a.btn-mint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  padding-top: 28px;
  padding-bottom: 20px;
  align-items: center;
}

.kicker {
  font-weight: 700;
  color: var(--mint);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -.04em;
  margin: 12px 0 16px;
}

.hero p { color: var(--soft); font-size: 18px; max-width: 38ch; margin-bottom: 24px; }

.stage { position: relative; min-height: 520px; }

.tile {
  position: absolute;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(16, 24, 40, .12);
}
.tile img,
.tile picture { width: 100%; height: 100%; }
.tile picture { display: block; }
.tile img { object-fit: cover; }
.tile span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}
.t1 { width: 58%; height: 340px; left: 0; top: 0; }
.t2 { width: 48%; height: 250px; right: 0; bottom: 10px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 48px;
}
.stat {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  display: block;
}
.stat:hover { box-shadow: 0 10px 28px rgba(16, 24, 40, .08); }
.stat strong { display: block; font-size: 28px; letter-spacing: -.03em; }
.stat p { color: var(--soft); font-size: 13px; margin-top: 4px; }

.join {
  background: var(--ink);
  color: #fff;
  margin: 0 auto 48px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 48px;
  align-items: center;
}
.join-solo { margin-top: 24px; }
.join h2 { font-size: clamp(32px, 4vw, 42px); letter-spacing: -.03em; line-height: 1.05; }
.join .lede { color: #c9d0d8; margin-top: 10px; }
.join .disclaimer {
  color: #9aa6b4;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 16px;
}

.join-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
}
textarea {
  height: 140px;
  padding: 14px;
  resize: vertical;
}
.wide { grid-column: 1 / -1; }
.hint {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #9aa6b4;
  margin-top: -4px;
}
.check {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.45;
  color: #c5ccd4;
}
.check input {
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--mint);
  width: 16px;
  height: 16px;
}
.check a { color: #7dcec0; text-decoration: underline; }
.join-form .btn-mint {
  grid-column: 1 / -1;
  height: 50px;
}

.form-error {
  grid-column: 1 / -1;
  background: #3b1d1d;
  color: #ffd5d5;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}
.form-error-light {
  background: #f8e8e8;
  color: #7a1f1f;
  margin-bottom: 16px;
}
.card .form-error { margin-bottom: 16px; }
.field-error { color: #ffb4b4; font-size: 12px; grid-column: 1 / -1; margin-top: -6px; }

.arts { padding-top: 10px; padding-bottom: 64px; }
.arts h3 { margin-bottom: 18px; font-size: 28px; letter-spacing: -.03em; }
.row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.row-featured { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) {
  .row-featured { grid-template-columns: repeat(2, 1fr); }
}
.note {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: block;
}
.note:hover { box-shadow: 0 12px 30px rgba(16, 24, 40, .08); }
.note picture { display: block; }
.note img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: center 30%;
}
.note div { padding: 16px; }
.note small { color: var(--mint); font-weight: 700; font-size: 12px; }
.note p { margin-top: 6px; font-weight: 600; }

footer {
  background: var(--ink);
  color: #d5dbe3;
  padding: 56px 0 28px;
  margin-top: auto;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.foot-brand .logo { color: #fff; margin-bottom: 12px; }
.foot-brand .logo:hover { color: #fff; }
.foot-brand p { color: #9aa6b4; font-size: 14px; line-height: 1.55; max-width: 28ch; }
footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
footer ul { list-style: none; }
footer li { margin: 0 0 10px; font-size: 14px; }
footer a { color: #9aa6b4; }
footer a:hover { color: #fff; }
.foot-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  font-size: 13px;
  color: #8b95a3;
}
.foot-base strong { color: #fff; font-weight: 600; }
.foot-disclaimer {
  margin-top: 18px;
  font-size: 12px;
  color: #7d8794;
  max-width: 72ch;
  line-height: 1.5;
}

.page {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 80px;
}
.page-wide {
  width: min(1242px, 100%);
  margin: 0 auto;
  padding: 36px 24px 80px;
}
.page h1, .page-wide h1 {
  font-size: clamp(34px, 5vw, 48px);
  letter-spacing: -.04em;
  line-height: 1.08;
  margin: 10px 0 16px;
}
.lead { color: var(--soft); font-size: 18px; line-height: 1.55; margin-bottom: 28px; }

.prose a, .legal a, .lead a {
  color: var(--mint);
  text-decoration: underline;
}
.prose p, .legal p { color: #2a3444; font-size: 17px; line-height: 1.7; margin: 0 0 16px; }
.prose h2, .legal h2 {
  font-size: 22px;
  letter-spacing: -.02em;
  margin: 32px 0 12px;
}
.prose h3, .legal h3 { font-size: 18px; margin: 24px 0 10px; }
.prose ul, .legal ul { margin: 0 0 16px 20px; color: #2a3444; }
.prose li, .legal li { margin: 0 0 8px; line-height: 1.6; font-size: 17px; }
.legal li { font-size: 16px; }
.crumb { font-size: 13px; color: var(--soft); margin-bottom: 8px; }
.crumb a { text-decoration: underline; }
.article-hero {
  border-radius: 22px;
  overflow: hidden;
  margin: 8px 0 28px;
  background: #ece8e1;
  aspect-ratio: 3 / 2;
}
.article-hero picture,
.article-hero img {
  width: 100%;
  height: 100%;
}
.article-hero picture { display: block; }
.article-hero img {
  object-fit: cover;
  object-position: center 30%;
}
.byline { color: var(--soft); font-size: 14px; margin-bottom: 18px; }
.health-note {
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 32px;
}

.safe {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 24px 72px;
}
.card {
  width: min(460px, 100%);
  background: #fff;
  border-radius: 28px;
  padding: 40px 36px 36px;
  box-shadow: 0 18px 50px rgba(16, 24, 40, .08);
}
.card.wide-card { width: min(560px, 100%); }
.card h1 {
  font-size: 32px;
  letter-spacing: -.03em;
  text-align: center;
  margin-bottom: 10px;
}
.card > p, .card .intro {
  text-align: center;
  color: var(--soft);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.45;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px;
}
.card input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #f3f1ec;
}
.card .btn-mint { width: 100%; height: 52px; margin-top: 8px; }
.card .hint { color: var(--soft); }
.confirm-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e6f5f1;
  color: var(--mint);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto 16px;
}

.contact-form { display: grid; gap: 12px; max-width: 560px; }
.contact-form .btn-mint { height: 50px; }
.contact-details { margin-top: 32px; }

.cookie[hidden] { display: none !important; }
.cookie {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(1242px, calc(100% - 40px));
  bottom: 20px;
  z-index: 50;
  background: var(--ink);
  color: #d5dbe3;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 40px rgba(16, 24, 40, .28);
}
.cookie p { font-size: 13px; line-height: 1.5; max-width: 62ch; }
.cookie a { color: #7dcec0; text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie .btn { background: #fff; color: var(--ink); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: #fff;
  border: 1px solid #3a4658;
}
.cookie .btn-ghost:hover { border-color: #fff; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .bar nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    box-shadow: 0 16px 40px rgba(16, 24, 40, .12);
    z-index: 20;
  }
  .bar nav.is-open { display: flex; }
  .hero, .stats, .join, .row, .join-form, .foot-grid { display: block; }
  .join { margin-bottom: 40px; padding: 28px; }
  .join-form input, .join-form button, .check, .hint, .form-error { margin-bottom: 10px; }
  .stage { min-height: 360px; }
  .t1 { width: 70%; height: 220px; }
  .t2 { width: 58%; height: 170px; }
  .stat, .note, .foot-grid > * { margin-bottom: 16px; }
  .article-hero { aspect-ratio: 3 / 2; }
  .cookie { flex-direction: column; align-items: stretch; }
  .foot-base { display: block; }
}
