/* src/assets/css/membership.css
   /pricing/ — the club membership selling page.
   Type-first, broadsheet calm: racing green, big Garamond, hairline rules.
   (advertise.njk keeps the old pricing.css; this page has its own sheet.) */

.mb {
  --mb-frame: 1200px;
  --mb-gutter: clamp(1.25rem, 4vw, 2rem);
  --mb-section: clamp(3.5rem, 8vw, 6.5rem);
  background: var(--paper);
  color: var(--ink-700);
}

.mb-frame {
  max-width: var(--mb-frame);
  margin: 0 auto;
  padding-left: var(--mb-gutter);
  padding-right: var(--mb-gutter);
}

.mb-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin: 0 0 1rem;
}

.mb h1, .mb h2 { font-family: "EB Garamond", Georgia, serif; font-weight: 550; letter-spacing: -0.015em; }

/* --------------------------------------------------------------------------
   Hero — racing green, type does the work
   -------------------------------------------------------------------------- */
.mb-hero {
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.04) 0 1px, transparent 1px 18px),
    radial-gradient(130% 100% at 50% 0%, var(--teal-700) 0%, var(--teal-900) 80%);
  color: #fff;
}
.mb-hero-inner { padding-top: clamp(4rem, 9vw, 7.5rem); padding-bottom: clamp(4rem, 9vw, 7.5rem); }
.mb-hero .mb-crumbs { margin: 0 0 2.5rem; font-family: var(--font-display); font-size: 0.8rem; }
.mb-hero .mb-crumbs a { color: rgba(255,255,255,.66); text-decoration: none; }
.mb-hero .mb-crumbs a:hover { color: #fff; text-decoration: underline; }
.mb-hero .mb-crumbs span { color: rgba(255,255,255,.4); margin: 0 0.5rem; }
.mb-hero .mb-eyebrow { color: var(--mint-300); }
.mb-hero h1 {
  font-size: clamp(2.9rem, 7vw, 5rem);
  line-height: 1.02;
  color: #fff;
  margin: 0 0 1.4rem;
  max-width: 16ch;
  text-wrap: balance;
}
.mb-hero-sub {
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  max-width: 44ch;
  margin: 0;
}
.mb-hero-rule { border: 0; border-bottom: 3px double var(--gold-400); opacity: 0.75; margin: 0; }

/* --------------------------------------------------------------------------
   Section scaffolding — asymmetric spreads
   -------------------------------------------------------------------------- */
.mb-section { padding-top: var(--mb-section); padding-bottom: var(--mb-section); }
.mb-section + .mb-section { border-top: 1px solid var(--line-200); }
.mb-wash { background: var(--wash-050); border-top: 1px solid var(--line-200); border-bottom: 1px solid var(--line-200); }
.mb-wash + .mb-section { border-top: none; }

.mb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2.5rem clamp(3rem, 7vw, 6.5rem); align-items: start; }
.mb-split h2 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  line-height: 1.1;
  color: var(--ink-900);
  margin: 0;
  text-wrap: balance;
}
.mb-copy { font-family: "EB Garamond", Georgia, serif; font-size: 1.2rem; line-height: 1.7; }
.mb-copy p { margin: 0 0 1.2rem; }
.mb-copy p:last-child { margin-bottom: 0; }
.mb-copy strong { color: var(--ink-900); }
.mb-copy a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   The offer — one price, set like a headline
   -------------------------------------------------------------------------- */
.mb-offer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3rem clamp(3rem, 7vw, 6.5rem); align-items: start; }

.mb-price-block .mb-eyebrow { color: var(--teal-700); }
.mb-price {
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 550;
  font-size: clamp(4.25rem, 9vw, 6.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0.25rem 0 0.5rem;
}
.mb-price small {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-500);
  margin-left: 0.35rem;
}
.mb-price-sub { font-family: "EB Garamond", Georgia, serif; font-size: 1.35rem; color: var(--ink-700); margin: 0 0 2rem; }

.mb-btn {
  display: inline-block;
  background: var(--teal-700);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.15rem 2.6rem;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.mb-btn:hover { background: var(--mint-400); color: var(--ink-900); text-decoration: none; }

.mb-fine {
  margin: 1.75rem 0 0;
  border-top: 1px solid var(--line-200);
  padding-top: 1.2rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-500);
  max-width: 38ch;
}
.mb-fine strong { color: var(--ink-700); }

.mb-features { list-style: none; margin: 0; padding: 0; }
.mb-features li {
  position: relative;
  padding: 0.95rem 0 0.95rem 1.9rem;
  border-bottom: 1px solid var(--line-200);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--ink-900);
}
.mb-features li:first-child { padding-top: 0; }
.mb-features li:first-child::before { top: 0.3rem; }
.mb-features li:last-child { border-bottom: none; }
.mb-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--teal-500);
}
.mb-features a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   How it works — three ruled steps
   -------------------------------------------------------------------------- */
.mb-how h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); color: var(--ink-900); margin: 0 0 clamp(2rem, 4vw, 3.25rem); }
.mb-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 4vw, 3.5rem); }
.mb-step { border-top: 1px solid var(--ink-900); padding-top: 1.4rem; }
.mb-step-num {
  display: block;
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 550;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--teal-700);
  margin-bottom: 0.9rem;
}
.mb-step h3 {
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--ink-900);
  margin: 0 0 0.6rem;
}
.mb-step p { font-family: "EB Garamond", Georgia, serif; font-size: 1.1rem; line-height: 1.65; margin: 0; }
.mb-how-after {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  max-width: 62ch;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.1875rem;
  line-height: 1.7;
}
.mb-how-after p { margin: 0 0 1.1rem; }
.mb-how-after p:last-child { margin-bottom: 0; }
.mb-how-after a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   See it live — two demonstration pages as arrow rows
   -------------------------------------------------------------------------- */
.mb-live .mb-copy { max-width: 58ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.mb-demo-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line-200);
  text-decoration: none;
}
.mb-demo-row:last-of-type { border-bottom: 1px solid var(--line-200); }
.mb-demo-row .name {
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 550;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--ink-900);
  transition: color 0.25s ease;
}
.mb-demo-row .kind {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-left: auto;
}
.mb-demo-row .arrow { font-family: var(--font-display); font-size: 1.3rem; color: var(--teal-700); transition: transform 0.25s ease; }
.mb-demo-row:hover { text-decoration: none; }
.mb-demo-row:hover .name { color: var(--teal-700); }
.mb-demo-row:hover .arrow { transform: translateX(6px); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .mb-split, .mb-offer-grid { grid-template-columns: 1fr; }
  .mb-steps { grid-template-columns: 1fr; gap: 2rem; }
  .mb-demo-row .kind { display: none; }
}

@media (max-width: 640px) {
  .mb-btn { display: block; text-align: center; }
  .mb-fine { max-width: none; }
}
