@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500;600;700&family=DM+Mono:wght@300;400&display=swap');

/* ─── Tokens ──────────────────────────────────────────────────── */
:root {
  --bg:           #111210;
  --bg2:          #191a17;
  --bg3:          #1e1f1c;
  --border:       rgba(181,201,160,0.15);
  --green:        #b5c9a0;
  --green-bright: #c8ddb4;
  --green-dim:    rgba(181,201,160,0.07);
  --gold:         #c8a96e;
  --text:         #d4dece;
  --text-dim:     #7a8a72;
  --text-muted:   #4a5444;
  --white:        #eef2ea;
  --shadow:       0 4px 24px rgba(0,0,0,0.4);
}

/* ─── Reset & Base ────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Red Hat Display', sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(181,201,160,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
a { color: inherit; text-decoration: none; }

/* ─── Layout ──────────────────────────────────────────────────── */
.container { max-width: 1000px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* ─── Logo ────────────────────────────────────────────────────── */
.logo { font-family: 'Red Hat Display', sans-serif; font-size: 26px; letter-spacing: 0.02em; line-height: 1; text-decoration: none; }
.logo .ageless { color: var(--green); font-weight: 700; }
.logo .labs    { color: var(--green); font-weight: 300; }
.logo .dot     { color: var(--white); font-weight: 300; margin: 0; letter-spacing: 0; }
.logo .ai      { color: var(--white); font-weight: 300; }
footer .logo   { font-size: 20px; }

/* ─── Nav ─────────────────────────────────────────────────────── */
nav {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--green); }
.nav-cta {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--green);
  padding: 9px 20px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.15s;
  display: inline-block;
}
.nav-cta:hover { background: var(--green-bright); }
.badge {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--green);
  padding: 14px 28px;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--green-bright); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(181,201,160,0.2); }
.btn-outline {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: transparent;
  border: 1px solid var(--green);
  padding: 14px 28px;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: var(--green); color: var(--bg); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(181,201,160,0.15); }
.btn-ghost {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: all 0.15s;
}
.btn-ghost:hover { color: var(--green); border-color: var(--green); }

/* ─── Typography ──────────────────────────────────────────────── */
h1 { font-size: clamp(34px,4vw,52px); font-weight: 700; line-height: 1.08; color: var(--white); margin-bottom: 24px; letter-spacing: -0.02em; }
h1 em { font-style: normal; color: var(--green); font-weight: 300; }
h2 { font-size: clamp(26px,3vw,36px); font-weight: 700; color: var(--white); letter-spacing: -0.01em; margin-bottom: 12px; line-height: 1.1; }
h2 em { font-style: normal; font-weight: 300; color: var(--green); }

/* ─── Sections ────────────────────────────────────────────────── */
.section { padding: 48px 0; border-top: 1px solid var(--border); }
.section-eyebrow { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.25em; color: var(--green); text-transform: uppercase; margin-bottom: 16px; opacity: 0.7; }
.section-sub { font-size: 16px; color: var(--text-dim); font-weight: 400; line-height: 1.7; max-width: 520px; margin-bottom: 48px; }

/* ─── Footer ──────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.1em; color: var(--text-dim); text-decoration: none; text-transform: uppercase; transition: color 0.15s; }
.footer-links a:hover { color: var(--green); }
.footer-disclaimer { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.04em; color: var(--text-muted); line-height: 1.6; max-width: 460px; opacity: 0.5; }

/* ─── Page header (inner pages) ───────────────────────────────── */
.page-header { padding: 28px 0 24px; max-width: 640px; }
.page-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--green); opacity: 0.5; }
.updated { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; }

/* ─── Shared content area ─────────────────────────────────────── */
.content { max-width: 640px; padding-bottom: 96px; }
.highlight { background: var(--bg2); border: 1px solid var(--border); border-radius: 3px; padding: 20px; margin-bottom: 40px; }
.highlight p { font-size: 16px; color: var(--text); font-weight: 400; line-height: 1.7; margin: 0; }

/* ─── Policy pages ────────────────────────────────────────────── */
.policy-section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.policy-section:last-child { border-bottom: none; }
.policy-section h2 { font-size: 18px; font-weight: 600; color: var(--white); letter-spacing: -0.01em; margin-bottom: 16px; }
.policy-section p { font-size: 15px; color: var(--text-dim); line-height: 1.8; font-weight: 400; margin-bottom: 12px; }
.policy-section p:last-child { margin-bottom: 0; }
.policy-section ul { margin: 12px 0 12px 20px; }
.policy-section ul li { font-size: 15px; color: var(--text-dim); line-height: 1.8; font-weight: 400; margin-bottom: 6px; }

/* ─── About page ──────────────────────────────────────────────── */
.lead {
  font-size: 18px;
  color: var(--text);
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 48px;
  border-left: 2px solid rgba(181,201,160,0.25);
  padding: 20px 24px;
  background: rgba(181,201,160,0.03);
  border-radius: 0 3px 3px 0;
}
.content-block { margin-bottom: 48px; animation: fadeUp 0.6s ease both; }
.content-block:nth-child(2) { animation-delay: 0.1s; }
.content-block:nth-child(3) { animation-delay: 0.2s; }
.content-block:nth-child(4) { animation-delay: 0.3s; }
.content-block h2 { font-size: 22px; font-weight: 600; color: var(--white); letter-spacing: -0.01em; margin-bottom: 16px; }
.content-block p { font-size: 16px; color: var(--text-dim); line-height: 1.8; font-weight: 400; margin-bottom: 16px; }
.content-block p:last-child { margin-bottom: 0; }
.content-block a { color: var(--green); text-decoration: none; border-bottom: 1px solid rgba(181,201,160,0.25); transition: border-color 0.15s; }
.content-block a:hover { border-bottom-color: var(--green); }
.divider { height: 1px; background: var(--border); margin: 48px 0; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-top: 24px; }
.value-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 3px; padding: 24px; }
.value-label { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.2em; color: var(--green); text-transform: uppercase; margin-bottom: 10px; opacity: 0.7; }
.value-text { font-size: 15px; color: var(--text); line-height: 1.65; font-weight: 400; }

/* ─── Homepage: Hero ──────────────────────────────────────────── */
.hero { padding: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--green); opacity: 0.5; }
.hero-sub { font-size: 17px; color: var(--text-dim); line-height: 1.75; font-weight: 400; margin-bottom: 36px; max-width: 440px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-left  { animation: fadeUp 0.7s ease both; }
.hero-visual { animation: fadeUp 0.7s 0.15s ease both; }

/* ─── Homepage: Score card ────────────────────────────────────── */
.score-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; padding: 28px; box-shadow: var(--shadow); }
.score-card-header { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.2em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.score-card-header::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); animation: pulse 2s infinite; }
.score-number { font-size: 72px; font-weight: 700; color: var(--green); line-height: 1; margin-bottom: 4px; }
.score-sublabel { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.2em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 24px; }
.score-bars { display: flex; flex-direction: column; gap: 10px; }
.score-bar-row { display: grid; grid-template-columns: 80px 1fr auto; gap: 10px; align-items: center; }
.score-bar-label { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.05em; color: var(--text-muted); text-transform: uppercase; }
.score-bar-track { height: 4px; background: var(--bg3); border-radius: 2px; overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: 2px; animation: growBar 1.2s ease both; }
.fill-green { background: var(--green); }
.fill-gold  { background: var(--gold); }
.fill-red   { background: #c87060; }
.score-bar-status { font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 6px; border-radius: 2px; white-space: nowrap; }
.status-optimal { color: var(--green); background: var(--green-dim); border: 1px solid var(--border); }
.status-monitor { color: var(--gold); background: rgba(200,169,110,0.08); border: 1px solid rgba(200,169,110,0.15); }
.status-concern { color: #c87060; background: rgba(200,112,96,0.08); border: 1px solid rgba(200,112,96,0.15); }

/* ─── Homepage: Steps ─────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.step { background: var(--bg2); padding: 32px 28px; border: 1px solid var(--border); border-radius: 3px; }
.step-title { font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 10px; letter-spacing: -0.01em; }
.step-desc { font-size: 15px; color: var(--text-dim); line-height: 1.65; font-weight: 400; }
.step:nth-child(1) { animation: fadeUp 0.5s 0.1s ease both; }
.step:nth-child(2) { animation: fadeUp 0.5s 0.2s ease both; }
.step:nth-child(3) { animation: fadeUp 0.5s 0.3s ease both; }

/* ─── Homepage: Products ──────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.product-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 3px; padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; text-decoration: none; }
.product-card:hover { border-color: rgba(181,201,160,0.3); transform: translateY(-2px); box-shadow: var(--shadow); }
.product-badge { font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); background: rgba(200,169,110,0.08); border: 1px solid rgba(200,169,110,0.15); padding: 3px 8px; border-radius: 2px; width: fit-content; }
.product-name { font-size: 18px; font-weight: 600; color: var(--white); letter-spacing: -0.01em; }
.product-desc { font-size: 15px; color: var(--text); line-height: 1.65; font-weight: 400; flex: 1; }
.product-link { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.15em; color: var(--green); text-transform: uppercase; margin-top: 4px; }

/* ─── Animations ──────────────────────────────────────────────── */
@keyframes pulse   { 0%,100% { opacity:1; box-shadow:0 0 6px var(--green); } 50% { opacity:0.4; box-shadow:0 0 3px var(--green); } }
@keyframes growBar { from { width:0%; } }
@keyframes fadeUp  { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@keyframes scan    { from { transform:translateX(-200%); } to { transform:translateX(350%); } }

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-right .nav-link { display: none; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
  .steps { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .score-bar-row { grid-template-columns: 70px 1fr auto; gap: 8px; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .values { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .score-bar-row { grid-template-columns: 60px 1fr auto; gap: 6px; }
}
