/* ═══════════════════════════════════════════════════
   SyncERP Marketing — style.css
   Industrial Precision Design System
   ═══════════════════════════════════════════════════ */

/* ── Custom Properties ── */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --bg-card: #1a1a1a;
  --surface: #222222;
  --border: #2a2a2a;
  --border-hover: #3a3a3a;
  --text: #f0ece4;
  --text-muted: #8a8680;
  /* Brand: S-Bridge palette (Deep Cobalt + Signal Blue). */
  --accent: #2563EB;                       /* Signal Blue */
  --accent-hover: #60A5FA;                 /* Light Accent */
  --accent-dim: rgba(37, 99, 235, 0.15);
  --accent-deep: #0B3FAE;                  /* Deep Cobalt (for emphasis) */
  --blue: #4a90d9;

  --radius: 4px;
  --radius-md: 8px;
  --nav-h: 64px;
  --section-py: 100px;
  --max-w: 1200px;

  --font-body: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Source Serif 4', 'Georgia', serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(38px, 5vw, 60px); }
h2 { font-size: clamp(30px, 3.5vw, 44px); }
h3 { font-size: 22px; }
h4 { font-size: 18px; font-family: var(--font-body); font-weight: 600; }
.mono { font-family: var(--font-mono); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 16px auto 0;
  line-height: 1.7;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Sections ── */
.section { padding: var(--section-py) 0; }
.section-dark { background: var(--bg); }
.section-elevated { background: var(--bg-elevated); }
.section-header { text-align: center; margin-bottom: 64px; }

/* ── Architectural Divider ── */
.divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-hover);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-dark {
  background: var(--bg);
  color: var(--accent);
  border: 1.5px solid var(--border-hover);
}
.btn-dark:hover {
  background: var(--bg-elevated);
  border-color: var(--accent);
}
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.8);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -0.3px;
}
.nav-brand svg { width: 26px; height: 26px; color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-actions a.login-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-actions a.login-link:hover { color: var(--text); }
.nav-actions .btn { padding: 10px 22px; font-size: 14px; }
.hamburger {
  display: none;
  color: var(--text);
  padding: 4px;
}
.hamburger svg { width: 24px; height: 24px; }

/* Mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-elevated);
  padding: 32px 24px;
  z-index: 99;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; flex-direction: column; }
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--text); }
.mobile-nav .btn {
  width: 100%;
  margin-top: 24px;
  text-align: center;
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

/* Grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(212,168,83,0.03) 49px, rgba(212,168,83,0.03) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(212,168,83,0.03) 49px, rgba(212,168,83,0.03) 50px);
  pointer-events: none;
}

/* Noise texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 52% 48%;
  gap: 60px;
  align-items: center;
}
.hero-text .eyebrow { margin-bottom: 24px; display: inline-block; }
.hero-text h1 {
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.hero-text h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-text .subtitle {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hero-trust {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}
.hero-image {
  position: relative;
}
.browser-frame {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(59, 130, 246, 0.05);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.browser-frame:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-dot:nth-child(1) { background: #ef4444; }
.browser-dot:nth-child(2) { background: #eab308; }
.browser-dot:nth-child(3) { background: #22c55e; }
.browser-url {
  margin-left: 12px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.browser-frame img { display: block; width: 100%; }

/* ══════════════════════════════════════════
   SOCIAL PROOF BAR
   ══════════════════════════════════════════ */
.proof-bar {
  padding: 56px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.proof-stat .number {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.proof-stat .label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.3px;
}

/* ══════════════════════════════════════════
   FEATURE TABS
   ══════════════════════════════════════════ */
.tab-nav {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--text-muted);
  border-radius: 100px;
  transition: all 0.2s;
  background: var(--surface);
  border: 1px solid var(--border);
}
.tab-btn:hover {
  color: var(--text);
  border-color: var(--border-hover);
}
.tab-btn.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.tab-panel {
  max-width: 760px;
  margin: 0 auto;
}
.tab-desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  padding: 8px 0;
}
.feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ══════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: border-color 0.3s;
}
.step-card:hover {
  border-color: var(--border-hover);
  border-left-color: var(--accent-hover);
}
.step-number {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.8;
}
.step-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}
.step-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════ */
.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 48px 40px;
  position: relative;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.plan-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}
.price {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.price-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.pricing-features {
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.pricing-card .btn { width: 100%; }

/* Pricing FAQ */
.pricing-faq h3 {
  font-size: 24px;
  margin-bottom: 32px;
}
.pricing-faq-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pricing-faq-item:last-child { border-bottom: none; }
.pricing-faq-item h4 {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 8px;
}
.pricing-faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   INDUSTRIES
   ══════════════════════════════════════════ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}
.industry-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}
.industry-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--accent);
}
.industry-card h3 {
  font-size: 18px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 700;
}
.industry-card li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.industry-card li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 18px;
  transition: transform 0.3s, color 0.3s;
}
.faq-icon.open {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-answer {
  padding-bottom: 24px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ══════════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════════ */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.04) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-section h2 {
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  background: var(--bg);
  color: var(--text-muted);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-brand svg { width: 22px; height: 22px; color: var(--accent); }
.footer-tagline {
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.7;
}
.footer-contact p {
  font-size: 14px;
  margin-bottom: 6px;
}
.footer-contact a { color: var(--accent); transition: color 0.2s; }
.footer-contact a:hover { color: var(--accent-hover); }
.footer h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 20px;
}
.footer ul li { margin-bottom: 12px; }
.footer ul a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a { transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--text); }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text .subtitle { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { text-align: center; }
  .hero-image { max-width: 600px; margin: 0 auto; }
  .browser-frame { transform: perspective(1200px) rotateY(0) rotateX(3deg); }
  .browser-frame:hover { transform: perspective(1200px) rotateY(0) rotateX(1deg); }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .pricing-layout { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --section-py: 56px; --nav-h: 56px; }
  .container { padding: 0 16px; }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: block; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 48px; }
  .hero-text h1 { font-size: 32px; }
  .hero-text .subtitle { font-size: 16px; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .proof-stat .number { font-size: 28px; }
  .tab-nav { gap: 4px; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .tab-btn { padding: 8px 16px; font-size: 13px; flex-shrink: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .step-card { padding: 28px 24px; }
  .step-number { font-size: 36px; }
  .industry-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-card { padding: 32px 24px; }
  .section-header { margin-bottom: 40px; }
  .btn-lg { padding: 14px 28px; font-size: 15px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .proof-stat .number { font-size: 24px; }
}

/* ═══════════════════════════════════════════════════
   Light mode — S-Bridge rebrand
   Dark is the default (see :root at top of file).
   Adding .light-mode on <html> swaps the palette.
   The toggle lives in the nav; state is persisted to localStorage.
   ═══════════════════════════════════════════════════ */

:root.light-mode {
  --bg: #F4F7FC;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --surface: #f1f5f9;
  --border: #e5e7eb;
  --border-hover: #cbd5e1;
  --text: #0f172a;
  --text-muted: #64748b;
  --accent-hover: #1d4ed8;
  --accent-dim: rgba(37, 99, 235, 0.08);
}

/* Smooth the flip so it doesn't feel jarring. Only the touched props transition. */
body, .nav, .nav-scrolled, .footer, .feature-card, .proof-stat, .pricing-card,
.industry-card, .faq-item, .mobile-nav, .browser-frame, .browser-bar, input, select, textarea {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* S-Bridge logo — dark palette by default (matches current dark-bg site),
   main palette under :root.light-mode. */
.sync-logo-top { stroke: #93C5FD; }
.sync-logo-bot { stroke: #60A5FA; }
.sync-logo-sync { color: #93C5FD; }
.sync-logo-erp { color: #60A5FA; font-style: italic; }
:root.light-mode .sync-logo-top { stroke: #2563EB; }
:root.light-mode .sync-logo-bot { stroke: #0B3FAE; }
:root.light-mode .sync-logo-sync { color: #2563EB; }
:root.light-mode .sync-logo-erp { color: #0B3FAE; }

/* Theme toggle button in the nav. */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.theme-toggle:hover { color: var(--text); border-color: var(--border-hover); }
.theme-toggle svg { width: 18px; height: 18px; stroke-width: 2; }

/* Nav bg has hardcoded dark rgba() at lines 164/169 — override for light mode. */
:root.light-mode .nav { background: rgba(244, 247, 252, 0.85); }
:root.light-mode .nav.scrolled { background: rgba(244, 247, 252, 0.96); }

/* Hero grid overlay uses a warm tan; on light bg it can read tan/noisy, so swap to a cool neutral. */
:root.light-mode .hero::before {
  background:
    repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(148, 163, 184, 0.12) 49px, rgba(148, 163, 184, 0.12) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(148, 163, 184, 0.12) 49px, rgba(148, 163, 184, 0.12) 50px);
}
:root.light-mode .hero::after { opacity: 0.15; }
