/* Propel Earth brand kit -- shared styles for lp.propel.earth.
   Tokens mirror the Propel brief palette (warm dark by default, cream light).
   Type: Inter body + Instrument Serif (italic) display. */

:root {
  /* dark (default) */
  --bg: #171614;
  --surf: #1c1b19;
  --surf2: #201f1d;
  --surfoff: #222120;
  --surfdyn: #2d2c2a;
  --div: #262523;
  --bord: #393836;
  --text: #cdccca;
  --muted: #797876;
  --faint: #5a5957;
  --pri: #4f98a3;
  --pri-hi: #313b3b;
  --warn: #bb653b;
  --ok: #6daa45;
  --gold: #e8af34;
  --gold-hi: #4d4332;

  /* radii */
  --r6: 0.375rem;
  --r8: 0.5rem;
  --r12: 0.75rem;
  --r16: 1rem;
  --rfull: 9999px;

  /* spacing */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.25rem;
  --s6: 1.5rem;
  --s8: 2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;

  /* fluid type */
  --xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --2xl: clamp(2rem, 1.4rem + 2.5vw, 3.5rem);
  --3xl: clamp(2.5rem, 1.5rem + 4vw, 5rem);

  /* type families */
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Instrument Serif", Georgia, serif;

  --ease: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  font-family: var(--body);
  font-size: var(--base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100dvh;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

p,
li {
  text-wrap: pretty;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--div);
  padding: var(--s3) var(--s6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
}
.nav-logo {
  font-family: var(--display);
  font-style: italic;
  font-size: var(--lg);
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo::first-letter {
  color: var(--pri);
}
.nav-links {
  display: flex;
  gap: var(--s1);
}
.nav-links a {
  font-size: var(--xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35em 0.8em;
  border-radius: var(--rfull);
  text-decoration: none;
  color: var(--muted);
  transition: all var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--pri);
  background: var(--pri-hi);
}
.nav-cta {
  font-size: var(--xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.5em 1em;
  border-radius: var(--rfull);
  text-decoration: none;
  color: var(--bg);
  background: var(--gold);
  transition: all var(--ease);
}
.nav-cta:hover { background: #f2c658; }

/* LAYOUT */
.wrap {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: var(--s6);
}
.wrap-narrow {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: var(--s6);
}

/* HERO */
.hero {
  padding: var(--s16) 0 var(--s12);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, var(--pri-hi) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 95% 10%, var(--gold-hi) 0%, transparent 60%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.hero > .wrap {
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: var(--xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: var(--s4);
}
.hero h1 {
  font-family: var(--display);
  font-style: italic;
  font-size: var(--3xl);
  color: var(--text);
  margin-bottom: var(--s5);
  max-width: 18ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--pri);
}
.hero-sub {
  font-family: var(--body);
  font-size: var(--lg);
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: var(--s8);
  line-height: 1.5;
}
.cta-row {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
  align-items: center;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.95em 1.6em;
  border-radius: var(--rfull);
  text-decoration: none;
  font-size: var(--sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--ease);
  white-space: nowrap;
}
.cta-primary {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 10px 30px -12px rgba(232, 175, 52, 0.4);
}
.cta-primary:hover {
  background: #f2c658;
  transform: translateY(-1px);
}
.cta-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--bord);
}
.cta-ghost:hover {
  border-color: var(--pri);
  color: var(--pri);
}
.cta-arrow {
  display: inline-block;
  transition: transform var(--ease);
}
.cta-primary:hover .cta-arrow { transform: translateX(3px); }

/* SOCIAL PROOF BAR (just below hero) */
.proof-bar {
  padding: var(--s6) 0;
  border-top: 1px solid var(--div);
  border-bottom: 1px solid var(--div);
  background: var(--surfoff);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s6);
  text-align: center;
}
.proof-num {
  font-family: var(--display);
  font-style: italic;
  font-size: var(--2xl);
  color: var(--text);
  line-height: 1;
  margin-bottom: var(--s2);
}
.proof-lbl {
  font-size: var(--xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* SECTIONS */
.sec {
  padding: var(--s16) 0;
  border-top: 1px solid var(--div);
}
.sec-hd {
  margin-bottom: var(--s10);
  max-width: 760px;
}
.sec-eyebrow {
  font-size: var(--xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pri);
  margin-bottom: var(--s3);
}
.sec-hd h2 {
  font-family: var(--display);
  font-style: italic;
  font-size: var(--2xl);
  color: var(--text);
  margin-bottom: var(--s4);
}
.sec-hd p {
  font-size: var(--lg);
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.5;
}

/* 3-COLUMN FEATURE GRID */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s6);
}
.feat {
  padding: var(--s6);
  background: var(--surf);
  border: 1px solid var(--bord);
  border-radius: var(--r12);
  transition: all var(--ease);
}
.feat:hover {
  border-color: var(--pri);
  transform: translateY(-2px);
}
.feat-num {
  font-family: var(--display);
  font-style: italic;
  font-size: var(--xl);
  color: var(--gold);
  margin-bottom: var(--s3);
  line-height: 1;
}
.feat h3 {
  font-family: var(--display);
  font-style: italic;
  font-size: var(--lg);
  color: var(--text);
  margin-bottom: var(--s3);
}
.feat p {
  font-size: var(--sm);
  color: var(--muted);
  line-height: 1.6;
}

/* LIST sec */
.check-list {
  list-style: none;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.check-list li {
  padding-left: 2rem;
  position: relative;
  font-size: var(--base);
  color: var(--text);
}
.check-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-family: var(--display);
  font-weight: 400;
}
.check-list strong {
  color: var(--text);
  font-weight: 600;
}

/* QUOTE */
.quote {
  max-width: 760px;
  padding: var(--s8);
  background: var(--surf);
  border-left: 3px solid var(--gold);
  border-radius: var(--r8);
  margin: var(--s10) auto;
}
.quote blockquote {
  font-family: var(--display);
  font-style: italic;
  font-size: var(--xl);
  color: var(--text);
  margin-bottom: var(--s4);
  line-height: 1.3;
}
.quote cite {
  font-style: normal;
  font-size: var(--xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  max-width: 760px;
}
.faq details {
  background: var(--surf);
  border: 1px solid var(--bord);
  border-radius: var(--r8);
  overflow: hidden;
}
.faq summary {
  padding: var(--s5) var(--s6);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--base);
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-size: var(--xl);
  color: var(--pri);
  transition: transform var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div {
  padding: 0 var(--s6) var(--s6);
  color: var(--muted);
  font-size: var(--sm);
  line-height: 1.7;
}

/* CLOSE CTA */
.close-cta {
  padding: var(--s16) 0;
  text-align: center;
  background: var(--surfoff);
  border-top: 1px solid var(--div);
}
.close-cta h2 {
  font-family: var(--display);
  font-style: italic;
  font-size: var(--2xl);
  color: var(--text);
  margin-bottom: var(--s5);
}
.close-cta p {
  color: var(--muted);
  font-size: var(--lg);
  max-width: 50ch;
  margin: 0 auto var(--s8);
}

/* FOOTER */
.foot {
  padding: var(--s8) 0;
  text-align: center;
  color: var(--faint);
  font-size: var(--xs);
  border-top: 1px solid var(--div);
}
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--pri); }

/* SMALL SCREENS */
@media (max-width: 600px) {
  .nav { padding: var(--s3) var(--s4); }
  .nav-links { display: none; }
  .wrap, .wrap-narrow { padding-inline: var(--s4); }
  .hero { padding: var(--s10) 0 var(--s8); }
  .sec { padding: var(--s10) 0; }
  .close-cta { padding: var(--s10) 0; }
  .cta { width: 100%; justify-content: center; }
}
