/* =========================================================
   BuildNest v2 — near-black / cream / electric blue
   Barlow Condensed (display) + Instrument Sans (body)
   Static, vanilla CSS. No framework, no build step.
   ========================================================= */

:root {
  --bg: #070b12;
  --surface: #0e1420;
  --surface-2: #141c2b;
  --cream: #f4f2ec;
  --muted: #a2a49f;
  --muted-2: #8a8c87;
  --accent: #4cc9ff;
  --accent-deep: #2fb8f0;
  --line: rgba(170, 200, 255, 0.13);
  --line-soft: rgba(170, 200, 255, 0.07);

  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, sans-serif;

  --shell: min(1180px, 90%);
  --narrow: min(760px, 90%);
  --r: 16px;
  --r-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-pad: clamp(4rem, 8vw, 7rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Condensed display face: tighter leading, and it needs almost no negative
   tracking (it is already narrow) or the letters collide. */
h1, h2, h3, h4 { margin: 0; font-family: var(--display); color: var(--cream); line-height: 1.03; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

.shell { width: var(--shell); margin-inline: auto; }
.shell-narrow { width: var(--narrow); margin-inline: auto; }

.skip { position: absolute; left: -9999px; background: var(--accent); color: #0c0d0f; padding: .75rem 1rem; z-index: 200; font-weight: 600; }
.skip:focus { left: 0; top: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  font-family: var(--body); font-weight: 600; font-size: .97rem;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .28s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .6rem 1.15rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: #0c0d0f; }
.btn-accent:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cream); }
.btn-outline { background: transparent; color: var(--cream); border-color: rgba(244,242,236,.22); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- header ---------- */
.head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 11, 18, .78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.head-row { display: flex; align-items: center; gap: 1.5rem; padding: .9rem 0; }
.brand {
  font-family: var(--display); font-weight: 700; font-size: 1.5rem;
  color: var(--cream); letter-spacing: .01em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .35rem;
}
.brand .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }

.nav { display: flex; gap: 1.7rem; margin-left: auto; }
.nav a { font-size: .95rem; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--cream); }
.nav a.on { color: var(--accent); }

.head-cta { display: flex; align-items: center; gap: 1.1rem; }
.talk { font-size: .95rem; color: var(--cream); font-weight: 500; white-space: nowrap; }
.talk:hover { color: var(--accent); }

.burger { display: none; flex-direction: column; gap: 4px; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { width: 22px; height: 2px; background: var(--cream); border-radius: 2px; }

/* =====================================================================
   HERO — cinematic 3D stage
   Split layout: type left, floating scene right. Everything in the scene
   is a real CSS 3D layer driven by one rAF loop in script.js (cursor
   parallax + idle float + scroll). Transform/opacity only — no layout
   animation, so it stays on the compositor at 60fps.
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 0;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(56,110,255,.16), transparent 60%),
    radial-gradient(90% 70% at 12% 32%, rgba(124,58,237,.12), transparent 62%),
    var(--bg);
}
/* animated gradient mesh */
.hero::before {
  content: ""; position: absolute; inset: -25%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(38% 38% at 30% 32%, rgba(76,201,255,.20), transparent 65%),
    radial-gradient(34% 34% at 72% 26%, rgba(124,58,237,.20), transparent 65%),
    radial-gradient(30% 30% at 55% 68%, rgba(37,99,235,.16), transparent 65%);
  filter: blur(38px);
  animation: bnMesh 26s ease-in-out infinite alternate;
}
@keyframes bnMesh {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1); }
  50%  { transform: translate3d(3%, 2%, 0) scale(1.09); }
  100% { transform: translate3d(-1%, 3%, 0) scale(1.03); }
}
.hero-particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1.02fr 1.18fr;
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  min-height: min(74vh, 700px);
}
.hero-inner { position: relative; z-index: 3; text-align: left; }

/* ---- entrance ---- */
@keyframes bnUp { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
@keyframes bnDown { from { opacity: 0; transform: translate3d(0, -14px, 0); } to { opacity: 1; transform: none; } }
.head { animation: bnDown .7s var(--ease) both; }
.up { animation: bnUp .9s var(--ease) both; }
.u1 { animation-delay: .06s; } .u2 { animation-delay: .16s; } .u3 { animation-delay: .26s; }
.u4 { animation-delay: .36s; } .u5 { animation-delay: .46s; } .u6 { animation-delay: .56s; }

/* ---- headline ---- */
.hero-title {
  font-size: clamp(2.2rem, 3.2vw + .5rem, 4.1rem);
  font-weight: 700; line-height: 1.0; letter-spacing: -.012em;
  max-width: 18ch; text-wrap: balance; margin: 0;
}
/* Animated blue→purple gradient with a light sweep. Both gradient stops are
   ≥7:1 on the hero background, and a solid fallback paints first so the text
   is never invisible if background-clip is unsupported. */
.hero-title .accent {
  color: var(--accent);
  background: linear-gradient(100deg,
      #4cc9ff 0%, #5b8cff 22%, #a855f7 44%, #4cc9ff 66%, #5b8cff 88%, #a855f7 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bnSweep 9s linear infinite;
}
@supports not (background-clip: text) { .hero-title .accent { -webkit-text-fill-color: currentColor; } }
@keyframes bnSweep { to { background-position: 300% 0; } }
.hero-title em { font-style: italic; }

.hero-lead { max-width: 48ch; margin: 1.2rem 0 0; font-size: clamp(1rem, .4vw + .9rem, 1.12rem); }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.7rem; }
.hero-by { margin-top: 1.2rem; font-size: .9rem; color: var(--muted-2); }
.hero-by strong { color: var(--cream); font-weight: 600; }

/* magnetic buttons */
.btn-mag { position: relative; will-change: transform; }
.btn-mag.btn-accent { box-shadow: 0 0 0 rgba(76,201,255,0); }
.btn-mag.btn-accent:hover { box-shadow: 0 10px 34px rgba(76,201,255,.42); }
.btn-mag.btn-ghost:hover { box-shadow: 0 10px 30px rgba(76,201,255,.16); }

/* =============== the floating scene =============== */
.stage {
  position: relative; z-index: 3;
  perspective: 1500px; transform-style: preserve-3d;
  min-height: clamp(340px, 44vw, 560px);
}
.stage > * { position: absolute; will-change: transform; }

/* laptop */
.lap {
  width: min(100%, 620px); left: 4%; top: 50%; margin-top: -170px;
  transform-style: preserve-3d;
}
.lap-screen {
  background: linear-gradient(160deg, #12192b, #0a0f1a 60%);
  border: 1px solid rgba(140,180,255,.22); border-radius: 16px 16px 4px 4px;
  box-shadow: 0 50px 110px rgba(0,0,0,.75), 0 0 70px rgba(56,110,255,.16), inset 0 1px 0 rgba(255,255,255,.07);
  overflow: hidden;
}
.lap-bar { display: flex; align-items: center; gap: .35rem; padding: .55rem .8rem; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(140,180,255,.12); }
.lap-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(244,242,236,.25); display: block; }
.lap-bar span { margin-left: auto; margin-right: auto; font-size: .68rem; color: var(--muted-2); }
.lap-body { padding: clamp(1rem, 2.4vw, 1.9rem); position: relative; min-height: 218px;
  background: radial-gradient(70% 80% at 72% 20%, rgba(56,110,255,.22), transparent 62%); }
.lap-h { font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.7rem); color: #fff; font-weight: 700; line-height: 1.05; }
.lap-h em { font-style: italic; color: #7cc4ff; }
.lap-p { font-size: .74rem; color: rgba(244,242,236,.6); margin-top: .4rem; max-width: 26ch; }
.lap-cta { display: inline-flex; align-items: center; gap: .35rem; margin-top: .9rem;
  background: linear-gradient(100deg, #2f6bff, #4cc9ff); color: #061018; font-weight: 700;
  font-size: .7rem; padding: .42rem .8rem; border-radius: 999px; }
.lap-base {
  height: 13px; margin: 0 -5%; border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #2a3346, #10151f);
  box-shadow: 0 26px 46px rgba(0,0,0,.72);
}

/* phone */
.phone {
  width: clamp(112px, 12vw, 152px); right: 2%; bottom: 4%;
  background: #060a12; border: 5px solid #222a3a; border-radius: 22px;
  box-shadow: 0 34px 66px rgba(0,0,0,.72), 0 0 44px rgba(124,58,237,.2);
  padding: .5rem .45rem .6rem;
}
.phone b.notch { display: block; width: 40px; height: 4px; border-radius: 9px; background: #2c3446; margin: 0 auto .5rem; }
.phone-k { font-size: .55rem; color: var(--muted-2); }
.phone-v { font-family: var(--display); font-size: 1.15rem; font-weight: 700; color: #6ee7b7; line-height: 1; }
.phone-d { font-size: .5rem; color: #6ee7b7; opacity: .85; margin-bottom: .45rem; }
.phone-spark { display: flex; align-items: flex-end; gap: 2px; height: 34px; }
.phone-spark i { flex: 1; border-radius: 2px 2px 0 0; display: block;
  background: linear-gradient(180deg, #7c5cff, #3b82f6); }

/* floating glass cards */
.gcard {
  border-radius: 14px; padding: .6rem .7rem;
  background: linear-gradient(150deg, rgba(255,255,255,.11), rgba(255,255,255,.03));
  border: 1px solid rgba(160,195,255,.26);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 48px rgba(0,0,0,.5);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.gcard:hover { border-color: rgba(120,200,255,.75); box-shadow: 0 22px 60px rgba(76,201,255,.3); }
.gcard-k { font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(244,242,236,.62); }
.gcard-v { font-family: var(--display); font-size: 1.15rem; font-weight: 700; color: #fff; line-height: 1.1; }
.gcard-v small { font-size: .58rem; color: #6ee7b7; margin-left: .25rem; font-family: var(--body); }
.gc-a { top: 4%; left: 0; width: 152px; }
.gc-b { top: 26%; right: 6%; width: 138px; }
.gc-c { bottom: 12%; left: 6%; width: 146px; }
.gbars { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: .35rem; }
.gbars i { flex: 1; border-radius: 2px; display: block; background: linear-gradient(180deg, #4cc9ff, #2f6bff); }

/* holographic cube */
.cube-wrap { top: 8%; right: 18%; width: 92px; height: 92px; perspective: 700px; }
.cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: bnCube 18s linear infinite; }
.cube span {
  position: absolute; inset: 0;
  border: 1px solid rgba(120,200,255,.75);
  background: linear-gradient(150deg, rgba(76,201,255,.2), rgba(124,58,237,.12));
  box-shadow: inset 0 0 26px rgba(76,201,255,.3);
}
.cube span:nth-child(1) { transform: translateZ(46px); }
.cube span:nth-child(2) { transform: rotateY(180deg) translateZ(46px); }
.cube span:nth-child(3) { transform: rotateY(90deg) translateZ(46px); }
.cube span:nth-child(4) { transform: rotateY(-90deg) translateZ(46px); }
.cube span:nth-child(5) { transform: rotateX(90deg) translateZ(46px); }
.cube span:nth-child(6) { transform: rotateX(-90deg) translateZ(46px); }
@keyframes bnCube { to { transform: rotateX(360deg) rotateY(720deg); } }

/* energy rings */
.ring {
  border-radius: 50%; border: 1px solid transparent;
  background: conic-gradient(from 0deg, transparent 0 55%, rgba(76,201,255,.85) 72%, rgba(124,58,237,.75) 84%, transparent 96%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.ring-a { width: 460px; height: 460px; top: 50%; left: 50%; margin: -230px 0 0 -230px;
  transform: rotateX(74deg); animation: bnSpin 22s linear infinite; }
.ring-b { width: 610px; height: 610px; top: 50%; left: 50%; margin: -305px 0 0 -305px;
  transform: rotateX(70deg) rotateZ(40deg); animation: bnSpin 34s linear infinite reverse; }
@keyframes bnSpin { to { transform: rotate(360deg); } }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; min-height: 0; }
  .hero-inner { text-align: center; }
  .hero-title { margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .stage { min-height: 360px; margin-top: 1rem; }
  .lap { left: 50%; width: min(94%, 520px); transform: translateX(-50%); margin-top: -150px; }
  .ring-b { display: none; }
}
@media (max-width: 640px) {
  .stage { min-height: 260px; }
  .gc-a, .gc-c, .cube-wrap { display: none; }
  .gc-b { right: 0; top: 4%; width: 120px; }
  .phone { right: 0; width: 96px; }
}

.blob {
  position: absolute; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  filter: blur(70px); opacity: .5; pointer-events: none; z-index: 0;
}
.blob-a { top: -6%; left: 50%; background: radial-gradient(circle, rgba(76,201,255,.5), transparent 68%); animation: bnMorph 22s ease-in-out infinite; }
/* deep blue, not the old green — it was leaving a green cast top-left */
.blob-b { top: 18%; left: 18%; background: radial-gradient(circle, rgba(18,52,84,.9), transparent 70%); animation: bnMorph2 26s ease-in-out infinite; }

@keyframes bnMorph {
  0%,100% { border-radius: 60% 40% 55% 45%/50% 55% 45% 50%; transform: translate(-50%,-50%) rotate(0) scale(1); }
  33% { border-radius: 45% 55% 40% 60%/55% 45% 60% 40%; transform: translate(-50%,-50%) rotate(120deg) scale(1.08); }
  66% { border-radius: 55% 45% 60% 40%/40% 60% 45% 55%; transform: translate(-50%,-50%) rotate(240deg) scale(.96); }
}
@keyframes bnMorph2 {
  0%,100% { border-radius: 50% 50% 45% 55%/55% 45% 55% 45%; transform: translate(-50%,-50%) rotate(0) scale(1); }
  50% { border-radius: 40% 60% 55% 45%/45% 55% 45% 55%; transform: translate(-50%,-50%) rotate(-180deg) scale(1.12); }
}

.chip {
  display: inline-block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem 1.1rem; margin-bottom: 1.6rem;
}
/* (the old centred-hero .hero-title/.hero-lead/.hero-actions/.hero-by rules
   lived here and silently overrode the new hero — they appeared LATER in the
   file, so they won on source order. Removed with the redesign.) */

/* rise-in */
.rise { animation: bnRise .8s var(--ease) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; }
.d3 { animation-delay: .24s; } .d4 { animation-delay: .32s; } .d5 { animation-delay: .4s; }
@keyframes bnRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- hero mockup ---------- */
/* 3D stage. Rotation is driven by script.js (idle float + cursor parallax),
   so the browser and phone sit at different depths and separate as you move. */
.mock {
  position: relative; margin: clamp(3rem, 6vw, 4.5rem) auto 0; max-width: 900px;
  perspective: 1300px; transform-style: preserve-3d;
}
.mock-browser {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.6);
  transform-style: preserve-3d; will-change: transform;
  transform: rotateX(9deg) rotateY(-11deg);
}
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line-soft); background: #101215; }
.tl { width: 11px; height: 11px; border-radius: 50%; }
.tl-r { background: #ff5f57; } .tl-y { background: #febc2e; } .tl-g { background: #28c840; }
.mock-url { margin-left: auto; margin-right: auto; font-size: .78rem; color: var(--muted-2); }

.mock-body { position: relative; padding: clamp(1.5rem, 4vw, 3rem); text-align: left; background: radial-gradient(80% 90% at 75% 15%, rgba(140,90,255,.28), transparent 60%), var(--surface); min-height: 300px; }
.mock-nav { display: flex; align-items: center; gap: .6rem; margin-bottom: clamp(1.5rem, 4vw, 2.6rem); }
.mock-logo { width: 54px; height: 10px; border-radius: 3px; background: rgba(244,242,236,.65); }
.mock-links { display: flex; gap: .5rem; margin-left: auto; }
.mock-links i { width: 30px; height: 7px; border-radius: 3px; background: rgba(244,242,236,.22); display: block; }
.mock-pill { width: 46px; height: 16px; border-radius: 999px; background: rgba(180,140,255,.85); }
.mock-h { font-size: clamp(1.5rem, 3.4vw, 2.4rem); color: #fff; }
.mock-h em { font-style: normal; color: #c4a6ff; }
.mock-p { font-size: .85rem; color: rgba(244,242,236,.6); margin-top: .5rem; }
.mock-btns { display: flex; gap: .5rem; margin-top: 1.2rem; }
.mock-btn-a { width: 74px; height: 22px; border-radius: 999px; background: #a78bfa; }
.mock-btn-b { width: 60px; height: 22px; border-radius: 999px; border: 1px solid rgba(244,242,236,.25); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: clamp(1.2rem, 3vw, 2rem); }
.mock-cards span { height: 58px; border-radius: 10px; background: rgba(244,242,236,.07); border: 1px solid var(--line-soft); }

.mock-phone {
  position: absolute; right: -8px; bottom: -34px; width: 168px;
  background: #0a0b0d; border: 6px solid #23262b; border-radius: 26px;
  box-shadow: 0 30px 60px rgba(0,0,0,.65);
  transform-style: preserve-3d; will-change: transform;
  transform: rotateX(11deg) rotateY(13deg) translateZ(70px);
}
.phone-notch { width: 52px; height: 5px; border-radius: 999px; background: #35393f; margin: 7px auto 0; }
.phone-screen { padding: .8rem .75rem 1rem; text-align: left; }
.phone-label { font-size: .6rem; color: var(--muted-2); }
.phone-figure { font-family: var(--display); font-size: 1.35rem; color: #35e0a1; font-weight: 700; letter-spacing: -.02em; }
.phone-badge { display: block; width: 40px; height: 8px; border-radius: 999px; background: rgba(53,224,161,.35); margin: .3rem 0 .7rem; }
.phone-rows { display: grid; gap: .38rem; }
.phone-rows span { display: flex; align-items: center; gap: .4rem; background: rgba(244,242,236,.06); border-radius: 7px; padding: .3rem .4rem; }
.phone-rows i { width: 14px; height: 14px; border-radius: 4px; background: #35e0a1; opacity: .8; }
.phone-rows b { flex: 1; height: 5px; border-radius: 3px; background: rgba(244,242,236,.22); }
.phone-tabs { display: flex; justify-content: space-around; margin-top: .7rem; }
.phone-tabs i { width: 16px; height: 4px; border-radius: 3px; background: rgba(244,242,236,.2); }
.phone-tabs i:first-child { background: #35e0a1; }

/* bnTilt/bnTiltB keyframes retired — the tilt is now script-driven (see script.js)
   so cursor parallax and the idle float can compose in one transform. */

/* ---------- marquee ---------- */
.marquee { margin-top: clamp(4rem, 8vw, 6rem); border-block: 1px solid var(--line-soft); overflow: hidden; padding: 1.1rem 0; }
.marquee-track { display: flex; align-items: center; gap: 2rem; width: max-content; animation: bnMarquee 34s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: 1.35rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--cream); white-space: nowrap; }
.marquee-track em { color: var(--accent); font-style: normal; }
@keyframes bnMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--surface); }
.kicker { font-family: var(--body); font-size: .85rem; color: var(--accent); margin-bottom: .8rem; letter-spacing: .02em; }
.section-title { font-size: clamp(2.5rem, 4vw + 1rem, 4.4rem); font-weight: 700; max-width: 24ch; }
.section-lead { max-width: 60ch; margin-top: 1rem; font-size: 1.05rem; }
/* route from a home section into its deeper page */
.more { margin-top: 1rem; }
.more a { color: var(--accent); font-weight: 600; font-size: .97rem; border-bottom: 1px solid transparent; transition: border-color .25s var(--ease); }
.more a:hover { border-bottom-color: var(--accent); }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.8rem; }
.svc { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem; }
.svc-feature { border-color: rgba(76,201,255,.4); }
/* Reserve two rows for every card head so all three titles start on the same
   line: one card has no badge, and the longest badge wraps its time onto a
   second row. Without this the titles stagger by ~27px. */
.svc-head {
  display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start;
  gap: .5rem .6rem; margin-bottom: 1.1rem; min-height: 3.6rem;
}
.svc-tag { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; background: rgba(244,242,236,.1); color: var(--cream); padding: .3rem .7rem; border-radius: 999px; }
.svc-tag-accent { background: var(--accent); color: #0c0d0f; }
.svc-time { font-size: .82rem; color: var(--muted-2); }
.svc h3 { font-size: 1.85rem; margin-bottom: .6rem; }
.svc p { font-size: .97rem; }

.ticks { margin-top: 1.2rem; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.5rem; font-size: .93rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- grow ---------- */
.grow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-top: 2.8rem; }
.grow-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.9rem; }
.grow-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.grow-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(76,201,255,.14); font-size: 1.3rem; }
.badge { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: .3rem .7rem; border-radius: 999px; }
.badge-new { background: var(--accent); color: #0c0d0f; }
.badge-rec { background: rgba(244,242,236,.12); color: var(--cream); }
.grow-card h3 { font-size: 1.75rem; margin-bottom: .6rem; }
.grow-card > p { font-size: .97rem; }
.grow-note { margin-top: 1.2rem; font-size: .9rem; color: var(--accent); font-weight: 500; }

/* ================= interface scenes (the site's imagery) =================
   The product here is interfaces, so the imagery is interfaces — built in the
   brand palette rather than stock photography (PRODUCT.md anti-references the
   stock-hero agency template). Every scene is a [data-tilt3d] stage; children
   marked [data-depth] get cursor parallax from script.js.
   ========================================================================= */
.viz {
  position: relative; perspective: 1300px; transform-style: preserve-3d;
  margin-top: .5rem;
}
.viz-pane {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: 0 34px 70px rgba(0,0,0,.55);
  transform-style: preserve-3d; will-change: transform;
  transform: rotateX(8deg) rotateY(-10deg);
}
.viz-bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .7rem .9rem; background: #101215; border-bottom: 1px solid var(--line-soft);
  font-size: .74rem; color: var(--muted-2);
}
.viz-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.viz-body { padding: 1.1rem; }
.viz-float {
  position: absolute; right: -14px; bottom: -26px; width: 190px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 26px 50px rgba(0,0,0,.6); padding: .85rem;
  transform-style: preserve-3d; will-change: transform;
}

/* ---- light panel variant ----
   Cream panels floating in the dark page. Most client sites are light, so a
   light mockup is the realistic one. Contrast rule: the accent is only 1.69:1 on
   cream (it was 1.16:1 as lime — a bright accent fails here whatever the hue),
   so on a light panel the accent is ONLY ever a fill behind dark text. */
.viz-pane.light {
  --p-ink: #0c0d0f;
  --p-muted: #6b6d68;   /* 4.68:1 on cream — the dimmest allowed here */
  --p-line: rgba(12, 13, 15, .13);
  background: var(--cream); border-color: rgba(12,13,15,.2);
  color: var(--p-muted);
}
.viz-pane.light .viz-bar {
  background: #e9e6de; border-bottom-color: var(--p-line); color: var(--p-muted);
}
.viz-pane.light .viz-dot { background: #1f7fa5; }
.viz-pane.light .dash-kpis span { background: rgba(12,13,15,.05); }
.viz-pane.light .dash-kpis b { color: var(--p-ink); }
.viz-pane.light .dash-kpis em { color: var(--p-muted); }
.viz-pane.light .dash-chart i { background: rgba(12,13,15,.13); }
.viz-pane.light .dash-chart i.hot { background: var(--accent); }
.viz-pane.light .up-row { border-bottom-color: var(--p-line); }
.viz-pane.light .up-row span { color: var(--p-muted); }
.viz-pane.light .up-row b { color: var(--p-ink); }

/* light document scene — "the contract is the hero" */
.doc-h { font-family: var(--display); font-size: 1.35rem; color: var(--p-ink); font-weight: 700; }
.doc-sub { font-size: .72rem; color: var(--p-muted); margin-bottom: .9rem; letter-spacing: .04em; }
.doc-row { display: flex; align-items: baseline; gap: .6rem; padding: .45rem 0; border-top: 1px solid var(--p-line); font-size: .8rem; }
.doc-row span { color: var(--p-muted); }
.doc-row b { margin-left: auto; color: var(--p-ink); font-weight: 600; }
.doc-chip {
  display: inline-block; margin-top: .9rem; background: var(--accent); color: #0c0d0f;
  font-size: .72rem; font-weight: 700; padding: .28rem .6rem; border-radius: 999px;
}
.doc-sign { margin-top: .9rem; padding-top: .7rem; border-top: 1px dashed var(--p-line); display: flex; align-items: center; gap: .6rem; }
.doc-scribble { height: 22px; flex: 1; background:
  radial-gradient(circle at 10% 60%, var(--p-ink) 1.5px, transparent 2px),
  radial-gradient(circle at 30% 30%, var(--p-ink) 1.5px, transparent 2px),
  radial-gradient(circle at 55% 70%, var(--p-ink) 1.5px, transparent 2px),
  radial-gradient(circle at 78% 40%, var(--p-ink) 1.5px, transparent 2px);
  opacity: .45; }

/* chat / assistant scene */
.chat-line { display: flex; gap: .5rem; margin-bottom: .6rem; align-items: flex-end; }
.chat-line.me { flex-direction: row-reverse; }
.chat-av {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: rgba(76,201,255,.16); display: grid; place-items: center; font-size: .8rem;
}
.bubble {
  max-width: 78%; padding: .55rem .75rem; border-radius: 13px; font-size: .84rem;
  background: var(--surface-2); color: var(--muted); line-height: 1.45;
}
.chat-line.me .bubble { background: rgba(76,201,255,.14); color: var(--cream); }
.bubble strong { color: var(--accent); font-weight: 600; }
.typing { display: inline-flex; gap: 3px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted-2); display: block; animation: bnBlink 1.3s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes bnBlink { 0%,60%,100% { opacity: .25; } 30% { opacity: 1; } }

/* search / AI answer scene */
.sr-query {
  display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--cream);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem .85rem; margin-bottom: .9rem;
}
.sr-answer {
  border: 1px solid rgba(76,201,255,.35); border-radius: 12px; padding: .8rem;
  background: rgba(76,201,255,.05); margin-bottom: .8rem;
}
.sr-answer p { font-size: .82rem; line-height: 1.5; }
.sr-cite {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: .55rem;
  font-size: .72rem; font-weight: 600; color: #0c0d0f; background: var(--accent);
  padding: .18rem .5rem; border-radius: 999px;
}
.sr-hit { padding: .5rem 0; border-top: 1px solid var(--line-soft); }
.sr-hit b { display: block; font-size: .8rem; color: var(--cream); font-weight: 600; }
.sr-hit span { font-size: .72rem; color: var(--muted-2); }

/* dashboard scene */
.dash { display: grid; grid-template-columns: 42px 1fr; gap: .8rem; }
.dash-rail { display: grid; gap: .4rem; align-content: start; }
.dash-rail i { height: 8px; border-radius: 3px; background: rgba(244,242,236,.14); display: block; }
.dash-rail i:first-child { background: var(--accent); }
.dash-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; margin-bottom: .7rem; }
.dash-kpis span { background: var(--surface-2); border-radius: 9px; padding: .5rem; }
.dash-kpis b { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--cream); }
.dash-kpis em { font-style: normal; font-size: .64rem; color: var(--muted-2); }
.dash-chart { display: flex; align-items: flex-end; gap: 5px; height: 74px; }
.dash-chart i { flex: 1; background: rgba(244,242,236,.13); border-radius: 3px 3px 0 0; display: block; }
.dash-chart i.hot { background: var(--accent); }

/* uptime / watch scene */
.up-row { display: flex; align-items: center; gap: .55rem; padding: .48rem 0; border-bottom: 1px solid var(--line-soft); font-size: .8rem; }
.up-row:last-child { border-bottom: 0; }
.up-ok { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.up-row span { color: var(--muted); }
.up-row b { margin-left: auto; color: var(--cream); font-weight: 600; font-size: .78rem; }
.up-big { font-family: var(--display); font-size: 2.1rem; color: var(--accent); font-weight: 700; line-height: 1; }
.up-cap { font-size: .72rem; color: var(--muted-2); margin-bottom: .8rem; }

@media (max-width: 680px) {
  .viz-float { display: none; }
  .viz-pane { transform: none !important; }
}

/* ---------- home teaser rows ----------
   Hairline rows, not a card grid: services.html already uses cards, and
   repeating the same card treatment on every surface is the template tell. */
.rows { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.rows a {
  display: grid; grid-template-columns: .8fr 1.4fr auto; gap: 1.5rem; align-items: baseline;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease);
}
.rows a:hover { padding-left: .6rem; }
.rows h3 { font-size: clamp(1.4rem, 1.6vw + .8rem, 2rem); transition: color .25s var(--ease); }
.rows a:hover h3 { color: var(--accent); }
.rows p { font-size: .98rem; }
.rows .go { color: var(--accent); font-size: 1.2rem; }

@media (max-width: 760px) {
  /* explicit placement: without it the arrow auto-flows below the description
     instead of sitting on the title row */
  .rows a { grid-template-columns: 1fr auto; gap: .4rem 1rem; align-items: center; }
  .rows h3 { grid-column: 1; grid-row: 1; }
  .rows .go { grid-column: 2; grid-row: 1; }
  .rows p { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- inner page hero ---------- */
.page-hero { position: relative; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.page-hero .shell { position: relative; z-index: 2; }
.crumb { font-size: .9rem; color: var(--muted-2); margin-bottom: 1rem; }
.crumb a:hover { color: var(--accent); }
.page-title {
  font-size: clamp(2.8rem, 6.5vw + .5rem, 5.6rem); font-weight: 700;
  max-width: 20ch; text-wrap: balance;
}
.page-title em { font-style: italic; color: var(--accent); }
.page-lead { max-width: 62ch; margin-top: 1.2rem; font-size: 1.1rem; }
.page-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }

/* two-column detail block used across inner pages */
.detail { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.detail + .detail { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.detail h2 { font-size: clamp(2rem, 3vw + 1rem, 3.2rem); }
.detail h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.detail-note { margin-top: 1.2rem; font-size: .95rem; color: var(--accent); font-weight: 500; }
.detail-body > p + p { margin-top: 1rem; }
.detail-body { max-width: 68ch; }

/* fact rows — plain rows, not another card grid */
.facts { margin-top: 1.8rem; border-top: 1px solid var(--line-soft); }
.facts > div { display: grid; grid-template-columns: .5fr 1fr; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-soft); }
.facts dt { font-family: var(--display); font-size: 1.15rem; color: var(--cream); font-weight: 600; }
.facts dd { margin: 0; font-size: .97rem; }

/* closing CTA band */
.cta-band { border-top: 1px solid var(--line); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.cta-band-inner { display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(2.2rem, 4vw + 1rem, 4rem); max-width: 18ch; }
.cta-band p { margin-top: .8rem; max-width: 46ch; }

@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; gap: 1.5rem; }
  .facts > div { grid-template-columns: 1fr; gap: .3rem; }
}

/* ================= service grid ("What we do") =================
   12 capabilities as a scannable icon grid. Cards ARE the right affordance
   here: twelve short peer items that each link somewhere. Breakpoint-free via
   auto-fit, so it runs 6-up → 4 → 3 → 2 → 1 without a single media query.
   =============================================================== */
.svcgrid { position: relative; padding: var(--section-pad) 0; overflow: hidden; }
.svcgrid::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 640px;
  background:
    radial-gradient(40% 55% at 15% 30%, rgba(76,201,255,.10), transparent 70%),
    radial-gradient(35% 50% at 85% 20%, rgba(76,201,255,.08), transparent 70%);
  pointer-events: none;
}
.svcgrid .shell { position: relative; z-index: 1; }
.sg-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.sg-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(76,201,255,.35); border-radius: 999px;
  padding: .45rem 1.1rem; font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.4rem;
}
.sg-pill svg { width: 14px; height: 14px; }
.sg-title {
  font-size: clamp(2.4rem, 4.6vw + .6rem, 4.4rem); font-weight: 700;
  max-width: 22ch; margin-inline: auto; text-wrap: balance;
}
/* solid accent, not a gradient — gradient text is banned and the hero uses solid */
.sg-title em { font-style: normal; color: var(--accent); }
.sg-lead { max-width: 56ch; margin: 1.1rem auto 0; font-size: 1.05rem; }

.sg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 1rem; }
.sg-card {
  position: relative; display: block;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.25rem 1.15rem 2.6rem;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s;
}
.sg-card:hover { transform: translateY(-4px); border-color: rgba(76,201,255,.5); background: var(--surface-2); }
.sg-ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(76,201,255,.12); color: var(--accent); margin-bottom: .9rem;
}
.sg-ico svg { width: 21px; height: 21px; }
.sg-card h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.sg-card p { font-size: .88rem; line-height: 1.5; }
.sg-card .go {
  position: absolute; right: 1.15rem; bottom: 1.05rem;
  color: var(--accent); font-size: 1rem; opacity: .6; transition: opacity .25s, transform .25s var(--ease);
}
.sg-card:hover .go { opacity: 1; transform: translate(3px, -3px); }

/* closing banner */
.sg-banner {
  margin-top: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(100deg, rgba(76,201,255,.14), rgba(18,52,84,.5));
  border: 1px solid rgba(76,201,255,.3); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
}
.sg-banner-ico {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent); color: #0c0d0f; flex: none;
}
.sg-banner-ico svg { width: 24px; height: 24px; }
.sg-banner h3 { font-size: 1.5rem; }
.sg-banner p { font-size: .95rem; margin-top: .15rem; }
.sg-banner .btn { margin-left: auto; }

@media (max-width: 640px) {
  .sg-banner { flex-direction: column; align-items: flex-start; }
  .sg-banner .btn { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  /* auto-fit drops to a single column here, and 12 stacked cards is a long
     scroll — force 2-up so the grid still reads as a grid on a phone */
  .sg-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .sg-card { padding: 1rem .9rem 2.4rem; }
  .sg-card h3 { font-size: 1.05rem; }
  .sg-card p { font-size: .82rem; }
}

/* ---------- capabilities: editorial index ----------
   Big type kept, but centred repetition read as a monotonous wall. Each pair is
   now a full-width row with the two ends pushed apart and the em-dash replaced
   by a rule that flexes to fill the gap — a menu/index, not eight centred lines. */
.caps { padding: clamp(4rem, 9vw, 8rem) 0; }
.caps-list { display: grid; }
.caps-list li {
  display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.6rem);
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw + .4rem, 3.4rem);
  line-height: 1.5; color: var(--cream);
  padding: .25rem 0;
}
.caps-list span { white-space: nowrap; transition: color .25s var(--ease); }
.caps-list span:last-child { margin-left: auto; text-align: right; }
/* the connector: a rule, not a character */
.caps-list em {
  flex: 1; height: 2px; min-width: 2rem;
  background: linear-gradient(90deg, var(--accent), rgba(76,201,255,.25));
  border-radius: 2px; font-size: 0;
}
.caps-list li:hover span { color: var(--accent); }

@media (max-width: 760px) {
  /* the connector cannot flex in a stacked layout — drop it and let each
     capability take its own line, grouped in pairs by the spacing */
  .caps-list li { display: block; margin-bottom: .5rem; line-height: 1.18; }
  .caps-list li em { display: none; }
  .caps-list li span { display: block; white-space: normal; text-align: left; margin-left: 0; }
  .caps-list li span:last-child { color: var(--muted); }
}

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; margin-top: 2.8rem; }
.steps li { position: relative; padding-top: 1.6rem; border-top: 2px solid var(--line); }
.steps li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--muted-2); }
.step-launch::before { background: var(--accent); border-color: var(--accent); }
.step-when { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.steps h3 { font-size: 1.55rem; margin-bottom: .5rem; }
.steps p { font-size: .93rem; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.8rem; align-items: start; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.9rem; }
.plan-featured { background: linear-gradient(180deg, rgba(76,201,255,.09), transparent 55%), var(--surface); border-color: rgba(76,201,255,.5); }
.plan-flag { position: absolute; top: -12px; left: 1.9rem; background: var(--accent); color: #0c0d0f; font-size: .74rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; }
.plan h3 { font-size: 1.95rem; margin-bottom: .5rem; }
.plan-who { font-size: .97rem; }
.plan-terms { font-size: .85rem; color: var(--muted-2); padding-bottom: 1.1rem; margin-top: 1rem; border-bottom: 1px solid var(--line-soft); }
.plan .ticks { margin-bottom: 1.6rem; }

.terms-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.terms-row p { font-size: .92rem; }
.terms-row strong { color: var(--cream); }

/* ---------- faq ---------- */
.faq { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--cream); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.4rem; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.4rem 0; font-size: .97rem; }

/* ---------- contact ---------- */
.trust-chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.trust-chips li { border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; font-size: .9rem; }
.trust-chips strong { color: var(--accent); font-weight: 600; }

.form { margin-top: 2.2rem; display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .4rem; font-size: .88rem; font-weight: 500; color: var(--cream); }
.form input, .form select, .form textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; font-size: .97rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--cream);
  transition: border-color .2s, background .2s;
}
.form textarea { resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: var(--muted-2); }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--accent); background: var(--surface-2);
}

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 3rem 0; }
.foot-row { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 2rem; align-items: start; }
.foot-by { margin-top: .8rem; font-size: .92rem; }
.foot-by strong { color: var(--accent); font-weight: 600; }
.foot-tag { font-size: .92rem; margin-top: .2rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; }
.foot-nav a { font-size: .93rem; }
.foot-nav a:hover { color: var(--accent); }
.foot-copy { font-size: .86rem; color: var(--muted-2); text-align: right; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .svc-grid, .plans, .steps, .terms-row { grid-template-columns: 1fr 1fr; }
  .steps { gap: 2rem 1.3rem; }
  .nav, .talk { display: none; }
  .burger { display: flex; }
  .head-row { justify-content: space-between; }
  .head-cta { margin-left: auto; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 1.2rem 5%; gap: 1rem;
  }
  .mock-phone { width: 138px; right: -4px; bottom: -26px; }
  .foot-row { grid-template-columns: 1fr 1fr; }
  .foot-copy { text-align: left; grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .svc-grid, .grow-grid, .plans, .steps, .terms-row, .field-row { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .mock-phone { display: none; }
  .foot-row { grid-template-columns: 1fr; }
  .plan-featured { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Kill every looping animation. script.js separately bails out of the
     particle field, the parallax loop and magnetic buttons. */
  .rise, .up, .head, .blob, .mock-browser, .mock-phone, .marquee-track,
  .hero::before, .cube, .ring, .hero-title .accent, .typing i {
    animation: none !important;
  }
  /* Entrance animations start at opacity:0 — without this the hero would be
     suppressed into permanent invisibility rather than simply not animating. */
  .rise, .up, .head { opacity: 1 !important; transform: none !important; }
  .hero-particles { display: none; }
  /* the gradient sweep is a moving background; fall back to the solid accent */
  .hero-title .accent {
    background: none; -webkit-text-fill-color: currentColor; color: var(--accent);
  }
  .btn:hover, .btn-mag:hover { transform: none; }
}
