/* ============================================================
   Landing — base layout chrome
   Pairs with landing.css (which handles lp-* section specifics)
   Uses tokens from ../colors_and_type.css
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-rim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; color: var(--text); }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
h2 em { font-style: italic; color: var(--gold); }
h3 { font-size: 1.25rem; font-weight: 700; }

p { color: var(--text-2); }

/* -------- Top nav -------- */
nav.lp-nav {
  position: sticky; top: 0; z-index: 200;
  padding: 18px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(6, 7, 26, 0.84);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.lp-nav-links {
  display: flex; list-style: none; gap: 30px;
}
.lp-nav-links a {
  font-family: var(--font-head);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.2s;
}
.lp-nav-links a:hover { color: var(--gold); }
.lp-nav-cta {
  padding: 10px 22px;
  background: var(--gold); color: var(--bg);
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: none; border-radius: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.lp-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(233,161,35,0.4); }

/* -------- Logo -------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 12px var(--gold);
  animation: lp-blink 2s ease infinite;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.1rem; font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text);
}
.logo-text span { color: var(--gold); }
@keyframes lp-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

/* -------- Eyebrow -------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px; background: var(--gold);
}

/* -------- Buttons -------- */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px;
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: none; border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--gold); color: var(--bg);
  box-shadow: 0 0 40px rgba(233, 161, 35, 0.32);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 70px rgba(233, 161, 35, 0.5); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  font-weight: 700;
}
.btn-ghost:hover { border-color: var(--gold-rim); color: var(--text); transform: translateY(-2px); }

/* -------- Section & hero chrome -------- */
.section { padding: 110px 48px; position: relative; }
.section.alt {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 28px 48px; margin-bottom: 56px;
}
.section-head > div:first-child { flex: 1 1 520px; min-width: 0; max-width: 780px; }
.section-head > .section-head-sub { flex: 0 1 380px; }
.section-head h2 { max-width: 18ch; }
.section-head-sub {
  font-family: var(--font-body);
  font-size: 1.02rem; line-height: 1.7;
  color: var(--text-2); max-width: 380px;
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  padding: 140px 48px 90px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(233, 161, 35, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 161, 35, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: lp-grid 6s ease infinite;
  z-index: 1;
}
@keyframes lp-grid { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.hero-glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 960px; height: 720px;
  background: radial-gradient(ellipse, rgba(233, 161, 35, 0.15) 0%, rgba(0, 201, 167, 0.06) 45%, transparent 72%);
  pointer-events: none; z-index: 1;
}
.hero-inner {
  max-width: 900px; text-align: center;
  position: relative; z-index: 2;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 800; line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 30px 0 22px; color: var(--text);
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-title .line2 { display: block; color: var(--text-2); font-weight: 400; }
.hero-sub {
  font-family: var(--font-body);
  font-size: 1.1rem; font-weight: 300;
  color: var(--text-2); max-width: 680px;
  margin: 0 auto 40px; line-height: 1.75;
}
.hero-cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* Floating KPI cards in hero (shared style) */
.fcard {
  background: rgba(12, 14, 40, 0.92);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  backdrop-filter: blur(12px);
  min-width: 170px;
  position: absolute;
}
.fcard-lbl {
  font-family: var(--font-head);
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 5px;
}
.fcard-val {
  font-family: var(--font-head);
  font-size: 1.3rem; font-weight: 800;
  color: var(--text);
}
.fcard-val.up { color: var(--teal); }
.fcard-val.down { color: var(--red); }
.fcard-chg {
  font-family: var(--font-body);
  font-size: 0.72rem; color: var(--text-3);
  margin-top: 3px;
}

/* -------- Footer base -------- */
.footer { padding: 72px 48px 40px; background: var(--bg); border-top: 1px solid var(--border); }
.footer-inner { max-width: 1180px; margin: 0 auto; }
.lp-foot-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}

/* -------- Annotation labels (design-thinking overlay) -------- */
.lp-annot {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 11px;
  font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.04em;
  color: var(--gold);
  background: rgba(233, 161, 35, 0.08);
  border: 1px solid var(--gold-rim);
  border-radius: 4px;
  z-index: 20;
  pointer-events: none;
  transition: opacity 0.3s;
}
body[data-annot="off"] .lp-annot { opacity: 0; }
.lp-section-host { position: relative; }

/* -------- Responsive base -------- */
@media (max-width: 960px) {
  nav.lp-nav { padding: 16px 24px; }
  .lp-nav-links { display: none; }
  .section { padding: 80px 24px; }
  .hero { padding: 110px 24px 70px; }
  .footer { padding: 56px 24px 32px; }
  .lp-foot-cols { grid-template-columns: 1fr 1fr; }
  .fcard { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
