/* ═══════════════════════════════════════════════════
   PORTFOLIO CASE STUDY — Shared Template
   Typography & Design System
═══════════════════════════════════════════════════ */


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

:root {
  /* Brand Typography (Whitelabel ready) */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Legacy aliases for compatibility */
  --display:      var(--font-display);
  --mono:         var(--font-mono);

  /* Colors & Surfaces */
  --bg:        #f5f1ea;
  --surface:   #ffffff;
  --surface2:  #ece8df;
  --border:    rgba(0,0,0,.09);
  --text:      #1a1a1a;
  --muted:     #9a9a9a;
  --soft:      #666666;
  --white:     #1a1a1a;
  --radius:    10px;
  --max:       1200px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1;
}

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* WRAPPER */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

/* ── NAV ── */
.site-nav {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 1000;
  display: flex; align-items: center; gap: 8px;
}
.nav-logo {
  font-family: var(--display); font-size: .88rem; font-weight: 800;
  color: #ffb400; text-decoration: none; letter-spacing: -.02em;
  white-space: nowrap;
  padding: 8px 14px; border-radius: 100px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .2s;
}
.nav-logo:hover { background: rgba(255,255,255,0.9); }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 100px; padding: 4px;
}
.nav-link {
  font-size: .68rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--soft);
  text-decoration: none; padding: 7px 14px; border-radius: 100px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); background: rgba(0,0,0,0.05); }
.nav-cta {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  background: #ffb400; color: #1a1a1a;
  padding: 8px 18px; border-radius: 100px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.nav-cta:hover { background: #ffc733; transform: scale(1.03); }

/* ── CASE BACK NAV ── */
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  min-width: min(calc(100vw - 80px), 1160px);
}
.nav-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .68rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--soft);
  text-decoration: none; padding: 8px 16px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 100px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-back:hover { color: var(--text); background: rgba(255,255,255,0.9); }
.nav-inner .lang-switcher {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 100px; padding: 8px 18px;
}
.nav-inner .lang-btn { min-height: auto; }

/* ── CASE HEADER STRIP ── */
.cs-header { display: none; }

/* ── PROGRESS BAR ── */
.progress-wrap {
  position: fixed; top: 0; left: 0; width: 100%; height: 2px;
  background: rgba(0,0,0,.06); z-index: 999;
}
.progress-bar { height: 100%; background: var(--accent); width: 0%; transition: width .1s ease; }

/* ── TOC SIDEBAR ── */
.case-toc {
  position: fixed; top: 50%; transform: translateY(-50%);
  left: max(16px, calc(50% - 680px));
  width: 20px; display: none; z-index: 50;
}
@media (min-width: 1200px) { .case-toc { display: block; } }
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.toc-link {
  display: flex; justify-content: center; padding: 10px 0;
  text-decoration: none;
}
.toc-link::after {
  content: ''; display: block;
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(0,0,0,.15); transition: background .2s, transform .2s;
}
.toc-link.is-active::after { background: var(--accent); transform: scale(1.4); }
.toc-link:hover::after { background: rgba(0,0,0,.35); }
.toc-num, .toc-label { display: none; }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 0 60px; }
.hero-inner {
  width: 100%;
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 64px; align-items: center;
}
.hero-label {
  font-family: var(--mono); font-size: .75rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px; display: block;
}
.hero-title {
  font-family: var(--display); font-size: clamp(3rem, 5.5vw, 4.8rem);
  font-weight: 800; line-height: 1.0; letter-spacing: -.04em; margin-bottom: 24px;
}
.hero-desc { font-size: clamp(.95rem, 1.4vw, 1.05rem); color: var(--soft); line-height: 1.8; margin-bottom: 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tag {
  font-family: var(--font-body); font-size: .7rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; padding: 6px 14px;
  background: rgba(0,0,0,0.05); border: 1px solid transparent;
  border-radius: 100px; color: var(--soft);
}
.tag--accent, .tag--role {
  background: var(--accent-bg);
  border-color: var(--accent-border);
  color: var(--accent);
}

/* ── HERO STATS ── */
.hero-stats { display: flex; gap: 40px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hero-stat-number {
  font-family: var(--mono); font-size: 2.2rem; font-weight: 700;
  letter-spacing: -.05em; color: var(--accent); line-height: 1;
}
.hero-stat-label { font-size: .68rem; color: var(--muted); line-height: 1.4; margin-top: 8px; text-transform: uppercase; letter-spacing: .05em; }

/* ── HERO LINK ── */
.hero-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .83rem; font-weight: 600; color: var(--text);
  text-decoration: none; border: 1px solid var(--border); padding: 10px 18px;
  border-radius: var(--radius); transition: border-color .2s, background .2s; margin-top: 32px;
}
.hero-link:hover { border-color: var(--accent); background: var(--accent-bg); }

/* ── MOCKUP ── */
.mockup {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
  box-shadow: 0 20px 60px rgba(0,0,0,.12); cursor: zoom-in;
}
.mockup img { width: 100%; height: auto; display: block; }

/* ── SECTIONS ── */
section { padding: 140px 0; border-top: 1px solid var(--border); position: relative; }
.section-label {
  font-family: var(--mono); font-size: .75rem; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px;
}
.section-title {
  font-family: var(--display); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -.04em; margin-bottom: 28px;
}
.section-desc { font-size: clamp(1rem, 1.6vw, 1.1rem); color: var(--text); line-height: 1.8; margin-bottom: 56px; max-width: 100%; }
.section-body p { font-size: clamp(.95rem, 1.4vw, 1.05rem); line-height: 1.8; color: var(--soft); margin-bottom: 20px; max-width: 100%; }

/* ── PAIN CARDS ── */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.pain-card {
  background: var(--surface); border: 1px solid var(--border);
  padding: 40px; border-radius: var(--radius);
}
.pain-number {
  font-family: var(--mono); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-bottom: 16px;
}
.pain-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -.01em; }
.pain-desc { font-size: .95rem; color: var(--soft); line-height: 1.6; }

/* ── CASE FIGURES ── */
.case-figure {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  box-shadow: 0 8px 32px rgba(0,0,0,.10); display: flex; flex-direction: column;
  align-self: start;
}
.case-image-wrap { width: 100%; position: relative; background: transparent; display: block; height: auto; }
.case-image-wrap img { display: block; width: 100%; height: auto; object-fit: contain; }
.case-figure img {
  width: 100%; height: 100%; display: block;
  transition: transform .6s cubic-bezier(.16,1,.3,1); cursor: zoom-in; object-fit: cover;
}
.case-figure:hover img { transform: scale(1.02); }
.case-caption {
  padding: 18px 24px; font-size: .85rem; color: var(--soft);
  line-height: 1.6; border-top: 1px solid var(--border); background: rgba(255,255,255,.01);
}
.case-caption strong { color: var(--text); font-weight: 600; }

/* ── CALLOUT ── */
.callout { background: var(--accent-bg); border-left: 3px solid var(--accent); padding: 32px 40px; margin-top: 48px; }
.callout-label {
  font-family: var(--mono); font-size: .6rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.callout-text { font-size: clamp(1rem, 1.6vw, 1.1rem); font-weight: 500; line-height: 1.8; color: var(--text); }

/* ── BENCHMARK GRID ── */
.bench-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.bench-card { background: var(--surface2); border: 1px solid var(--border); padding: 32px; border-radius: var(--radius); }
.bench-title { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: var(--accent); }
.bench-list { list-style: none; }
.bench-list li { font-size: .9rem; color: var(--soft); padding: 6px 0; border-bottom: 1px solid var(--border); }
.bench-list li:last-child { border-bottom: none; }

/* ── ROADMAP ── */
.roadmap { margin-top: 56px; display: flex; flex-direction: column; }
.roadmap-item { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding-bottom: 48px; position: relative; }
.roadmap-item::before {
  content: ''; position: absolute; left: 136px; top: 14px; bottom: 0;
  width: 1px; background: var(--border);
}
.roadmap-item:last-child::before { display: none; }
.roadmap-phase {
  font-family: var(--mono); font-size: .65rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  text-align: right; padding-top: 4px;
}
.roadmap-dot {
  position: absolute; left: 131px; top: 8px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--border); z-index: 2;
}
.roadmap-item.current .roadmap-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
.roadmap-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; }
.roadmap-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.roadmap-chip { font-size: .75rem; font-weight: 500; padding: 4px 12px; border-radius: 4px; background: var(--surface2); border: 1px solid var(--border); color: var(--soft); }

/* ── CTA ── */
.case-cta-section {
  border-top: 1px solid var(--border);
  padding: 140px 0 180px;
  position: relative; overflow: hidden;
}
.case-cta-section::after {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.3;
}
.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  font-weight: 800; letter-spacing: -.05em; line-height: 1.0;
}
.cta-headline-accent { display: block; color: var(--accent); }
.cta-say-hi {
  display: inline-flex; align-items: center; gap: 20px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.8vw, 3.4rem);
  font-weight: 700; letter-spacing: -.03em;
  color: var(--accent); background: none; border: none; cursor: pointer;
  margin-top: 48px; padding: 0; text-decoration: none;
  transition: gap .35s cubic-bezier(0.16,1,0.3,1);
}
.cta-say-hi:hover { gap: 36px; }
.cta-say-hi:hover .cta-arrow { transform: rotate(-45deg); border-color: var(--accent); }
.cta-arrow {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--accent-border, rgba(0,0,0,0.18));
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s cubic-bezier(0.16,1,0.3,1), border-color .2s;
}
.cta-side-links {
  margin-top: 56px; display: flex; align-items: center; gap: 28px;
}
.cta-link {
  font-size: .75rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  text-decoration: none; transition: color .2s;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); padding: 0;
}
.cta-link:hover { color: var(--text); }
.cta-link-sep { width: 24px; height: 1px; background: var(--border); flex-shrink: 0; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 8px; font-size: .9rem;
  font-weight: 600; cursor: pointer; text-decoration: none; transition: all .2s;
  font-family: inherit;
}
.cta-btn-primary { background: var(--accent); color: #1a1a1a; border: none; }
.cta-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 25px var(--accent-glow); }
.cta-btn-secondary { background: var(--surface); color: var(--soft); border: 1px solid var(--border); }
.cta-btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ── FOOTER ── (removed — CTA section handles contact) */

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 18px;
  font-size: .8rem; color: var(--text); font-family: inherit;
  display: flex; align-items: center; gap: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap; z-index: 2001;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

@media (max-width: 700px) {
  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-note { text-align: left; max-width: 100%; }
  .toast { bottom: 20px; width: calc(100% - 48px); justify-content: center; }
}

/* ── FOOTER NAVIGATION ── */
.footer-grid { margin-top: 56px; }
.footer-nav-link {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--muted);
  font-size: .78rem; font-family: var(--mono);
  letter-spacing: .06em; text-transform: uppercase;
  transition: color .2s, gap .25s;
}
.footer-nav-link:hover { color: var(--accent); gap: 14px; }
.footer-nav-label { opacity: .6; }
.footer-nav-label::after { content: ':'; }
.footer-nav-title { color: var(--text); font-weight: 600; }

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,.9); z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
  backdrop-filter: blur(12px); padding: 40px;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 100%; max-height: 100%; border-radius: 8px;
  box-shadow: 0 40px 100px rgba(0,0,0,.8);
  transform: scale(.95); transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.lightbox.active .lightbox-img { transform: scale(1); }
.lightbox-close { position: absolute; top: 30px; right: 30px; color: #fff; cursor: pointer; opacity: .5; transition: opacity .2s; }
.lightbox-close:hover { opacity: 1; }

/* ── SECTION TOGGLE (collapsible) ── */
.section-toggle {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between;
  background: none; border: none; color: inherit; cursor: pointer; padding: 0 0 32px; text-align: left;
}
.section-toggle-text { flex: 1; }
.toggle-chevron { flex-shrink: 0; margin-top: 12px; color: var(--muted); transition: transform .35s ease; }
.section-toggle[aria-expanded="false"] .toggle-chevron { transform: rotate(-90deg); }
.section-toggle[aria-expanded="true"] + .section-body {
  max-height: none; opacity: 1; pointer-events: all; padding-bottom: 120px;
}
.section-body {
  max-height: 0; overflow: hidden;
  transition: max-height .5s cubic-bezier(.4,0,.2,1), opacity .3s ease;
  opacity: 0; pointer-events: none;
}
.section-body.is-collapsed { opacity: 0; }

/* ── PERSONA (base, smart-checkout style) ── */
.persona-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
  display: flex; flex-direction: column; gap: 24px;
}
.persona-header { display: flex; gap: 24px; align-items: center; }
.persona-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent-bg); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.4rem; border: 1px solid var(--accent-border);
}
.persona-meta { flex: 1; }
.persona-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.persona-tag { font-family: var(--mono); font-size: .65rem; color: var(--muted); text-transform: uppercase; }
.persona-bio { font-size: .9rem; color: var(--soft); line-height: 1.6; }

/* ── PERSONA (detailed, smart-checkout style) ── */
.persona-content { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 20px; }
.persona-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.persona-stat-item h4 { font-family: var(--mono); font-size: .62rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.persona-stat-item ul { list-style: none; }
.persona-stat-item li { font-size: .78rem; color: var(--text); position: relative; padding-left: 14px; margin-bottom: 4px; line-height: 1.4; }
.persona-stat-item li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-size: .7rem; }
.persona-img-container { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; border: 2px solid var(--accent); flex-shrink: 0; background: #000; }
.persona-img-container img { width: 100%; height: 100%; object-fit: cover; }
.persona-info h3 { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.persona-info .age { font-family: var(--mono); font-size: .7rem; color: var(--soft); text-transform: uppercase; letter-spacing: .05em; }

/* ── SUB-LABEL & CHANNEL GRID ── */
.sub-label {
  font-family: var(--mono); font-size: .65rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--muted);
  margin: 64px 0 24px; display: block;
}
.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.channel-header {
  font-family: var(--mono); font-size: .65rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  padding: 0 0 16px; border-bottom: 1px solid var(--border); margin-bottom: 20px;
}

/* ── INSIGHTS BOARD ── */
.insights-board {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-top: 40px;
}
.insights-board-header { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.insights-board-label { font-family: var(--mono); font-size: 0.65rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.insights-board-title { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.insights-board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.insight-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; transition: transform 0.2s ease;
}
.insight-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.insight-status {
  display: inline-block; font-family: var(--mono); font-size: 0.55rem; font-weight: 700;
  text-transform: uppercase; padding: 2px 8px; border-radius: 4px; margin-bottom: 12px;
}
.insight-status.positive { background: rgba(76, 175, 114, 0.1); color: #4caf72; }
.insight-status.critical { background: rgba(255, 59, 47, 0.1); color: #ff3b2f; }
.insight-status.warning { background: rgba(255, 180, 0, 0.1); color: #ffb400; }
.insight-status.opportunity { background: rgba(124, 140, 248, 0.1); color: #7c8cf8; }
.insight-text { font-size: 0.85rem; color: var(--soft); line-height: 1.6; }
.insight-text strong { color: var(--text); }

/* ── SECTION WITH BG ── */
.section-with-bg { position: relative; background: #080808; overflow: hidden; }
.section-bg-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; pointer-events: none; z-index: 0; }
.section-with-bg .wrap { position: relative; z-index: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  section { padding: 100px 0; }
  .hero { min-height: auto; padding: 100px 0 60px; }
}

@media (max-height: 800px) {
  .hero { min-height: auto; padding: 80px 0 40px; }
  .hero-title { font-size: clamp(2.4rem, 4.5vw, 3.8rem); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .pain-grid, .bench-grid, .persona-grid, .channel-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .footer-inner { flex-direction: column; }
  .wrap { padding: 0 28px; }
  section { padding: 80px 0; }
  .section-title { font-size: clamp(1.8rem, 5vw, 3rem); margin-bottom: 24px; }
  .section-desc { font-size: 1rem; margin-bottom: 40px; }
  .insights-board-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hero { padding: 90px 0 40px; }
  .hero-title { font-size: clamp(2rem, 7vw, 3rem); }
  .hero-desc { font-size: .95rem; }
  .cs-header-meta { display: none; }
  .footer-note { text-align: left; }
  .roadmap-item { grid-template-columns: 70px 1fr; gap: 16px; }
  .roadmap-item::before { left: 78px; }
  .roadmap-dot { left: 72px; }
  .wrap { padding: 0 24px; }
  
  /* Collapse ALL inline multi-column grids */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1.4fr 1fr"],
  [style*="grid-template-columns:1.4fr 1fr"],
  [style*="grid-template-columns: 1fr 1.4fr"],
  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns:1fr 1.2fr"],
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns:1.2fr 1fr"],
  [style*="grid-template-columns: repeat(2, 1fr)"],
  [style*="grid-template-columns:repeat(2, 1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"],
  [style*="grid-template-columns:repeat(4, 1fr)"],
  [style*="grid-template-columns: 0.9fr 1.1fr"],
  [style*="grid-template-columns:0.9fr 1.1fr"],
  [style*="grid-template-columns: repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Image grids */
  .product-showcase { grid-template-columns: 1fr !important; }
  .product-showcase [style*="grid-column: 1 / -1"] { grid-column: auto !important; }

  /* Hero stats — 2 column grid for better spacing */
  .hero-stats { 
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px; 
    padding: 20px 0; 
  }
  .hero-stat:last-child:not(:first-child) { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 12px; }
  
  .hero-stat-number { font-size: 1.8rem; }
  .hero-stat-label { font-size: .62rem; }
  .hero-link { margin-top: 24px; }

  /* Section breathing */
  section { padding: 64px 0; }
  .section-label { font-size: .65rem; margin-bottom: 16px; }
  .section-title { font-size: clamp(1.6rem, 5vw, 2.4rem); margin-bottom: 20px; }
  .section-desc { font-size: .95rem; margin-bottom: 32px; }

  /* Callout */
  .callout { padding: 24px; }
  .callout-text { font-size: 1rem; }

  /* Pain cards */
  .pain-grid { gap: 24px; margin-top: 40px; }
  .pain-card { padding: 24px; }
  .pain-title { font-size: 1rem; }
  .pain-desc { font-size: .88rem; }

  /* Persona & Insights */
  .persona-card { padding: 20px; }
  .insights-board { padding: 20px; }
  .insights-board-grid { grid-template-columns: 1fr !important; }
  .bench-card { padding: 20px; }

  /* CTA section */
  .case-cta-section { padding: 80px 0 100px; }
  .cta-say-hi { margin-top: 32px; gap: 14px; }
  .cta-arrow { width: 44px; height: 44px; }
  .cta-side-links { margin-top: 40px; flex-wrap: wrap; gap: 20px; }
  .cta-btn { padding: 12px 20px; font-size: .85rem; }

  /* Footer */
  footer { padding: 48px 0 60px; }
}

/* ── Lang Switcher ── */
.lang-switcher {
  display: flex; align-items: center;
  font-size: .65rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase;
}
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: inherit; font-weight: inherit;
  letter-spacing: inherit; text-transform: inherit;
  color: var(--muted); padding: 6px 8px; min-height: 44px;
  transition: color .2s;
}
.lang-btn.active {
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
  padding: 4px 9px;
  min-height: auto;
}
.lang-btn:hover:not(.active) { color: var(--text); }
.lang-sep { color: var(--border); }
@media (max-width: 700px) {
  .nav-links { display: none; }
  .site-nav { gap: 6px; }
  .lang-btn { padding: 5px 6px; }
}

@media (max-width: 600px) {
  .nav-cta { display: none; }
  .hero { padding: 80px 0 40px; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.4rem); letter-spacing: -.03em; }
  .hero-label { font-size: .68rem; margin-bottom: 14px; }
  .hero-desc { font-size: .9rem; margin-bottom: 24px; }
  .hero-tags { margin-bottom: 24px; }
  .hero-stats { gap: 20px; padding: 20px 0; }
  .hero-stat-number { font-size: 1.8rem; }
  .hero-inner { gap: 32px; }
  .mockup { border-radius: 8px; }
  section { padding: 56px 0; }
  .section-title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .wrap { padding: 0 20px; }
}
