/* ═══════════════════════════════════════════════
   SynthLab Co — Shared Stylesheet (LIGHT MODE)
   White body + dark-navy hero/footer/CTA, navy
   headings, cyan/indigo accents. Mirrors ENS v2.
   ═══════════════════════════════════════════════ */

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

:root {
  /* dark-navy (used by hero, page-hero, cta, footer, top bar) */
  --navy:       #1a3654;
  --navy-deep:  #102340;
  --navy-mid:   #234872;
  --ink:        #102340;
  --ink-deep:   #0b1a30;

  /* signature accents */
  --cyan:       #0891b2;   /* deep cyan — text/accents on light */
  --cyan-bright:#22d3ee;   /* bright — gradients/glows on dark */
  --cyan-light: #67e8f9;
  --indigo:     #6366f1;
  --indigo-deep:#4f46e5;

  /* light surfaces + text */
  --white:      #ffffff;
  --off-white:  #f6f8fb;
  --surface:    #ffffff;
  --surface-2:  #f6f8fb;
  --line:       #e6ebf2;
  --line-strong:#d3dbe6;
  --text:       #15293f;
  --text-dim:   #566476;
  --text-mute:  #8593a4;

  --maxw: 1200px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace; }

/* ─── UTILITY ─── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
.tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 0.85rem;
}
.section { padding: 6rem 0; }
.section-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.12;
  color: var(--navy); margin-bottom: 1rem;
}
.section-title .accent {
  background: linear-gradient(110deg, var(--cyan), var(--indigo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-sub { font-size: 1.05rem; color: var(--text-dim); max-width: 600px; line-height: 1.75; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ─── TOP BAR (dark) ─── */
.top-bar {
  background: var(--navy-deep);
  padding: 0.55rem 0;
  font-size: 0.8rem; color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.top-bar a { color: rgba(255,255,255,0.82); text-decoration: none; }
.top-bar a:hover { color: var(--cyan-bright); }
.top-status { display: flex; align-items: center; gap: 0.5rem; font-family: 'JetBrains Mono', monospace; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); } 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* ─── NAV (white) ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 20px rgba(16,35,64,0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 2rem; max-width: var(--maxw); margin: 0 auto; position: relative; }
.logo-wrap { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; line-height: 1; }
.logo-mark-img { width: 42px; height: 42px; display: block; color: var(--navy); }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 1.18rem; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); }
.logo-name .co { color: var(--cyan); }
.logo-sub { font-family: 'JetBrains Mono', monospace; font-size: 0.58rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); margin-top: 2px; }

.nav-links { display: flex; gap: 0.25rem; list-style: none; align-items: center; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { padding: 0.5rem 1rem; border-radius: 8px; color: var(--text-dim); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: var(--off-white); }
.nav-cta {
  padding: 0.6rem 1.4rem; border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  color: #fff; font-size: 0.875rem; font-weight: 700; border: none;
  cursor: pointer; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(99,102,241,0.42); }

/* hamburger (mobile) */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; background: var(--white); border-top: 1px solid var(--line); padding: 1rem 2rem 1.5rem; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 0.7rem 0; color: var(--text-dim); text-decoration: none; font-size: 1rem; font-weight: 500; border-bottom: 1px solid var(--line); transition: color 0.2s; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--cyan); }

/* ─── BUTTONS ─── */
.btn-primary {
  padding: 0.85rem 1.9rem; border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  color: #fff; font-size: 0.95rem; font-weight: 700; border: none; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 22px rgba(99,102,241,0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(99,102,241,0.48); }
.btn-ghost {
  padding: 0.85rem 1.9rem; border-radius: 12px;
  background: rgba(255,255,255,0.06); color: #fff;
  font-size: 0.95rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.28); cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.12); }
/* ghost on light backgrounds */
.btn-ghost.on-light { background: var(--white); color: var(--navy); border-color: var(--line-strong); }
.btn-ghost.on-light:hover { border-color: var(--cyan); background: var(--off-white); }
.btn-outline {
  padding: 0.85rem 1.9rem; border-radius: 12px;
  background: transparent; color: var(--cyan);
  font-size: 0.95rem; font-weight: 700; border: 1.5px solid var(--cyan); cursor: pointer;
  text-decoration: none; display: inline-block; transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--cyan); color: #fff; }

/* ─── PAGE HERO (inner pages — dark) ─── */
.page-hero {
  background: radial-gradient(900px 400px at 80% -10%, rgba(99,102,241,0.30), transparent 60%),
              linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  padding: 4.5rem 0 4rem; position: relative; overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; top: -120px; right: -80px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,0.16), transparent 70%); }
.page-hero-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 1.25rem; font-family: 'JetBrains Mono', monospace; }
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--cyan-bright); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.page-hero-title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.08; color: #fff; margin-bottom: 1rem; }
.page-hero-title .accent { background: linear-gradient(110deg, var(--cyan-bright), var(--indigo-light, #818cf8)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero-sub { font-size: 1.08rem; color: rgba(255,255,255,0.72); max-width: 580px; line-height: 1.75; }

/* ─── CARDS (light) ─── */
.card {
  background: var(--white);
  border: 1px solid var(--line); border-radius: 16px; padding: 2rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  box-shadow: 0 1px 3px rgba(16,35,64,0.04);
}
.card:hover { transform: translateY(-4px); border-color: rgba(8,145,178,0.4); box-shadow: 0 18px 44px rgba(16,35,64,0.12); }
.card-icon { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(8,145,178,0.12), rgba(99,102,241,0.12)); color: var(--cyan); font-size: 1.4rem; margin-bottom: 1.25rem; border: 1px solid rgba(8,145,178,0.18); }
.card h3 { color: var(--navy); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.card p { color: var(--text-dim); font-size: 0.94rem; line-height: 1.7; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* feature list */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; }
.feature-list li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text-dim); font-size: 0.92rem; }
.feature-list li::before { content: '▹'; color: var(--cyan); font-weight: 700; }

/* stat */
.stat-num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -0.03em; background: linear-gradient(110deg, var(--cyan), var(--indigo)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat-label { color: var(--text-mute); font-size: 0.82rem; font-weight: 500; margin-top: 0.4rem; letter-spacing: 0.04em; }

/* ─── TRUST STRIP (light) ─── */
.trust-strip { background: var(--off-white); padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip .container { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.trust-chip { display: flex; align-items: center; gap: 0.5rem; color: var(--text-dim); font-size: 0.82rem; font-weight: 500; }
.trust-chip::before { content: '✓'; color: var(--cyan); font-weight: 700; }

/* ─── CTA BANNER (dark) ─── */
.cta-banner {
  background: radial-gradient(700px 300px at 100% 0%, rgba(99,102,241,0.4), transparent 60%),
              linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  border-radius: 22px; padding: 3rem 3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-banner h3 { color: #fff; font-size: 1.6rem; font-weight: 800; margin-bottom: 0.45rem; letter-spacing: -0.02em; }
.cta-banner p { color: rgba(255,255,255,0.72); font-size: 0.98rem; }
.cta-banner-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ─── FOOTER (dark) ─── */
footer { background: var(--navy-deep); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-tagline { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin: 1rem 0 1.5rem; line-height: 1.6; max-width: 320px; }
.footer-heading { color: rgba(255,255,255,0.85); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links li { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.5; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { color: rgba(255,255,255,0.38); font-size: 0.8rem; }
.social-row { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-btn { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 0.85rem; font-weight: 700; transition: background 0.2s, color 0.2s, transform 0.2s; border: 1px solid rgba(255,255,255,0.1); }
.social-btn:hover { background: var(--cyan); color: #fff; transform: translateY(-2px); }

/* ─── FORMS (light) ─── */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 2.25rem; box-shadow: 0 6px 30px rgba(16,35,64,0.06); }
.form-row { margin-bottom: 1.25rem; }
.form-row label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-dim); margin-bottom: 0.45rem; letter-spacing: 0.02em; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 0.8rem 1rem; border-radius: 10px;
  background: var(--off-white); border: 1px solid var(--line-strong); color: var(--text);
  font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 3px rgba(8,145,178,0.12); }
.form-row textarea { min-height: 130px; resize: vertical; }
.form-hint { font-size: 0.78rem; color: var(--text-mute); margin-top: 1rem; }
.form-success { display: none; background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.3); color: #15803d; border-radius: 12px; padding: 1.5rem; text-align: center; font-size: 0.95rem; }
.form-success.show { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ─── LEGAL / POLICY PAGES (light) ─── */
.legal-page { background: var(--white); padding: 4rem 0 6rem; }
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 0 2rem; }
.legal-content h2 { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin: 2.5rem 0 1rem; letter-spacing: -0.01em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 1.75rem 0 0.5rem; }
.legal-content p, .legal-content li { font-size: 0.97rem; color: var(--text-dim); line-height: 1.75; margin-bottom: 1rem; }
.legal-content ul, .legal-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--cyan); text-decoration: underline; }
.legal-content a:hover { color: var(--indigo); }
.legal-content strong { color: var(--navy); font-weight: 700; }
.legal-callout { background: rgba(8,145,178,0.06); border-left: 4px solid var(--cyan); padding: 1.25rem 1.5rem; border-radius: 8px; margin: 1.5rem 0; font-size: 0.92rem; color: var(--text-dim); }
.legal-toc { background: var(--off-white); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem 1.75rem; margin-bottom: 2.5rem; }
.legal-toc-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.75rem; }
.legal-toc ol { padding-left: 1.25rem; margin: 0; }
.legal-toc li { font-size: 0.9rem; margin-bottom: 0.35rem; color: var(--text-dim); }
.legal-toc a { color: var(--text-dim); text-decoration: none; }
.legal-toc a:hover { color: var(--cyan); }

/* ─── ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav .nav-links, nav .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 0.7rem 1.5rem; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .section { padding: 4rem 0; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 2rem 1.75rem; }
  .page-hero { padding: 3rem 0 2.5rem; }
  .container { padding: 0 1.25rem; }
}
