:root {
  --emerald: #0E6B4A;
  --emerald-deep: #08432E;
  --ink: #211C16;
  --cream: #FBF6EC;
  --sand: #F1E7D6;
  --blush: #F6E2D3;
  --terracotta: #C86A43;
  --terracotta-deep: #A24F30;
  --gold: #C6982E;
  --gold-soft: #E4C878;
  --white: #FFFFFF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', -apple-system, sans-serif; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
.headline { font-family: 'Fraunces', Georgia, serif; text-wrap: balance; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
p { line-height: 1.75; }

/* Nav */
.cap-nav { position: absolute; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 28px 44px; }
.cap-nav img { height: 34px; width: auto; }
.cap-nav a { color: rgba(255,255,255,0.92); font-size: 14px; font-weight: 600; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 2px; }
.cap-nav a:hover { color: var(--gold-soft); border-color: var(--gold-soft); }

/* Hero */
.cap-hero { position: relative; }
.cap-hero-media { position: relative; width: 100%; height: 52vh; min-height: 380px; max-height: 600px; overflow: hidden; background: var(--ink); }
.cap-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.cap-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,12,8,0.4) 0%, rgba(15,12,8,0) 22%); pointer-events: none; }
.cap-hero-content { position: relative; background: var(--cream); padding: 48px 44px 56px; }
.cap-hero-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.cap-eyebrow { font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta-deep); }
.cap-hero h1 { margin: 20px 0 0; font-size: clamp(32px, 5vw, 58px); font-weight: 500; line-height: 1.1; color: var(--ink); }
.cap-hero-sub { margin: 24px auto 0; max-width: 580px; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.7; color: rgba(33,28,22,0.72); }
.cap-trust { margin: 24px auto 0; max-width: 620px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; font-size: 14px; color: rgba(33,28,22,0.75); }
.cap-trust span { display: flex; align-items: center; gap: 7px; }
.cap-trust span svg path { stroke: var(--gold); }
.cap-cta-row { margin-top: 34px; }
.cap-btn-gold { display: inline-block; border-radius: 999px; background: var(--gold-soft); color: var(--ink); padding: 16px 36px; font-size: 15px; font-weight: 700; transition: transform .15s ease, background .15s ease; }
.cap-btn-gold:hover { background: #F0DBA0; transform: translateY(-1px); }

@media (max-width: 520px) {
  .cap-hero-media { height: 42vh; min-height: 300px; }
  .cap-hero-content { padding: 36px 24px 44px; }
}

/* Value strip — softened: sand, not solid emerald */
.cap-value-strip { background: var(--sand); padding: 22px 40px; border-bottom: 1px solid rgba(33,28,22,0.06); }
.cap-value-strip-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cap-value-strip-grid p { text-align: center; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--emerald-deep); margin: 0; }
@media (max-width: 760px) { .cap-value-strip-grid { grid-template-columns: repeat(2, 1fr); } }

/* Section shared */
.cap-section { padding: 84px 44px; }
.cap-section-inner { max-width: 1140px; margin: 0 auto; }
.cap-section-head { max-width: 680px; margin-bottom: 40px; }
.cap-section-head.center { max-width: 700px; margin-left: auto; margin-right: auto; text-align: center; }
.cap-section-head h2 { margin: 16px 0 0; font-size: clamp(30px, 4vw, 46px); font-weight: 500; line-height: 1.12; }
.cap-section-head p { margin-top: 18px; font-size: 17px; line-height: 1.75; color: rgba(33,28,22,0.7); }
.cap-eyebrow-dark { font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta-deep); margin: 0; }
.cap-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cap-split-img { position: relative; border-radius: 20px; overflow: hidden; height: 460px; }
.cap-split-img img { width: 100%; height: 100%; object-fit: cover; }

/* Why Carté */
.cap-why { background: var(--white); }
.cap-why p { margin-top: 22px; font-size: 16.5px; line-height: 1.8; color: rgba(33,28,22,0.72); }
.cap-badges { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cap-badge { border: 1px solid rgba(14,107,74,0.18); background: var(--cream); border-radius: 14px; padding: 18px 14px; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--emerald-deep); }
@media (max-width: 760px) { .cap-badges { grid-template-columns: 1fr; } }

/* ===== COMMISSION — plain, structural: range → percent. Deliberately not styled like the
   Rewards cards below it, since the two run on different math (commission applies from a
   tier's minimum; the reward attached to that tier needs the full range met — see Rewards). */
.cap-commission { background: var(--white); }
.cap-commission-strip { margin-top: 36px; display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); border-top: 1px solid rgba(33,28,22,0.1); border-left: 1px solid rgba(33,28,22,0.1); border-radius: 16px; overflow: hidden; }
.cap-commission-cell { background: var(--cream); border-right: 1px solid rgba(33,28,22,0.1); border-bottom: 1px solid rgba(33,28,22,0.1); padding: 26px 20px; text-align: center; }
.cap-commission-range { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: rgba(33,28,22,0.55); }
.cap-commission-pct { font-family: 'Fraunces', serif; font-size: 34px; font-weight: 500; color: var(--emerald-deep); margin-top: 8px; }
.cap-commission-pct span { font-size: 16px; font-weight: 500; color: rgba(33,28,22,0.5); }
@media (max-width: 860px) { .cap-commission-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cap-commission-strip { grid-template-columns: repeat(2, 1fr); } }

/* ===== REWARDS — a separate, higher bar: what you actually unlock once a tier's range is
   fully met, not just entered. See cap-commission above for the percentage-only breakdown. */
.cap-rewards { background: var(--cream); }
.cap-reward-cards { margin-top: 40px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cap-reward-card { background: var(--white); border-radius: 20px; padding: 28px 22px; box-shadow: 0 6px 24px rgba(33,28,22,0.06); display: flex; flex-direction: column; gap: 16px; }
.cap-reward-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.cap-reward-icon svg { width: 26px; height: 26px; color: var(--ink); }
.cap-reward-card:nth-child(1) .cap-reward-icon { background: #DCEFE3; }
.cap-reward-card:nth-child(2) .cap-reward-icon { background: #F6E2D3; }
.cap-reward-card:nth-child(3) .cap-reward-icon { background: #F1D9C4; }
.cap-reward-card:nth-child(4) .cap-reward-icon { background: #E7DDF0; }
.cap-reward-card:nth-child(5) .cap-reward-icon { background: #F5E3AC; }
.cap-reward-units { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(33,28,22,0.5); }
.cap-reward-threshold { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 500; color: var(--ink); line-height: 1.15; margin: 2px 0 0; }
.cap-reward-name { font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--emerald-deep); margin-top: auto; }

@media (max-width: 980px) { .cap-reward-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .cap-reward-cards { grid-template-columns: repeat(2, 1fr); } }

.cap-grand-prize {
  margin-top: 24px; border-radius: 24px; padding: 44px 42px;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--gold) 100%);
  color: var(--ink); position: relative; overflow: hidden;
}
.cap-grand-prize .cap-eyebrow-onwarm { font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(33,28,22,0.7); display: flex; align-items: center; gap: 10px; }
.cap-grand-prize .cap-eyebrow-onwarm svg { width: 20px; height: 20px; }
.cap-grand-prize h3 { margin: 16px 0 0; font-size: clamp(28px, 3.6vw, 42px); font-weight: 500; line-height: 1.1; max-width: 20ch; }
.cap-grand-prize p { margin-top: 16px; font-size: 16px; line-height: 1.75; max-width: 58ch; color: rgba(33,28,22,0.82); }
.cap-grand-prize .cap-gp-stat { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 24px; background: rgba(255,255,255,0.55); border-radius: 14px; padding: 14px 22px; }
.cap-grand-prize .cap-gp-stat b { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 600; }
.cap-grand-prize .cap-gp-stat span { font-size: 13px; color: rgba(33,28,22,0.7); }

/* ===== COMMUNITY — radical redesign ===== */
.cap-community { background: var(--blush); overflow: hidden; }
.cap-community-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; align-items: stretch; border-radius: 28px; overflow: hidden; background: var(--white); box-shadow: 0 20px 60px rgba(33,28,22,0.10); }
.cap-community-media { position: relative; min-height: 480px; }
.cap-community-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cap-community-text { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.cap-community-quote { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; color: var(--ink); margin: 18px 0 0; text-wrap: balance; }
.cap-community-text p.body { margin-top: 22px; font-size: 16px; line-height: 1.8; color: rgba(33,28,22,0.72); }
.cap-community-text p.emph { margin-top: 16px; font-size: 16px; font-weight: 700; color: var(--emerald-deep); }

@media (max-width: 880px) {
  .cap-community-inner { grid-template-columns: 1fr; border-radius: 20px; }
  .cap-community-media { min-height: 320px; }
  .cap-community-text { padding: 40px 30px; }
}

/* How it works — softened from black to sand */
.cap-how { background: var(--sand); text-align: center; }
.cap-how .cap-section-head { margin-left: auto; margin-right: auto; }
.cap-steps { margin-top: 44px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: left; }
.cap-step { background: var(--white); border-radius: 18px; padding: 26px 22px; }
.cap-step-n { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 600; color: var(--terracotta); margin: 0; }
.cap-step h3 { margin: 14px 0 0; font-size: 16px; font-weight: 700; color: var(--ink); }
.cap-step p { margin-top: 10px; font-size: 14px; line-height: 1.65; color: rgba(33,28,22,0.6); }
.cap-how-closing { margin: 40px auto 0; max-width: 680px; font-size: 14.5px; line-height: 1.8; color: rgba(33,28,22,0.55); }

@media (max-width: 980px) { .cap-steps { grid-template-columns: repeat(2, 1fr); } }

/* Products — last, minimal */
.cap-products { background: var(--white); text-align: center; }
.cap-products-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; text-align: left; }
.cap-product-card { padding: 0; }
.cap-product-photo { width: 100%; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--cream); margin-bottom: 18px; display: flex; align-items: center; justify-content: center; }
.cap-product-photo img { width: 100%; height: 100%; object-fit: cover; }
.cap-product-card h3 { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 500; color: var(--ink); margin: 0; }
.cap-product-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.65; color: rgba(33,28,22,0.6); }
.cap-empty { grid-column: 1 / -1; font-size: 14px; color: rgba(0,0,0,0.5); text-align: center; }

@media (max-width: 760px) { .cap-products-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cap-products-grid { grid-template-columns: 1fr; } }

/* Final CTA — warm gradient, not flat green/black */
.cap-final { position: relative; padding: 84px 44px; text-align: center; overflow: hidden; background: linear-gradient(135deg, var(--emerald-deep) 0%, var(--emerald) 55%, var(--terracotta-deep) 130%); }
.cap-final-inner { position: relative; max-width: 620px; margin: 0 auto; }
.cap-final h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 500; color: var(--cream); margin: 0; }
.cap-final p { margin: 18px auto 0; max-width: 420px; font-size: 15.5px; color: rgba(251,246,236,0.82); }
.cap-final-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; }
.cap-final-actions a.secondary { color: rgba(251,246,236,0.82); font-size: 14px; font-weight: 600; border-bottom: 1px solid rgba(251,246,236,0.4); padding-bottom: 2px; }
.cap-final-actions a.secondary:hover { color: var(--cream); }

/* Footer */
.cap-footer { background: var(--ink); padding: 40px 44px; }
.cap-footer-inner { max-width: 1140px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cap-footer img { height: 24px; width: auto; }
.cap-footer p { margin: 0; font-size: 12px; color: rgba(251,246,236,0.45); }

@media (max-width: 860px) {
  .cap-split { grid-template-columns: 1fr; gap: 32px; }
  .cap-split-img { height: 340px; }
}
@media (max-width: 600px) {
  .cap-nav { padding: 18px 22px; }
  .cap-nav img { height: 26px; }
  .cap-nav a { font-size: 12px; }
  .cap-section { padding: 56px 22px; }
  .cap-final { padding: 64px 22px; }
}
