@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;600;700;800;900&family=Barlow:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ══ THEME VARIABLES ══════════════════════════════ */
:root,
[data-theme="dark"] {
  --bg:      #080F1E;
  --bg2:     #0A1628;
  --bg3:     #0D1E35;
  --bg4:     #112244;
  --text:    #E2EAF4;
  --text2:   #B8C8E0;
  --dim:     #8899BB;
  --dim2:    #4A5E80;
  --gold:    #7A5C10;
  --gold2:   #C8960C;
  --gold3:   #E6AC1A;
  --green:   #10B981;
  --teal:    #0D8A72;
  --amber:   #F59E0B;
  --red:     #EF4444;
  --purple:  #8B5CF6;
  --border:  rgba(100,130,180,0.15);
  --border2: rgba(200,150,12,0.22);
  --card:    rgba(13,30,53,0.85);
  --nav-bg:  rgba(8,15,30,0.97);
  --shadow:  0 4px 32px rgba(0,0,0,0.45);
  --toggle-icon: '☀️';
}

[data-theme="light"] {
  --bg:      #F2F5FB;
  --bg2:     #FFFFFF;
  --bg3:     #E8EDF8;
  --bg4:     #DDE4F2;
  --text:    #0D1E35;
  --text2:   #2A3D5C;
  --dim:     #4A5E80;
  --dim2:    #8899BB;
  --gold:    #8A6010;
  --gold2:   #B07808;
  --gold3:   #C8900C;
  --green:   #059669;
  --teal:    #0A7260;
  --amber:   #D97706;
  --red:     #DC2626;
  --purple:  #7C3AED;
  --border:  rgba(26,50,80,0.12);
  --border2: rgba(184,130,10,0.28);
  --card:    rgba(255,255,255,0.95);
  --nav-bg:  rgba(242,245,251,0.97);
  --shadow:  0 4px 24px rgba(0,0,0,0.1);
  --toggle-icon: '🌙';
}

/* ══ RESET & BASE ═════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  padding-top: 56px;
  transition: background 0.3s, color 0.3s;
}
a { color: var(--gold3); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ══ NAV ══════════════════════════════════════════ */
#saltci-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border2);
  backdrop-filter: blur(14px);
  z-index: 9000;
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 0;
  transition: background 0.3s;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  flex-shrink: 0;
}
.nav-logo img { height: 26px; width: auto; }
.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--gold3);
  letter-spacing: 1px;
  line-height: 1;
}
.nav-logo-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  color: var(--dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 6px 14px;
  color: var(--dim);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold3); background: rgba(200,150,12,0.08); text-decoration: none; }
.nav-links a.nav-cta {
  background: var(--gold2);
  color: var(--bg) !important;
  font-weight: 700;
  margin-left: 8px;
  padding: 7px 16px;
}
.nav-links a.nav-cta:hover { background: var(--gold3); }

#theme-toggle {
  background: none;
  border: 1px solid var(--border2);
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  padding: 5px 9px;
  margin-left: 8px;
  transition: border-color 0.2s, background 0.2s;
  line-height: 1;
}
#theme-toggle:hover { background: rgba(200,150,12,0.08); border-color: var(--gold3); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 4px;
  margin-left: 12px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gold3);
  border-radius: 1px;
}

/* ══ UTILITY ══════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.mono { font-family: 'IBM Plex Mono', monospace; }
.gold { color: var(--gold3); }
.dim  { color: var(--dim); }

.sec-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--gold2);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold2); }
.sec-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 14px;
}
.sec-sub { color: var(--dim); font-size: 15px; max-width: 640px; line-height: 1.7; }

/* Buttons */
.btn-primary {
  padding: 12px 28px;
  background: var(--gold2);
  color: var(--bg) !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none !important;
}
.btn-primary:hover { background: var(--gold3); transform: translateY(-1px); }
.btn-outline {
  padding: 12px 28px;
  border: 1px solid var(--border2);
  color: var(--gold3) !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  display: inline-block;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none !important;
}
.btn-outline:hover { background: rgba(200,150,12,0.08); border-color: var(--gold3); }

/* Badges */
.badge-live  { background:rgba(16,185,129,.15);color:#6EE7B7;border:1px solid rgba(16,185,129,.3); padding:2px 8px;border-radius:3px;font-size:10px;font-weight:700;font-family:'IBM Plex Mono',monospace;letter-spacing:1px; }
.badge-wip   { background:rgba(245,158,11,.12);color:#F5C842;border:1px solid rgba(245,158,11,.3); padding:2px 8px;border-radius:3px;font-size:10px;font-weight:700;font-family:'IBM Plex Mono',monospace;letter-spacing:1px; }
.badge-plan  { background:rgba(139,92,246,.12);color:#A888E8;border:1px solid rgba(139,92,246,.25);padding:2px 8px;border-radius:3px;font-size:10px;font-weight:700;font-family:'IBM Plex Mono',monospace;letter-spacing:1px; }

/* ══ HERO ═════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,150,12,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(10,107,88,0.05) 0%, transparent 60%),
    var(--bg2);
}
[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,150,12,0.06) 0%, transparent 70%),
    var(--bg3);
}
.hero::before {
  content:'';
  position:absolute;inset:0;pointer-events:none;
  background-image:
    linear-gradient(rgba(200,150,12,0.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(200,150,12,0.04) 1px,transparent 1px);
  background-size:52px 52px;
}
.hero-inner {
  position:relative;z-index:1;
  max-width:1200px;margin:0 auto;padding:80px 24px;
  display:grid;grid-template-columns:1fr 380px;gap:72px;align-items:center;
}
.hero-eyebrow {
  font-family:'IBM Plex Mono',monospace;
  font-size:11px;color:var(--gold2);
  letter-spacing:3px;text-transform:uppercase;
  margin-bottom:20px;
  display:flex;align-items:center;gap:10px;
}
.hero-eyebrow::before { content:'';display:block;width:32px;height:1px;background:var(--gold2); }
.hero h1 {
  font-family:'Barlow Condensed',sans-serif;
  font-size:clamp(56px,8vw,96px);
  font-weight:900;line-height:0.92;
  letter-spacing:-1px;color:var(--text);margin-bottom:12px;
}
.hero h1 .gold { color:var(--gold3); }
.hero-tagline {
  font-family:'Barlow Condensed',sans-serif;
  font-size:clamp(16px,2.2vw,24px);
  font-weight:300;color:var(--dim);
  letter-spacing:2px;margin-bottom:24px;
}
.hero-desc { color:var(--dim);font-size:15px;max-width:540px;margin-bottom:32px;line-height:1.8; }
.hero-btns { display:flex;gap:12px;flex-wrap:wrap; }

.hero-panel {
  background:var(--card);
  border:1px solid var(--border2);
  border-radius:8px;padding:24px;
  box-shadow:var(--shadow);
}
.panel-title {
  font-family:'IBM Plex Mono',monospace;
  font-size:10px;color:var(--gold2);
  letter-spacing:2px;text-transform:uppercase;margin-bottom:16px;
}
.panel-stat {
  display:flex;justify-content:space-between;align-items:center;
  padding:9px 0;border-bottom:1px solid var(--border);
}
.panel-stat:last-child { border-bottom:none; }
.panel-stat-label { font-size:12px;color:var(--dim); }
.panel-stat-val {
  font-family:'Barlow Condensed',sans-serif;
  font-size:22px;font-weight:800;color:var(--gold3);
}
.panel-stat-val.green { color:var(--green); }

/* ══ STATS BAR ════════════════════════════════════ */
.stats-bar {
  background:var(--bg3);
  border-top:1px solid var(--border2);
  border-bottom:1px solid var(--border2);
  padding:24px 0;
}
.stats-grid {
  display:grid;grid-template-columns:repeat(7,1fr);
  max-width:1200px;margin:0 auto;padding:0 24px;
}
.stat-item { text-align:center;padding:8px 12px;border-right:1px solid var(--border); }
.stat-item:last-child { border-right:none; }
.stat-num {
  font-family:'Barlow Condensed',sans-serif;
  font-size:34px;font-weight:900;color:var(--gold3);line-height:1;margin-bottom:4px;
}
.stat-lbl {
  font-family:'IBM Plex Mono',monospace;
  font-size:8.5px;color:var(--dim);
  letter-spacing:1.5px;text-transform:uppercase;line-height:1.4;
}

/* ══ PRODUCT CARDS ════════════════════════════════ */
.products-grid {
  display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px;
}
.product-card {
  background:var(--card);border:1px solid var(--border);
  border-radius:8px;padding:22px;
  transition:border-color 0.25s,transform 0.2s,box-shadow 0.2s;
  position:relative;overflow:hidden;
}
.product-card::before {
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  opacity:0;transition:opacity 0.25s;
}
.product-card.live::before  { opacity:1;background:var(--green); }
.product-card.wip::before   { opacity:1;background:var(--amber); }
.product-card.plan::before  { opacity:0.5;background:var(--purple); }
.product-card:hover { border-color:var(--border2);transform:translateY(-2px);box-shadow:var(--shadow); }
.product-card-head { display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px; }
.product-icon { font-size:26px; }
.product-card h3 {
  font-family:'Barlow Condensed',sans-serif;
  font-size:19px;font-weight:700;color:var(--text);margin:8px 0 6px;line-height:1.2;
}
.product-card p { color:var(--dim);font-size:13px;line-height:1.6; }
.product-endpoint {
  font-family:'IBM Plex Mono',monospace;font-size:10px;color:var(--gold2);
  margin-top:12px;padding-top:12px;border-top:1px solid var(--border);
}

/* ══ ENDPOINT APPS SECTION ════════════════════════ */
.endpoint-section {
  background:linear-gradient(135deg,rgba(10,107,88,0.05),rgba(200,150,12,0.04));
  border:1px solid var(--border2);border-radius:10px;
  padding:48px;text-align:center;position:relative;overflow:hidden;
}
.endpoint-inf {
  font-family:'Barlow Condensed',sans-serif;
  font-size:88px;font-weight:900;color:var(--gold3);line-height:1;margin-bottom:8px;
}
.endpoint-section h2 {
  font-family:'Barlow Condensed',sans-serif;
  font-size:34px;font-weight:800;color:var(--text);margin-bottom:14px;
}
.endpoint-section p { color:var(--dim);max-width:680px;margin:0 auto 32px;font-size:15px;line-height:1.8; }
.examples-grid {
  display:grid;grid-template-columns:repeat(4,1fr);gap:12px;text-align:left;margin-top:28px;
}
.example-card {
  background:var(--bg2);border:1px solid var(--border);border-radius:6px;padding:14px;
  transition:border-color 0.2s;
}
.example-card:hover { border-color:var(--border2); }
.example-card .icon { font-size:20px;margin-bottom:6px; }
.example-card h4 {
  font-family:'Barlow Condensed',sans-serif;font-size:14px;font-weight:700;
  color:var(--gold3);margin-bottom:4px;
}
.example-card p { font-size:12px;color:var(--dim);line-height:1.5; }

/* ══ WHY SECTION ══════════════════════════════════ */
.why-bg { background:var(--bg3);border-top:1px solid var(--border);border-bottom:1px solid var(--border); }
.why-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:32px; }
.why-item h3 {
  font-family:'Barlow Condensed',sans-serif;font-size:22px;font-weight:700;
  color:var(--gold3);margin:10px 0 8px;
}
.why-item p { color:var(--dim);font-size:14px;line-height:1.7; }
.why-num { font-family:'IBM Plex Mono',monospace;font-size:11px;color:var(--gold);letter-spacing:2px; }

/* ══ PAGE HERO ════════════════════════════════════ */
.page-hero {
  background:var(--bg3);
  border-bottom:1px solid var(--border2);
  padding:56px 0 40px;
}
.page-hero h1 {
  font-family:'Barlow Condensed',sans-serif;
  font-size:clamp(36px,5vw,64px);font-weight:900;color:var(--text);margin-bottom:10px;
}
.page-hero p { color:var(--dim);font-size:16px;max-width:640px;line-height:1.7; }

/* ══ PLATFORM PAGE ════════════════════════════════ */
.product-section { padding:52px 0;border-bottom:1px solid var(--border); }
.product-section:last-child { border-bottom:none; }
.product-layout { display:grid;grid-template-columns:280px 1fr;gap:44px;align-items:start; }
.product-name {
  font-family:'Barlow Condensed',sans-serif;font-size:34px;font-weight:900;
  color:var(--text);line-height:1.05;margin-bottom:8px;
}
.product-tagline {
  font-family:'IBM Plex Mono',monospace;font-size:10px;color:var(--gold2);
  letter-spacing:1.5px;text-transform:uppercase;margin-bottom:12px;
}
.product-desc { color:var(--dim);font-size:14px;line-height:1.8;margin-bottom:14px; }
.product-endpoint-box {
  background:var(--bg4);border:1px solid var(--border2);border-radius:4px;
  padding:10px 14px;font-family:'IBM Plex Mono',monospace;font-size:11px;color:var(--gold3);
}
.product-endpoint-box .lbl {
  color:var(--dim2);font-size:9px;letter-spacing:1px;text-transform:uppercase;margin-bottom:3px;
}
.features-grid { display:grid;grid-template-columns:repeat(2,1fr);gap:18px; }
.feature-block {
  background:var(--card);border:1px solid var(--border);border-radius:6px;padding:18px;
}
.feature-block h4 {
  font-family:'Barlow Condensed',sans-serif;font-size:15px;font-weight:700;
  color:var(--gold3);margin-bottom:10px;
}
.feature-block ul { list-style:none; }
.feature-block li {
  font-size:13px;color:var(--dim);padding:3px 0 3px 14px;
  position:relative;line-height:1.5;
}
.feature-block li::before { content:'›';position:absolute;left:0;color:var(--gold2); }
.sector-tags { display:flex;flex-wrap:wrap;gap:7px;margin-top:14px; }
.sector-tag {
  background:rgba(200,150,12,0.08);border:1px solid rgba(200,150,12,0.2);
  color:var(--gold3);font-size:10px;font-family:'IBM Plex Mono',monospace;
  padding:3px 10px;border-radius:3px;
}
.divider-label {
  display:flex;align-items:center;gap:14px;margin-bottom:36px;
}
.divider-line { flex:1;height:1px;background:var(--border2); }
.divider-text {
  font-family:'IBM Plex Mono',monospace;font-size:10px;
  color:var(--gold2);letter-spacing:2px;text-transform:uppercase;white-space:nowrap;
}

/* ══ POST / BLOG ══════════════════════════════════ */
.post-header { padding:56px 0 32px;border-bottom:1px solid var(--border); }
.post-meta {
  font-family:'IBM Plex Mono',monospace;font-size:11px;
  color:var(--dim);letter-spacing:1px;margin-bottom:16px;
}
.post-title {
  font-family:'Barlow Condensed',sans-serif;font-size:clamp(32px,5vw,56px);
  font-weight:900;color:var(--text);line-height:1.05;max-width:800px;
}
.post-body { max-width:720px;margin:48px auto;padding:0 24px; }
.post-body h2 {
  font-family:'Barlow Condensed',sans-serif;font-size:30px;font-weight:700;
  color:var(--text);margin:36px 0 14px;
}
.post-body h3 {
  font-family:'Barlow Condensed',sans-serif;font-size:22px;font-weight:700;
  color:var(--gold3);margin:28px 0 10px;
}
.post-body p { color:var(--text2);font-size:16px;line-height:1.85;margin-bottom:20px; }
.post-body ul,.post-body ol { color:var(--text2);font-size:15px;line-height:1.8;margin:0 0 20px 20px; }
.post-body li { margin-bottom:6px; }
.post-body strong { color:var(--text);font-weight:600; }
.post-body code {
  font-family:'IBM Plex Mono',monospace;font-size:13px;
  background:var(--bg3);padding:2px 6px;border-radius:3px;color:var(--gold3);
}
.post-body pre {
  background:var(--bg3);border:1px solid var(--border);
  border-radius:6px;padding:20px;overflow-x:auto;margin-bottom:24px;
}
.post-body pre code { background:none;padding:0;color:var(--text2); }
.post-body blockquote {
  border-left:3px solid var(--gold2);padding:12px 20px;
  background:var(--bg3);border-radius:0 6px 6px 0;margin-bottom:20px;
  color:var(--dim);font-style:italic;
}

/* Posts list */
.posts-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;margin-top:40px; }
.post-card {
  background:var(--card);border:1px solid var(--border);border-radius:8px;
  padding:24px;transition:border-color 0.2s,transform 0.2s;
}
.post-card:hover { border-color:var(--border2);transform:translateY(-2px); text-decoration:none; }
.post-card-meta {
  font-family:'IBM Plex Mono',monospace;font-size:10px;
  color:var(--dim2);letter-spacing:1px;margin-bottom:10px;
}
.post-card h2 {
  font-family:'Barlow Condensed',sans-serif;font-size:22px;font-weight:700;
  color:var(--text);margin-bottom:8px;line-height:1.2;
}
.post-card p { color:var(--dim);font-size:13px;line-height:1.6; }

/* ══ CONTACT ══════════════════════════════════════ */
.contact-inner { display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center; }
.contact-info h2 {
  font-family:'Barlow Condensed',sans-serif;font-size:38px;font-weight:800;
  color:var(--text);margin-bottom:14px;
}
.contact-info p { color:var(--dim);font-size:15px;line-height:1.8;margin-bottom:24px; }
.contact-detail {
  display:flex;align-items:center;gap:14px;
  padding:12px 0;border-bottom:1px solid var(--border);
}
.contact-detail:first-of-type { border-top:1px solid var(--border); }
.c-icon { font-size:20px;flex-shrink:0; }
.c-label { font-size:10px;color:var(--dim2);font-family:'IBM Plex Mono',monospace;letter-spacing:1px;text-transform:uppercase; }
.c-val { font-size:15px;color:var(--text);font-weight:500; }
.c-val a { color:var(--gold3); }
.contact-box {
  background:var(--card);border:1px solid var(--border2);border-radius:8px;padding:32px;
}
.contact-box h3 {
  font-family:'Barlow Condensed',sans-serif;font-size:24px;font-weight:700;
  color:var(--gold3);margin-bottom:20px;
}
.contact-box-item { display:flex;gap:12px;align-items:flex-start;margin-bottom:14px;font-size:14px;color:var(--dim);line-height:1.6; }
.contact-box-item .dot { width:6px;height:6px;border-radius:50%;background:var(--gold2);flex-shrink:0;margin-top:7px; }

/* ══ FOOTER ═══════════════════════════════════════ */
footer {
  background:var(--bg3);
  border-top:1px solid var(--border2);
  padding:32px 0;
}
.footer-inner {
  max-width:1200px;margin:0 auto;padding:0 24px;
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;
}
.footer-brand { font-family:'Barlow Condensed',sans-serif;font-size:18px;font-weight:800;color:var(--gold3); }
.footer-copy { font-family:'IBM Plex Mono',monospace;font-size:10px;color:var(--dim2);line-height:1.6; }
.footer-links { display:flex;gap:20px;flex-wrap:wrap; }
.footer-links a { font-size:13px;color:var(--dim);transition:color 0.2s; }
.footer-links a:hover { color:var(--gold3);text-decoration:none; }

/* ══ ERROR PAGE ════════════════════════════════════ */
.error-page { min-height:80vh;display:flex;align-items:center;justify-content:center;text-align:center; }
.error-code {
  font-family:'Barlow Condensed',sans-serif;font-size:120px;font-weight:900;
  color:var(--gold3);line-height:1;opacity:0.4;margin-bottom:16px;
}
.error-msg { font-family:'Barlow Condensed',sans-serif;font-size:28px;font-weight:700;color:var(--text);margin-bottom:24px; }

/* ══ WIDE PAGE (ecosystem/architecture) ═══════════ */
.wide-page { padding:0 0 40px; }
.wide-page-inner { max-width:100%;overflow-x:auto; }

/* ══ RESPONSIVE ════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns:1fr; }
  .hero-panel { display:none; }
  .stats-grid { grid-template-columns:repeat(4,1fr); }
  .stat-item:nth-child(4n) { border-right:none; }
  .stat-item:nth-child(n+5) { border-top:1px solid var(--border); }
  .why-grid { grid-template-columns:repeat(2,1fr); }
  .contact-inner { grid-template-columns:1fr; gap:32px; }
  .product-layout { grid-template-columns:1fr; gap:24px; }
  .features-grid { grid-template-columns:1fr; }
}
@media (max-width: 768px) {
  .nav-links { display:none; }
  .nav-hamburger { display:flex; }
  .nav-links.open {
    display:flex;flex-direction:column;
    position:fixed;top:56px;left:0;right:0;
    background:var(--nav-bg);padding:16px;
    border-bottom:1px solid var(--border2);gap:4px;
  }
  .why-grid { grid-template-columns:1fr; }
  .examples-grid { grid-template-columns:repeat(2,1fr); }
  .products-grid { grid-template-columns:1fr; }
  .endpoint-section { padding:32px 20px; }
}

/* ══ GHOST KOENIG EDITOR REQUIRED CLASSES ══════════ */
/* kg-width-wide and kg-width-full are required by Ghost theme validation */
.kg-width-wide {
  position: relative;
  width: 85vw;
  min-width: 100%;
  margin: auto calc(50% - 50vw);
  transform: translateX(calc(50vw - 50%));
}
.kg-width-full {
  position: relative;
  width: 100vw;
  margin: auto calc(50% - 50vw);
}
.kg-image { display: block; width: 100%; height: auto; }
.kg-embed-card { display: flex; flex-direction: column; align-items: center; }
.kg-gallery-container { display: flex; flex-direction: column; max-width: 1040px; width: 100%; }
.kg-gallery-row { display: flex; flex-direction: row; justify-content: center; }
.kg-gallery-image img { display: block; margin: 0; width: 100%; height: 100%; object-fit: cover; }
.kg-html-card { width: 100%; }
.kg-bookmark-card { width: 100%; }
.kg-bookmark-container {
  display: flex; background: var(--card);
  border: 1px solid var(--border); border-radius: 6px;
  overflow: hidden; text-decoration: none; color: var(--text);
}
.kg-bookmark-content { flex: 1; padding: 16px; }
.kg-bookmark-title { font-weight: 600; color: var(--text); margin-bottom: 6px; }
.kg-bookmark-description { font-size: 13px; color: var(--dim); }
.kg-bookmark-thumbnail img { width: 160px; object-fit: cover; }
.kg-callout-card {
  display: flex; gap: 14px; padding: 16px 20px;
  background: var(--bg3); border-left: 3px solid var(--gold2);
  border-radius: 0 6px 6px 0; margin-bottom: 20px;
}
.kg-callout-emoji { font-size: 20px; flex-shrink: 0; }
.kg-callout-text { color: var(--text2); font-size: 15px; line-height: 1.7; }
.kg-toggle-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 6px; padding: 14px 18px; margin-bottom: 16px;
}
.kg-toggle-heading { font-weight: 600; color: var(--text); cursor: pointer; }
.kg-toggle-content { color: var(--dim); font-size: 14px; margin-top: 10px; line-height: 1.7; }
.kg-video-card video { width: 100%; }
.kg-audio-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; padding: 14px 18px; }
.kg-file-card {
  display: flex; gap: 14px; align-items: center;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 6px; padding: 14px 18px; text-decoration: none;
}
.kg-file-card-title { font-weight: 600; color: var(--text); }
.kg-file-card-caption { font-size: 12px; color: var(--dim); }

/* ══ HERO ONE-LINE TITLE ══════════════════════════ */
/* Tighter font so S.A.L.T CI fits on one line at all breakpoints */
.hero h1 {
  font-size: clamp(48px, 7vw, 80px);
  letter-spacing: -0.5px;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .hero h1 { font-size: 40px; white-space: normal; }
}

/* ══ WHATSAPP BUTTON ══════════════════════════════ */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(200,150,12,0.08);
  border: 1px solid var(--border2);
  border-radius: 6px;
  color: var(--gold3) !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.wa-btn:hover {
  background: rgba(200,150,12,0.15);
  border-color: var(--gold3);
  transform: translateY(-1px);
  text-decoration: none !important;
}
.wa-btn svg { flex-shrink: 0; }

/* Footer phone replace */
.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold3) !important;
  font-size: 12px;
  text-decoration: none !important;
}
.footer-wa:hover { text-decoration: underline !important; }

/* Nav logo image sizing */
.nav-logo img { height: 30px; width: auto; }

/* ══ HERO LOGO PANEL ══════════════════════════════ */
.hero-logo-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 24px;
}

/* Radial gold glow behind the logo */
.hero-logo-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200,150,12,0.18) 0%,
    rgba(200,150,12,0.08) 35%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  animation: heroGlowPulse 4s ease-in-out infinite;
}

@keyframes heroGlowPulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.08); opacity: 0.75; }
}

.hero-logo-img {
  position: relative;
  z-index: 1;
  width: clamp(220px, 28vw, 340px);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(200,150,12,0.35))
          drop-shadow(0 8px 32px rgba(0,0,0,0.6));
  animation: heroLogoFloat 6s ease-in-out infinite;
  transition: filter 0.3s;
}

.hero-logo-img:hover {
  filter: drop-shadow(0 0 60px rgba(230,172,26,0.55))
          drop-shadow(0 8px 32px rgba(0,0,0,0.6));
}

@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.hero-logo-label {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.7;
}

/* Light mode — slightly less glow */
[data-theme="light"] .hero-logo-glow {
  background: radial-gradient(
    circle,
    rgba(184,130,10,0.12) 0%,
    rgba(184,130,10,0.05) 40%,
    transparent 70%
  );
}
[data-theme="light"] .hero-logo-img {
  filter: drop-shadow(0 0 24px rgba(184,130,10,0.25))
          drop-shadow(0 6px 20px rgba(0,0,0,0.15));
}

/* Responsive — hide label on very small screens */
@media (max-width: 1024px) {
  .hero-logo-panel { display: none; }
}

/* ══ HOMEPAGE RESPONSIVE GRIDS ════════════════════ */
/* Classes added to index.hbs inline sections       */

/* The Stack — tier rows */
.stack-tier {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
}

/* Core Platform — left desc + right feature grid */
.core-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 72px;
  align-items: start;
}
.core-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Dev Framework — 4-col build times */
.fw-times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 40px;
}
.fw-times-cell {
  background: var(--bg3);
  padding: 28px 24px;
  text-align: center;
  border-left: 1px solid var(--border);
}
.fw-times-cell:first-child { border-left: none; }

/* Dev Framework — 3-col feature cards */
.fw-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Positioning — 3-col pillars */
.pos-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 52px;
}
.pos-pillar {
  background: var(--bg3);
  padding: 36px 32px;
  border-left: 1px solid var(--border2);
}
.pos-pillar:first-child { border-left: none; }

/* Partner CTA row */
.partner-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

/* ── MOBILE BREAKPOINTS (max 768px) ──────────────── */
@media (max-width: 768px) {
  .stack-tier  { grid-template-columns: 1fr; gap: 16px; }
  .core-layout { grid-template-columns: 1fr; gap: 32px; }
  .core-features { grid-template-columns: 1fr; }
  .fw-times    { grid-template-columns: repeat(2,1fr); }
  .fw-features { grid-template-columns: 1fr; }
  .pos-pillars { grid-template-columns: 1fr; }
  .pos-pillar  { border-left: none; border-top: 1px solid var(--border2); }
  .pos-pillar:first-child { border-top: none; }
  .partner-cta { grid-template-columns: 1fr; }
  .partner-cta > div:last-child { text-align: center; }
}

/* ── TABLET BREAKPOINTS (max 1024px) ─────────────── */
@media (max-width: 1024px) {
  .stack-tier  { grid-template-columns: 160px 1fr; gap: 20px; }
  .core-layout { grid-template-columns: 1fr; gap: 40px; }
  .fw-times    { grid-template-columns: repeat(2,1fr); }
  .fw-features { grid-template-columns: 1fr 1fr; }
  .pos-pillars { grid-template-columns: 1fr; }
  .pos-pillar  { border-left: none; border-top: 1px solid var(--border2); }
  .pos-pillar:first-child { border-top: none; }
}

/* ══ HERO MOBILE LOGO ═════════════════════════════ */
.hero-logo-mobile {
  display: none; /* hidden on desktop */
  text-align: center;
  margin-bottom: 24px;
}
.hero-logo-mobile img {
  width: 90px;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(200,150,12,0.3));
}

@media (max-width: 1024px) {
  .hero-logo-mobile { display: block; }
}
