/* ================================================================
   NEXTGENTOOLS — style.css
   Editorial, light design system — white / pale blue / navy
   ================================================================ */

:root {
  --ink: #0e1c2e;
  --body: #46586e;
  --faint: #7d8fa5;
  --hair: #e6ecf4;
  --hair-strong: #d3deeb;
  --wash: #f5f8fc;
  --accent: #2563eb;
  --accent-dim: rgba(37, 99, 235, 0.08);
  --navy: #0e1f38;
  --ok: #16a34a;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --nav-h: 76px;
  --pad: clamp(20px, 4vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(37, 99, 235, 0.15); }

h1 em, h2 em, .h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 480;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.cursor-glow {
  position: fixed; z-index: 1; pointer-events: none;
  width: 700px; height: 700px; border-radius: 50%;
  left: 0; top: 0; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 65%);
}

/* ---------- type helpers ---------- */
.kicker {
  display: inline-block;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px;
}
.h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 600; line-height: 1.1; letter-spacing: -0.03em;
}

.split-head {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 80px); align-items: end;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.split-head__sub { color: var(--body); font-size: 16.5px; max-width: 46ch; padding-bottom: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: 0;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}
.btn--dark { background: var(--navy); color: #ffffff; }
.btn--dark:hover { background: #16305a; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(14, 31, 56, 0.22); }
.btn--light { background: #ffffff; color: var(--navy); }
.btn--light:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22); }
.btn--lg { padding: 16px 32px; font-size: 16px; }

.btn--text {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none;
  padding: 13px 4px;
}
.btn--text .arrow { transition: transform 0.22s ease; color: var(--accent); }
.btn--text:hover .arrow { transform: translateX(4px); }

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14); display: inline-block;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--hair);
}
.nav__logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.nav__logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  color: #ffffff; background: var(--navy);
}
.nav__logo-text { font-size: 16.5px; font-weight: 650; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  color: var(--body); text-decoration: none; font-size: 15px; font-weight: 500;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta { padding: 10px 20px; font-size: 14px; }
.nav__right { display: flex; align-items: center; gap: 12px; }

.nav__burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 10px;
  background: #ffffff; border: 1px solid var(--hair-strong); border-radius: 10px;
  cursor: pointer;
}
.nav__burger span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: #ffffff;
  padding: 24px var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: 18px 2px;
  border-bottom: 1px solid var(--hair);
  color: var(--ink); text-decoration: none;
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
}
.mobile-menu__cta { width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) var(--pad) clamp(72px, 8vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 78% 8%, rgba(37, 99, 235, 0.06), transparent 70%),
    #ffffff;
}
#net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.55; }
.hero__grid {
  position: absolute; inset: -2px; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 65% 35%, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 65% 35%, black 25%, transparent 75%);
}
.hero__inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; width: 100%;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--hair-strong);
  background: rgba(255, 255, 255, 0.85);
  font-size: 13px; font-weight: 500; color: var(--body);
  margin-bottom: 30px;
}

.hero__title {
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 650; line-height: 1.05; letter-spacing: -0.038em;
  margin-bottom: 34px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .line-inner { display: inline-block; }

.hero__row {
  display: grid; grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 64px); align-items: center;
}
.hero__sub {
  max-width: 52ch;
  color: var(--body); font-size: 17.5px;
}
.hero__actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }

.t-dot { width: 10px; height: 10px; border-radius: 50%; background: #dbe4ef; }

/* hero product frame */
.hero__frame {
  position: relative; display: block;
  margin-top: clamp(44px, 5vw, 72px);
  border: 1px solid var(--hair); border-radius: 18px;
  background: #ffffff; text-decoration: none;
  box-shadow: 0 40px 110px rgba(14, 28, 46, 0.16);
  will-change: transform;
}
.hf-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 18px; border-bottom: 1px solid var(--hair);
  background: var(--wash); border-radius: 18px 18px 0 0;
}
.hf-url {
  margin-left: 14px; padding: 6px 14px;
  font-family: var(--font-mono); font-size: 12px; color: var(--faint);
  background: #ffffff; border: 1px solid var(--hair); border-radius: 8px;
}
.hf-hint {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500; color: var(--body);
}
.hf-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #7fb1ff; transition: background 0.3s ease;
}

/* the three-scene demo stage */
.hf-stage {
  position: relative;
  height: clamp(340px, 36vw, 450px);
  border-radius: 0 0 17px 17px; overflow: hidden;
  background: var(--navy);
}
.scene { position: absolute; inset: 0; padding: clamp(18px, 3vw, 32px) clamp(20px, 3.4vw, 38px); }

.scene--code {
  background: #0a1730;
  font-family: var(--font-mono); font-size: 13.5px; line-height: 2.05;
  color: #cbd8ea;
}
.scene--code .cl { white-space: pre-wrap; }
.tk-kw { color: #7fb1ff; }
.tk-fn { color: #c4b5fd; }
.tk-str { color: #4ade80; }
.tk-com { color: #5b6f8f; }

.scene--deploy {
  background: var(--navy);
  font-family: var(--font-mono); font-size: 13.5px; line-height: 2.3;
  color: #b9c8de;
}
.t-prompt { color: #7fb1ff; }
.t-ok { color: #4ade80; }
.t-dim { color: #64789a; }
.t-caret {
  display: inline-block; width: 8px; height: 15px;
  vertical-align: -2px; margin-left: 8px;
  background: #7fb1ff; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.scene--report {
  background: #ffffff;
  display: flex; flex-direction: column; gap: clamp(12px, 1.6vw, 20px);
}
.hr-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.hr-head h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.02em; }
.hr-head span { font-size: 12.5px; color: var(--faint); }
.hr-export {
  flex: 0 0 auto;
  padding: 8px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  background: var(--accent-dim); border: 1px solid rgba(37, 99, 235, 0.2);
}
.hr-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hr-kpi { border: 1px solid var(--hair); border-radius: 12px; padding: 12px 18px; }
.hr-kpi span {
  display: block; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
}
.hr-kpi b { display: block; margin-top: 3px; font-size: clamp(20px, 1.9vw, 26px); font-weight: 650; letter-spacing: -0.02em; color: var(--ink); }
.hr-chart { flex: 1; display: flex; align-items: flex-end; gap: 10px; min-height: 70px; }
.hr-bar {
  flex: 1; height: var(--h); min-height: 4px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(to top, #a8c2f7, #3b76f0);
  transform-origin: bottom;
}
.hr-bar--hot { background: linear-gradient(to top, #3b76f0, var(--navy)); }
.hr-foot { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--body); }
.hr-check { color: var(--ok); font-weight: 700; }

/* ---------- clients strip ---------- */
.clients { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: #ffffff; }
.clients__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 26px var(--pad);
  display: flex; align-items: center; gap: clamp(24px, 4vw, 64px);
}
.clients__label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.clients__logos { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 28px; flex-wrap: wrap; }
.wm { color: #9dadc2; font-size: 17px; transition: color 0.25s ease; cursor: default; }
.wm:hover { color: var(--ink); }
.wm--serif { font-family: Georgia, serif; font-weight: 600; }
.wm--caps { font-size: 14px; font-weight: 650; letter-spacing: 0.22em; }
.wm--tight { font-weight: 700; letter-spacing: -0.03em; }
.wm--ital { font-family: Georgia, serif; font-style: italic; }
.wm--bold { font-weight: 750; letter-spacing: -0.01em; font-size: 15.5px; }
.wm--amp { font-weight: 600; font-family: var(--font-display); }

/* ---------- stats ---------- */
.stats { background: #ffffff; }
.stats__inner {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) var(--pad) 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px);
}
.stat { border-top: 1px solid var(--hair-strong); padding-top: 22px; }
.stat__num {
  font-size: clamp(34px, 3.4vw, 46px); font-weight: 650;
  letter-spacing: -0.03em; color: var(--ink); line-height: 1;
}
.stat__label { margin-top: 12px; font-size: 13.5px; color: var(--faint); line-height: 1.55; max-width: 26ch; }

/* ---------- sections ---------- */
.section { max-width: 1280px; margin: 0 auto; padding: clamp(88px, 11vw, 148px) var(--pad) 0; }
.section--wide { max-width: 1360px; }

/* ---------- services ---------- */
.services-list { border-top: 1px solid var(--hair); }
.svc {
  display: grid; grid-template-columns: 60px 1fr 1.25fr;
  gap: clamp(20px, 3vw, 48px);
  padding: 38px 20px; margin: 0 -20px;
  border-bottom: 1px solid var(--hair);
  border-radius: 14px;
  transition: background 0.25s ease;
}
.svc:hover { background: var(--wash); }
.svc__num { font-size: 13px; font-weight: 600; color: var(--faint); padding-top: 12px; }
.svc__title { display: flex; align-items: flex-start; gap: 16px; }
.svc__icon {
  flex: 0 0 auto;
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  color: var(--accent); background: var(--accent-dim);
}
.svc__title h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; padding-top: 8px; }
.svc__body p { color: var(--body); font-size: 15.5px; max-width: 58ch; }
.svc__tags { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.svc__tags span {
  font-size: 12.5px; font-weight: 500; color: var(--body);
  padding: 5px 13px; border-radius: 999px; border: 1px solid var(--hair-strong);
  background: #ffffff;
}

/* ---------- showcase ---------- */
.showcase__tabs {
  display: inline-flex; gap: 2px; margin-bottom: 20px;
  padding: 4px; border-radius: 999px;
  background: var(--wash); border: 1px solid var(--hair);
}
.tab {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  border: 0; background: transparent;
  color: var(--body); font-family: var(--font-sans); font-size: 14.5px; font-weight: 600;
  transition: all 0.25s ease;
}
.tab:hover { color: var(--ink); }
.tab.is-active { background: #ffffff; color: var(--ink); box-shadow: 0 3px 12px rgba(14, 28, 46, 0.1); }
.tab__type { font-size: 11px; font-weight: 600; color: var(--faint); padding: 3px 9px; border-radius: 999px; background: rgba(14, 28, 46, 0.05); }
.tab.is-active .tab__type { color: var(--accent); background: var(--accent-dim); }

.browser {
  border: 1px solid var(--hair); border-radius: 16px;
  background: #ffffff; overflow: hidden;
  box-shadow: 0 30px 80px rgba(14, 28, 46, 0.12);
}
.browser__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px; border-bottom: 1px solid var(--hair);
  background: var(--wash);
}
.browser__url {
  flex: 1; max-width: 420px; margin-left: 14px;
  font-family: var(--font-mono); font-size: 12px; color: var(--faint);
  padding: 7px 14px; border-radius: 8px;
  background: #ffffff; border: 1px solid var(--hair);
}

.panel { display: none; min-height: 560px; }
.panel.is-active { display: block; }

/* Shared hooks for the product mocks — all product visuals live in
   css/panels.css, scoped per panel. JS animates these hooks. */
.pv { display: none; }
.pv.is-live { display: block; }
.bar { min-height: 4px; transform-origin: bottom; }
.fstep { transform-origin: left; }
[data-view-btn] { cursor: pointer; }

/* ---------- case study ---------- */
.casestudy {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 88px); align-items: start;
}
.casestudy__copy p { color: var(--body); font-size: 16.5px; max-width: 56ch; margin-bottom: 18px; }
.casestudy__quote {
  margin-top: 30px; padding: 26px 30px;
  border-left: 3px solid var(--accent);
  background: var(--wash); border-radius: 0 14px 14px 0;
}
.casestudy__quote p { font-size: 17px; color: var(--ink); font-weight: 500; margin: 0 0 12px; max-width: none; }
.casestudy__quote cite { font-style: normal; font-size: 13.5px; color: var(--faint); }
.cs-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-metric {
  background: var(--wash); border: 1px solid var(--hair);
  border-radius: 16px; padding: 30px 28px;
}
.cs-metric__num { font-size: clamp(30px, 2.8vw, 40px); font-weight: 650; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.cs-metric__label { margin-top: 10px; font-size: 13.5px; color: var(--body); line-height: 1.5; }

/* ---------- process ---------- */
.process-wrap {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.process-side { position: sticky; top: 120px; }
.process-side__sub { color: var(--body); font-size: 16.5px; margin: 20px 0 10px; max-width: 42ch; }
.process-steps .step {
  display: grid; grid-template-columns: 56px 1fr; gap: 22px;
  padding: 30px 0; border-top: 1px solid var(--hair);
}
.process-steps .step:last-child { border-bottom: 1px solid var(--hair); }
.step__num { font-size: 13px; font-weight: 650; color: var(--accent); padding-top: 5px; }
.step h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 7px; }
.step p { font-size: 15px; color: var(--body); max-width: 52ch; }

/* ---------- marquee ---------- */
.marquee-wrap {
  margin-top: clamp(88px, 11vw, 148px);
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  padding: 20px 0; overflow: hidden;
}
.marquee {
  display: flex; white-space: nowrap;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: #a9b8ca; will-change: transform;
}

/* ---------- sectors ---------- */
.sectors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.sector__overline {
  display: inline-block;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.sector h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 24px; }
.sector ul { list-style: none; }
.sector li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 2px; border-top: 1px solid var(--hair);
  color: var(--body); font-size: 15.5px;
  transition: color 0.2s ease;
}
.sector li:hover { color: var(--ink); }
.li-arrow { color: var(--hair-strong); transition: color 0.2s ease, transform 0.2s ease; }
.sector li:hover .li-arrow { color: var(--accent); transform: translateX(3px); }
.sector__foot {
  margin-top: 24px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
}

/* ---------- engagement plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan {
  border: 1px solid var(--hair); border-radius: 18px;
  padding: 36px 32px; background: #ffffff;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.plan:hover { border-color: var(--hair-strong); transform: translateY(-3px); box-shadow: 0 18px 44px rgba(14, 28, 46, 0.08); }
.plan__tag { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.plan h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.plan > p { font-size: 14.5px; color: var(--body); margin-bottom: 24px; min-height: 66px; }
.plan ul { list-style: none; margin-bottom: 26px; }
.plan li { display: flex; gap: 10px; padding: 7px 0; font-size: 14.5px; color: var(--body); }
.plan li::before { content: "+"; color: var(--accent); font-weight: 700; }
.plan__price { font-size: 14px; color: var(--faint); border-top: 1px solid var(--hair); padding-top: 18px; }
.plan__price b { color: var(--ink); font-weight: 650; font-size: 16px; }

.plan--featured { background: var(--navy); border-color: var(--navy); }
.plan--featured .plan__tag { color: #8ab4ff; }
.plan--featured h3, .plan--featured .plan__price b { color: #ffffff; }
.plan--featured > p, .plan--featured li { color: #b9c8dd; }
.plan--featured li::before { color: #8ab4ff; }
.plan--featured .plan__price { color: #8fa2bd; border-top-color: rgba(255, 255, 255, 0.14); }
.plan--featured:hover { box-shadow: 0 22px 52px rgba(14, 31, 56, 0.32); }

/* ---------- testimonials ---------- */
.band {
  margin-top: clamp(88px, 11vw, 148px);
  background: var(--wash);
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
}
.band .section { padding-bottom: clamp(88px, 11vw, 148px); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.quote { border-top: 2px solid var(--ink); padding-top: 26px; }
.quote p { font-size: 16.5px; color: var(--ink); line-height: 1.6; margin-bottom: 24px; }
.quote p::before { content: "“"; }
.quote p::after { content: "”"; }
.quote__who { display: flex; align-items: center; gap: 12px; }
.quote__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-dim); color: var(--accent);
  font-size: 13px; font-weight: 700;
}
.quote__name { font-size: 14px; font-weight: 600; color: var(--ink); }
.quote__role { font-size: 12.5px; color: var(--faint); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--hair); }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 2px;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: "+"; flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--hair-strong);
  display: grid; place-items: center;
  font-size: 16px; font-weight: 500; color: var(--body);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--navy); border-color: var(--navy); color: #fff; }
.faq details p { padding: 0 44px 26px 2px; color: var(--body); font-size: 15.5px; max-width: 68ch; }

/* ---------- CTA ---------- */
.cta-wrap { max-width: 1280px; margin: 0 auto; padding: clamp(88px, 11vw, 148px) var(--pad); }
.cta {
  position: relative; overflow: hidden;
  background: var(--navy); border-radius: 26px;
  padding: clamp(48px, 6.5vw, 84px);
  display: grid; grid-template-columns: 1.35fr auto;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 90% at 85% 110%, rgba(87, 140, 255, 0.22), transparent 70%);
}
.cta__copy { position: relative; }
.cta__copy h2 {
  color: #ffffff; font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.14;
}
.cta__copy h2 em { color: #8ab4ff; }
.cta__copy p { color: #b9c8dd; font-size: 16px; margin-top: 18px; max-width: 52ch; }
.cta__action { position: relative; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta__meta { font-size: 13px; color: #8fa2bd; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--hair); }
.footer__inner {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(52px, 6vw, 76px) var(--pad) 48px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.footer__brand p { font-size: 14.5px; color: var(--body); max-width: 34ch; margin-top: 18px; }
.footer__status { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 13px; font-weight: 600; color: #15803d; }
.footer__col h4 {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 16px;
}
.footer__col a {
  display: block; padding: 6px 0;
  color: var(--body); text-decoration: none; font-size: 15px;
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--accent); }
.footer__bar {
  border-top: 1px solid var(--hair);
  max-width: 1280px; margin: 0 auto;
  padding: 22px var(--pad);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--faint);
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero__row { grid-template-columns: 1fr; }
  .split-head { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .svc { grid-template-columns: 44px 1fr; }
  .svc__body { grid-column: 2; }
  .casestudy { grid-template-columns: 1fr; }
  .process-wrap { grid-template-columns: 1fr; }
  .process-side { position: static; }
  .sectors { grid-template-columns: 1fr; gap: 56px; }
  .plans { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; gap: 36px; }
  .cta { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .cs-metrics { grid-template-columns: 1fr 1fr; }
  .clients__inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .tab__type { display: none; }
  .hf-stage { height: 400px; }
  .scene--code, .scene--deploy { font-size: 12px; line-height: 1.9; }
  .hr-kpis { gap: 8px; }
}

@media (max-width: 480px) {
  .nav__cta { display: none; }
  .hero__title { font-size: clamp(34px, 10vw, 40px); }
  .hero__actions .btn--lg { width: 100%; }
  .hero__actions { gap: 12px; }
  .hf-stage { height: 380px; }
  .scene { padding: 16px 16px; }
  .scene--code, .scene--deploy { font-size: 10.5px; }
  .hf-hint { display: none; }
  .hr-kpi { padding: 10px 12px; }
  .hr-kpi b { font-size: 17px; }
  .hr-head h3 { font-size: 16px; }
  .hr-export { padding: 6px 12px; font-size: 12px; }
  .stat__num { font-size: 30px; }
  .svc { grid-template-columns: 1fr; gap: 14px; }
  .svc__num { padding-top: 0; }
  .cta__action .btn--lg { width: 100%; font-size: 14.5px; padding: 16px 18px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .quotes { gap: 28px; }
}

/* touch devices: no cursor glow, calmer hovers */
@media (hover: none) {
  .cursor-glow { display: none; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
