/* ============================================================
   renderit.now — shared stylesheet
   v2.0 | light/dark mode + consistent nav across all pages
   ============================================================ */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS VARIABLES (light mode default) ── */
:root {
  --deep-space:  #002642;
  --amaranth:    #840032;
  --gold:        #E59500;
  --gold-blog:   #c8900a;
  --gold-lt:     rgba(229,149,0,0.12);
  --ink:         #02040F;
  --dust:        #E5DADA;
  --paper:       #f7f4f1;
  --white:       #ffffff;
  --body-bg:     #eff5fa;
  --card-bg:     rgba(255,255,255,0.04);
  --border:      rgba(229,149,0,0.18);
  --muted:       rgba(2,4,15,0.55);
  --nav-bg:      #eff5fa;
  --nav-border:  rgba(0,38,66,0.12);
  --nav-shadow:  rgba(0,38,66,0.08);
  --font:        'Inter', sans-serif;
  --shadow:      0 2px 16px rgba(0,38,66,0.08);
  /* article-specific */
  --article-bg:  #f7f4f1;
  --article-text:#1a1a2e;
  --code-bg:     rgba(0,38,66,0.07);
  --related-card-bg: #ffffff;
}

/* ── DARK MODE OVERRIDES ── */
[data-theme="dark"] {
  --ink:         #f0ece8;
  --dust:        rgba(240,236,232,0.85);
  --body-bg:     #02040F;
  --paper:       #0d1117;
  --nav-bg:      rgba(2,4,15,0.92);
  --nav-border:  rgba(229,149,0,0.15);
  --nav-shadow:  rgba(0,0,0,0.3);
  --muted:       rgba(240,236,232,0.5);
  --card-bg:     rgba(255,255,255,0.04);
  --border:      rgba(229,149,0,0.15);
  --article-bg:  #0d1117;
  --article-text:#c9d1d9;
  --code-bg:     rgba(229,149,0,0.08);
  --related-card-bg: #161b22;
  --shadow:      0 2px 16px rgba(0,0,0,0.3);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--body-bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.2s ease, color 0.2s ease;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 72px;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 1px 12px var(--nav-shadow);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-logo {
  font-size: 19px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.04em; text-decoration: none;
  display: flex; align-items: center; gap: 2px;
  transition: color 0.2s;
}
.nav-logo span { color: var(--gold); font-style: italic; font-weight: 300; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 13.5px; font-weight: 500;
  transition: color 0.15s; letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--ink); }
.nav-divider { width: 1px; height: 20px; background: var(--nav-border); margin: 0 4px; }
.nav-auth { display: flex; align-items: center; gap: 8px; }

.btn-nav-login {
  background: transparent; color: var(--ink); font-family: var(--font);
  font-size: 13px; font-weight: 700; padding: 7px 16px;
  border: 1.5px solid rgba(2,4,15,0.2); border-radius: 7px;
  cursor: pointer; white-space: nowrap; transition: all 0.15s;
  text-decoration: none; letter-spacing: -0.01em;
}
[data-theme="dark"] .btn-nav-login { border-color: rgba(240,236,232,0.2); }
.btn-nav-login:hover { border-color: var(--ink); background: rgba(2,4,15,0.05); }
[data-theme="dark"] .btn-nav-login:hover { border-color: var(--ink); background: rgba(240,236,232,0.07); }

.btn-nav-cta {
  background: var(--gold); color: #02040F; font-family: var(--font);
  font-size: 13px; font-weight: 700; padding: 7px 16px;
  border: none; border-radius: 7px; cursor: pointer;
  white-space: nowrap; transition: all 0.15s;
  text-decoration: none; letter-spacing: -0.01em;
}
.btn-nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── THEME TOGGLE ── */
.theme-toggle {
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 16px;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(0,0,0,0.06); color: var(--ink); }
[data-theme="dark"] .theme-toggle:hover { background: rgba(255,255,255,0.08); }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none; flex-direction: column;
  justify-content: center; gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: 8px;
  transition: background 0.15s; margin-left: 4px;
}
.nav-hamburger:hover { background: rgba(2,4,15,0.07); }
[data-theme="dark"] .nav-hamburger:hover { background: rgba(255,255,255,0.08); }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-drawer {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 8px 24px var(--nav-shadow);
  z-index: 99; padding: 12px 0 20px;
  flex-direction: column;
  transform: translateY(-8px); opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
  pointer-events: none;
}
.nav-mobile-drawer.open {
  transform: translateY(0); opacity: 1; pointer-events: auto;
}
.nav-mobile-drawer a {
  display: block; padding: 13px 28px;
  color: var(--muted); text-decoration: none;
  font-size: 15px; font-weight: 500;
  transition: background 0.12s, color 0.12s;
}
.nav-mobile-drawer a:hover { background: rgba(0,0,0,0.04); color: var(--ink); }
[data-theme="dark"] .nav-mobile-drawer a:hover { background: rgba(255,255,255,0.05); }
.nav-mobile-auth {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 28px 4px;
  border-top: 1px solid var(--nav-border);
  margin-top: 8px;
}
.nav-mobile-auth a { display: block; text-align: center; padding: 10px 16px; }

.nav-overlay {
  display: none; position: fixed; inset: 0;
  z-index: 98; background: rgba(0,0,0,0.25);
  backdrop-filter: blur(2px);
}
.nav-overlay.open { display: block; }

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-auth { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-drawer { display: flex; }
}

/* ── FOOTER ── */
footer {
  background: var(--deep-space);
  color: rgba(255,255,255,0.6);
  padding: 40px; text-align: center; font-size: 13px;
}
footer a { color: var(--gold); text-decoration: none; }
.footer-links { display: flex; gap: 20px; justify-content: center; margin: 12px 0 8px; }

/* ============================================================
   HOMEPAGE-SPECIFIC STYLES
   ============================================================ */

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 120px 40px 80px; text-align: center; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: none;
}
[data-theme="dark"] .hero-bg {
  background: none;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.06;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-lt); border: 1px solid rgba(229,149,0,0.3);
  color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px; animation: fadeUp 0.5s ease both;
}
.hero-badge-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 2s ease infinite; }
.hero h1 {
  font-size: clamp(40px, 7vw, 76px); font-weight: 900; line-height: 1.05;
  letter-spacing: -0.04em; color: var(--white);
  animation: fadeUp 0.5s 0.1s ease both;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero h1 .strike { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--amaranth); }
.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px); color: var(--muted); font-weight: 400;
  max-width: 580px; margin: 24px auto 40px; line-height: 1.6;
  animation: fadeUp 0.5s 0.2s ease both;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.5s 0.3s ease both; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--ink); font-family: var(--font);
  font-size: 15px; font-weight: 700; padding: 14px 28px; border-radius: 8px;
  text-decoration: none; border: none; cursor: pointer; transition: all 0.15s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(229,149,0,0.35); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--dust); font-family: var(--font);
  font-size: 15px; font-weight: 600; padding: 14px 28px; border-radius: 8px;
  text-decoration: none; border: 1.5px solid rgba(229,218,218,0.25); cursor: pointer; transition: all 0.15s;
}
.btn-secondary:hover { border-color: rgba(229,218,218,0.5); background: rgba(229,218,218,0.05); }
.hero-stat-row { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 56px; animation: fadeUp 0.5s 0.4s ease both; }
.hero-stat-val { font-size: 28px; font-weight: 800; color: var(--white); letter-spacing: -0.03em; }
.hero-stat-lbl { font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 4px; }

/* Problem strip */
.problem-strip {
  background: rgba(132,0,50,0.12); border-top: 1px solid rgba(132,0,50,0.2); border-bottom: 1px solid rgba(132,0,50,0.2);
  padding: 14px 40px; text-align: center;
}
.problem-strip p { font-size: 14px; color: var(--dust); font-weight: 500; }
.problem-strip span { color: rgba(229,218,218,0.6); }

/* Sections */
section { padding: 80px 0; }
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px,4vw,44px); font-weight: 800; letter-spacing: -0.03em;
  color: var(--ink); line-height: 1.15; margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--muted); max-width: 580px; line-height: 1.6; margin-bottom: 48px; }

/* Audience cards */
.audience-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; margin-top: 48px; }
.audience-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px;
}
.audience-icon { font-size: 32px; margin-bottom: 16px; }
.audience-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 20px; margin-bottom: 16px;
}
.tag-vibe { background: rgba(229,149,0,0.15); color: var(--gold); }
.tag-dev  { background: rgba(0,38,66,0.3); color: #7eb8e8; }
.tag-biz  { background: rgba(132,0,50,0.2); color: #e87070; }
.audience-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--white); margin-bottom: 12px; line-height: 1.3; }
.audience-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.audience-bullets { list-style: none; padding: 0; }
.audience-bullets li { font-size: 13.5px; color: var(--muted); padding: 6px 0; border-top: 1px solid var(--border); display: flex; align-items: flex-start; gap: 8px; }
.audience-bullets li::before { content: "✓"; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* How it works */
#how { background: rgba(0,38,66,0.15); }
[data-theme="dark"] #how { background: rgba(0,38,66,0.3); }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.how-steps { display: flex; flex-direction: column; gap: 32px; }
.how-step { display: flex; gap: 20px; align-items: flex-start; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: #02040F; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-content h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 6px; letter-spacing: -0.01em; }
[data-theme="dark"] .step-content h3 { color: var(--dust); }
.step-content p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.code-window { background: #0d1117; border-radius: 12px; overflow: hidden; border: 1px solid rgba(229,149,0,0.15); }
.code-window-bar { padding: 12px 16px; background: #161b22; display: flex; align-items: center; gap: 8px; }
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }
.code-window pre { padding: 20px; font-size: 12.5px; line-height: 1.7; overflow-x: auto; color: #c9d1d9; font-family: 'Fira Code','Courier New',monospace; }
.code-window .kw { color: #ff7b72; }
.code-window .str { color: #a5d6ff; }
.code-window .cm { color: #8b949e; }
.code-window .ok { color: #3fb950; }
.code-window .hi { color: var(--gold); }

/* Differentiators */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.diff-list { display: flex; flex-direction: column; gap: 28px; }
.diff-item { display: flex; gap: 16px; }
.diff-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.diff-item h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.diff-item p  { font-size: 14px; color: var(--muted); line-height: 1.6; }
.diff-visual {
  background: #0d1117; border-radius: 12px; padding: 24px;
  font-family: 'Fira Code','Courier New',monospace; font-size: 12.5px;
  line-height: 1.8; border: 1px solid rgba(229,149,0,0.15); color: #c9d1d9;
}
.diff-visual .comment { color: #8b949e; }
.diff-visual .tag     { color: var(--gold); }
.diff-visual .string  { color: #a5d6ff; }
.diff-visual .normal  { color: #c9d1d9; }
.diff-badge-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.diff-badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; font-family: var(--font); }
.badge-bad  { background: rgba(132,0,50,0.2); color: #e87070; }
.badge-good { background: rgba(61,185,80,0.15); color: #3fb950; }

/* Pricing */
#pricing { background: rgba(0,38,66,0.1); }
[data-theme="dark"] #pricing { background: rgba(0,38,66,0.2); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.pricing-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px 32px; position: relative;
}
.pricing-card.featured { border-color: var(--gold); background: rgba(229,149,0,0.05); }
.pricing-featured-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #02040F; font-size: 11px; font-weight: 700;
  padding: 3px 14px; border-radius: 20px; letter-spacing: 0.04em; white-space: nowrap;
}
.pricing-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px; }
.pricing-price { font-size: 44px; font-weight: 900; color: var(--white); letter-spacing: -0.04em; margin-bottom: 4px; }
[data-theme="dark"] .pricing-price { color: var(--dust); }
.pricing-price span { font-size: 16px; font-weight: 400; color: var(--muted); }
.pricing-renders { font-size: 14px; color: var(--gold); font-weight: 600; margin-bottom: 28px; }
.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.pricing-feature { font-size: 13.5px; color: var(--muted); padding-left: 20px; position: relative; }
.pricing-feature::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.btn-plan {
  display: block; text-align: center; padding: 12px; border-radius: 8px;
  font-family: var(--font); font-size: 14px; font-weight: 700; cursor: pointer;
  text-decoration: none; transition: all 0.15s; border: none;
}
.btn-plan-fill { background: var(--gold); color: #02040F; }
.btn-plan-fill:hover { opacity: 0.88; }
.btn-plan-outline { background: transparent; color: var(--dust); border: 1.5px solid var(--border); }
.btn-plan-outline:hover { border-color: var(--gold); color: var(--white); }
.pricing-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 20px; }
.pricing-note a { color: var(--gold); text-decoration: none; }

/* Trust/testimonials */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 24px; margin-top: 48px; }
.trust-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
}
.trust-quote { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.trust-author { display: flex; align-items: center; gap: 12px; }
.trust-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold-lt); color: var(--gold);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.trust-name { font-size: 13px; font-weight: 700; color: var(--dust); }
.trust-role { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-top: 40px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  padding: 20px 24px; font-size: 15px; font-weight: 600; color: var(--ink);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  transition: background 0.15s;
}
.faq-q:hover { background: rgba(229,149,0,0.04); }
.faq-arrow { color: var(--gold); font-size: 20px; font-weight: 300; flex-shrink: 0; margin-left: 16px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a.open { max-height: 400px; }
.faq-a p { padding: 0 24px 20px; font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, rgba(0,38,66,0.6) 0%, rgba(132,0,50,0.3) 100%); padding: 80px 40px; text-align: center; }
.cta-band h2 { font-size: clamp(28px,4vw,44px); font-weight: 800; color: var(--white); letter-spacing: -0.03em; margin-bottom: 16px; line-height: 1.2; }
.cta-band h2 em { font-style: normal; color: var(--gold); }
.cta-band p { font-size: 16px; color: var(--muted); margin-bottom: 32px; }

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

/* ============================================================
   BLOG INDEX + ARTICLE STYLES
   ============================================================ */
.blog-hero { padding: 120px 40px 60px; max-width: 900px; margin: 0 auto; }
.blog-hero h1 { font-size: clamp(32px,5vw,52px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; color: var(--ink); }
.blog-hero p { font-size: 17px; color: var(--muted); max-width: 540px; }
.blog-grid { max-width: 900px; margin: 0 auto; padding: 0 40px 80px; display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 24px; }
.blog-card {
  background: var(--related-card-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px; text-decoration: none; color: var(--ink);
  transition: box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column; gap: 12px;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card .tag { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold-blog); background: var(--gold-lt); padding: 3px 10px; border-radius: 20px; display: inline-block; }
.blog-card h2 { font-size: 16px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.blog-card .meta { font-size: 12px; color: var(--muted); margin-top: auto; }

/* Article pages */
body.article-page { background: var(--article-bg); }
.article-hero { padding: 140px 40px 60px; max-width: 820px; margin: 0 auto; }
.article-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-blog); background: var(--gold-lt);
  padding: 4px 12px; border-radius: 20px; margin-bottom: 20px;
}
.article-hero h1 {
  font-size: clamp(28px,5vw,46px); font-weight: 800; line-height: 1.15;
  letter-spacing: -0.03em; color: var(--ink); margin-bottom: 20px;
}
.article-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); }
.article-body { max-width: 720px; margin: 0 auto; padding: 0 40px 80px; }
.article-body p { margin-bottom: 20px; font-size: 16.5px; line-height: 1.75; color: var(--article-text); }
.article-body h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 40px 0 16px; color: var(--ink); }
.article-body h3 { font-size: 18px; font-weight: 700; margin: 28px 0 12px; color: var(--ink); }
.article-body ul, .article-body ol { margin: 0 0 20px 24px; }
.article-body li { margin-bottom: 8px; font-size: 16px; line-height: 1.7; color: var(--article-text); }
.article-body code { font-family: 'Fira Code','Courier New',monospace; font-size: 13.5px; background: var(--code-bg); padding: 2px 7px; border-radius: 4px; color: var(--deep-space); }
[data-theme="dark"] .article-body code { color: #a5d6ff; }
.article-body pre { background: var(--deep-space); color: #e8f4fd; padding: 24px; border-radius: 12px; overflow-x: auto; margin: 24px 0; font-size: 13.5px; line-height: 1.6; }
.article-body pre code { background: none; color: inherit; padding: 0; }
.article-body blockquote { border-left: 3px solid var(--gold-blog); padding: 4px 0 4px 20px; margin: 28px 0; color: var(--muted); font-style: italic; font-size: 17px; }
.callout { background: var(--gold-lt); border: 1px solid rgba(200,144,10,0.25); border-radius: 12px; padding: 20px 24px; margin: 28px 0; }
.callout strong { color: var(--gold-blog); }
.article-body .divider { height: 1px; background: var(--border); margin: 40px 0; }
.article-cta { background: var(--deep-space); color: white; border-radius: 16px; padding: 48px 40px; margin: 48px 0; text-align: center; }
.article-cta h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.article-cta p { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.article-cta a { display: inline-block; background: var(--gold); color: #02040F; font-weight: 700; font-size: 14px; padding: 12px 28px; border-radius: 8px; text-decoration: none; transition: opacity 0.15s; }
.article-cta a:hover { opacity: 0.88; }
.related { max-width: 720px; margin: 0 auto; padding: 0 40px 80px; }
.related h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 16px; }
.related-card { background: var(--related-card-bg); border: 1px solid var(--border); border-radius: 10px; padding: 16px; text-decoration: none; color: var(--ink); transition: box-shadow 0.15s; }
.related-card:hover { box-shadow: var(--shadow); }
.related-card .tag { font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold-blog); margin-bottom: 8px; display: block; }
.related-card p { font-size: 13px; font-weight: 600; line-height: 1.4; margin: 0; color: var(--ink); }

/* ── LEGAL PAGES ── */
.page-wrap { max-width: 760px; margin: 0 auto; padding: 120px 40px 80px; }
.page-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); background: var(--gold-lt); padding: 4px 12px; border-radius: 20px; display: inline-block; margin-bottom: 20px; }
.page-wrap h1 { font-size: clamp(28px,4vw,40px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; color: var(--ink); }
.effective { font-size: 13px; color: var(--muted); margin-bottom: 40px; }
.page-wrap h2 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin: 36px 0 12px; color: var(--ink); }
.page-wrap p { font-size: 15.5px; color: var(--article-text); margin-bottom: 16px; line-height: 1.75; }
.page-wrap ul { margin: 0 0 16px 24px; }
.page-wrap li { font-size: 15.5px; color: var(--article-text); margin-bottom: 8px; line-height: 1.7; }
.page-wrap a { color: var(--gold); }
.page-wrap .divider { height: 1px; background: var(--border); margin: 32px 0; }

/* ── CONTACT PAGE ── */
.contact-wrap { max-width: 600px; margin: 0 auto; padding: 120px 40px 80px; }
.contact-wrap h1 { font-size: clamp(28px,4vw,40px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; color: var(--ink); }
.contact-wrap p { font-size: 16px; color: var(--muted); margin-bottom: 40px; line-height: 1.6; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.02em; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  background: var(--related-card-bg); border: 1.5px solid var(--border);
  border-radius: 8px; font-family: var(--font); font-size: 14px; color: var(--ink);
  transition: border-color 0.15s; outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 140px; }
.btn-submit { width: 100%; padding: 13px; background: var(--gold); color: #02040F; font-family: var(--font); font-size: 15px; font-weight: 700; border: none; border-radius: 8px; cursor: pointer; transition: opacity 0.15s; }
.btn-submit:hover { opacity: 0.88; }

/* ── BLOG CAROUSEL ── */
.blog-section { padding: 80px 40px; background: var(--article-bg); }
.blog-section-header { display: flex; align-items: flex-end; justify-content: space-between; max-width: 1100px; margin: 0 auto 32px; flex-wrap: wrap; gap: 12px; }
.blog-section-header h2 { font-size: clamp(24px,3.5vw,36px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.15; }
.blog-section-header a { font-size: 13.5px; font-weight: 600; color: var(--gold); text-decoration: none; white-space: nowrap; }
.blog-section-header a:hover { text-decoration: underline; }
.blog-carousel-wrap { max-width: 1100px; margin: 0 auto; position: relative; }
.blog-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 8px; }
.blog-carousel::-webkit-scrollbar { display: none; }
.blog-card-carousel {
  flex: 0 0 300px; scroll-snap-align: start;
  background: var(--related-card-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px; text-decoration: none; color: var(--ink);
  transition: box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column; gap: 10px;
}
.blog-card-carousel:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card-carousel .tag { font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold-blog); background: var(--gold-lt); padding: 3px 10px; border-radius: 20px; display: inline-block; }
.blog-card-carousel h3 { font-size: 15px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; flex: 1; color: var(--ink); }
.blog-card-carousel .read-time { font-size: 11px; color: var(--muted); font-weight: 500; }
.carousel-nav { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.carousel-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(2,4,15,0.15); border: none; cursor: pointer; transition: background 0.2s, width 0.2s; padding: 0; }
[data-theme="dark"] .carousel-dot { background: rgba(255,255,255,0.15); }
.carousel-dot.active { background: var(--gold-blog); width: 20px; border-radius: 3px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .how-grid, .diff-grid { grid-template-columns: 1fr; }
  .how-grid > div:last-child { display: none; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .hero { padding: 100px 20px 60px; }
  .section-inner { padding: 0 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .blog-hero, .blog-grid, .article-hero, .article-body, .related, .page-wrap, .contact-wrap { padding-left: 20px; padding-right: 20px; }
  .article-hero { padding-top: 100px; }
  .blog-hero { padding-top: 100px; }
  .blog-card-carousel { flex: 0 0 260px; }
  .blog-section { padding: 60px 20px; }
  .cta-band { padding: 60px 20px; }
  .problem-strip { padding: 14px 20px; }
}
