/* ============================================
   UPKEEP — Landing Page Styles
   Dark warm aesthetic, copper accent
   ============================================ */

:root {
  --bg: #0f0d0b;
  --bg-surface: #1a1714;
  --bg-surface-2: #242019;
  --fg: #f5f0e8;
  --fg-muted: #a8a095;
  --fg-faint: #5a554d;
  --accent: #e8894a;
  --accent-dim: rgba(232, 137, 74, 0.12);
  --accent-border: rgba(232, 137, 74, 0.25);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'General Sans', system-ui, sans-serif;
}

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

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

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

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── Navigation ─────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
  background: rgba(15, 13, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 240, 232, 0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-cta {
  color: var(--accent) !important;
  font-weight: 600 !important;
}

/* ── Shared Layout ───────────────────────── */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

/* ── Hero ───────────────────────────────── */
.hero {
  padding: 7rem 2rem 6rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.75rem;
  max-width: 18ch;
}

.hero-accent {
  color: var(--accent);
  font-style: italic;
}

.hero-lede {
  font-size: 1.125rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 0.375rem 0.875rem;
  border-radius: 2rem;
  letter-spacing: 0.01em;
}

/* ── How It Works ───────────────────────── */
.how {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(245, 240, 232, 0.06);
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.step {
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid rgba(245, 240, 232, 0.06);
  border-radius: 4px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.step p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 4rem;
}

/* ── Features ───────────────────────────── */
.features {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(245, 240, 232, 0.06);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.feature-card {
  padding: 2.5rem;
  background: var(--bg-surface);
  position: relative;
}

.feature-card--large {
  grid-column: span 2;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

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

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

/* ── Calculator ─────────────────────────── */
.calculator {
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
}

.calc-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  border-top: 1px solid rgba(245, 240, 232, 0.06);
  padding-top: 6rem;
}

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

.calc-text h2 em {
  color: var(--accent);
  font-style: italic;
}

.calc-text p {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.calc-text strong {
  color: var(--fg);
  font-weight: 600;
}

.calc-sub {
  font-size: 0.875rem !important;
  color: var(--fg-faint) !important;
  margin-top: 1rem;
}

.calc-stat {
  text-align: center;
  padding: 3rem 2.5rem;
  background: var(--bg-surface);
  border: 1px solid rgba(245, 240, 232, 0.06);
  border-radius: 4px;
  min-width: 200px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.stat-vs {
  font-size: 0.75rem;
  color: var(--fg-faint);
  line-height: 1.5;
  border-top: 1px solid rgba(245, 240, 232, 0.06);
  padding-top: 1rem;
}

/* ── Closing ────────────────────────────── */
.closing {
  padding: 8rem 2rem 7rem;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(245, 240, 232, 0.06);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-surface) 100%);
}

.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.closing-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.75rem;
  max-width: 20ch;
}

.closing-sub {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 54ch;
}

/* ── Footer ─────────────────────────────── */
footer {
  padding: 4rem 2rem 3rem;
  border-top: 1px solid rgba(245, 240, 232, 0.06);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 240, 232, 0.06);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--fg-faint);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 4rem;
  justify-content: flex-end;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 0.25rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--fg);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--fg-faint);
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 768px) {
  .hero {
    padding: 5rem 1.5rem 4rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-connector {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--large {
    grid-column: span 1;
  }

  .calc-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .calc-stat {
    order: -1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.5rem;
  }

  .closing-headline {
    font-size: 2rem;
  }
}
