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

:root {
  --green: #c8f01a;
  --orange: #ff6b1a;
  --blue: #1a7ef0;
  --red: #cc1a2e;
  --black: #0d0d0d;
  --surface: #161616;
  --border: rgba(255,255,255,0.07);
  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.45);
  --text-muted: rgba(255,255,255,0.25);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  font-family: 'Barlow', sans-serif;
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* GRID BACKGROUND */
.grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* NAVIGATION */
.nav {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(12px);
}

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; background: var(--green);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark span {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 13px; color: #111;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 15px; color: #fff;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.logo-name span { color: var(--green); }
.logo-sub {
  font-size: 8px; letter-spacing: 0.18em;
  color: var(--text-muted); text-transform: uppercase; margin-top: 2px;
}

.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  font-size: 12px; color: var(--text-secondary); text-decoration: none;
  font-weight: 500; letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active { color: var(--green); }

.nav-cta {
  font-family: 'Barlow', sans-serif;
  font-size: 12px; font-weight: 700;
  background: var(--orange); color: #fff;
  padding: 8px 18px; border-radius: 4px;
  border: none; cursor: pointer;
  letter-spacing: 0.06em; text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s, opacity 0.2s; display: inline-block;
}
.nav-cta:hover { background: #e06400; opacity: 1; }

/* HAMBURGER */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px; transition: all 0.3s;
}

/* MOBILE NAV */
.nav-mobile {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(13,13,13,0.98);
  flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 0; overflow-y: auto; padding: 80px 20px 40px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 32px; text-transform: uppercase;
  color: #fff; text-decoration: none; letter-spacing: 0.06em;
  transition: color 0.2s; padding: 10px 0; display: block; text-align: center;
}
.nav-mobile a.nav-cta {
  font-family: 'Barlow', sans-serif; font-size: 15px; font-weight: 700;
  background: var(--orange); color: #fff !important; text-transform: uppercase;
  padding: 14px 32px; border-radius: 6px; letter-spacing: 0.08em;
  margin-bottom: 24px; width: 100%; max-width: 280px;
}
.nav-mobile a.nav-cta:hover { background: #e06400; color: #fff; }
.nav-mobile a:hover { color: var(--green); }
.nav-mobile-close {
  position: absolute; top: 20px; right: 24px;
  font-size: 28px; color: #fff; cursor: pointer; background: none; border: none;
}

/* BUTTONS */
.btn { font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 500; padding: 11px 22px; border-radius: 4px; border: none; cursor: pointer; letter-spacing: 0.05em; text-transform: uppercase; transition: opacity 0.2s; text-decoration: none; display: inline-block; }
.btn:hover { opacity: 0.85; }
.btn-green { background: var(--green); color: #111; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-outline { background: transparent; color: var(--text-secondary); border: 1px solid rgba(255,255,255,0.14); }
.btn-outline:hover { color: #fff; border-color: rgba(255,255,255,0.35); opacity: 1; }

/* SECTION LABELS */
.sec-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px;
  display: block;
}

/* TICKER */
.ticker { border-top: 1px solid var(--border); padding: 10px 0; overflow: hidden; }
.ticker-inner { display: flex; gap: 36px; white-space: nowrap; animation: ticker 26s linear infinite; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick-item { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.2); display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tick-dot { width: 4px; height: 4px; border-radius: 50%; flex-shrink: 0; }

/* FOOTER */
footer {
  padding: 40px 40px 32px;
  border-top: 1px solid var(--border);
  position: relative; z-index: 5;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px; margin-bottom: 40px;
}
.footer-brand p { font-size: 13px; color: var(--text-secondary); margin-top: 12px; line-height: 1.7; max-width: 240px; }
.footer-col h4 {
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 13px; color: var(--text-secondary);
  text-decoration: none; margin-bottom: 8px; transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 20px;
  font-size: 11px; color: var(--text-muted); flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* PALETTE STRIP */
.palette-strip { display: flex; height: 4px; }
.palette-strip div { flex: 1; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.fade-up { animation: fadeUp 0.5s ease both; }
.pulse-dot { animation: pulse 2s infinite; }

/* FORM STYLES */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px; color: #fff; font-family: 'Barlow', sans-serif;
  font-size: 13px; transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: #1a1a1a; }
.form-success { display: none; padding: 14px 18px; background: rgba(200,240,26,0.1); border: 1px solid rgba(200,240,26,0.3); border-radius: 6px; color: var(--green); font-size: 13px; margin-top: 12px; }
.form-success.show { display: block; }

/* CARD BASE */
.card { background: rgba(255,255,255,0.025); border: 1px solid var(--border); border-radius: 10px; }

/* DIVIDER */
hr.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  footer { padding: 32px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 4px; cursor: pointer;
  background: none; border: none; font-family: inherit; font-size: inherit;
  font-weight: inherit; letter-spacing: inherit; color: var(--text-secondary);
  padding: 0; text-decoration: none; transition: color 0.2s;
}
.nav-dropdown-toggle:hover { color: #fff; }
.nav-dropdown-toggle::after { content: '▾'; font-size: 10px; color: var(--text-muted); margin-left: 2px; transition: transform 0.2s; }
.nav-dropdown.open .nav-dropdown-toggle::after { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 10px); left: 0;
  background: rgba(13,13,13,0.98); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px; min-width: 210px; z-index: 200;
  backdrop-filter: blur(16px); box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  flex-direction: column; gap: 2px;
}
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a { padding: 8px 12px; border-radius: 6px; font-size: 13px; color: var(--text-secondary); text-decoration: none; transition: background 0.15s; white-space: nowrap; }
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active { background: rgba(255,255,255,0.06); color: #fff; }
.nav-cart { display: flex; align-items: center; gap: 4px; }

/* ===== LIGHT MODE ===== */
body.light-mode {
  --black: #f5f5f0;
  --surface: #ffffff;
  --surface2: #f0efe9;
  --border: rgba(0,0,0,0.1);
  --text-primary: #0d0d0d;
  --text-secondary: #3a3a3a;
  --text-muted: #7a7a7a;
  --green: #4a8a00;
  --blue: #0056cc;
  --orange: #cc4400;
  --red: #aa0020;
  background: #f5f5f0;
  color: #0d0d0d;
}
body.light-mode .grid-bg { opacity: 0.04; }
body.light-mode .nav { background: rgba(245,245,240,0.96); border-bottom-color: rgba(0,0,0,0.12); }
body.light-mode .nav-logo .logo-mark { background: #0d0d0d; }
body.light-mode .nav-logo .logo-name span { color: var(--green); }
body.light-mode .nav-links a { color: #3a3a3a; }
body.light-mode .nav-links a:hover, body.light-mode .nav-links a.active { color: #0d0d0d; }
body.light-mode .nav-cta { background: var(--orange); color: #fff !important; }
body.light-mode .nav-mobile { background: #ffffff; border-right-color: rgba(0,0,0,0.1); }
body.light-mode .nav-mobile a { color: #3a3a3a; border-bottom-color: rgba(0,0,0,0.06); }
body.light-mode .nav-dropdown-toggle { color: #3a3a3a; }
body.light-mode .nav-dropdown-toggle:hover { color: #0d0d0d; }
body.light-mode .nav-dropdown-menu { background: rgba(255,255,255,0.98); border-color: rgba(0,0,0,0.1); }
body.light-mode .nav-dropdown-menu a { color: #3a3a3a; }
body.light-mode .nav-dropdown-menu a:hover { background: rgba(0,0,0,0.04); color: #0d0d0d; }
body.light-mode footer { background: #0d0d0d; color: #f5f5f0; }
body.light-mode footer a { color: rgba(245,245,240,0.6); }
body.light-mode footer a:hover { color: #f5f5f0; }
body.light-mode .footer-brand p { color: rgba(245,245,240,0.5); }
body.light-mode .footer-bottom { border-top-color: rgba(255,255,255,0.08); color: rgba(245,245,240,0.4); }
body.light-mode .ticker-section { background: #0d0d0d; border-color: rgba(255,255,255,0.06); }
body.light-mode .tick-item { color: rgba(245,245,240,0.5); }
body.light-mode .palette-strip { opacity: 0.7; }
/* Cards & surfaces */
body.light-mode [class*="card"], body.light-mode [class*="-panel"], body.light-mode [class*="-band"],
body.light-mode .svc-card, body.light-mode .path-card, body.light-mode .plan, body.light-mode .module-card,
body.light-mode .agent-card, body.light-mode .act-card, body.light-mode .comm-card, body.light-mode .val-card,
body.light-mode .mission-card, body.light-mode .fam-card, body.light-mode .why-card, body.light-mode .story-badge,
body.light-mode .hero-stat, body.light-mode .how-it-works, body.light-mode .ai-teaser, body.light-mode .fi-inner,
body.light-mode .sib-acronym, body.light-mode .testimonial, body.light-mode .testimonial,
body.light-mode .tier-card, body.light-mode .tier-header, body.light-mode .tier-body,
body.light-mode .order-summary, body.light-mode .account-panel, body.light-mode .backbone-card,
body.light-mode .spotlight-card, body.light-mode .cat-card, body.light-mode .contact-method, body.light-mode .res-card,
body.light-mode .form-card, body.light-mode .product-card, body.light-mode .motto-card, body.light-mode .level-row,
body.light-mode .proc-step, body.light-mode .founder-bio, body.light-mode .karlos-box, body.light-mode .sacrifice-box,
body.light-mode .custom-band, body.light-mode .cta-row, body.light-mode .company-group, body.light-mode .stack-card,
body.light-mode .leader-card, body.light-mode .aud-card, body.light-mode .usecase, body.light-mode .flow-step,
body.light-mode .spon-stats, body.light-mode .wc-stats, body.light-mode .numbers-grid, body.light-mode .stats-grid,
body.light-mode .l-stats, body.light-mode .partner-stats, body.light-mode .hero-stats, body.light-mode .compare-table,
body.light-mode .faq-item, body.light-mode .ticket-grid > div, body.light-mode .josh-next, body.light-mode .backbone-grid > div { background: #ffffff !important; border-color: rgba(0,0,0,0.1) !important; color: #0d0d0d; }
body.light-mode h1, body.light-mode h2, body.light-mode h3, body.light-mode h4 { color: #0d0d0d; }
body.light-mode p { color: #3a3a3a; }
body.light-mode .sec-label, body.light-mode .text-muted, body.light-mode [style*="color:var(--text-muted)"] { color: #7a7a7a !important; }
body.light-mode [style*="color:var(--text-secondary)"] { color: #3a3a3a !important; }
body.light-mode input, body.light-mode textarea, body.light-mode select { background: #f0efe9 !important; border-color: rgba(0,0,0,0.15) !important; color: #0d0d0d !important; }
body.light-mode input::placeholder, body.light-mode textarea::placeholder { color: #999 !important; }
body.light-mode .btn-outline { border-color: rgba(0,0,0,0.2); color: #0d0d0d; }
body.light-mode .btn-outline:hover { background: rgba(0,0,0,0.06); }
body.light-mode .audience-nav, body.light-mode .aud-tab-nav { background: rgba(245,245,240,0.97); border-color: rgba(0,0,0,0.1); }
body.light-mode .aud-tab { color: #7a7a7a; }
body.light-mode .tl-content { border-left-color: rgba(0,0,0,0.1); }
body.light-mode .tl-content p { color: #3a3a3a; }
body.light-mode .compare-table th, body.light-mode .compare-table td { border-color: rgba(0,0,0,0.06) !important; color: #3a3a3a; }
body.light-mode .compare-table td:first-child { color: #0d0d0d; }
body.light-mode .product-img { background: #eeeee8 !important; border-color: rgba(0,0,0,0.08) !important; }
body.light-mode .size-btn { border-color: rgba(0,0,0,0.15); color: #7a7a7a; }
body.light-mode .size-btn:hover { border-color: var(--green); color: var(--green); }

/* ===== LIGHT SWITCH BUTTON ===== */
.theme-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(13,13,13,0.9);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
}
.theme-toggle:hover { transform: scale(1.1); }
body.light-mode .theme-toggle {
  background: rgba(255,255,255,0.95);
  border-color: rgba(0,0,0,0.15);
  color: #0d0d0d;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* ===== EXPANDED FOOTER ===== */
.site-footer { background: #080808; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-top { display: grid; grid-template-columns: 320px 1fr; gap: 48px; max-width: 1100px; margin: 0 auto; padding: 56px 40px 40px; }
.footer-brand-col { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: inline-flex !important; margin-bottom: 4px; }
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.75; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; margin-top: 4px; }
.fsoc { width: 34px; height: 34px; border-radius: 6px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: all 0.2s; }
.fsoc:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.15); }
.footer-cols-right { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.48); text-decoration: none; margin-bottom: 8px; transition: color 0.15s; line-height: 1.4; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; padding: 18px 40px; border-top: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; gap: 12px; }
.footer-bottom span { font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 0.04em; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 11px; color: rgba(255,255,255,0.3); text-decoration: none; letter-spacing: 0.04em; transition: color 0.15s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* Light mode footer overrides */
body.light-mode .site-footer { background: #0d0d0d; }
body.light-mode .site-footer * { color: inherit; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px 28px; }
  .footer-cols-right { grid-template-columns: repeat(2, 1fr); }
  .footer-brand-desc { max-width: 100%; }
  .footer-bottom { padding: 16px 20px; }
}
@media (max-width: 480px) {
  .footer-cols-right { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.lang-btn:hover { border-color: rgba(255,255,255,0.25); color: #fff; background: rgba(255,255,255,0.04); }
.lang-btn .lang-flag { font-size: 14px; line-height: 1; }
.lang-btn .lang-label { letter-spacing: 0.04em; }
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(13,13,13,0.98);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  min-width: 160px;
  z-index: 300;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  flex-direction: column;
  gap: 2px;
}
.lang-switcher.open .lang-menu { display: flex; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  color: var(--text-secondary);
  transition: background 0.15s;
  white-space: nowrap;
}
.lang-option:hover { background: rgba(255,255,255,0.06); color: #fff; }
.lang-option.current { color: var(--green); background: rgba(200,240,26,0.06); }
.lang-option .lo-flag { font-size: 16px; }
.lang-option .lo-name { font-weight: 500; }
.lang-option .lo-native { font-size: 11px; color: var(--text-muted); margin-left: auto; }
@media(max-width:900px) { .lang-switcher { display: none; } }
body.light-mode .lang-btn { border-color: rgba(0,0,0,0.15); color: #3a3a3a; }
body.light-mode .lang-btn:hover { border-color: rgba(0,0,0,0.3); color: #0d0d0d; background: rgba(0,0,0,0.04); }
body.light-mode .lang-menu { background: rgba(255,255,255,0.98); border-color: rgba(0,0,0,0.1); }
body.light-mode .lang-option { color: #3a3a3a; }
body.light-mode .lang-option:hover { background: rgba(0,0,0,0.04); color: #0d0d0d; }
body.light-mode .lang-option.current { color: var(--green); }

/* Mobile nav language switcher */
.nav-mobile-lang {
  position: absolute;
  bottom: 32px;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.nav-mobile-lang a {
  font-family: 'Barlow', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0.04em !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: rgba(255,255,255,0.5) !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.nav-mobile-lang a.current {
  background: rgba(200,240,26,0.08) !important;
  border-color: rgba(200,240,26,0.3) !important;
  color: var(--green) !important;
}
.nav-mobile-lang a:hover {
  color: #fff !important;
  border-color: rgba(255,255,255,0.3) !important;
}




}

/* Language toggle — single button inline with hamburger */
.nav-lang-mobile {
  display: none;
  margin-right: 6px;
}
.nav-lang-mobile a {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 5px;
  border: 1px solid rgba(200,240,26,0.3);
  background: rgba(200,240,26,0.08);
  color: var(--green);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
  line-height: 1;
  white-space: nowrap;
}
.nav-lang-mobile a:hover {
  background: rgba(200,240,26,0.16);
  border-color: rgba(200,240,26,0.5);
}
@media (max-width: 900px) {
  .nav-lang-mobile { display: flex; }
}

/* Lang switcher outside nav-links — visible on mobile */
.lang-switcher-mobile {
  display: none;
}
@media (max-width: 768px) {
  .lang-switcher-mobile { display: flex; }
  .nav-links .lang-switcher { display: none; }
}

/* ===== LIGHT MODE TEXT FIXES (2026-11-05) =====
   These rules set text to white for the dark theme and were never switched for light mode, so the text vanished on cream. */
body.light-mode .about-section p strong,
body.light-mode .born-body p,
body.light-mode .born-body p strong,
body.light-mode .brings-list li strong,
body.light-mode .card h3,
body.light-mode .chapter p,
body.light-mode .chapter p strong,
body.light-mode .cm-val,
body.light-mode .delivery-item h4,
body.light-mode .fo-item h4,
body.light-mode .final-quote p,
body.light-mode .hero-sub strong,
body.light-mode .info-val,
body.light-mode .leader-body p strong,
body.light-mode .legal-section h3,
body.light-mode .legal-section p strong,
body.light-mode .legal-section ul li strong,
body.light-mode .legal-table td:first-child,
body.light-mode .ms-title,
body.light-mode .partner-body p strong,
body.light-mode .path-card h3,
body.light-mode .pc-name,
body.light-mode .philosophy p,
body.light-mode .product-name,
body.light-mode .profile-card h3,
body.light-mode .profile-card p strong,
body.light-mode .proof-bar strong,
body.light-mode .prow-val,
body.light-mode .rs-label,
body.light-mode .section p strong,
body.light-mode .shop-count span,
body.light-mode .step-title,
body.light-mode .story-chapters p strong,
body.light-mode .story-quote,
body.light-mode .svc-card h3,
body.light-mode .testimonial p,
body.light-mode .value-card h4{color:#0d0d0d}
body.light-mode [style*="color:#fff"]:not([style*="background"]):not([class*="btn"]):not(.site-footer *):not(footer *){color:#0d0d0d!important}
body.light-mode [style*="color:rgba(255,255,255"]:not([style*="background"]):not([class*="btn"]):not(.site-footer *):not(footer *){color:#3a3a3a!important}
body.light-mode .legal-nav a:hover{color:#0d0d0d;background:rgba(0,0,0,0.04)}
body.light-mode .toggle-btn.active{background:#0d0d0d;color:#f5f5f0}
body.light-mode .av-j,body.light-mode .fav-j,body.light-mode .aud-btn-title{color:#0d0d0d}
body.light-mode .logo-name{color:#0d0d0d}
body.light-mode .logo-mark span{color:#c8f01a}
body.light-mode .site-footer .logo-name,body.light-mode footer .logo-name{color:#f5f5f0}
body.light-mode .site-footer .logo-mark,body.light-mode footer .logo-mark{background:#c8f01a}
body.light-mode .site-footer .logo-mark span,body.light-mode footer .logo-mark span{color:#111}

/* ===== MORE LIGHT MODE FIXES, AND A PHONE SAFETY NET (2026-11-05) ===== */
body.light-mode strong:not(.site-footer strong):not(footer strong):not(.sesi strong):not([style*="color"]){color:#0d0d0d}
body.light-mode .sib-word{color:#0d0d0d}
body.light-mode .toggle-btn:not(.active){color:#3a3a3a!important}
body.light-mode .toggle-btn.active{background:#0d0d0d!important;color:#f5f5f0!important}
body.light-mode .toggle-btn.active.region-btn{background:rgba(74,138,0,0.14)!important;color:#3a6f00!important}
body.light-mode .lang-btn,body.light-mode .lang-btn *{color:#3a3a3a!important}
body.light-mode .nav-links a.active{color:#0d0d0d!important}
.footer-bottom-links{flex-wrap:wrap;row-gap:6px}
/* Longer menu labels in some languages pushed the Get started button off screen on laptops. */
@media(min-width:769px) and (max-width:1480px){.nav{padding-left:24px;padding-right:24px}.nav-links{gap:clamp(8px,1.1vw,18px)}.nav-links a,.nav-dropdown-toggle{letter-spacing:0.01em}}
@media(min-width:769px) and (max-width:1180px){.nav-links a,.nav-dropdown-toggle{font-size:11px}.logo-sub{display:none}}
@media(max-width:900px){.nav-links{display:none}.nav-hamburger{display:flex}.lang-switcher-mobile{display:flex}}
@media(max-width:1120px){html[lang="de"] .nav-links,html[lang="fr"] .nav-links{display:none}html[lang="de"] .nav-hamburger,html[lang="fr"] .nav-hamburger{display:flex}html[lang="de"] .lang-switcher-mobile,html[lang="fr"] .lang-switcher-mobile{display:flex}}
/* Japanese menu labels broke mid-word on laptops (ホー/ム): keep each label on one line, step the size down, and open the menu button below 1180px. */
html[lang="ja"] .nav-links a,html[lang="ja"] .nav-dropdown-toggle{white-space:nowrap}
@media(min-width:1181px) and (max-width:1320px){html[lang="ja"] .nav-links a,html[lang="ja"] .nav-dropdown-toggle{font-size:12px}}
@media(min-width:1181px) and (max-width:1260px){html[lang="ja"] .nav-links a,html[lang="ja"] .nav-dropdown-toggle{font-size:11px}}
@media(max-width:1180px){html[lang="ja"] .nav-links{display:none}html[lang="ja"] .nav-hamburger{display:flex}html[lang="ja"] .lang-switcher-mobile{display:flex}}
@media(max-width:600px){
  [style*="grid-template-columns:repeat("],[style*="grid-template-columns: repeat("],[style*="grid-template-columns:1fr 1fr"],[style*="grid-template-columns: 1fr 1fr"]{grid-template-columns:1fr!important}
  h1,h2,h3,h4{overflow-wrap:break-word;hyphens:auto}
  .journey-path{flex-wrap:wrap}.story-inner>*{min-width:0}
  p,li{overflow-wrap:anywhere}
}
body.light-mode .filter-btn.active{background:#0d0d0d!important;color:#f5f5f0!important}
/* ===== FLAGS, LANGUAGE MENU, PRICING BADGES, SHORTER HOME (2026-11-06) ===== */
.lang-flag-img,.lo-flag-img,.rg-flag{width:20px;height:14px;object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px rgba(255,255,255,0.2);flex-shrink:0;display:inline-block;vertical-align:middle}
.rg-flag{width:18px;height:12px;margin-inline-end:6px;vertical-align:-1px}
body.light-mode .lang-flag-img,body.light-mode .lo-flag-img,body.light-mode .rg-flag{box-shadow:0 0 0 1px rgba(0,0,0,0.2)}
.lang-btn{display:inline-flex;align-items:center;gap:6px}
.lang-menu{max-height:min(74vh,620px);overflow-y:auto;overscroll-behavior:contain;min-width:240px}
[dir="rtl"] .lang-option .lo-native{margin-left:0;margin-right:auto}
.plan{position:relative}
.plan-badge.bv{background:var(--black);color:var(--green);border:1px solid var(--green)}
body.light-mode .plan-badge.bv{background:#fff;color:#3a6f00;border-color:#3a6f00}
.plan-badge-ar{position:absolute;top:-12px;right:20px;font-size:11px;font-weight:700;padding:3px 10px;border-radius:20px;background:var(--black);color:var(--green);border:1px solid var(--green)}
body.light-mode .plan-badge-ar{background:#fff;color:#3a6f00;border-color:#3a6f00}
.region-toggle{flex-wrap:wrap}
.region-btn{display:inline-flex;align-items:center}
.region-btn.btn.active{border-color:var(--green);color:var(--green)}
body.light-mode .region-btn.btn.active{border-color:#3a6f00;color:#3a6f00}
.also-for{margin-top:22px;font-size:13px;line-height:1.6;color:var(--text-muted);display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.also-for .af-label{font-weight:600;color:var(--text-secondary)}
.also-for a{color:var(--text-secondary);text-decoration:underline;text-decoration-color:rgba(200,240,26,0.55);text-underline-offset:3px}
.also-for a:hover{color:var(--green)}
body.light-mode .also-for a{color:#3a3a3a;text-decoration-color:#3a6f00}
.story-compact .story-inner{grid-template-columns:1fr!important;max-width:880px}
.contract-note{font-size:12px;line-height:1.7;color:var(--text-muted);max-width:900px;margin:18px auto 8px;padding:0 4px}.contract-note strong{color:var(--text-secondary)}
.emoji-flag{width:1.3em;height:auto;aspect-ratio:3/2;object-fit:cover;vertical-align:-0.18em;border-radius:2px;box-shadow:0 0 0 1px rgba(255,255,255,0.2)}
body.light-mode .emoji-flag{box-shadow:0 0 0 1px rgba(0,0,0,0.2)}
body.light-mode [style*="color:gold"]{color:#8a6d00!important}
body.light-mode [style*="color:silver"]{color:#5f5f5f!important}

/* ===== HOME HERO PLAYER CUT-OUT, DARK MODE ONLY (2026-11-06) ===== */
.hero{isolation:isolate}
.hero-player{position:absolute;right:40px;bottom:200px;z-index:-1;height:min(560px,46vw);aspect-ratio:438/1120;background:url(/img/sib-player-75c66fda.webp) center/contain no-repeat;pointer-events:none;user-select:none;filter:drop-shadow(0 18px 28px rgba(0,0,0,.55))}
[dir=rtl] .hero-player{right:auto;left:40px}
body.light-mode .hero-player{display:none}
@media (max-width:899px){
  .hero-player{right:0;bottom:auto;height:230px;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 30%);mask-image:linear-gradient(90deg,transparent 0,#000 30%)}
  [dir=rtl] .hero-player{left:0;right:auto;-webkit-mask-image:linear-gradient(270deg,transparent 0,#000 30%);mask-image:linear-gradient(270deg,transparent 0,#000 30%)}
}

/* ===== PRODUCTION POLISH (2026-11-06 review) ===== */
html{color-scheme:dark}
html:has(body.light-mode){color-scheme:light}
body.light-mode{color-scheme:light}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .ticker{animation:none!important;transform:none!important}
}
.fx-note{font-size:11px;color:var(--text-muted);line-height:1.5;margin:4px 0 6px}
.fx-note[hidden]{display:none}
.shipping-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important}
.nav-dropdown-toggle.active{color:var(--green)}
body.light-mode .nav-dropdown-toggle.active{color:#0d0d0d}
.nav-mobile a.active{color:var(--green)}
body.light-mode .nav-mobile a.active{color:#0d0d0d}
@media print{.hero-player,.theme-toggle,.lang-switcher,.ticker-wrap{display:none!important}}
/* Home ticker tape: the strip was 10px at 20% white and read as decoration. Owner asked for it to be more visible (2026-11-06). */
.ticker-section{padding:14px 0;background:rgba(255,255,255,0.03)}
.tick-item{font-size:11.5px;font-weight:600;letter-spacing:0.14em;color:rgba(255,255,255,0.72)}
.tick-dot{width:6px;height:6px;box-shadow:0 0 8px 1px rgba(255,255,255,0.18)}
.ticker-inner{gap:44px}
body.light-mode .ticker-section{background:#0d0d0d}
body.light-mode .tick-item{color:rgba(245,245,240,0.88)}
