/* Carbon Activated website. Same look as the app: soft black, champagne gold, Raleway. */
:root {
  --black: #212121;
  --ink: #2c2c2c;
  --line: #3a3a38;
  --white: #ffffff;
  --muted: #a9a9a3;
  --soft: #d6d6d0;
  --gold: #bd9c53;
  --champagne: #e3cb94;
  --gold-gradient: linear-gradient(135deg, #e3cb94 0%, #bd9c53 55%, #9a7b3f 100%);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Raleway, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--champagne); }
a:hover { color: var(--white); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  padding: 22px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--champagne); }
.lockup img { width: 26px; height: 28px; }
.lockup span { font-weight: 500; letter-spacing: 6px; font-size: 15px; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--soft); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 1px; }
.nav a:hover { color: var(--white); }
.nav .hide-sm { display: inline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; border: 0; cursor: pointer;
}
.btn-gold { background: var(--gold); background-image: var(--gold-gradient); color: #1b1b1b; }
.btn-gold:hover { color: #1b1b1b; filter: brightness(1.06); }
.btn-outline { border: 1.5px solid #6a6a66; color: var(--white); }
.btn-outline:hover { border-color: var(--champagne); color: var(--white); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(33,33,33,.85) 0%, rgba(33,33,33,.15) 30%, rgba(33,33,33,.55) 62%, #212121 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: 72px; }
.eyebrow { font-weight: 700; font-size: 12px; letter-spacing: 3px; color: var(--champagne); text-transform: uppercase; margin: 0 0 12px; }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: 1.5px; }
h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.05; text-transform: uppercase; max-width: 12ch; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--soft); max-width: 34ch; margin: 18px 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Sections */
section { padding: 96px 0; }
h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.15; text-transform: uppercase; margin-bottom: 18px; }
.section-intro { color: var(--soft); max-width: 56ch; margin: 0 0 48px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* How it works */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--champagne); font-weight: 600;
}
.steps h3 { font-size: 20px; font-weight: 600; letter-spacing: .3px; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--soft); }
.phone {
  width: min(340px, 100%); margin: 0 auto; border-radius: 40px; padding: 10px;
  background: #111; border: 1px solid #333;
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
.phone img { border-radius: 30px; }

/* Good to know */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { background: var(--ink); border-radius: 20px; padding: 26px; }
.fact h3 { font-size: 18px; font-weight: 600; letter-spacing: .3px; margin-bottom: 6px; }
.fact p { margin: 0; color: var(--soft); font-size: 15px; }

/* Rewards */
.rewards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reward { background: var(--ink); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.reward img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.reward .mark-tile { aspect-ratio: 1 / 1; display: grid; place-items: center; background: #1b1b1b; }
.reward .mark-tile img { width: 34%; aspect-ratio: auto; }
.reward div.body { padding: 18px 20px 22px; }
.reward h3 { font-size: 17px; font-weight: 600; letter-spacing: .2px; }
.reward .pts { color: var(--champagne); font-weight: 600; font-size: 15px; margin-top: 4px; }
.perk {
  margin-top: 16px; border: 1px solid rgba(189,156,83,.45); border-radius: 20px;
  display: grid; grid-template-columns: 220px 1fr; overflow: hidden;
}
.perk img { height: 100%; object-fit: cover; }
.perk div { padding: 26px; }
.perk h3 { font-size: 20px; font-weight: 600; letter-spacing: .3px; margin: 6px 0; }
.perk p { margin: 0; color: var(--soft); }

/* Carbon Diamonds */
.cd { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cd-photo { border-radius: 24px; overflow: hidden; }
.cd address { font-style: normal; color: var(--soft); margin: 18px 0 26px; }

/* Beta */
.beta { text-align: center; background: var(--ink); border-radius: 28px; padding: 64px 24px; }
.beta h2 { margin-bottom: 12px; }
.beta p { color: var(--soft); max-width: 46ch; margin: 0 auto 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--soft); text-decoration: none; }
.site-footer a:hover { color: var(--white); }

/* Policy pages */
.page-header { position: static; padding: 22px 0; border-bottom: 1px solid var(--line); }
.doc { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); max-width: none; margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 40px; }
.doc h2 { font-size: 20px; font-weight: 600; letter-spacing: .3px; text-transform: none; color: var(--champagne); margin: 36px 0 10px; }
.doc p, .doc li { color: var(--soft); }
.doc ol, .doc ul { padding-left: 22px; }

/* Wide screens: put the photo's subject on the right and shade the left for the headline */
@media (min-width: 861px) {
  .hero-photo { left: auto; width: 62%; object-position: 50% 20%; }
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, #212121 0%, #212121 38%, rgba(33,33,33,0) 60%);
  }
  .hero::after { background: linear-gradient(180deg, rgba(33,33,33,.6) 0%, rgba(33,33,33,0) 25%, rgba(33,33,33,0) 70%, #212121 100%); }
  .hero .wrap { padding-bottom: 120px; }
}

/* Phones */
@media (max-width: 860px) {
  section { padding: 72px 0; }
  .how, .cd { grid-template-columns: 1fr; gap: 48px; }
  .facts { grid-template-columns: 1fr; }
  .rewards { grid-template-columns: 1fr 1fr; }
  .perk { grid-template-columns: 1fr; }
  .perk img { height: 180px; width: 100%; }
  .nav .hide-sm { display: none; }
}
