/* =============================================================================
   VantageCube — Landing Page Stylesheet
   Draft v1

   Edit the :root tokens to update brand colours sitewide.
   Section comments mark every visual region for fast navigation.
   ============================================================================= */

/* ── Design tokens ────────────────────────────────────────────────────────── */
:root {
  /* Brand */
  --navy:        #00255B;
  --blue:        #1574FE;
  --blue-hover:  #006FF5;
  --blue-light:  #EBF3FF;

  /* Neutrals */
  --white:       #FFFFFF;
  --page:        #F8FBFF;
  --border:      #D8E3F0;

  /* Text */
  --text:        #273241;
  --text-sec:    #38475B;
  --text-ter:    #5D738D;

  /* Layout */
  --max:         1180px;
  --font:        'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font); color: var(--text); background: var(--white);
        line-height: 1.65; -webkit-font-smoothing: antialiased; }
a     { color: inherit; text-decoration: none; }
em    { font-style: italic; }
img, svg { display: block; max-width: 100%; }

/* ── Shared layout ────────────────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section   { padding: 96px 0; }

/* ── Eyebrow label ────────────────────────────────────────────────────────── */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.eyebrow-light { color: rgba(255, 255, 255, 0.5); }
.eyebrow-impact { margin-top: 8px; margin-bottom: 24px; }

/* ── Section headline ─────────────────────────────────────────────────────── */
.section-headline {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.022em;
  color: var(--text);
  margin-bottom: 24px;
  text-wrap: balance;
}
.section-headline.narrow { max-width: 700px; }

/* ── Body text ────────────────────────────────────────────────────────────── */
.section-body { font-size: 17px; color: var(--text-sec); line-height: 1.75; }
.section-body.narrow { max-width: 700px; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
  line-height: 1;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }


.btn-lg { padding: 14px 30px; font-size: 16px; }

/* =============================================================================
   NAV
   ============================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Wordmark, used in both nav and footer. width/height are set on the <img> too so
   the row does not reflow while the image loads. The asset is a JPEG on white —
   fine against the near-white nav, and given its own white chip in the footer
   (.logo-footer) so the navy half of the wordmark stays legible over navy. */
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* =============================================================================
   HERO
   ============================================================================= */
.hero {
  position: relative;
  /* Near-black blue ground, sampled from the brand motion reference where it is
     ~60% of every frame. The canvas paints on top; this gradient is what the
     section falls back to with JS disabled, so it has to stand alone. */
  background:
    radial-gradient(115% 85% at 70% 44%, #05263C 0%, #010C16 42%, #00050B 100%);
  overflow: hidden;
}

/* Ambient network canvas — see js/hero-network.js */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  /* Keeps the art clear of the headline without dimming it into mud. */
  opacity: 0.85;
}

.hero-inner {
  /* position/z-index: the text must win over the canvas at every size. */
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 32px 84px;
  display: grid;
  /* The right-hand column is intentionally empty: it is the window onto the
     network, and the copy stays clear of the densest part of the art. */
  grid-template-columns: 54% 46%;
  gap: 48px;
  align-items: center;
  min-height: 580px;
}

/* AI badge chip */
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(21, 116, 254, 0.4);
  background: rgba(21, 116, 254, 0.1);
  color: #93BEFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.ai-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  flex-shrink: 0;
}

/* Hero headline */
.hero-headline {
  font-size: clamp(44px, 5.8vw, 68px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero-headline .accent { color: var(--blue); display: block; }

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 460px;
}

/* =============================================================================
   THE PROBLEM
   ============================================================================= */
.problem-section { background: var(--white); }
.problem-section .section-body { margin-bottom: 52px; }

.causes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cause-card {
  padding: 28px;
  background: var(--page);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 0 0 12px 12px;
}
.cause-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.cause-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 10px;
  text-wrap: balance;
}
.cause-card p { font-size: 14px; color: var(--text-sec); line-height: 1.7; }

/* =============================================================================
   PULL QUOTE
   ============================================================================= */
.pullquote {
  background: var(--blue-light);
  padding: 60px 0;
  border: none;
}
.pullquote p {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  max-width: 840px;
}

/* =============================================================================
   WHAT WE'RE BUILDING
   ============================================================================= */
.building-section { background: var(--page); }
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.building-section .section-headline { margin-bottom: 0; }

/* =============================================================================
   THE SOLUTION
   ============================================================================= */
.solution-section { background: var(--white); }

.inner-quote {
  font-size: 17px;
  font-style: italic;
  color: var(--text-sec);
  border-left: 3px solid var(--blue);
  padding: 16px 24px;
  margin: 32px 0 52px;
  max-width: 700px;
  background: var(--blue-light);
  border-radius: 0 8px 8px 0;
  line-height: 1.65;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.impact-card {
  padding: 32px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--white);
}
.impact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(21, 116, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.impact-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.impact-card p  { font-size: 15px; color: rgba(255,255,255,0.58); line-height: 1.6; }

/* =============================================================================
   BUILT BY
   ============================================================================= */
.built-by-section { background: var(--page); }
.built-by-section .section-headline { max-width: 740px; margin-bottom: 48px; }

.traits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trait-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.trait-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.trait-card p { font-size: 15px; color: var(--text-sec); line-height: 1.7; }

/* =============================================================================
   CALL TO ACTION
   ============================================================================= */
.cta-section {
  background: var(--blue);
  padding: 96px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin-bottom: 36px;
  text-wrap: balance;
}
.cta-section em { font-style: italic; color: rgba(255,255,255,0.78); }

/* ── Contact form ─────────────────────────────────────────────────────────── */
.contact-form {
  max-width: 620px;
  margin: 0 auto;
  padding: 32px;
  background: var(--white);
  border-radius: 16px;
  text-align: left;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sec);
}
.field input,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--page);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: -1px;
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 96px; }

/* Honeypot. Bots fill every field they can see in the DOM; people never see it. */
.botcheck { display: none; }

.contact-submit { width: 100%; justify-content: center; }
/* Reserved height, so the first status message does not shunt the page down. */
.form-status { margin-top: 14px; min-height: 1.5em; font-size: 14px; }
.form-status.ok    { color: #0F7A3D; }
.form-status.error { color: #C02626; }

/* =============================================================================
   FOOTER
   ============================================================================= */
.footer { background: var(--navy); padding: 40px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.logo-footer {
  background: var(--white);
  border-radius: 8px;
  padding: 7px 12px;
}
.logo-footer .logo-img { height: 26px; }
.footer-meta   { text-align: right; }
.footer-copy   { font-size: 13px; color: rgba(255,255,255,0.38); margin-bottom: 4px; }
.footer-tags   { font-size: 12px; color: rgba(255,255,255,0.22); }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 960px) {
  .hero-inner     { grid-template-columns: 1fr; min-height: auto; padding: 64px 24px; }
  .causes-grid,
  .impact-grid,
  .traits-grid    { grid-template-columns: 1fr 1fr; }
  .split-layout   { grid-template-columns: 1fr; gap: 24px; }
  .nav-inner      { padding: 0 24px; }
}

@media (max-width: 640px) {
  .section        { padding: 64px 0; }
  .causes-grid,
  .impact-grid,
  .traits-grid    { grid-template-columns: 1fr; }
  .container      { padding: 0 20px; }
  .nav-inner,
  .hero-inner     { padding-left: 20px; padding-right: 20px; }
  .pullquote,
  .cta-section    { padding: 48px 0; }
  .form-row       { grid-template-columns: 1fr; }
  .contact-form   { padding: 24px; }
  .footer-inner   { flex-direction: column; }
  .footer-meta    { text-align: left; }
}
