/* ProofProfile apex landing styles — extracted from inline <style> so the
   CSP can drop 'unsafe-inline' from style-src. */
:root {
  --bg: #08080c;
  --surface: #111118;
  --accent: #d4a574;
  --accent-glow: rgba(212,165,116,0.15);
  --text: #e8e4e0;
  --muted: #6b6560;
  --border: rgba(255,255,255,0.06);
  --font-display: 'Georgia', 'Times New Roman', serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

/* Ambient background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(212,165,116,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 80%, rgba(140,120,100,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Noise texture overlay */
body::after {
  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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  padding: 4rem 2rem;
  text-align: center;
}

/* Subtle top line */
.rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 3rem;
  opacity: 0.6;
}

.logo {
  width: 160px;
  max-width: 40%;
  height: auto;
  display: block;
  margin: 0 auto 2rem;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #f0ece8;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.8s 0.1s ease-out both;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

.lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #b5b0bd;
  max-width: 400px;
  margin: 0 auto 2.2rem;
  animation: fadeUp 0.8s 0.2s ease-out both;
}

.claim {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.55;
  color: #f0ece8;
  max-width: 500px;
  margin: 0 auto 0.9rem;
  animation: fadeUp 0.8s 0.25s ease-out both;
}

.claim-note {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 1.8rem;
  animation: fadeUp 0.8s 0.3s ease-out both;
}

.urgency {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #b5b0bd;
  max-width: 460px;
  margin: 0 auto 3rem;
  padding: 0.9rem 1.1rem;
  border-left: 2px solid var(--accent);
  text-align: left;
  animation: fadeUp 0.8s 0.35s ease-out both;
}

/* AI traffic signal card */
.ai-signal {
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(212,165,116,0.14) 0%, rgba(17,17,24,0.95) 100%);
  border: 1px solid rgba(212,165,116,0.35);
  border-top: 2px solid var(--accent);
  box-shadow:
    inset 0 0 48px rgba(212,165,116,0.06),
    0 0 48px rgba(212,165,116,0.10);
  animation: fadeUp 0.8s 0.05s ease-out both;
}

.ai-signal,
.ai-signal.card,
.ai-signal:hover,
.ai-signal.card:hover {
  transform: none !important;
  box-shadow:
    inset 0 0 48px rgba(212,165,116,0.06),
    0 0 48px rgba(212,165,116,0.10) !important;
  border: 1px solid rgba(212,165,116,0.35) !important;
  border-top: 2px solid var(--accent) !important;
}

.ai-signal::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(212,165,116,0.16) 0%, transparent 60%);
  pointer-events: none;
}

.ai-signal .signal-header {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.ai-signal .pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #8fd46a;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(143,212,106,0.5);
  animation: pulseDot 2s infinite;
}

.ai-signal .kicker { color: var(--accent); }

.ai-lead {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.45;
  color: #f0ece8;
  margin: 0 auto 1.1rem;
  max-width: 400px;
}

.ai-lead strong {
  color: var(--accent);
  font-weight: 400;
}

.ai-stats {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.ai-stat {
  text-align: center;
  min-width: 100px;
}

.ai-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.ai-label {
  margin-top: 0.35rem;
  font-size: 0.7rem;
  line-height: 1.4;
  color: #b5b0bd;
  max-width: 120px;
  margin-left: auto;
  margin-right: auto;
}

.ai-caption {
  position: relative;
  max-width: 420px;
  margin: 1rem auto 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--muted);
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(143,212,106,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(143,212,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(143,212,106,0); }
}

/* Proof stats */
.stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3.2rem;
  animation: fadeUp 0.8s 0.3s ease-out both;
}

.stat .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.stat .label {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Product cards */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
  animation: fadeUp 0.8s 0.4s ease-out both;
}

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.6rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}

.card:hover {
  border-color: rgba(212,165,116,0.4);
  box-shadow: 0 4px 32px var(--accent-glow);
  transform: translateY(-2px);
}

.card .kicker {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: #f0ece8;
  margin-bottom: 0.5rem;
}

.card h2 .arrow {
  color: var(--accent);
  transition: transform 0.2s;
  display: inline-block;
}

.card:hover h2 .arrow { transform: translateX(4px); }

.card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #b5b0bd;
}

.footer-note {
  margin-top: 3.5rem;
  font-size: 0.75rem;
  color: #787380;
  letter-spacing: 0.04em;
  animation: fadeIn 1s 0.5s ease-out both;
}

.footer-links {
  margin-top: 0.6rem;
}

.footer-links a {
  color: #787380;
  text-decoration: none;
  margin: 0 0.5rem;
}

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

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  h1, .lede, .claim, .claim-note, .urgency, .ai-signal, .stats, .cards, .footer-note { animation: none; }
  .pulse { animation: none; }
}

/* Responsive */
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .stats { flex-direction: column; gap: 1.4rem; }
  .ai-stats { grid-template-columns: 1fr; gap: 1.2rem; }
  .ai-lead { font-size: 1.15rem; }
  .ai-num { font-size: 1.7rem; }
  .ai-signal { padding: 1.4rem 1.1rem; }
  main { padding: 3rem 1.25rem; }
}