/* =========================================================
   ExpertAds — Design System
   1. Tokens        5. Sections
   2. Base          6. Components
   3. Motion        7. Forms
   4. Layout        8. Responsive
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --ink:            #06060A;
  --ink-2:          #0B0C12;
  --panel:          #101220;
  --panel-2:        #14162a;
  --line:           rgba(255, 255, 255, .09);
  --line-strong:    rgba(255, 255, 255, .16);

  --text:           #EDEEF5;
  --muted:          #9DA3B8;
  --dim:            #6E7488;

  --violet:         #7C6BFF;
  --cyan:           #22D3EE;
  --lime:           #B8FF5C;
  --coral:          #FF7A5A;

  --grad:           linear-gradient(115deg, var(--violet), var(--cyan));
  --grad-soft:      linear-gradient(115deg, rgba(124,107,255,.16), rgba(34,211,238,.16));

  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  34px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 12px rgba(0,0,0,.28);
  --shadow-md: 0 18px 48px rgba(0,0,0,.42);
  --shadow-glow: 0 20px 70px rgba(124,107,255,.28);

  --maxw: 1220px;
  --gut: clamp(20px, 5vw, 56px);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);

  --f-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.65;
  letter-spacing: -0.011em;
  overflow-x: hidden;   /* fallback for browsers without overflow: clip */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.7rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.028em; }
h4 { font-size: 1.05rem; letter-spacing: -0.02em; }

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

::selection { background: rgba(124,107,255,.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--text);
  color: var(--ink);
  border-radius: var(--r-pill);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .85s var(--ease) var(--d, 0ms),
    transform .85s var(--ease) var(--d, 0ms),
    filter .85s var(--ease) var(--d, 0ms);
  filter: blur(6px);
  will-change: opacity, transform;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
  filter: none;
}
[data-reveal="left"]  { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="scale"] { transform: scale(.94); }
/* "lines" is a trigger-only variant: the element itself never moves or
   clips (a clipped element reports 0 intersection and would never fire),
   it just switches .in on so its child .line-mask spans slide up. */
[data-reveal="lines"] { opacity: 1; transform: none; filter: none; }

.line-mask { display: block; overflow: hidden; padding-bottom: .06em; }
.line-mask > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.05s var(--ease) var(--d, 0ms);
}
.in .line-mask > span,
.line-mask.in > span { transform: none; }

@media (max-width: 880px) {
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(26px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; filter: none; clip-path: none; }
  .line-mask > span { transform: none; }
}

/* ---------- 4. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

section { position: relative; }

.section {
  padding-block: clamp(88px, 12vw, 168px);
}
.section--tight { padding-block: clamp(64px, 8vw, 104px); }

.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  border: 0;
  margin: 0;
}

.grid { display: grid; gap: clamp(18px, 2.2vw, 26px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.head--center { margin-inline: auto; text-align: center; }
.head p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  margin-top: 22px;
  max-width: 62ch;
}
.head--center p { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(124,107,255,.18);
}
.head--center .eyebrow { justify-content: center; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 5. Components: chrome ---------- */
.scroll-bar {
  position: fixed;
  inset: 0 auto auto 0;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--grad);
  z-index: 120;
  pointer-events: none;
}

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  pointer-events: none;
  z-index: 130;
  opacity: 0;
  transition: opacity .3s, width .3s var(--ease), height .3s var(--ease),
              margin .3s var(--ease), background-color .3s, border-color .3s;
  mix-blend-mode: difference;
}
.cursor.on { opacity: 1; }
.cursor.grow {
  width: 68px; height: 68px; margin: -34px 0 0 -34px;
  background: rgba(255,255,255,.9);
  border-color: transparent;
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 18px;
  transition: padding .45s var(--ease), background-color .45s var(--ease),
              border-color .45s var(--ease), backdrop-filter .45s;
  border-bottom: 1px solid transparent;
}
.nav.stuck {
  padding-block: 10px;
  background: rgba(6,6,10,.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; color: var(--text); }
.brand svg { height: 38px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.03);
}
.nav__links a {
  position: relative;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-size: .93rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.nav__links a:hover, .nav__links a.active {
  color: var(--text);
  background: rgba(255,255,255,.07);
}
.nav__cta { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  position: relative;
}
.burger span {
  position: absolute;
  left: 13px;
  width: 20px; height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .4s var(--ease), opacity .25s;
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.burger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  padding: 108px var(--gut) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease);
  overflow-y: auto;
}
.drawer.open { clip-path: inset(0 0 0 0); }
.drawer a {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  letter-spacing: -0.03em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.drawer.open a { opacity: 1; transform: none; }
/* `.drawer a` sets a display-size font for the nav links; the CTA button
   inside the drawer must not inherit it. */
.drawer .btn {
  margin-top: 26px;
  justify-content: center;
  font-size: 1rem;
  border-bottom: 0;
  padding: 18px 28px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: var(--grad);
  color: #06060A;
  box-shadow: 0 10px 30px rgba(124,107,255,.3);
}
.btn--primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, var(--cyan), var(--violet));
  opacity: 0;
  transition: opacity .4s var(--ease);
  z-index: -1;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn--primary:hover::after { opacity: 1; }

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255,255,255,.02);
}
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }

.btn--sm { padding: 11px 20px; font-size: .88rem; }
.btn--lg { padding: 18px 34px; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
}
.link-arrow svg { transition: transform .4s var(--ease); width: 15px; height: 15px; }
.link-arrow:hover svg { transform: translateX(5px); }

/* Cards */
.card {
  position: relative;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s var(--ease),
              background-color .5s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
              rgba(124,107,255,.20), transparent 62%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .97rem; }

/* ---------- 6. Sections ---------- */
/* Hero */
.hero {
  position: relative;
  padding: clamp(150px, 20vh, 210px) 0 clamp(70px, 9vw, 110px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  pointer-events: none;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
}
.orb--1 { width: 46vw; height: 46vw; left: -6vw; top: 2vw; background: radial-gradient(circle, rgba(124,107,255,.75), transparent 66%); }
.orb--2 { width: 40vw; height: 40vw; right: -4vw; top: 12vw; background: radial-gradient(circle, rgba(34,211,238,.55), transparent 66%); }
.orb--3 { width: 26vw; height: 26vw; left: 42%; top: 30vw; background: radial-gradient(circle, rgba(255,122,90,.34), transparent 66%); }

.grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero__in { position: relative; z-index: 2; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.04);
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}
.pill b {
  color: var(--text);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--grad-soft);
  border: 1px solid var(--line);
  font-size: .8rem;
}
.dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(184,255,92,.6);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(184,255,92,.5); }
  70%  { box-shadow: 0 0 0 11px rgba(184,255,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,255,92,0); }
}

.hero h1 { max-width: 20ch; }
.hero__sub {
  margin-top: 28px;
  max-width: 56ch;
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
  align-items: center;
}
.hero__note {
  font-size: .87rem;
  color: var(--dim);
  display: flex; align-items: center; gap: 8px;
}

.hero__stats {
  margin-top: clamp(56px, 7vw, 84px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: rgba(10,10,16,.72);
  backdrop-filter: blur(12px);
  padding: 26px clamp(16px, 2vw, 28px);
}
.stat__n {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__l {
  margin-top: 10px;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Marquee */
.marquee {
  position: relative;
  padding-block: 30px;
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.015);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--dim);
  white-space: nowrap;
  transition: color .3s;
}
.marquee__item:hover { color: var(--text); }
.marquee__item::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

/* Services */
.svc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.svc__i {
  position: relative;
  background: var(--ink-2);
  padding: clamp(28px, 3vw, 40px);
  transition: background-color .5s var(--ease);
  overflow: hidden;
}
.svc__i::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .6s var(--ease);
}
.svc__i:hover { background: var(--panel); }
.svc__i:hover::after { transform: scaleX(1); }
.svc__ico {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  color: var(--cyan);
  margin-bottom: 24px;
  transition: transform .5s var(--ease);
}
.svc__i:hover .svc__ico { transform: translateY(-3px) rotate(-6deg); }
.svc__ico svg { width: 23px; height: 23px; }
.svc__i h3 { margin-bottom: 12px; }
.svc__i p { color: var(--muted); font-size: .96rem; }
.svc__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px;
}
.tag {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}

/* Industries */
.ind { display: grid; gap: 14px; }
.ind__i {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(24px, 3vw, 38px) clamp(20px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-2);
  overflow: hidden;
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.ind__i::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.ind__i:hover { border-color: var(--line-strong); transform: translateX(6px); }
.ind__i:hover::before { opacity: 1; }
.ind__i > * { position: relative; z-index: 1; }
.ind__n {
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--dim);
  letter-spacing: .1em;
}
.ind__body h3 { margin-bottom: 10px; }
.ind__body p { color: var(--muted); font-size: .97rem; max-width: 66ch; }
.ind__kpis {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 16px;
}
.ind__go {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--text);
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
  flex: none;
}
.ind__i:hover .ind__go { background: var(--text); color: var(--ink); transform: rotate(45deg); }

/* AI & automation — capability list + pipeline diagram */
.ai { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 74px); align-items: start; }

.ai__caps { display: grid; gap: 16px; }
.ai__cap {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-2);
  transition: border-color .45s var(--ease), transform .45s var(--ease);
}
.ai__cap:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.ai__cap i {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  color: var(--cyan);
}
.ai__cap svg { width: 19px; height: 19px; }
.ai__cap h4 { margin-bottom: 6px; }
.ai__cap p { color: var(--muted); font-size: .93rem; }

/* The pipeline is a real sequence, so the steps are numbered and linked. */
.pipe {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  box-shadow: var(--shadow-md);
}
.pipe__title {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 24px;
}
.pipe__list { display: grid; gap: 0; }
.pipe__step {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding-bottom: 26px;
}
.pipe__step:last-child { padding-bottom: 0; }
/* connector between consecutive nodes */
.pipe__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 16.5px; top: 34px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(124,107,255,.6), rgba(34,211,238,.18));
}
.pipe__dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  font-family: var(--f-mono);
  font-size: .74rem;
  color: var(--cyan);
  position: relative;
  z-index: 1;
}
.pipe__step b { display: block; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; }
.pipe__step span { display: block; color: var(--muted); font-size: .9rem; }
.pipe__step em {
  display: inline-block;
  margin-top: 8px;
  font-style: normal;
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.pipe__step em.auto { color: var(--lime); border-color: rgba(184,255,92,.28); }

/* Process — sticky scroll */
/* The sticky column must stretch to the full row height, otherwise the
   grid item collapses to its content and sticky has no distance to travel. */
.proc { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: stretch; }
/* The grid item stretches to the full row height; its child is what sticks. */
.proc__sticky { align-self: stretch; }
.proc__sticky > .head { position: sticky; top: 128px; }
.proc__bar {
  margin-top: 34px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,.09);
  overflow: hidden;
}
.proc__bar i {
  display: block; height: 100%;
  width: 20%;
  border-radius: 3px;
  background: var(--grad);
  transition: width .6s var(--ease);
}
.proc__steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 2.4vw, 30px);
  padding: clamp(24px, 2.8vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-2);
  transition: border-color .5s var(--ease), background-color .5s var(--ease), transform .5s var(--ease);
}
.step.on { border-color: rgba(124,107,255,.5); background: var(--panel); transform: translateY(-2px); }
.step__n {
  font-family: var(--f-mono);
  font-size: .82rem;
  color: var(--dim);
  padding-top: 5px;
  transition: color .4s;
}
.step.on .step__n { color: var(--cyan); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .96rem; }
.step ul { margin-top: 16px; display: grid; gap: 9px; }
.step li {
  position: relative;
  padding-left: 24px;
  font-size: .92rem;
  color: var(--muted);
}
.step li::before {
  content: "";
  position: absolute; left: 0; top: .52em;
  width: 12px; height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

/* Split feature / why us */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 74px); align-items: center; }
.why { display: grid; gap: 20px; }
.why__i {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.why__i:last-child { border-bottom: 0; padding-bottom: 0; }
.why__ico {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  color: var(--cyan);
}
.why__ico svg { width: 20px; height: 20px; }
.why__i h4 { margin-bottom: 6px; }
.why__i p { color: var(--muted); font-size: .95rem; }

/* Dashboard mock */
.mock {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.mock__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.mock__bar span {
  margin-left: 10px;
  font-family: var(--f-mono);
  font-size: .72rem;
  color: var(--dim);
}
.mock__body { padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 20px; }
.mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.026);
}
.mini b {
  display: block;
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.mini small { color: var(--dim); font-size: .74rem; letter-spacing: .02em; }
.mini em {
  font-style: normal;
  font-size: .72rem;
  color: var(--lime);
  font-family: var(--f-mono);
}
.chart {
  display: flex;
  align-items: flex-end;
  gap: clamp(6px, 1.1vw, 11px);
  height: 168px;
  padding-top: 8px;
}
.chart i {
  flex: 1;
  border-radius: 6px 6px 3px 3px;
  background: var(--grad);
  opacity: .28;
  height: var(--h, 30%);
  transform-origin: 50% 100%;
  transform: scaleY(0);
  transition: transform .9s var(--ease) var(--d, 0ms), opacity .5s var(--ease);
}
.chart.in i { transform: scaleY(1); }
.chart i:nth-last-child(-n+3) { opacity: 1; }

/* Pricing */
.price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan {
  position: relative;
  padding: clamp(26px, 2.8vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .5s var(--ease), border-color .5s var(--ease);
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.plan--hot {
  border-color: rgba(124,107,255,.5);
  background: linear-gradient(180deg, rgba(124,107,255,.09), rgba(20,22,42,.6));
  box-shadow: var(--shadow-glow);
}
.plan__badge {
  position: absolute;
  top: -12px; left: clamp(26px, 2.8vw, 36px);
  padding: 5px 13px;
  border-radius: var(--r-pill);
  background: var(--grad);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.plan h3 { font-size: 1.22rem; }
.plan__price {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan__price small { display: block; margin-top: 8px; font-size: .82rem; color: var(--dim); font-weight: 400; letter-spacing: 0; }
.plan__desc { color: var(--muted); font-size: .94rem; }
.plan ul { display: grid; gap: 11px; margin-top: 2px; }
.plan li {
  position: relative;
  padding-left: 27px;
  font-size: .93rem;
  color: var(--muted);
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0; top: .28em;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid var(--line);
}
.plan li::after {
  content: "";
  position: absolute;
  left: 5.4px; top: .62em;
  width: 6px; height: 3px;
  border-left: 1.6px solid var(--cyan);
  border-bottom: 1.6px solid var(--cyan);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-family: var(--f-display);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color .3s;
}
.faq__q:hover { color: var(--cyan); }
.faq__sign {
  position: relative;
  width: 34px; height: 34px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform .5s var(--ease), background-color .4s;
}
.faq__sign::before, .faq__sign::after {
  content: "";
  position: absolute;
  inset: 50% 26% auto 26%;
  height: 1.6px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform .45s var(--ease), opacity .3s;
}
.faq__sign::after { transform: translateY(-50%) rotate(90deg); }
.faq__i.open .faq__sign { transform: rotate(135deg); background: rgba(255,255,255,.06); }
.faq__a {
  overflow: hidden;
  height: 0;
  transition: height .55s var(--ease);
}
.faq__a p {
  color: var(--muted);
  font-size: .98rem;
  padding-bottom: 28px;
  max-width: 78ch;
}

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote {
  padding: clamp(26px, 2.8vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-2);
  display: flex; flex-direction: column; gap: 20px;
  transition: transform .5s var(--ease), border-color .5s var(--ease);
}
.quote:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.quote__mark {
  font-family: var(--f-display);
  font-size: 2.4rem;
  line-height: .6;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.quote p { font-size: 1rem; color: var(--text); }
.quote footer {
  display: flex; align-items: center; gap: 13px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .88rem;
  flex: none;
}
.quote cite { font-style: normal; font-weight: 600; font-size: .93rem; display: block; }
.quote small { color: var(--dim); font-size: .82rem; }

/* CTA band */
.cta {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(44px, 6vw, 84px) clamp(26px, 4vw, 64px);
  background: linear-gradient(150deg, rgba(124,107,255,.15), rgba(34,211,238,.08) 55%, transparent);
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  width: 60%; height: 200%;
  left: 50%; top: -50%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(124,107,255,.30), transparent);
  filter: blur(50px);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta p { color: var(--muted); max-width: 58ch; margin: 22px auto 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* ---------- 7. Contact & forms ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(34px, 5vw, 74px); align-items: start; }

.offices { display: grid; gap: 14px; margin-top: 34px; }
.office {
  display: flex; align-items: flex-start; gap: 15px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-2);
  transition: border-color .4s var(--ease);
}
.office:hover { border-color: var(--line-strong); }
.office .flag { font-size: 1.5rem; line-height: 1.2; }
.office b { display: block; font-family: var(--f-display); letter-spacing: -0.02em; }
.office span { color: var(--muted); font-size: .89rem; }
.office em { font-style: normal; color: var(--dim); font-size: .82rem; font-family: var(--f-mono); }

.form {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--muted);
}
.field label span { color: var(--coral); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(6,6,10,.6);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239DA3B8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
}
.field select option { background: var(--ink-2); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(124,107,255,.6);
  background: rgba(6,6,10,.9);
  box-shadow: 0 0 0 3px rgba(124,107,255,.14);
}
.field.err input, .field.err select, .field.err textarea { border-color: var(--coral); }
.field__err {
  font-size: .78rem;
  color: var(--coral);
  display: none;
}
.field.err .field__err { display: block; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__row .field { margin-bottom: 18px; }
.consent {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: .84rem; color: var(--muted);
  margin: 4px 0 22px;
}
.consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--violet); flex: none; }
/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__err {
  display: none;
  align-items: flex-start; gap: 11px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255,122,90,.36);
  border-radius: var(--r-sm);
  background: rgba(255,122,90,.08);
  color: var(--coral);
  font-size: .9rem;
}
.form__err.on { display: flex; }
.form__err svg { flex: none; margin-top: 2px; }

.btn[aria-busy="true"] { opacity: .72; pointer-events: none; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(56px, 7vw, 82px) 34px;
  background: linear-gradient(180deg, transparent, rgba(124,107,255,.05));
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(30px, 4vw, 56px);
  padding-bottom: 46px;
}
.footer__brand p {
  color: var(--muted);
  font-size: .93rem;
  margin-top: 20px;
  max-width: 38ch;
}
.footer h4 {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 11px; }
.footer__col a {
  color: var(--muted);
  font-size: .93rem;
  transition: color .3s, transform .3s var(--ease);
  display: inline-block;
}
.footer__col a:hover { color: var(--text); transform: translateX(3px); }
.footer__bot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: .85rem;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted);
  transition: border-color .35s, color .35s, transform .35s var(--ease);
}
.socials a:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-3px); }
.socials svg { width: 16px; height: 16px; }

/* ---------- Thank-you page ---------- */
.ty {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: clamp(90px, 14vh, 150px);
  overflow: hidden;
}
.ty__in { position: relative; z-index: 2; max-width: 720px; }

.ty__badge {
  width: 74px; height: 74px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(184, 255, 92, .34);
  color: var(--lime);
  margin-bottom: 32px;
}
.ty__badge svg { width: 32px; height: 32px; }

.ty h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.ty__sub {
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--muted);
  max-width: 56ch;
}

/* The steps are a real sequence with real timings, so they are numbered. */
.ty__steps {
  display: grid;
  gap: 1px;
  margin-top: clamp(38px, 5vw, 54px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.ty__step {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 22px clamp(18px, 2.4vw, 28px);
  background: var(--ink-2);
}
.ty__step b { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; }
.ty__step p { color: var(--muted); font-size: .93rem; margin-top: 4px; }
.ty__n {
  font-family: var(--f-mono);
  font-size: .78rem;
  color: var(--cyan);
}
.ty__when {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.ty__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; align-items: center; }

@media (max-width: 640px) {
  .ty__step { grid-template-columns: 30px 1fr; gap: 12px; }
  .ty__when { grid-column: 2; justify-self: start; margin-top: 10px; }
}

/* ---------- Silktide consent manager ---------- */
/* The library ignores the `theme` key in its JS config — colours come from
   these custom properties on its wrapper. Primary buttons use --primaryColor
   as their background and --backgroundColor as their text, so the pair has to
   stay contrasting. */
#stcm-wrapper {
  --primaryColor: #7C6BFF;
  --backgroundColor: #101220;
  --textColor: #EDEEF5;
  --iconColor: #06060A;
  --iconBackgroundColor: #7C6BFF;
  --fontFamily: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --boxShadow: 0 18px 48px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .09);
}

/* ---------- 8. Responsive ---------- */
@media (max-width: 1080px) {
  .svc, .price, .quotes { grid-template-columns: repeat(2, 1fr); }
  .proc { grid-template-columns: 1fr; }
  .proc__sticky > .head { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .nav__links, .nav__cta .btn { display: none; }
  .burger { display: block; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .split, .contact, .ai { grid-template-columns: 1fr; }
  .ind__i { grid-template-columns: 1fr; gap: 14px; }
  .ind__go { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand svg { height: 32px; }
  .svc, .price, .quotes { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .footer__top { grid-template-columns: 1fr; }
  .mock__row { grid-template-columns: 1fr 1fr; }
  .chart { height: 120px; }
}
