:root {
  --bg: #f5f2eb;
  --bg-dark: #1a3a2a;
  --fg: #1c1c1c;
  --fg-light: #f5f2eb;
  --accent: #e09b3d;
  --accent-dim: rgba(224, 155, 61, 0.15);
  --muted: #6b6b5a;
  --border: rgba(28, 28, 28, 0.12);
  --radius: 4px;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* HERO */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--fg-light);
  overflow: hidden;
  padding: 100px 40px 100px;
  min-height: 620px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224,155,61,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: center;
}

.hero-stat {
  border-right: 1px solid rgba(255,255,255,0.1);
  padding-right: 60px;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 52px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-copy h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 64px;
  line-height: 1.05;
  color: var(--fg-light);
  margin-bottom: 20px;
}

.lede {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.urgency-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(224, 155, 61, 0.1);
  border: 1px solid rgba(224, 155, 61, 0.25);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--accent);
}

.urgency-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

/* RADAR */
.radar {
  padding: 100px 40px;
  background: var(--bg);
}

.radar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  grid-template-rows: auto auto;
  gap: 0 60px;
}

.radar-label {
  grid-column: 1;
  grid-row: 1;
}

.section-tag {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.radar-label h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.radar-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.radar-visual {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.radar-map {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-house {
  position: relative;
  z-index: 10;
  width: 44px;
  height: 44px;
  background: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px var(--accent), 0 0 20px rgba(224,155,61,0.3);
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(224, 155, 61, 0.2);
}

.radar-ring-1 { width: 140px; height: 140px; }
.radar-ring-2 { width: 200px; height: 200px; border-color: rgba(224,155,61,0.12); }
.radar-ring-3 { width: 260px; height: 260px; border-color: rgba(224,155,61,0.07); }

.radar-blip {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(224, 155, 61, 0.5);
}

.radar-blip::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.4;
}

.radar-blip-1 { top: 25px; left: 50%; transform: translateX(-50%); }
.radar-blip-2 { bottom: 40px; right: 20px; }
.radar-blip-3 { top: 45%; left: 15px; }

.radar-legend {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-blip { background: var(--accent); }
.legend-house { background: var(--bg-dark); border: 2px solid var(--accent); }

.legend-dist {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 500;
}

.legend-line {
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.radar-features {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.radar-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-feature h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.radar-feature p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ALERT SECTION */
.alert-section {
  padding: 100px 40px;
  background: #f0ede6;
}

.alert-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.alert-inner h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  margin-bottom: 50px;
}

.alert-mockup {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.phone-bezel {
  background: #1c1c1c;
  border-radius: 36px;
  padding: 12px;
  width: 280px;
}

.phone-screen {
  background: #fff;
  border-radius: 28px;
  padding: 24px 20px 20px;
  text-align: left;
}

.msg-time {
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.msg-from {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.msg-body {
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}

.msg-urgency {
  font-weight: 600;
  font-size: 13px;
  color: var(--bg-dark);
  margin-bottom: 6px;
}

.msg-detail {
  font-size: 12px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 8px;
}

.msg-cta {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}

.msg-time-stamp {
  text-align: right;
  font-size: 10px;
  color: #aaa;
  margin-top: 8px;
}

.alert-context {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

.context-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.context-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* MANIFESTO */
.manifesto {
  background: var(--bg-dark);
  color: var(--fg-light);
  padding: 100px 40px;
}

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

.manifesto blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 28px;
  margin-bottom: 48px;
}

.manifesto blockquote p {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  font-style: italic;
}

.manifesto-body p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 16px;
}

.manifesto-body p:last-child { margin-bottom: 0; }

.manifesto-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.m-stat { text-align: left; }

.m-num {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  color: var(--accent);
  margin-bottom: 6px;
}

.m-label {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

/* CLOSING */
.closing {
  background: var(--bg);
  padding: 100px 40px 80px;
}

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

.closing-content { max-width: 600px; }

.closing h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.closing-content p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.closing-tagline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}

.tagline-bar {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

/* SIGNUP / LOGIN FORMS */
.closing-signup, .closing-login {
  margin-top: 48px;
  padding: 36px 40px;
  background: var(--bg-dark);
  border-radius: 12px;
  color: var(--fg-light);
}

.closing-signup h3, .closing-login h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--fg-light);
}

.closing-signup > p, .closing-login > p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}

.signup-form { display: flex; flex-direction: column; gap: 12px; }

.signup-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.signup-form input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--fg-light);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  transition: border-color 0.15s;
}

.signup-form input::placeholder { color: rgba(255,255,255,0.35); }

.signup-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.btn-primary {
  padding: 14px 24px;
  background: var(--accent);
  color: var(--fg-dark);
  border: none;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  width: 100%;
  margin-top: 4px;
}

.btn-primary:hover { opacity: 0.88; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.signup-error {
  font-size: 13px;
  color: #ff6b6b;
  padding: 8px 12px;
  background: rgba(255,107,107,0.1);
  border-radius: var(--radius);
  border: 1px solid rgba(255,107,107,0.2);
}

.signup-login {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
  text-align: center;
}

.signup-login a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.signup-login a:hover { text-decoration: underline; }

.hidden { display: none !important; }

/* FOOTER */
.site-footer {
  background: #f0ede6;
  border-top: 1px solid var(--border);
  padding: 48px 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 24px 60px;
  align-items: start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-name {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
}

.footer-tagline {
  font-size: 12px;
  color: var(--muted);
}

.footer-links {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
}

.footer-legal {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 11px;
  color: rgba(107,107,90,0.6);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-stat {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 32px;
  }

  .hero-copy h1 { font-size: 44px; }

  .stat-number { font-size: 40px; }

  .radar-inner {
    grid-template-columns: 1fr;
  }

  .radar-visual { grid-row: 2; }

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

  .manifesto-stat-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .m-num { font-size: 32px; }

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

  .footer-links {
    grid-column: 1;
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .hero { padding: 80px 24px 80px; }
  .radar, .alert-section, .manifesto, .closing { padding: 80px 24px; }
  .hero-copy h1 { font-size: 36px; }
  .closing h2 { font-size: 34px; }
  .manifesto blockquote p { font-size: 18px; }
}
