/* =========================================
   WatchOver — Theme CSS
   Fonts: Fraunces (serif display) + Instrument Sans (body)
   Palette: Forest green, warm amber, cream
   ========================================= */

:root {
  --bg: #faf8f5;
  --bg-alt: #f0ebe3;
  --fg: #1a1a18;
  --fg-muted: #6b6560;
  --green: #1a3a2a;
  --green-light: #2d5c45;
  --amber: #e8a23e;
  --amber-light: #f5c87a;
  --cream: #faf8f5;
  --border: #d9d4cc;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 32px 80px;
  background: var(--green);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232, 162, 62, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Grain texture overlay */
.hero::before {
  content: '';
  position: absolute;
  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.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-lede {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: rgba(250, 248, 245, 0.75);
  max-width: 600px;
  margin: 0 auto 56px;
}

/* Stats row */
.hero-stats {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
  border-top: 1px solid rgba(250, 248, 245, 0.15);
  padding-top: 40px;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.stat:not(:last-child) {
  border-right: 1px solid rgba(250, 248, 245, 0.15);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--amber-light);
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: rgba(250, 248, 245, 0.55);
  letter-spacing: 0.03em;
  line-height: 1.4;
}

/* ── Section title ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 48px;
}

/* ── Manifesto ── */
.manifesto {
  background: var(--bg);
  padding: 96px 32px;
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
}

.manifesto-statement {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 300;
  font-style: italic;
  color: var(--green);
  line-height: 1.3;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.manifesto-body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--fg-muted);
  max-width: 700px;
}

/* ── How it works ── */
.how-it-works {
  background: var(--bg-alt);
  padding: 96px 32px;
  border-bottom: 1px solid var(--border);
}

.how-it-works-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.step {
  background: var(--cream);
  padding: 40px 32px;
  border-top: 3px solid var(--green);
}

.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--amber);
  opacity: 0.4;
  margin-bottom: 20px;
  line-height: 1;
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
  line-height: 1.3;
}

.step-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* ── Broker ── */
.broker {
  background: var(--green);
  padding: 96px 32px;
}

.broker-inner {
  max-width: 800px;
  margin: 0 auto;
}

.broker-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 20px;
  opacity: 0.8;
}

.broker-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.broker-body p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(250, 248, 245, 0.7);
  margin-bottom: 16px;
}

.broker-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(250, 248, 245, 0.2);
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(250, 248, 245, 0.6);
  text-transform: uppercase;
}

/* ── Why WatchOver ── */
.why {
  background: var(--bg);
  padding: 96px 32px;
  border-bottom: 1px solid var(--border);
}

.why-inner {
  max-width: 900px;
  margin: 0 auto;
}

.comparisons {
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--green);
  padding: 16px 24px;
}

.col-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.4);
}

.col-label-watchover {
  color: var(--amber-light);
  text-align: right;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row:nth-child(even) {
  background: var(--bg-alt);
}

.comp-feature {
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 500;
}

.comp-life-alert {
  font-size: 13px;
  color: rgba(107, 101, 96, 0.6);
  text-align: center;
}

.comp-watchover {
  font-size: 13px;
  color: var(--fg);
  text-align: right;
  font-weight: 500;
}

.comp-highlight {
  color: var(--green);
  font-weight: 600;
}

/* ── Closing ── */
.closing {
  background: var(--bg-alt);
  padding: 112px 32px;
  text-align: center;
}

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

.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  font-style: italic;
  color: var(--green);
  line-height: 1.25;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.closing-detail p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.closing-detail p:last-child {
  font-style: italic;
  opacity: 0.7;
}

/* ── Footer ── */
.footer {
  background: var(--green);
  padding: 64px 32px 48px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--cream);
  display: block;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13px;
  color: rgba(250, 248, 245, 0.45);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links span {
  font-size: 13px;
  color: rgba(250, 248, 245, 0.5);
  letter-spacing: 0.02em;
}

.footer-copy {
  width: 100%;
  font-size: 12px;
  color: rgba(250, 248, 245, 0.25);
  margin-top: 8px;
  padding-top: 32px;
  border-top: 1px solid rgba(250, 248, 245, 0.08);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-inner { padding: 16px 20px; }
  .hero { padding: 64px 20px 56px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .stat:not(:last-child) { border-right: none; border-bottom: 1px solid rgba(250,248,245,0.15); padding-bottom: 24px; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 32px 24px; }
  .manifesto, .how-it-works, .why, .closing { padding: 64px 20px; }
  .broker { padding: 64px 20px; }
  .comparison-header, .comparison-row { grid-template-columns: 1fr 1fr 1fr; font-size: 12px; }
  .comp-life-alert, .comp-watchover { font-size: 11px; }
  .footer-inner { flex-direction: column; gap: 32px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 36px; }
  .comparison-header, .comparison-row { grid-template-columns: 1fr 1fr 1fr; }
  .comp-feature { font-size: 12px; }
  .comp-life-alert, .comp-watchover { font-size: 10px; }
}