/* ManifoldX — bilingual marketing site
 * Single stylesheet, no preprocessor.
 */

:root, [data-theme="light"] {
  --bg: #fafaf7;
  --bg-alt: #f3f3ee;
  --bg-1: #ffffff;
  --ink: #0b1020;
  --ink-soft: #475569;
  --ink-mute: #6b7280;
  --line: rgba(15, 23, 42, 0.08);
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.10);
  --good: #059669;
  --warn: #d97706;
  --shadow-sm: 0 1px 2px rgba(15, 18, 34, 0.04), 0 4px 12px rgba(15, 18, 34, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 18, 34, 0.06), 0 24px 48px -12px rgba(37, 99, 235, 0.15);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1120px;
}

[data-theme="dark"] {
  --bg: #07080c;
  --bg-alt: #0c0e15;
  --bg-1: #11141d;
  --ink: #f1f3f8;
  --ink-soft: #a8aec0;
  --ink-mute: #6b7186;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-soft: rgba(59, 130, 246, 0.12);
  --good: #34d399;
  --warn: #fbbf24;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4), 0 24px 48px -12px rgba(59, 130, 246, 0.25);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: smooth; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: inline-block;
  flex: 0 0 auto;
}
.brand-mark.small { width: 34px; height: 34px; }
.brand-name {
  font-size: 17px;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--accent-hover); color: #fff !important; }
.lang-btn {
  border: 1px solid var(--line);
  background: var(--bg-1);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s ease;
}
.lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* HERO */
.hero {
  position: relative;
  padding: 96px 0 80px;
  background:
    radial-gradient(1100px 500px at 50% -200px, rgba(59, 130, 246, 0.13), transparent 60%),
    radial-gradient(700px 320px at 90% 10%, rgba(96, 165, 250, 0.08), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-inner { text-align: center; }
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 auto 22px;
  max-width: 880px;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lede {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0 auto 32px;
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 880px;
  margin: 0 auto;
  padding: 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.stat-num {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.stat-num .unit {
  font-size: 0.55em;
  color: var(--ink-mute);
  font-weight: 700;
  margin-left: 2px;
}
.stat-label {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
  line-height: 1.4;
}

/* TRUST STRIP */
.trust {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
}
.trust-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
  margin-bottom: 16px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  justify-content: center;
  align-items: center;
}
.trust-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  opacity: 0.8;
  transition: opacity .15s ease, color .15s ease;
}
.trust-item:hover { opacity: 1; color: var(--accent); }

/* SECTIONS */
.section {
  padding: 96px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.2;
}
.section-sub {
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto;
  font-size: 16px;
}

/* GRID */
.grid {
  display: grid;
  gap: 20px;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* TIER CARDS (services / pricing) */
.tier {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.tier:hover {
  border-color: #c7cbe0;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.tier.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}
.tier-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
}
.tier h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 4px 0 0;
  letter-spacing: -0.01em;
}
.tier-price {
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 4px 0 4px;
}
.tier-from {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0;
}
.tier-unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0;
}
.tier p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
}
.tier-meta {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 6px;
}

/* WHY US — REASONS */
.reasons { gap: 24px; }
.reason {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reason-num {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.reason h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 4px 0 0;
  letter-spacing: -0.01em;
}
.reason p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.reason-data {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  padding: 14px 16px;
  background: var(--accent-soft);
  border-radius: 10px;
  font-size: 14px;
}
.data-from {
  font-weight: 700;
  color: var(--ink-mute);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.data-arrow {
  color: var(--ink-mute);
  font-weight: 700;
}
.data-to {
  font-weight: 800;
  color: var(--accent);
  font-size: 16px;
}
.data-label {
  width: 100%;
  font-size: 12.5px;
  color: var(--ink-mute);
  margin-top: 2px;
}

/* INDUSTRIES */
.industries .industry {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s ease, transform .15s ease;
}
.industries .industry:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.industry-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.industry-icon svg {
  width: 22px;
  height: 22px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.industry h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 4px 0 0;
  letter-spacing: -0.01em;
}
.industry p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* STEPS */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}
.steps li {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.step-num {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.step-body { flex: 1; }
.step-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}
.step-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.step-meta {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--good);
  background: rgba(16, 185, 129, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}

/* CASES */
.case-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--ink);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.case-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.case-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.case-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.case-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  flex: 1;
}
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 0;
  margin: 6px 0 4px;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.metric {
  text-align: left;
}
.metric-num {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1.1;
}
.metric-num .metric-unit {
  font-size: 0.6em;
  color: var(--ink-mute);
  font-weight: 700;
  margin-left: 2px;
}
.metric-label {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 4px;
  line-height: 1.4;
}
.case-meta {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-mute);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
}
.status {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}
.status-live { color: var(--good); background: rgba(16, 185, 129, 0.1); }
.status-pilot { color: var(--accent); background: var(--accent-soft); }
.status-progress { color: var(--warn); background: rgba(245, 158, 11, 0.1); }
.case-link {
  font-weight: 600;
  color: var(--accent);
}
.case-card:hover .case-link {
  color: var(--accent-hover);
}

/* FOUNDER */
.founder {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.founder-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-initials {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #fff;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.founder-content h3 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.founder-title {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.founder-content p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}
.founder-creds {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.founder-creds li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink);
}
.founder-creds li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
}

/* FAQ */
.faq {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: border-color .15s ease;
}
.faq details[open] {
  border-color: var(--accent);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 24px;
  color: var(--accent);
  font-weight: 400;
  transition: transform .15s ease;
  flex: 0 0 auto;
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

/* CONTACT */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
  align-items: start;
}
.contact-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-label {
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
  display: block;
}
.contact-value:hover { color: var(--accent); }
.contact-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-mute);
}

.inquiry {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 16px;
}
.form-row { display: grid; gap: 6px; }
.form-row label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}
.form-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.5;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
}
.footer-meta {
  font-size: 13.5px;
  color: var(--ink-mute);
}
.footer-legal {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 18px 0;
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.6;
}
.footer-legal-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-legal p {
  margin: 0;
  max-width: 720px;
}
.footer-legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: var(--ink-mute);
  font-weight: 500;
}
.footer-legal-links a:hover { color: var(--accent); }

/* CASE DETAIL PAGES — shared chrome */
.case-hero {
  padding: 64px 0 40px;
  background:
    radial-gradient(800px 360px at 30% -100px, rgba(79, 70, 229, 0.1), transparent 60%),
    var(--bg);
}
.case-breadcrumb {
  font-size: 14px;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.case-breadcrumb a { color: var(--ink-mute); }
.case-breadcrumb a:hover { color: var(--accent); }
.case-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.2;
}
.case-hero .lede {
  text-align: left;
  margin: 0 0 24px;
  max-width: 760px;
}
.case-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--ink-soft);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.case-meta-row strong {
  color: var(--ink);
  font-weight: 600;
  margin-right: 6px;
}

.case-impact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0 0;
  padding: 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.case-impact .metric-num { font-size: 26px; }
.case-impact .metric-label { font-size: 13px; }

.case-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 0;
}
.case-body h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 36px 0 14px;
  line-height: 1.3;
}
.case-body h2:first-child { margin-top: 0; }
.case-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 8px;
}
.case-body p,
.case-body li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}
.case-body ul {
  padding-left: 22px;
  margin: 12px 0;
}
.case-body li { margin-bottom: 6px; }
.case-body strong { color: var(--ink); }
.case-body blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--ink);
}
.case-body .tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
}
.case-body .tech-pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
}

.next-cases {
  background: var(--bg-alt);
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.next-cases h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 24px;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-wrap { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; padding: 28px; gap: 20px; }
  .founder-initials { width: 120px; height: 120px; font-size: 48px; }
  .case-impact { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-links { gap: 12px; }
  .nav-links a:not(.nav-cta):not(.lang-btn) { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 20px; }
  .steps li { flex-direction: column; gap: 14px; padding: 22px; }
  .step-num { width: 48px; height: 48px; font-size: 18px; }
}
