@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,600,700&display=swap');

:root {
  /* Palette: deep forest + warm amber + off-white */
  --bg:          #f8f6f0;
  --bg-alt:      #f0ede4;
  --bg-dark:     #1a2218;
  --bg-dark-alt: #1f2b1c;
  --bg-card:     #ffffff;
  --fg:          #1a2218;
  --fg-muted:    #4a5a45;
  --fg-dim:      #7a8c74;
  --fg-invert:   #f8f6f0;
  --fg-invert-muted: rgba(248,246,240,0.65);
  --accent:      #c17c2a;
  --accent-light: rgba(193,124,42,0.12);
  --accent-hover: #a86920;
  --green:       #2d5a27;
  --green-mid:   #3d7a36;
  --green-light: rgba(45,90,39,0.1);
  --border:      rgba(26,34,24,0.1);
  --border-dark: rgba(248,246,240,0.1);
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body:    'Satoshi', 'DM Sans', system-ui, sans-serif;
  --radius:       16px;
  --radius-sm:    10px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

/* ========== SHARED UTILITIES ========== */

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.accent { color: var(--accent); }
.strikethrough { text-decoration: line-through; color: var(--fg-dim); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.85rem;
  background: var(--green);
  color: var(--fg-invert);
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.005em;
}

.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.85rem;
  background: transparent;
  color: var(--fg-muted);
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}

/* ========== HERO ========== */

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45,90,39,0.08) 0%, transparent 70%),
    var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero-bg-pulse {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 50% 110%, rgba(193,124,42,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  border: 1px solid rgba(45,90,39,0.15);
  padding: 0.35rem 1rem 0.35rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 2.25rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-mid);
  flex-shrink: 0;
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--green);
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 1.75rem;
  line-height: 1.75;
}

.hero-devices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.device-chip {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  transition: all 0.2s;
}

.device-chip:hover {
  background: var(--green-light);
  border-color: rgba(45,90,39,0.2);
  color: var(--green);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== PROBLEM ========== */

.problem {
  padding: 7rem 2rem;
  background: var(--bg-dark);
  position: relative;
}

.problem-inner {
  max-width: 960px;
  margin: 0 auto;
}

.problem .section-label {
  color: var(--accent);
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg-invert);
  margin-bottom: 3.5rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.problem-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 2rem;
  transition: background 0.2s;
}

.problem-card:hover {
  background: rgba(255,255,255,0.07);
}

.problem-stat {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--fg-invert-muted);
  line-height: 1.65;
}

.problem-card p em {
  color: var(--fg-invert);
  font-style: italic;
}

/* ========== FEATURES ========== */

.features {
  padding: 7rem 2rem;
  background: var(--bg);
}

.features-inner {
  max-width: 980px;
  margin: 0 auto;
}

.features-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.25s;
}

.feature-card:hover {
  border-color: rgba(45,90,39,0.2);
  box-shadow: 0 4px 24px rgba(26,34,24,0.06);
}

.feature-main {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #f8f6f0 0%, rgba(45,90,39,0.04) 100%);
  border-color: rgba(45,90,39,0.15);
}

.feature-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.feature-compat {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.feature-compat span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--green);
  background: var(--green-light);
  border: 1px solid rgba(45,90,39,0.15);
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
}

.feature-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--green-light);
  border-radius: 10px;
  color: var(--green);
  margin-bottom: 1rem;
}

/* ========== SCIENCE ========== */

.science {
  padding: 7rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.science-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.science-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.science-left > p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.science-orgs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.science-org {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.org-abbr {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
  background: var(--green-light);
  border: 1px solid rgba(45,90,39,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.org-name {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

.science-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}

.science-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-mid));
  border-radius: var(--radius) var(--radius) 0 0;
}

.science-card-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 1.5rem;
}

.science-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.science-point {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.point-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--green-light);
  border-radius: 50%;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.science-point p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.science-point p em {
  color: var(--fg);
  font-style: italic;
}

/* ========== HOW IT WORKS ========== */

.how {
  padding: 7rem 2rem;
  background: var(--bg-dark);
}

.how-inner {
  max-width: 680px;
  margin: 0 auto;
}

.how .section-label {
  color: var(--accent);
}

.how-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg-invert);
  margin-bottom: 3rem;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  opacity: 0.45;
  flex-shrink: 0;
  width: 64px;
  line-height: 1;
  padding-top: 0.15rem;
}

.step-content h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg-invert);
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.93rem;
  color: var(--fg-invert-muted);
  line-height: 1.7;
}

.how-connector {
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg, rgba(193,124,42,0.4) 0%, transparent 100%);
  margin-left: 32px;
}

/* ========== CLOSING ========== */

.closing {
  padding: 8rem 2rem;
  text-align: center;
  background: var(--bg);
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(45,90,39,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.closing-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  border: 1px solid rgba(45,90,39,0.15);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 500px;
  margin: 0 auto;
}

.closing-disclaimer {
  font-size: 0.8rem;
  color: var(--fg-dim);
  margin-top: 1.5rem;
}

/* ========== FOOTER ========== */

.site-footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--fg);
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--fg-dim);
  flex: 1;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--green);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {
  .science-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero { min-height: 80vh; padding: 4rem 1.5rem 3rem; }
  .hero h1 { font-size: 2.25rem; }
  .problem, .features, .how, .science { padding: 5rem 1.5rem; }
  .closing { padding: 5rem 1.5rem; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-main { grid-column: 1; }
  .how-step { gap: 1.25rem; }
  .step-num { font-size: 2.25rem; width: 52px; }
  .footer-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
  .footer-meta { text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .problem-stat { font-size: 2.25rem; }
  .hero-badge { font-size: 0.7rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; justify-content: center; }
}
