/* ============================================================
   Nourix Technologies — landing page styles
   ============================================================ */

:root {
  /* Brand */
  --navy-900: #070b16;
  --navy-800: #0a1020;
  --navy-700: #0f172a;
  --navy-600: #162036;
  --accent: #14c0a0;
  --accent-2: #2dd4bf;
  --accent-glow: rgba(20, 192, 160, 0.35);

  /* Light surfaces */
  --bg-light: #ffffff;
  --bg-soft: #f4f7fb;
  --surface: #ffffff;
  --line: #e4e9f1;
  --text: #0f172a;
  --text-muted: #55617a;

  /* Dark surfaces */
  --d-surface: rgba(255, 255, 255, 0.04);
  --d-surface-2: rgba(255, 255, 255, 0.07);
  --d-line: rgba(255, 255, 255, 0.1);
  --d-text: #f1f5f9;
  --d-text-muted: #a3adc2;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(10, 16, 32, 0.08);
  --shadow-lg: 0 30px 80px rgba(2, 6, 23, 0.55);

  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[lang="ar"] {
  --font-head: var(--font-ar);
  --font-body: var(--font-ar);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.35; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px;
  background: var(--accent); color: var(--navy-900); padding: 8px 14px;
  border-radius: 8px; font-weight: 600; z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; }
h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--d-text-muted); margin-top: 22px; max-width: 58ch; }
.section-sub { font-size: 17px; color: var(--text-muted); margin-top: 16px; max-width: 64ch; }
.section-dark .section-sub, .hero .section-sub { color: var(--d-text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--navy-900);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-primary:hover { box-shadow: 0 12px 32px var(--accent-glow); }
.btn-ghost { color: var(--d-text); border-color: var(--d-line); background: var(--d-surface); }
.btn-ghost:hover { background: var(--d-surface-2); }
.btn-outline { color: var(--text); border-color: #cbd5e1; background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: #0b7f6a; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 16, 32, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--d-line); background: rgba(10, 16, 32, 0.92); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--d-text); }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--d-surface-2); color: #fff; }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand-text-light { font-weight: 500; color: var(--d-text-muted); }

.site-nav { display: flex; gap: 28px; }
.site-nav a { font-size: 14.5px; font-weight: 500; color: var(--d-text-muted); transition: color .2s; }
.site-nav a:hover, .site-nav a.active { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--d-surface); border: 1px solid var(--d-line); color: var(--d-text-muted);
  border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 600;
  transition: background .2s;
}
.lang-toggle:hover { background: var(--d-surface-2); }
.lang-opt { opacity: .55; transition: opacity .2s, color .2s; }
.lang-opt.active { opacity: 1; color: var(--accent); }
.lang-sep { opacity: .3; }
.lang-opt[data-lang="ar"] { font-family: var(--font-ar); }

.nav-burger {
  display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--d-line);
  background: var(--d-surface); flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(20, 192, 160, 0.16), transparent 60%),
    radial-gradient(800px 500px at -10% 90%, rgba(45, 212, 191, 0.10), transparent 60%),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-700) 100%);
  color: var(--d-text);
  padding: clamp(56px, 8vw, 110px) 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}
.hero-glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; inset-inline-end: -220px; top: -260px; background: radial-gradient(circle, var(--accent-glow), transparent 65%); filter: blur(30px); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-copy .eyebrow { color: var(--accent-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: 14px; color: var(--d-text-muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.check { width: 18px; height: 18px; border-radius: 50%; background: rgba(20,192,160,.15); border: 1px solid rgba(20,192,160,.5); position: relative; flex: none; }
.check::after { content: ""; position: absolute; left: 5px; top: 3px; width: 5px; height: 9px; border: solid var(--accent-2); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Hero photo */
.hero-visual { position: relative; }
.hero-photo { position: relative; margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--d-line); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--navy-700); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.92); }
.hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,16,32,0) 40%, rgba(10,16,32,.78) 100%), linear-gradient(135deg, rgba(20,192,160,.16), transparent 55%); }
.hero-photo-chip { position: absolute; inset-inline-start: 18px; bottom: 18px; z-index: 1; display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(10,16,32,.7); border: 1px solid var(--d-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--d-text-muted); font-size: 13px; }
.hero-photo-chip strong { font-family: var(--font-head); color: #fff; font-size: 18px; }

.float-badge {
  position: absolute; display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px;
  background: #0f172a; border: 1px solid var(--d-line); box-shadow: var(--shadow-lg);
  font-size: 12.5px; color: var(--d-text-muted); animation: floaty 6s ease-in-out infinite;
}
.float-badge strong { font-family: var(--font-head); color: #fff; font-size: 14px; }
.hero-visual { padding: 0 26px; }
.badge-a { inset-inline-start: 0; top: 34px; }
.badge-b { inset-inline-end: 0; bottom: 96px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--d-line);
}
.stats li { padding: 28px 24px 34px; border-inline-start: 1px solid var(--d-line); }
.stats li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stats strong { display: block; font-family: var(--font-head); font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; color: #fff; line-height: 1; }
.stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--d-text-muted); }

/* ---------- Tech strip ---------- */
.tech-strip { background: var(--navy-900); color: var(--d-text-muted); padding: 22px 0; border-top: 1px solid var(--d-line); }
.tech-strip .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.tech-label { font-size: 13px; white-space: nowrap; }
.tech-list { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-inline-start: auto; }
.tech-list li { font-size: 12.5px; font-weight: 600; color: var(--d-text); padding: 6px 12px; border-radius: 8px; border: 1px solid var(--d-line); background: var(--d-surface); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-light { background: var(--bg-light); }
.section-soft { background: var(--bg-soft); }
.section-dark { background: linear-gradient(180deg, var(--navy-700), var(--navy-800)); color: var(--d-text); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }

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

/* Service cards */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe9e3; }
.card-icon, .feature-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(20,192,160,.14), rgba(45,212,191,.06));
  color: #0b8f78; margin-bottom: 18px; flex: none;
}
.card-icon svg, .feature-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 15px; }

/* Platform */
.platform-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.platform-copy { position: sticky; top: 100px; }
.platform-copy .btn { margin-top: 28px; }
.feature-list { display: grid; gap: 14px; }
.feature { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: border-color .25s, box-shadow .25s; }
.feature:hover { border-color: #cfe9e3; box-shadow: var(--shadow); }
.feature-icon { margin-bottom: 0; width: 42px; height: 42px; }
.feature h3 { font-size: 17px; margin-bottom: 4px; }
.feature p { color: var(--text-muted); font-size: 15px; }

/* Partner */
.stat-card { background: var(--d-surface); border: 1px solid var(--d-line); border-radius: var(--radius); padding: 26px; }
.stat-big { font-family: var(--font-head); font-size: clamp(30px, 3vw, 40px); font-weight: 700; line-height: 1; background: linear-gradient(135deg, #fff, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.stat-card h3 { font-size: 17px; margin-bottom: 8px; color: #fff; }
.stat-card p { font-size: 14.5px; color: var(--d-text-muted); }

.partner-bottom { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; margin-top: 24px; }
.timeline { background: var(--d-surface); border: 1px solid var(--d-line); border-radius: var(--radius); padding: 28px; }
.timeline-title { font-size: 20px; margin-bottom: 22px; }
.timeline-list { display: grid; gap: 0; position: relative; }
.timeline-list li { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 12px 0 12px 0; font-size: 14.5px; color: var(--d-text-muted); border-bottom: 1px dashed var(--d-line); }
.timeline-list li:last-child { border-bottom: 0; }
.tl-day { font-family: var(--font-head); font-weight: 600; color: var(--accent-2); font-size: 13.5px; white-space: nowrap; }

.split { background: var(--d-surface); border: 1px solid var(--d-line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.split h3 { font-size: 20px; }
.split-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; flex: 1; }
.split-col { background: rgba(255,255,255,.03); border: 1px solid var(--d-line); border-radius: 12px; padding: 18px; }
.split-col.accent { border-color: rgba(20,192,160,.35); background: rgba(20,192,160,.06); }
.split-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--d-text-muted); margin-bottom: 12px; }
html[lang="ar"] .split-col h4 { letter-spacing: 0; font-size: 14px; }
.split-col.accent h4 { color: var(--accent-2); }
.split-col li { font-size: 14px; color: var(--d-text); padding: 6px 0 6px 20px; position: relative; }
.split-col li::before { content: ""; position: absolute; inset-inline-start: 0; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--d-text-muted); }
.split-col.accent li::before { background: var(--accent-2); }
html[dir="rtl"] .split-col li { padding: 6px 20px 6px 0; }
.split .btn { align-self: flex-start; }

/* Why */
.why-item { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; position: relative; transition: border-color .25s, box-shadow .25s; }
.why-item:hover { border-color: #cfe9e3; box-shadow: var(--shadow); }
.why-num { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--accent); background: rgba(20,192,160,.1); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }
.why-item h3 { font-size: 18px; margin-bottom: 8px; }
.why-item p { color: var(--text-muted); font-size: 15px; }

.security-band {
  margin-top: 24px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600)); color: var(--d-text);
  border-radius: 20px; padding: clamp(26px, 3vw, 40px);
}
.security-points h3 { font-size: 22px; margin-bottom: 18px; }
.security-points li { position: relative; padding-inline-start: 30px; color: var(--d-text-muted); font-size: 15px; margin-bottom: 10px; }
.security-points li::before { content: ""; position: absolute; inset-inline-start: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(20,192,160,.15); border: 1px solid rgba(20,192,160,.5); }
.security-points li::after { content: ""; position: absolute; inset-inline-start: 6px; top: 5px; width: 5px; height: 9px; border: solid var(--accent-2); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sla { margin: 0; display: grid; gap: 10px; align-content: start; }
.sla div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; background: rgba(255,255,255,.05); border: 1px solid var(--d-line); border-radius: 12px; padding: 14px 16px; }
.sla dt { font-size: 14px; color: var(--d-text-muted); }
.sla dd { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: #fff; text-align: end; white-space: nowrap; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: border-color .25s; }
.faq-list details[open] { border-color: #cfe9e3; box-shadow: var(--shadow); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--font-head); font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-weight: 400; font-size: 24px; color: var(--accent); line-height: 1; transition: transform .25s; flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 20px; color: var(--text-muted); font-size: 15px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list { display: grid; gap: 18px; margin-top: 34px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--d-surface-2); border: 1px solid var(--d-line); color: var(--accent-2); flex: none; }
.contact-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-label { display: block; font-size: 12.5px; color: var(--d-text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
html[lang="ar"] .contact-label { letter-spacing: 0; }
.contact-list a:hover { color: var(--accent-2); }

.contact-form { background: var(--d-surface); border: 1px solid var(--d-line); border-radius: 20px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--d-text-muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; background: rgba(255,255,255,.05); border: 1px solid var(--d-line); color: #fff;
  border-radius: 10px; padding: 12px 14px; font-size: 15px; transition: border-color .2s, background .2s;
}
.contact-form select option { color: #0f172a; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.08); }
.contact-form input.invalid { border-color: #f87171; }
.form-note { font-size: 13.5px; color: var(--d-text-muted); min-height: 1.4em; }
.form-note.ok { color: var(--accent-2); }
.form-note.err { color: #fca5a5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--d-text-muted); padding: 56px 0 28px; border-top: 1px solid var(--d-line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand p { margin-top: 18px; font-size: 14px; max-width: 40ch; }
.footer-brand .footer-addr { margin-top: 10px; font-size: 13px; }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 4px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--d-line); font-size: 13px; }

/* ---------- Reveal animation ---------- */
.reveal, .reveal-group > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in, .reveal-group.in > * { opacity: 1; transform: none; }
.reveal-group.in > *:nth-child(2) { transition-delay: .06s; }
.reveal-group.in > *:nth-child(3) { transition-delay: .12s; }
.reveal-group.in > *:nth-child(4) { transition-delay: .18s; }
.reveal-group.in > *:nth-child(5) { transition-delay: .24s; }
.reveal-group.in > *:nth-child(6) { transition-delay: .30s; }
.reveal-group.in > *:nth-child(n+7) { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-group > * { opacity: 1; transform: none; transition: none; }
  .float-badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .badge-a { inset-inline-start: -8px; }
  .badge-b { inset-inline-end: -8px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .platform-grid, .faq-grid, .contact-grid, .partner-bottom, .security-band { grid-template-columns: 1fr; }
  .platform-copy { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav a { font-size: 14px; }
  .site-nav { gap: 18px; }
}

@media (max-width: 860px) {
  .site-nav {
    position: fixed; top: 72px; inset-inline: 0; flex-direction: column; gap: 0;
    background: var(--navy-800); border-bottom: 1px solid var(--d-line); padding: 8px 16px 16px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .site-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--d-line); font-size: 16px; }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-burger { display: inline-flex; }
  .nav-actions .btn { display: none; }
}

@media (max-width: 640px) {
  .nav-wrap { height: 64px; }
  .site-nav { top: 64px; }
  .brand-text-light { display: none; }
  .hero { padding-top: 44px; }
  .hero-actions .btn { width: 100%; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; border-top: 0; gap: 0; }
  .stats li { padding: 20px 16px; border-inline-start: 0; border-top: 1px solid var(--d-line); }
  .stats li:first-child { padding-inline-start: 16px; }
  .float-badge { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .split-cols { grid-template-columns: 1fr; }
  .timeline-list li { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .tech-list { margin-inline-start: 0; }
  .sla div { flex-direction: column; gap: 4px; }
  .sla dd { text-align: start; white-space: normal; }
}
