/* ============================================================
   TENSRA AI — STYLESHEET  v2
   Deep-space dark · Sora display · electric-blue signal
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Layered background palette — depth, not flat black */
  --bg:            #04060e;
  --bg-2:          #0a0e1a;
  --surface:       #0e1322;
  --surface-2:     #131a2e;
  --surface-glass: rgba(20, 28, 48, 0.55);

  /* Signal */
  --accent:        #18d2ff;
  --accent-2:      #5b6bff;     /* electric indigo for depth */
  --accent-soft:   rgba(26, 197, 255, 0.14);
  --accent-line:   rgba(26, 197, 255, 0.22);
  --accent-glow:   rgba(24, 210, 255, 0.45);

  /* Text */
  --text:          #f3f6fc;
  --text-soft:     #aeb9d4;
  --text-muted:    #6b7796;
  --text-faint:    #44506e;

  /* Lines */
  --border:        rgba(255, 255, 255, 0.07);
  --border-2:      rgba(255, 255, 255, 0.11);
  --border-hover:  rgba(26, 197, 255, 0.40);

  /* Type */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing scale */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.25rem;
  --s6: 1.5rem; --s8: 2rem; --s10: 2.5rem; --s12: 3rem; --s16: 4rem;
  --s20: 5rem; --s24: 6rem;

  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --max-width: 1200px;
  --nav-h: 72px;
  --section-pad: 7rem;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 160ms var(--ease);
  --t:      280ms var(--ease);
  --t-slow: 520ms var(--ease);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select, button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- 3. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--s6);
}

.section {
  padding-block: var(--section-pad);
  position: relative;
}

/* ---------- 4. TYPE UTILITIES ---------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s5);
}
.section-eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.section-heading {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--s5);
  line-height: 1.08;
}

.section-subheading {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 54ch;
  line-height: 1.7;
}

.section-header { max-width: 760px; margin-bottom: var(--s16); }
.section-header--center { text-align: center; margin-inline: auto; }
.section-header--center .section-eyebrow::before { display: none; }
.section-header--center .section-subheading { margin-inline: auto; }

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: .8rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t);
  position: relative;
}
.btn-icon { width: 1rem; height: 1rem; transition: transform var(--t-fast); flex-shrink: 0; }
.btn:hover .btn-icon { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, #2bd0ff 0%, #1AC5FF 50%, #2f7bff 140%);
  color: #00121d;
  box-shadow: 0 6px 22px rgba(26,197,255,.28), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(26,197,255,.45), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255,255,255,.03);
  color: var(--text);
  border-color: var(--border-2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  background: rgba(26,197,255,.06);
  color: var(--text);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent-line);
}
.btn-outline:hover {
  background: var(--accent-soft);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-sm  { padding: .58rem 1.1rem; font-size: .86rem; }
.btn-lg  { padding: .95rem 1.9rem; font-size: 1rem; }
.btn-full { width: 100%; }

.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- 6. NAV ---------- */
.nav-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(6,8,16,0);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
}
.nav-header.scrolled {
  background: rgba(8,11,20,.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
}
.nav-container {
  width: 100%; max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--s6);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s8);
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 34px; width: auto; object-fit: contain; }
.logo-img--footer { height: 38px; }
@media (min-width: 1280px) { .logo-img { height: 40px; } .logo-img--footer { height: 46px; } }

.nav-links { display: flex; align-items: center; gap: var(--s8); }
.nav-link {
  font-size: .92rem; font-weight: 450; color: var(--text-soft);
  position: relative; transition: color var(--t-fast);
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link-cta { display: none; }

.nav-actions { display: flex; align-items: center; gap: var(--s4); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--border-2);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.nav-toggle:hover { border-color: var(--border-hover); }
.nav-toggle span {
  display: block; width: 18px; height: 1.6px; background: var(--text);
  border-radius: 2px; transition: transform var(--t), opacity var(--t);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- 7. HERO (full-bleed image) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + var(--s10));
  padding-bottom: var(--s16);
  overflow: hidden;
  /* gradient fallback so it never looks broken if image is missing */
  background:
    radial-gradient(1000px 700px at 78% 30%, rgba(24,210,255,.18), transparent 60%),
    radial-gradient(800px 600px at 90% 60%, rgba(91,107,255,.16), transparent 60%),
    var(--bg);
}

/* the real photo */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* dark overlay — heavy on the LEFT (text side), clear on the right (image shows) */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(4,6,14,.92) 28%, rgba(4,6,14,.55) 55%, rgba(4,6,14,.25) 100%),
    linear-gradient(180deg, rgba(4,6,14,.4) 0%, transparent 30%, transparent 65%, var(--bg) 100%);
}

/* vertical sidebar index */
.hero-sidebar {
  position: absolute; left: var(--s8); top: 50%; transform: translateY(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: var(--s4);
  animation: rise .8s .4s var(--ease) both;
}
.hero-side-label, .hero-side-no {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-muted);
}
.hero-side-no { color: var(--accent); }
.hero-side-line { width: 1px; height: 80px; background: linear-gradient(180deg, var(--accent-line), transparent); }

.hero-inner {
  position: relative; z-index: 3; width: 100%;
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--s6);
  padding-left: calc(var(--s8) + 28px);
}

/* plain editorial headline — NO gradient word, like Systems/Contour */
.hero-headline {
  display: flex; flex-direction: column;
  font-size: clamp(2.8rem, 8vw, 6.8rem);
  font-weight: 800; letter-spacing: -0.045em; line-height: .96;
  color: #fff;
  text-shadow: 0 2px 50px rgba(0,0,0,.6);
  max-width: 14ch;
}
.hl-1 { animation: rise .8s .05s var(--ease) both; }
.hl-2 { animation: rise .8s .14s var(--ease) both; }
.hl-3 { animation: rise .8s .23s var(--ease) both; color: var(--accent); }

.hero-subheadline {
  font-size: clamp(1.04rem, 1.5vw, 1.25rem);
  color: var(--text-soft); line-height: 1.65; max-width: 480px;
  padding-left: var(--s4); border-left: 2px solid var(--accent-line);
  animation: rise .8s .3s var(--ease) both;
}

.hero-cta-group {
  display: flex; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s2);
  animation: rise .8s .38s var(--ease) both;
}

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

/* scroll cue bottom-right */
.hero-scroll {
  position: absolute; bottom: var(--s8); right: var(--s8); z-index: 3;
  display: flex; align-items: center; gap: var(--s3);
  animation: fadein 1s 1.1s var(--ease) both;
}
.scroll-word { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); }
.scroll-bar { width: 46px; height: 1px; background: var(--accent); position: relative; overflow: hidden; }
.scroll-bar::after { content: ''; position: absolute; left: 0; top: 0; width: 18px; height: 100%; background: #fff; animation: scrollslide 1.8s ease-in-out infinite; }
@keyframes scrollslide { 0%{transform:translateX(-20px)} 100%{transform:translateX(46px)} }
@keyframes fadein { from{opacity:0} to{opacity:1} }

@media (max-width: 860px) {
  .hero-bg { background-position: center; }
  .hero-overlay { background:
    linear-gradient(180deg, rgba(4,6,14,.55) 0%, rgba(4,6,14,.4) 40%, rgba(4,6,14,.7) 75%, var(--bg) 100%); }
  .hero-sidebar { display: none; }
  .hero-inner { padding-left: 0; }
  .hero-headline { max-width: 100%; }
  .hero-scroll { display: none; }
}

/* ---------- 8. CAPABILITY MARQUEE ---------- */
.capability-strip {
  border-block: 1px solid var(--border);
  background: var(--bg-2);
  padding-block: 1.15rem;
  overflow: hidden;
}
.cap-viewport {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cap-track {
  display: inline-flex; align-items: center; gap: var(--s6);
  white-space: nowrap; animation: marquee 32s linear infinite;
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em;
  color: var(--text-muted);
}
.cap-track span:not(.cap-sep) { color: var(--text-soft); }
.cap-sep { color: var(--accent); opacity: .55; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 9. STATS BAND ---------- */
.stats-band { padding-block: var(--s16); background: var(--bg); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s8); }
.stat-block { display: flex; flex-direction: column; gap: var(--s2); padding-inline: var(--s5); position: relative; }
.stat-block + .stat-block::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-2), transparent);
}
.stat-value {
  font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(120deg, #fff, #9fdcff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: .92rem; font-weight: 600; color: var(--accent); }
.stat-caption { font-size: .82rem; color: var(--text-muted); line-height: 1.55; max-width: 24ch; }

/* ---------- 10. ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s16); align-items: start; }
.about-content { position: sticky; top: calc(var(--nav-h) + var(--s8)); }
.about-content.reveal:not(.revealed) { position: static; }
.about-lead { font-size: 1.15rem; color: var(--text); line-height: 1.65; margin-bottom: var(--s5); font-weight: 450; }
.about-body { font-size: 1rem; color: var(--text-soft); line-height: 1.8; margin-bottom: var(--s5); }
.about-content .btn { margin-top: var(--s3); }

.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.pillar-card {
  background: linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s6) var(--s5);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t), background var(--t);
}
.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  background: linear-gradient(160deg, rgba(26,197,255,.06), rgba(255,255,255,.012));
  box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 30px rgba(26,197,255,.08);
}
.pillar-icon {
  width: 42px; height: 42px; margin-bottom: var(--s4);
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px; background: var(--accent-soft); border: 1px solid var(--accent-line);
  padding: 9px;
}
.pillar-icon svg { width: 100%; height: 100%; }
.pillar-title { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: var(--s2); }
.pillar-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- 11. SERVICES ---------- */
.services { background: var(--bg-2); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); align-items: stretch; }
.service-card {
  position: relative;
  background: linear-gradient(165deg, rgba(20,28,48,.7), rgba(12,17,32,.6));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s8) var(--s6) var(--s6);
  display: flex; flex-direction: column; gap: var(--s5);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.service-card::after {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity var(--t);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 36px rgba(26,197,255,.08);
}
.service-card:hover::after { opacity: 1; }
.service-num {
  position: absolute; top: var(--s5); right: var(--s6);
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 800;
  letter-spacing: -0.04em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.10);
}
.service-icon {
  width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
  border-radius: 13px; background: var(--accent-soft); border: 1px solid var(--accent-line);
  padding: 12px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card-body { flex: 1; display: flex; flex-direction: column; gap: var(--s4); }
.service-title { font-size: 1.35rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.service-tagline { font-size: .95rem; color: var(--accent); line-height: 1.5; }
.service-bullets { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s1); }
.service-bullets li {
  display: flex; gap: var(--s3); align-items: flex-start;
  font-size: .88rem; color: var(--text-soft); line-height: 1.55;
}
.service-bullets li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; margin-top: .5em; flex-shrink: 0;
  background: var(--accent); box-shadow: 0 0 8px var(--accent-glow);
}
.service-cta { margin-top: var(--s2); }

/* ---------- 12. PROCESS ---------- */
.process-timeline { position: relative; display: flex; flex-direction: column; max-width: 820px; margin-inline: auto; }
.process-step { display: flex; gap: var(--s6); padding-bottom: var(--s10); }
.process-step:last-child { padding-bottom: 0; }
.step-left { display: flex; flex-direction: column; align-items: center; width: 56px; flex-shrink: 0; }
.step-number {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: .9rem; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.process-step:hover .step-number {
  background: rgba(26,197,255,.18); border-color: var(--border-hover);
  box-shadow: 0 0 24px rgba(26,197,255,.18);
}
.step-connector {
  flex: 1; width: 2px; min-height: var(--s8); margin-top: var(--s2); border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-line), transparent);
}
.step-content { flex: 1; padding-top: var(--s2); padding-bottom: var(--s6); }
.process-step:last-child .step-content { padding-bottom: 0; }
.step-title { font-size: 1.2rem; font-weight: 600; color: var(--text); margin-bottom: var(--s3); }
.step-desc { font-size: .94rem; color: var(--text-soft); line-height: 1.7; margin-bottom: var(--s4); }
.step-details { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.step-details li {
  font-size: .84rem; color: var(--text-muted); display: flex; align-items: center; gap: var(--s2);
}
.step-details li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ---------- 13. WHITE LABEL ---------- */
.white-label { background: var(--bg); border-block: 1px solid var(--border); }
.wl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s16); align-items: center; }
.wl-lead { font-size: 1.3rem; font-weight: 600; color: var(--text); line-height: 1.45; margin-bottom: var(--s5); letter-spacing: -0.02em; }
.wl-body { font-size: 1rem; color: var(--text-soft); line-height: 1.8; margin-bottom: var(--s8); }
.wl-flow { display: flex; align-items: stretch; gap: var(--s3); margin-bottom: var(--s8); flex-wrap: wrap; }
.wl-step {
  flex: 1; min-width: 150px; display: flex; align-items: flex-start; gap: var(--s3);
  padding: var(--s4); border-radius: var(--radius);
  background: rgba(255,255,255,.025); border: 1px solid var(--border);
}
.wl-step-num {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.wl-step-text { font-size: .85rem; color: var(--text-soft); line-height: 1.45; }
.wl-arrow { display: flex; align-items: center; color: var(--text-faint); font-size: 1.2rem; }

.wl-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.wl-benefit-card {
  display: flex; gap: var(--s4); align-items: flex-start;
  padding: var(--s5);
  background: linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.wl-benefit-card:hover {
  transform: translateY(-4px); border-color: var(--border-hover);
  box-shadow: 0 14px 36px rgba(0,0,0,.4), 0 0 26px rgba(26,197,255,.07);
}
.wl-benefit-icon { width: 36px; height: 36px; flex-shrink: 0; }
.wl-benefit-icon svg { width: 100%; height: 100%; }
.wl-benefit-title { font-size: .96rem; font-weight: 600; color: var(--text); margin-bottom: var(--s1); }
.wl-benefit-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- 14. RETAINER ---------- */
.retainer { background: var(--bg-2); }
.retainer-card {
  display: grid; grid-template-columns: 300px 1fr; gap: var(--s12);
  max-width: 980px; margin-inline: auto;
  padding: var(--s10);
  background: linear-gradient(165deg, rgba(20,28,48,.7), rgba(12,17,32,.6));
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  position: relative; overflow: hidden;
}
.retainer-card::before {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .5;
}
.retainer-pricing {
  display: flex; flex-direction: column; gap: var(--s4); text-align: center;
  padding: var(--s8) var(--s6);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg); align-self: start;
}
.retainer-price { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.retainer-note { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }
.retainer-features { display: flex; flex-direction: column; gap: var(--s5); }
.retainer-feature { display: flex; gap: var(--s4); align-items: flex-start; }
.retainer-feature-icon { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.retainer-feature-icon svg { width: 100%; height: 100%; }
.retainer-feature-title { font-size: .96rem; font-weight: 600; color: var(--text); margin-bottom: var(--s1); }
.retainer-feature-desc { font-size: .86rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- 15. CONTACT ---------- */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--s16); align-items: start; }
.contact-lead { font-size: 1.04rem; color: var(--text-soft); line-height: 1.7; margin-bottom: var(--s8); }
.contact-details { display: flex; flex-direction: column; gap: var(--s4); margin-bottom: var(--s6); }
.contact-detail-item {
  display: flex; gap: var(--s4); align-items: center; padding: var(--s4);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: rgba(255,255,255,.02); transition: border-color var(--t), transform var(--t-fast), background var(--t);
}
.contact-detail-item:hover { border-color: var(--border-hover); background: rgba(26,197,255,.04); transform: translateX(3px); }
.contact-detail-icon { width: 40px; height: 40px; flex-shrink: 0; padding: 8px; border-radius: 10px; background: var(--accent-soft); }
.contact-detail-icon svg { width: 100%; height: 100%; }
.contact-detail-label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 2px; }
.contact-detail-value { font-size: .94rem; font-weight: 500; color: var(--text); }
.contact-guarantee {
  display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s5);
  border: 1px solid var(--accent-line); border-radius: var(--radius); background: var(--accent-soft);
}
.guarantee-icon { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.guarantee-icon svg { width: 100%; height: 100%; }
.contact-guarantee p { font-size: .86rem; color: var(--text-soft); line-height: 1.6; }

.contact-form-wrapper {
  background: linear-gradient(165deg, rgba(20,28,48,.7), rgba(12,17,32,.55));
  border: 1px solid var(--border-2); border-radius: var(--radius-xl); padding: var(--s8);
}
.contact-form { display: flex; flex-direction: column; gap: var(--s5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.form-group { display: flex; flex-direction: column; gap: var(--s2); }
.form-label { font-size: .85rem; font-weight: 500; color: var(--text-soft); }
.required { color: var(--accent); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .75rem .9rem; color: var(--text); font-size: .92rem;
  background: rgba(255,255,255,.04); border: 1px solid var(--border-2); border-radius: 11px;
  outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-faint); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--border-hover); background: rgba(26,197,255,.04);
  box-shadow: 0 0 0 3px rgba(26,197,255,.10);
}
.form-select {
  cursor: pointer; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%236b7796' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
}
.form-select option { background: var(--surface); color: var(--text); }
.form-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-input.error, .form-textarea.error { border-color: #f87171; }
.form-privacy { font-size: .8rem; color: var(--text-faint); text-align: center; }

.form-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s4); padding: var(--s12) var(--s8); }
.form-success[hidden] { display: none; }
.form-success-icon { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.form-success-icon svg { width: 100%; height: 100%; }
.form-success h3 { font-size: 1.3rem; color: var(--text); }
.form-success p { font-size: .94rem; color: var(--text-soft); }

/* ---------- 16. FOOTER ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding-top: var(--s16); padding-bottom: var(--s8); }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s10);
  align-items: start; padding-bottom: var(--s10); border-bottom: 1px solid var(--border);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--s4); }
.footer-tagline { font-size: .92rem; color: var(--text-muted); line-height: 1.6; max-width: 34ch; }
.footer-nav { display: flex; flex-direction: column; gap: var(--s3); }
.footer-contact { display: flex; flex-direction: column; gap: var(--s3); }
.footer-link { font-size: .9rem; color: var(--text-soft); transition: color var(--t-fast); width: fit-content; }
.footer-link:hover { color: var(--accent); }
.footer-link--dim { color: var(--text-muted); }
.footer-email { font-family: var(--font-mono); font-size: .86rem; color: var(--accent); transition: opacity var(--t-fast); width: fit-content; }
.footer-email:hover { opacity: .8; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding-top: var(--s6); flex-wrap: wrap;
}
.footer-copy { font-size: .8rem; color: var(--text-faint); }
.footer-meta { font-family: var(--font-mono); font-size: .74rem; color: var(--text-faint); letter-spacing: .03em; }

/* ---------- 17. REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--t-slow), transform var(--t-slow); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .07s; }
.reveal-delay-2 { transition-delay: .14s; }
.reveal-delay-3 { transition-delay: .21s; }
.reveal-delay-4 { transition-delay: .28s; }

/* ---------- 18. RESPONSIVE ---------- */
@media (max-width: 1023px) {
  :root { --section-pad: 5rem; }
  .hero-container { grid-template-columns: 1fr; gap: var(--s12); }
  .hero-right { max-width: 460px; }
  .about-grid { grid-template-columns: 1fr; gap: var(--s10); }
  .about-content { position: static; }
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .wl-grid { grid-template-columns: 1fr; gap: var(--s10); }
  .wl-benefits { grid-template-columns: 1fr 1fr; }
  .retainer-card { grid-template-columns: 1fr; gap: var(--s8); }
  .retainer-pricing { max-width: 360px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--s10); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s10) var(--s8); }
  .stat-block:nth-child(3)::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 600px) and (max-width: 1023px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); max-width: none; }
}

@media (max-width: 767px) {
  :root { --section-pad: 4rem; }

  /* mobile nav */
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8,11,20,.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: var(--s4) var(--s6) var(--s6);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform var(--t), opacity var(--t);
  }
  .nav-links.open { display: flex; transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { display: block; padding: var(--s3) 0; font-size: 1rem; border-bottom: 1px solid var(--border); }
  .nav-link::after { display: none; }
  .nav-link-cta { display: block; margin-top: var(--s4); border: 0 !important; }
  .nav-link-cta .btn { width: 100%; }
  .nav-toggle { display: flex; }
  .nav-cta-desktop { display: none; }

  .hero { min-height: auto; padding-top: calc(var(--nav-h) + var(--s10)); padding-bottom: var(--s12); }
  .hero-trust { gap: var(--s4); }
  .hero-cta-group .btn { width: 100%; }

  .about-pillars { grid-template-columns: 1fr; }
  .wl-flow { flex-direction: column; }
  .wl-arrow { transform: rotate(90deg); justify-content: center; }
  .wl-benefits { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .stat-block + .stat-block::before { display: none; }
  .stat-block { padding-inline: 0; padding-top: var(--s5); border-top: 1px solid var(--border); }
  .stat-block:first-child { border-top: 0; padding-top: 0; }
  .stat-caption { max-width: none; }

  .step-details { flex-direction: column; gap: var(--s2); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: var(--s6); }

  .footer-inner { grid-template-columns: 1fr; gap: var(--s8); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--s2); }
}

/* ---------- 19. A11Y / MISC ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: rgba(26,197,255,.28); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}