/* ─── RIVANNA PROTO — style.css ─────────────────────────────── */

/* TOKENS */
:root {
  --navy:       #080d1a;
  --navy-mid:   #0e1628;
  --navy-light: #1a2540;
  --blue:       #0ea5e9;
  --blue-dim:   #0284c7;
  --white:      #ffffff;
  --off-white:  #f0f4f8;
  --muted:      #7a90ab;
  --border:     rgba(255,255,255,0.08);
  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;
}

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

/* CONTAINER */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo img { display: block; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--muted); transition: color 0.2s;
}
.site-nav a:hover, .site-nav a.active { color: var(--white); }
.site-nav .nav-cta {
  background: var(--blue); color: var(--white);
  padding: 0.45rem 1.1rem; border-radius: 4px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  transition: background 0.2s;
}
.site-nav .nav-cta:hover { background: var(--blue-dim); color: var(--white); }

/* ─── HERO ─── */
.hero {
  background: var(--navy);
  padding: 6rem 0 5rem;
  position: relative;
}
.hero-inner { max-width: 680px; }
.eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700; line-height: 1.1;
  color: var(--white); margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.05rem; line-height: 1.7;
  color: var(--muted); max-width: 560px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-line {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--border);
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: var(--blue); color: var(--white);
  padding: 0.75rem 1.75rem; border-radius: 4px;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.03em;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--blue-dim); }
.btn-ghost {
  display: inline-block;
  border: 1px solid var(--border); color: var(--muted);
  padding: 0.75rem 1.75rem; border-radius: 4px;
  font-size: 0.875rem; font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ─── SECTIONS ─── */
.section-light { background: var(--white); padding: 5rem 0; }
.section-mid   { background: var(--off-white); padding: 5rem 0; }
.section-dark  { background: var(--navy); padding: 3.5rem 0; }

.section-eyebrow {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700; line-height: 1.2;
  color: var(--navy); margin-bottom: 3rem;
}

/* ─── CARD GRID ─── */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 0;
}
.card {
  border: 1px solid #dde4ee;
  border-radius: 8px; padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--blue); box-shadow: 0 4px 24px rgba(14,165,233,0.08); }
.card-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue);
  background: rgba(14,165,233,0.08);
  padding: 0.25rem 0.6rem; border-radius: 3px;
  margin-bottom: 1rem;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.75rem;
}
.card p { font-size: 0.9rem; line-height: 1.65; color: #4a5a70; margin-bottom: 1.25rem; }
.card-meta { font-size: 0.75rem; color: var(--muted); font-weight: 500; }

/* ─── STATS ROW ─── */
.stat-row {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.stat { text-align: center; padding: 0 3rem; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem; font-weight: 700; color: var(--white);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.75rem; color: var(--muted);
  margin-top: 0.4rem; letter-spacing: 0.04em;
}
.stat-divider {
  width: 1px; height: 48px;
  background: var(--border); flex-shrink: 0;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--navy);
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
  color: var(--white); margin-top: 0.5rem;
}

/* ─── TWO COL (about) ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem; align-items: start;
}
.col-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700; color: var(--navy);
  margin-bottom: 1.25rem; line-height: 1.2;
}
.col-text p { font-size: 0.95rem; line-height: 1.75; color: #4a5a70; margin-bottom: 1rem; }
.aside-card {
  border: 1px solid #dde4ee; border-radius: 6px;
  padding: 1rem 1.25rem; margin-bottom: 0.75rem;
}
.aside-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.25rem; }
.aside-val { font-size: 0.95rem; font-weight: 600; color: var(--navy); }

/* ─── FEATURE LIST (about) ─── */
.feature-list { display: flex; flex-direction: column; gap: 0; }
.feature-item {
  display: flex; gap: 1.75rem; align-items: flex-start;
  padding: 1.75rem 0;
  border-bottom: 1px solid #dde4ee;
}
.feature-item:last-child { border-bottom: none; }
.feature-marker {
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 700;
  color: var(--blue); letter-spacing: 0.08em;
  min-width: 28px; padding-top: 0.15rem;
}
.feature-item h4 {
  font-size: 1rem; font-weight: 600; color: var(--navy);
  margin-bottom: 0.4rem;
}
.feature-item p { font-size: 0.875rem; line-height: 1.65; color: #4a5a70; }

/* ─── NEWS PLACEHOLDER ─── */
.news-placeholder {
  text-align: center; padding: 5rem 2rem;
  max-width: 480px; margin: 0 auto;
}
.placeholder-icon { font-size: 2.5rem; margin-bottom: 1.25rem; }
.news-placeholder h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.75rem;
}
.news-placeholder p {
  font-size: 0.9rem; line-height: 1.7;
  color: #4a5a70; margin-bottom: 2rem;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.78rem; color: var(--muted); }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { font-size: 0.78rem; color: var(--muted); transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .site-nav { gap: 1.25rem; }
  .site-nav a:not(.nav-cta) { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .stat-row { gap: 0; }
  .stat { padding: 1rem 1.5rem; }
  .stat-divider { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}


/* ─── V2 ADDITIONS ─────────────────────────────────────────── */

/* Hero accent */
.hero-accent { color: var(--blue); }

/* Hero proof strip */
.hero-proof {
  display: flex; align-items: flex-start;
  gap: 0; margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.proof-item { padding: 0 2.5rem 0 0; min-width: 160px; }
.proof-item:first-child { padding-left: 0; }
.proof-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 700;
  color: var(--blue); line-height: 1;
  margin-bottom: 0.4rem;
}
.proof-label {
  font-size: 0.72rem; line-height: 1.5;
  color: var(--muted); font-weight: 400;
}
.proof-divider {
  width: 1px; height: 56px;
  background: var(--border);
  margin: 0 2.5rem 0 0;
  flex-shrink: 0; align-self: center;
}

/* Platform grid */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid #dde4ee;
  border-radius: 8px;
  overflow: hidden;
}
.platform-item {
  padding: 2.25rem 2rem;
  border-right: 1px solid #dde4ee;
  border-bottom: 1px solid #dde4ee;
  transition: background 0.2s;
}
.platform-item:hover { background: #f8fafc; }
.platform-item:nth-child(2n) { border-right: none; }
.platform-item:nth-child(3),
.platform-item:nth-child(4) { border-bottom: none; }
.platform-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 700;
  color: var(--blue); letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.platform-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.6rem;
}
.platform-item p {
  font-size: 0.875rem; line-height: 1.7;
  color: #4a5a70;
}

@media (max-width: 768px) {
  .platform-grid { grid-template-columns: 1fr; }
  .platform-item { border-right: none !important; border-bottom: 1px solid #dde4ee !important; }
  .platform-item:last-child { border-bottom: none !important; }
  .hero-proof { gap: 1.5rem; }
  .proof-divider { display: none; }
  .proof-item { padding: 0; }
}
