*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #2c323e;
  --bg2: #242a34;
  --bg3: #333b4a;
  --surface: #353d4e;
  --border: rgba(255,255,255,0.07);
  --text: #dde2ed;
  --text-muted: #8892a4;
  --n5-white: #d0d5e3;
  --blue: #4aaee0;
  --blue-dim: rgba(74,174,224,0.12);
  --blue-glow: rgba(74,174,224,0.25);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--surface); border-radius: 3px; }

/* GRID BG */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(74,174,224,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,174,224,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.grid-fade {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, transparent 40%, var(--bg) 100%);
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
  background: rgba(39, 44, 54, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,0.4); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 32px; width: auto; }
.nav-logo-text { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.nav-logo-text span:first-child { color: var(--n5-white); }
.nav-logo-text span:last-child { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 14px;
  font-weight: 500; letter-spacing: 0.02em; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.lang-switcher { display: flex; gap: 4px; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--text-muted); padding: 4px 8px; border-radius: 4px;
  transition: all 0.2s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { color: var(--blue); background: var(--blue-dim); }
.nav-cta {
  background: var(--blue); color: #fff; border: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
  padding: 8px 20px; border-radius: 6px; cursor: pointer;
  transition: all 0.2s; text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: oklch(0.68 0.16 220); box-shadow: 0 0 20px var(--blue-glow); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* HERO */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 5vw 80px; overflow: hidden;
}
.hero-content {
  max-width: 900px; width: 100%; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-left {}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-dim); border: 1px solid rgba(74,174,224,0.2);
  border-radius: 100px; padding: 5px 14px 5px 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--blue); text-transform: uppercase; margin-bottom: 28px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }
.hero-title {
  font-size: clamp(38px, 5vw, 64px); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 24px; text-wrap: balance;
}
.hero-title em { font-style: normal; color: var(--blue); }
.hero-subtitle {
  font-size: 17px; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 36px; max-width: 440px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue); color: #fff; border: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 8px; cursor: pointer;
  transition: all 0.2s; text-decoration: none; display: inline-block;
}
.btn-primary:hover { box-shadow: 0 0 30px var(--blue-glow); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; font-weight: 500;
  padding: 14px 28px; border-radius: 8px; cursor: pointer;
  transition: all 0.2s; text-decoration: none; display: inline-block;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }
.hero-right { display: flex; justify-content: center; align-items: center; }
.hero-code-block {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; width: 100%; max-width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.code-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.code-dot { width: 11px; height: 11px; border-radius: 50%; }
.code-filename { font-size: 12px; color: var(--text-muted); font-family: 'Space Mono', monospace; margin-left: 4px; }
pre {
  font-family: 'Space Mono', monospace; font-size: 12px;
  line-height: 1.8; padding: 20px 20px; overflow-x: auto;
}
.t-blue { color: #4aaee0; }
.t-green { color: #7ec89b; }
.t-yellow { color: #e0c46a; }
.t-gray { color: #6b7898; }
.t-white { color: #d0d5e3; }
.t-orange { color: #e09a4a; }

/* SECTION COMMON */
section { padding: 100px 5vw; }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.15;
  margin-bottom: 16px; text-wrap: balance;
}
.section-subtitle {
  font-size: 17px; color: var(--text-muted); max-width: 560px;
  line-height: 1.7; margin-bottom: 60px;
}

/* ABOUT */
#about { background: var(--bg2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 20px 22px;
}
.stat-number { font-size: 32px; font-weight: 700; color: var(--blue); letter-spacing: -0.03em; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.about-right { display: flex; flex-direction: column; gap: 20px; }
.about-pill {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 20px;
}
.about-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--blue-dim); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px;
}
.about-pill-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.about-pill-text { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* SERVICES */
#services {}
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.service-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px;
  transition: all 0.25s; cursor: default;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover { border-color: rgba(74,174,224,0.25); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.service-card:hover::before { opacity: 1; }
.service-icon { font-size: 28px; margin-bottom: 16px; }
.service-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.service-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* STACK */
#stack { background: var(--bg2); }
.stack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; margin-top: 0; }
.stack-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px 14px;
  text-align: center; transition: all 0.2s;
}
.stack-item:hover { border-color: rgba(74,174,224,0.3); background: var(--bg3); }
.stack-icon { font-size: 28px; margin-bottom: 8px; display: block; }
.stack-name { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.stack-main { color: var(--blue); font-size: 14px; font-weight: 700; }

/* DIFFERENTIALS */
#differentials {}
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.diff-grid > *:nth-child(4) { grid-column: 1; }
.diff-grid > *:nth-child(5) { grid-column: 2; }
@media (max-width: 768px) { .diff-grid { grid-template-columns: 1fr; } }
@media (min-width: 641px) and (max-width: 1024px) { .diff-grid { grid-template-columns: repeat(2, 1fr) !important; } }
.diff-card {
  padding: 32px 28px;
  border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg2);
  position: relative;
}
.diff-num {
  font-size: 64px; font-weight: 700; letter-spacing: -0.04em;
  color: rgba(74,174,224,0.08); position: absolute; top: 16px; right: 20px;
  line-height: 1; font-family: 'Space Mono', monospace;
}
.diff-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.diff-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* FAQ */
#faq { background: var(--bg2); }
.faq-list { display: flex; flex-direction: column; gap: 2px; max-width: 720px; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer;
  font-size: 15px; font-weight: 600; gap: 16px;
  transition: background 0.2s;
}
.faq-q:hover { background: rgba(255,255,255,0.02); }
.faq-arrow { color: var(--blue); font-size: 18px; transition: transform 0.3s; flex-shrink: 0; }
.faq-arrow.open { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s;
  font-size: 14px; color: var(--text-muted); line-height: 1.75;
  padding: 0 24px;
}
.faq-a.open { max-height: 300px; padding: 0 24px 20px; }

/* CONTACT */
#contact {}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.contact-item-link {
  text-decoration: none; color: inherit;
  border-radius: 10px; padding: 8px 10px; margin: -8px -10px;
  transition: background 0.2s;
}
.contact-item-link:hover { background: rgba(74,174,224,0.07); }
.contact-item-link:hover .contact-item-value { color: var(--blue); }
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--blue-dim); border: 1px solid rgba(74,174,224,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-item-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 2px; font-weight: 600; }
.contact-item-value { font-size: 14px; font-weight: 500; color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; color: var(--text-muted); }
.form-group input, .form-group textarea, .form-group select {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 14px;
  color: var(--text); font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; transition: border-color 0.2s; resize: none;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); }
.form-group select option { background: var(--bg2); }
.form-submit {
  background: var(--blue); color: #fff; border: none;
  font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600;
  padding: 14px; border-radius: 8px; cursor: pointer;
  transition: all 0.2s; margin-top: 4px;
}
.form-submit:hover { box-shadow: 0 0 30px var(--blue-glow); transform: translateY(-1px); }

/* FOOTER */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 40px 5vw; text-align: center;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo span:first-child { color: var(--n5-white); font-size: 18px; font-weight: 700; }
.footer-logo span:last-child { color: var(--blue); font-size: 18px; font-weight: 700; }
.footer-text { font-size: 13px; color: var(--text-muted); }

/* WHATSAPP FLOAT */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.wa-popup {
  border-radius: 12px; width: 315px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  overflow: hidden;
  transform-origin: bottom right;
  transition: opacity 0.22s, transform 0.22s;
  opacity: 0; transform: scale(0.88) translateY(8px); pointer-events: none;
}
.wa-popup.open { opacity: 1; transform: scale(1) translateY(0); pointer-events: all; }
.wa-popup-header {
  background: #075e54; padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
}
.wa-popup-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0; background: #128c7e;
}
.wa-popup-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wa-popup-name { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.2; }
.wa-popup-status { font-size: 12px; color: rgba(255,255,255,0.8); }
.wa-popup-close {
  margin-left: auto; background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.85); font-size: 18px; line-height: 1;
  padding: 4px; transition: color 0.15s; flex-shrink: 0;
}
.wa-popup-close:hover { color: #fff; }
.wa-popup-body {
  padding: 14px 12px 10px;
  background-color: #ddd5c8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath fill='%23b5a99a' fill-opacity='0.15' d='M0 0h40v40H0zm40 40h40v40H40z'/%3E%3C/svg%3E");
}
.wa-bubble {
  background: #fff; border-radius: 0 8px 8px 8px;
  padding: 10px 13px; font-size: 13px; color: #333;
  line-height: 1.65; margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.13);
  position: relative;
}
.wa-bubble-tail { position: absolute; top: 0; left: -8px; color: #fff; }
.wa-bubble p { margin: 0; }
.wa-bubble-options {
  display: flex; flex-direction: column;
  margin-top: 10px; border-top: 1px solid #efefef; padding-top: 6px; gap: 2px;
}
.wa-bubble-options a {
  display: block; text-align: center; padding: 7px 4px;
  border-top: 1px solid #efefef;
  color: #128c7e; font-size: 13px; font-weight: 500;
  text-decoration: none; transition: color 0.18s;
}
.wa-bubble-options a:first-child { border-top: none; }
.wa-bubble-options a:hover { color: #075e54; text-decoration: underline; }
.wa-popup-shell {
  background: #f0f0f0; padding: 8px 10px;
  display: flex; align-items: center; gap: 8px;
}
.wa-shell-inner {
  flex: 1; background: #fff; border-radius: 20px;
  padding: 8px 12px; display: flex; align-items: center; gap: 8px;
}
.wa-shell-emoji { color: #888; flex-shrink: 0; display: flex; }
.wa-shell-input {
  flex: 1; border: none; outline: none; background: none;
  font-size: 13px; color: #333; font-family: 'Space Grotesk', sans-serif;
}
.wa-popup-send {
  width: 38px; height: 38px; border-radius: 50%;
  background: #075e54; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.18s;
}
.wa-popup-send:hover { background: #128c7e; }
.wa-btn-row { display: flex; align-items: center; gap: 10px; }
.wa-tooltip {
  background: #fff; color: #333; font-size: 13px; font-weight: 500;
  padding: 7px 14px; border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  white-space: nowrap; pointer-events: none;
  animation: wa-tooltip-in 0.3s ease;
}
@keyframes wa-tooltip-in { from { opacity:0; transform:translateX(6px); } to { opacity:1; transform:translateX(0); } }
.wa-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: #25d366; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.5);
  transition: all 0.2s; position: relative; flex-shrink: 0;
}
.wa-btn:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,0.65); }
.wa-badge {
  position: absolute; top: -3px; right: -3px;
  width: 17px; height: 17px; border-radius: 50%;
  background: #ef4444; border: 2px solid var(--bg);
  font-size: 9px; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 640px) {
  .wa-float { bottom: 14px; right: 14px; }
  .wa-popup { width: calc(100vw - 28px); }
}

/* MOBILE NAV */
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
  background: rgba(31,35,44,0.98); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); padding: 20px 5vw 28px;
  flex-direction: column; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 14px 0; font-size: 16px; font-weight: 500;
  color: var(--text-muted); text-decoration: none; border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--text); }
.mobile-lang { display: flex; gap: 8px; margin-top: 20px; }

/* TWEAKS PANEL */
#tweaks-panel {
  display: none; position: fixed; bottom: 20px; right: 20px; z-index: 200;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; width: 240px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
#tweaks-panel.visible { display: block; }
.tweaks-title { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.tweak-row { margin-bottom: 14px; }
.tweak-label { font-size: 11px; color: var(--text-muted); font-weight: 600; margin-bottom: 6px; }
.tweak-options { display: flex; gap: 6px; flex-wrap: wrap; }
.tweak-opt {
  font-size: 11px; font-weight: 600; padding: 4px 10px;
  border-radius: 5px; border: 1px solid var(--border); cursor: pointer;
  background: none; color: var(--text-muted); font-family: 'Space Grotesk', sans-serif;
  transition: all 0.2s;
}
.tweak-opt:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.tweak-opt.active { color: var(--blue); border-color: rgba(74,174,224,0.4); background: var(--blue-dim); }

/* ── RESPONSIVE ── */

/* Tablet: 641px – 1024px */
@media (min-width: 641px) and (max-width: 1024px) {
  nav { padding: 0 4vw; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 13px; }
  section { padding: 72px 4vw; }
  .hero-content { gap: 36px; }
  .hero-title { font-size: clamp(32px, 4.5vw, 52px); }
  .hero-code-block { max-width: 320px; }
  pre { font-size: 11px; padding: 16px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stack-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .section-title { font-size: clamp(24px, 3vw, 36px); }
  .faq-list { max-width: 100%; }
}

/* Mobile: ≤ 640px */
@media (max-width: 640px) {
  nav { padding: 0 5vw; height: 60px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { top: 60px; }

  section { padding: 60px 5vw; }
  .section-subtitle { font-size: 15px; margin-bottom: 40px; }

  /* Hero */
  .hero-content { grid-template-columns: 1fr; gap: 0; }
  .hero-right { display: none; }
  #hero { padding: 100px 5vw 60px; min-height: auto; }
  .hero-title { font-size: clamp(32px, 9vw, 46px); }
  .hero-subtitle { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; width: 100%; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-number { font-size: 26px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Stack */
  .stack-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stack-item { padding: 14px 10px; }
  .stack-icon { font-size: 22px; }

  /* Differentials */
  .diff-grid { grid-template-columns: 1fr; gap: 16px; }
  .diff-grid > *:nth-child(4),
  .diff-grid > *:nth-child(5) { grid-column: auto; }
  .diff-card { padding: 24px 20px; }
  .diff-num { font-size: 48px; }

  /* FAQ */
  .faq-list { max-width: 100%; }
  .faq-q { font-size: 14px; padding: 16px 18px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-item-value { font-size: 13px; word-break: break-all; }

  /* Tweaks */
  #tweaks-panel { width: calc(100vw - 40px); bottom: 10px; right: 10px; }
}

/* Very small phones */
@media (max-width: 380px) {
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero-badge { font-size: 10px; }
}