/* =========================================================================
   TitanCore Media — Landing Page
   1. Tokens
   2. Reset & base
   3. Layout primitives
   4. Typography & shared components
   5. Header / navigation
   6. Hero
   7. Problem
   8. How it works
   9. Services
   10. Why TitanCore
   11. Results
   12. Offer
   13. CTA + form
   14. FAQ
   15. Footer
   16. Motion & reveal
   17. Responsive
   ========================================================================= */

/* ------------------------------- 1. Tokens ------------------------------ */
:root {
  /* Surfaces */
  --bg:            #08090a;
  --bg-2:          #0b0d0f;
  --surface:       #101315;
  --surface-2:     #15181b;
  --surface-3:     #1b1f23;

  /* Lines */
  --line:          rgba(255, 255, 255, .085);
  --line-2:        rgba(255, 255, 255, .14);
  --line-3:        rgba(255, 255, 255, .22);

  /* Text */
  --text:          #f3f4f5;
  --text-2:        #a5abb2;
  --text-3:        #7d848c;   /* 4.9:1 on --bg — passes WCAG AA for body text */

  /* Accent — used sparingly: CTAs, ticks, numerals */
  --accent:        #ff4d1c;
  --accent-2:      #ff8a5c;          /* accessible accent for small text */
  --accent-soft:   rgba(255, 77, 28, .12);
  --accent-line:   rgba(255, 77, 28, .32);
  --on-accent:     #0b0603;

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Rhythm */
  --shell:         1200px;
  --gutter:        clamp(1.25rem, 5vw, 2.5rem);
  --section-y:     clamp(5rem, 11vw, 9.5rem);
  --radius:        14px;
  --radius-lg:     22px;

  /* Motion */
  --ease:          cubic-bezier(.22, .61, .36, 1);
  --ease-out:      cubic-bezier(.16, 1, .3, 1);
  --header-h:      72px;
}

/* ---------------------------- 2. Reset & base --------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, .97rem + .15vw, 1.0625rem);
  line-height: 1.68;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
svg { height: auto; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

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

::selection { background: var(--accent); color: var(--on-accent); }

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  padding: .75rem 1.25rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  border-radius: 0 0 10px 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* Fine film grain — adds depth without weight */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* -------------------------- 3. Layout primitives ------------------------ */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}
.section:first-of-type { border-top: 0; }

.section__head { max-width: 46rem; margin-bottom: clamp(2.75rem, 6vw, 4.5rem); }

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.35rem + 2.9vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.032em;
  margin-top: 1.1rem;
  text-wrap: balance;
}

.section__lead {
  margin-top: 1.35rem;
  color: var(--text-2);
  font-size: clamp(1.03rem, .99rem + .25vw, 1.175rem);
  max-width: 40rem;
  text-wrap: pretty;
}

/* ------------------- 4. Typography & shared components ------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.eyebrow__num { color: var(--accent-2); }
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* Vertical sheen so multi-line headlines stay consistent line to line */
.grad {
  background: linear-gradient(180deg, #ffffff 8%, #c6cbd0 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dot { color: var(--accent); -webkit-text-fill-color: var(--accent); }

/* Buttons */
.btn {
  --btn-py: .95rem;
  --btn-px: 1.6rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: var(--btn-py) var(--btn-px);
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.01em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              border-color .25s var(--ease), color .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset,
              0 12px 34px -14px rgba(255, 77, 28, .85);
}
.btn--primary:hover {
  background: #ff6033;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .28) inset,
              0 18px 44px -14px rgba(255, 77, 28, .95);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--line-3); background: rgba(255, 255, 255, .035); }

.btn--sm { --btn-py: .68rem; --btn-px: 1.15rem; font-size: .875rem; }
/* Full-width buttons carry longer CTA copy in narrow containers — let the
   label wrap to a second line instead of spilling past the pill edges. */
.btn--block {
  display: flex;
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

.btn__icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }

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

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  color: var(--accent);
  transition: transform .4s var(--ease);
}
.brand__mark svg { width: 100%; height: 100%; }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.04); }
.brand__text {
  display: flex;
  align-items: baseline;
  gap: .38rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -.02em;
}
.brand__sub {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* --------------------------- 5. Header / nav ---------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .35s var(--ease), border-color .35s var(--ease),
              backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(8, 9, 10, .78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }

.nav__link {
  position: relative;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--text); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 5px; width: 18px; }
.nav-toggle__bars i {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* -------------------------------- 6. Hero ------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6.5rem));
  padding-bottom: 0;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -18%;
  left: 50%;
  width: min(1100px, 130vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 62% 38%, rgba(255, 77, 28, .16), transparent 58%),
    radial-gradient(circle at 30% 20%, rgba(120, 150, 255, .07), transparent 55%);
  filter: blur(20px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 1.6rem + 2.75vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  margin-top: 1.4rem;
  text-wrap: balance;
}
.hero__title .grad { display: inline-block; }

/* Pain hook — the recognition line, sized between eyebrow and headline */
.hero__hook {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, .98rem + .45vw, 1.35rem);
  line-height: 1.32;
  letter-spacing: -.02em;
}
.hero__hook span,
.hero__hook strong { display: block; }
.hero__hook span { color: var(--text-3); }
.hero__hook strong { font-weight: 600; color: var(--text); }

.hero__lead {
  margin-top: 1.6rem;
  max-width: 34rem;
  color: var(--text-2);
  font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2.25rem;
}

.hero__micro {
  margin-top: 1.15rem;
  font-size: .84rem;
  color: var(--text-3);
}

.hero__audience {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .55rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero__audience li {
  padding: .42rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8rem;
  color: var(--text-2);
  background: rgba(255, 255, 255, .018);
}

/* Hero visual — illustrative acquisition console */
/* Padding keeps the floating cards inside the section's overflow */
.hero__visual { position: relative; padding-block: clamp(1.5rem, 3vw, 2.5rem); }

.console {
  position: relative;
  padding: 1.35rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(168deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, 0) 42%),
    var(--surface);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .95),
              0 0 0 1px rgba(255, 255, 255, .02);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .6s var(--ease-out);
}
.hero__visual:hover .console { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }

.console__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.console__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.015em;
}
.console__live {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.console__live i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s var(--ease) infinite;
}

/* Pipeline schematic — the four stages of the system, drawn as a flow */
.pipeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 1.35rem 0 1.25rem;
}
.pipeline__stage {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: start;
  gap: .95rem;
  padding-bottom: 1.15rem;
}
.pipeline__stage--last { padding-bottom: 0; }

/* Connector between stage nodes */
.pipeline__stage:not(.pipeline__stage--last)::before {
  content: "";
  position: absolute;
  left: 14.5px;
  top: 30px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-line), var(--line));
  transform: scaleY(0);
  transform-origin: top;
}
.is-visible .pipeline__stage::before { animation: growY .5s var(--ease-out) forwards; }

.pipeline__node {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: .62rem;
  color: var(--text-2);
}
.pipeline__stage--last .pipeline__node {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-2);
}
.pipeline__body b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.015em;
  line-height: 1.5;
}
.pipeline__body em {
  display: block;
  font-style: normal;
  font-size: .78rem;
  color: var(--text-3);
  line-height: 1.45;
}

/* Stagger the stages in as the visual reveals */
.js .pipeline__stage { opacity: 0; transform: translateY(8px); }
.is-visible .pipeline__stage { animation: stageIn .55s var(--ease-out) forwards; }
.is-visible .pipeline__stage:nth-child(1) { animation-delay: .30s; }
.is-visible .pipeline__stage:nth-child(2) { animation-delay: .45s; }
.is-visible .pipeline__stage:nth-child(3) { animation-delay: .60s; }
.is-visible .pipeline__stage:nth-child(4) { animation-delay: .75s; }
.is-visible .pipeline__stage:nth-child(1)::before { animation-delay: .40s; }
.is-visible .pipeline__stage:nth-child(2)::before { animation-delay: .55s; }
.is-visible .pipeline__stage:nth-child(3)::before { animation-delay: .70s; }

.console__out {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.console__out-label {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.console__out-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: -.015em;
  color: var(--accent-2);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .95rem;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(18, 21, 24, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 1);
  font-size: .78rem;
  animation: bob 6s var(--ease) infinite;
}
.float-card strong { display: block; font-size: .8rem; font-weight: 600; }
.float-card em {
  display: block;
  font-style: normal;
  color: var(--text-3);
  font-size: .72rem;
}
.float-card--lead { right: -4%; top: 0; }
.float-card--reel { left: -6%; bottom: -1.25rem; animation-delay: -3s; }
.float-card__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #35d07f;
  box-shadow: 0 0 0 4px rgba(53, 208, 127, .14);
  flex: none;
}
.float-card__icon {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-2);
  flex: none;
}
.float-card__icon svg { width: 16px; height: 16px; }

/* Marquee strip */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 1.05rem;
  background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}
.marquee__track span[aria-hidden] { color: var(--accent); font-size: .55rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* --------------------------- 6b. Positioning band ----------------------- */
.statement {
  position: relative;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(90% 140% at 50% 0%, rgba(255, 77, 28, .055), transparent 62%),
    var(--bg-2);
}
.statement__inner { max-width: 60rem; text-align: center; }
.statement__line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.14;
  letter-spacing: -.035em;
  margin-top: 1.25rem;
  text-wrap: balance;
}
.statement__sub {
  max-width: 38rem;
  margin: 1.35rem auto 0;
  color: var(--text-2);
  font-size: clamp(1rem, .97rem + .25vw, 1.1rem);
  text-wrap: pretty;
}

/* ------------------------------ 7. Problem ------------------------------ */
/* Journey rail — the path a client travels, and where it breaks */
.journey {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 0;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  border-bottom: 1px solid var(--line);
}
.journey__step {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(.92rem, .88rem + .2vw, 1.05rem);
  letter-spacing: -.015em;
  color: var(--text-3);
  /* Transparent rule on every step keeps leak/non-leak baselines aligned */
  padding-bottom: 2px;
  border-bottom: 1px dashed transparent;
}
.journey__step::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: clamp(1rem, 3vw, 2.75rem);
  height: 1px;
  margin: 0 clamp(.6rem, 1.4vw, 1rem);
  background: var(--line-2);
}
.journey__step--end { color: var(--text); }
.journey__step--end::after { display: none; }

/* Leak points get a dashed underline and a quiet caption */
.journey__step--leak {
  color: var(--accent-2);
  border-bottom-color: var(--accent-line);
}
.journey__tag {
  position: absolute;
  left: 0; top: calc(100% + 6px);
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}

.problems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.problem {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--bg);
  transition: background-color .35s var(--ease);
}
.problem:hover { background: var(--surface); }
.problem__index {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--text-3);
}
.problem__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -.02em;
  margin: .9rem 0 .6rem;
}
.problem p { color: var(--text-2); font-size: .95rem; }
.problem--sum { background: var(--surface-2); }
.problem--sum .problem__title { color: var(--accent-2); }
.problem--sum .link-arrow { margin-top: 1.1rem; }

/* -------------------- 7b. Why it happens (missing parts) ---------------- */
.missing {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.missing__item {
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: var(--bg);
  transition: background-color .35s var(--ease);
}
.missing__item:hover { background: var(--surface); }
.missing__item h3 {
  position: relative;
  padding-left: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -.02em;
  margin-bottom: .6rem;
}
.missing__item h3::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.missing__item p { color: var(--text-2); font-size: .88rem; line-height: 1.6; }

/* --------------------------- 8. How it works ---------------------------- */
.steps {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.5rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.step {
  position: relative;
  padding: clamp(1.5rem, 2.1vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(16, 19, 21, .35) 100%);
  overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease-out);
}
.step:hover { border-color: var(--line-2); transform: translateY(-4px); }
.step:hover::before { transform: scaleX(1); }

.step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 3.4vw, 2.9rem);
  line-height: 1;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-3);
  margin-bottom: 1.25rem;
}
.step:hover .step__num { -webkit-text-stroke-color: var(--accent-line); }

.step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.1rem + .55vw, 1.5rem);
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: .7rem;
}
.step__text { color: var(--text-2); font-size: .93rem; }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.5rem; }
.chips li {
  padding: .34rem .7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ------------------------------ 9. Services ----------------------------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--bg);
  transition: background-color .4s var(--ease);
}
.service::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.service:hover { background: var(--surface); }
.service:hover::after { opacity: .8; }

/* Stage flow rail — the spine the six components run along */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 0;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}
.flow__step {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(.9rem, .87rem + .2vw, 1.02rem);
  letter-spacing: -.015em;
  color: var(--text-2);
}
.flow__step::after {
  content: "";
  width: clamp(1.25rem, 4vw, 3.5rem);
  height: 1px;
  margin: 0 clamp(.7rem, 1.6vw, 1.15rem);
  background: linear-gradient(90deg, var(--line-3), var(--line));
}
.flow__step--end { color: var(--accent-2); }
.flow__step--end::after { display: none; }
.flow__num {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--text-3);
}
.flow__step--end .flow__num { color: var(--accent); }

.service__tag {
  display: inline-block;
  padding: .24rem .6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}
/* Second component in the same stage: read as a continuation of the
   sibling's tag, not a second stage heading — quieter, no border. */
.service__tag--group {
  border-color: transparent;
  background: transparent;
  padding-inline: 0;
  opacity: .6;
}
.service__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -.025em;
  margin: 1.1rem 0 .55rem;
}
.service p { color: var(--text-2); font-size: .94rem; }

/* The reason the component exists, ahead of what it involves */
.service p.service__why {
  color: var(--text);
  font-size: .98rem;
  font-weight: 500;
  letter-spacing: -.015em;
  margin-bottom: .6rem;
}
.service__num {
  position: absolute;
  top: clamp(1.75rem, 3vw, 2.5rem);
  right: clamp(1.75rem, 3vw, 2.5rem);
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--text-3);
  opacity: .5;
}

.services__note {
  margin-top: 2rem;
  max-width: 34rem;
  color: var(--text-3);
  font-size: .92rem;
}

/* --------------------------- 10. Why TitanCore -------------------------- */
/* Comparison as an aligned spec sheet: shared axis, two readings */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.compare__row {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.05rem, 2.2vw, 1.5rem) clamp(1.35rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line);
}
.compare__row:first-child { border-top: 0; }

/* The TitanCore column is lifted the whole height of the table */
.compare__row > :last-child {
  position: relative;
  padding-left: clamp(1rem, 2.5vw, 1.75rem);
}
.compare__row > :last-child::before {
  content: "";
  position: absolute;
  left: 0; top: -50vh; bottom: -50vh;
  width: 1px;
  background: var(--accent-line);
}

.compare__row--head {
  background: rgba(255, 255, 255, .022);
  padding-block: clamp(1.15rem, 2.4vw, 1.65rem);
}
.compare__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(.95rem, .92rem + .2vw, 1.05rem);
  letter-spacing: -.02em;
}
.compare__heading--muted { color: var(--text-3); }
.compare__heading--accent { color: var(--text); }

.compare__axis {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.compare__a {
  color: var(--text-3);
  font-size: clamp(.95rem, .92rem + .2vw, 1.05rem);
}
.compare__b {
  color: var(--text);
  font-weight: 500;
  font-size: clamp(.95rem, .92rem + .25vw, 1.1rem);
  letter-spacing: -.015em;
}
.compare__note {
  margin-top: 1.5rem;
  max-width: 38rem;
  color: var(--text-3);
  font-size: .92rem;
}

/* Inline CTA — gives a convinced reader somewhere to go mid-page */
.cta-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem 2rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.cta-inline p {
  flex: 1 1 22rem;
  max-width: 40rem;
  color: var(--text-2);
  font-size: .95rem;
}

/* ------------------------------ 11. Results ----------------------------- */
/* Trust panels — standards and fit, in place of unverifiable results */
.trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}
.trust__panel { padding: clamp(1.6rem, 3vw, 2.5rem); background: var(--bg); }
.trust__title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-bottom: 1.1rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}
.trust__title--split { margin-top: 2.25rem; }

.fit { display: grid; gap: .8rem; }
.fit li {
  position: relative;
  padding-left: 1.65rem;
  font-size: .95rem;
  color: var(--text-2);
}
.fit--yes li::before,
.fit--no li::before {
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: .85rem;
  line-height: 1.6;
}
.fit--yes li { color: var(--text); }
.fit--yes li::before { content: "+"; color: var(--accent-2); }
.fit--no li::before { content: "–"; color: var(--text-3); }

/* The TitanCore Standard — four commitments */
.standard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.standard__item {
  position: relative;
  padding: clamp(1.75rem, 3.2vw, 2.75rem);
  background: var(--bg);
  transition: background-color .35s var(--ease);
}
.standard__item:hover { background: var(--surface); }
.standard__num {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--accent-2);
}
.standard__item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 1.1rem + .45vw, 1.5rem);
  letter-spacing: -.03em;
  margin: .9rem 0 .7rem;
}
.standard__item p { color: var(--text-2); font-size: .95rem; }

.standard__report {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 1.1rem;
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  padding: 1.05rem clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-2);
  font-size: .9rem;
}
.standard__report span {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* What happens after you book */
.after {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.5rem);
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}
.after__step {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.after__num {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: .66rem;
}
.after__step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: -.025em;
  margin: 1.15rem 0 .6rem;
}
.after__step p { color: var(--text-2); font-size: .93rem; }

/* Case-study cards — unused until real results exist (template in index.html) */
.cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
}
.case {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.case:hover { transform: translateY(-4px); border-color: var(--line-2); }

.case__visual {
  position: relative;
  padding: 1.25rem;
  height: 132px;
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(255, 77, 28, .16), transparent 62%),
    var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.case__badge {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.case__spark {
  position: absolute;
  inset: auto 0 0 0;
  height: 70px;
  color: var(--accent);
  opacity: .85;
}
.case__spark svg { width: 100%; height: 100%; }

.case__body { padding: clamp(1.4rem, 2.6vw, 1.9rem); flex: 1; display: flex; flex-direction: column; }
.case__who {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.case__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
  letter-spacing: -.025em;
  margin: .8rem 0 1.35rem;
}
.case__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  padding: 1.1rem 0;
  border-block: 1px solid var(--line);
}
.case__stats b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.03em;
  color: var(--accent-2);
}
.case__stats span { display: block; font-size: .72rem; color: var(--text-3); line-height: 1.4; }
.case__quote {
  margin-top: 1.25rem;
  color: var(--text-3);
  font-size: .9rem;
  font-style: italic;
}
.case__quote span {
  border-bottom: 1px dashed var(--accent-line);
  padding-bottom: 1px;
}

/* ------------------------------- 12. Offer ------------------------------ */
.offer {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
}
.outcomes { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.outcome {
  display: flex;
  gap: 1.15rem;
  padding: clamp(1.35rem, 2.6vw, 1.9rem) 0;
  background: var(--bg);
  padding-inline: clamp(0rem, 1vw, .5rem);
}
.outcome__stage {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .04em;
  margin-top: .15rem;
}
.outcome__label {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: .4rem;
}
.outcome h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -.025em;
  margin-bottom: .45rem;
}
.outcome p { color: var(--text-2); font-size: .94rem; }

.offer__panel {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), transparent 45%),
    var(--surface);
  box-shadow: 0 40px 90px -60px rgba(0, 0, 0, 1);
}
.offer__panel-title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.offer__includes { display: grid; gap: .7rem; margin: 1.35rem 0; font-size: .93rem; }
.offer__includes li { position: relative; padding-left: 1.5rem; color: var(--text-2); }
.offer__includes li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.offer__note {
  padding-top: 1.3rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: .85rem;
}

/* ---------------------------- 13. CTA + form ---------------------------- */
.section--cta {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}
.cta__glow {
  position: absolute;
  left: 50%; top: 50%;
  width: min(1000px, 120vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 77, 28, .13), transparent 62%);
  pointer-events: none;
}
.cta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(2.25rem, 5vw, 4rem);
  align-items: center;
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.05rem, 1.35rem + 3.1vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -.038em;
  margin-top: 1.15rem;
  text-wrap: balance;
}
.cta__lead {
  margin-top: 1.4rem;
  color: var(--text-2);
  font-size: clamp(1rem, .97rem + .3vw, 1.14rem);
  max-width: 32rem;
}
.cta__lead--sub {
  margin-top: 1.1rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  font-size: .95rem;
  color: var(--text-3);
}

.cta-form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: rgba(16, 19, 21, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 50px 100px -60px rgba(0, 0, 0, 1);
}
.cta-form__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -.025em;
  padding-bottom: 1.25rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.field { margin-bottom: 1rem; }
.field label {
  display: block;
  margin-bottom: .45rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-2);
}
.field__opt { color: var(--text-3); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-size: .95rem;
  color: var(--text);
  transition: border-color .25s var(--ease), background-color .25s var(--ease),
              box-shadow .25s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 88px; line-height: 1.55; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='m1 1.5 5 5 5-5' stroke='%2371787f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.field select:invalid { color: var(--text-3); }
.field option { background: var(--surface-2); color: var(--text); }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: none; }

.field.has-error input,
.field.has-error select { border-color: #ff5b5b; }
.field__error { margin-top: .4rem; font-size: .78rem; color: #ff7d7d; }

.hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cta-form__micro {
  margin-top: .9rem;
  text-align: center;
  font-size: .78rem;
  color: var(--text-3);
}
.cta-form__status {
  margin-top: .85rem;
  font-size: .87rem;
  text-align: center;
  color: var(--accent-2);
}
.cta-form__status:empty { margin-top: 0; }
.cta-form.is-sent .cta-form__status { color: #4ade80; }

/* -------------------------------- 14. FAQ ------------------------------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.faq__head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__cta { margin-top: 1.75rem; }

.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__heading { margin: 0; font-size: inherit; font-weight: inherit; }
.acc__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.4rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, .97rem + .25vw, 1.14rem);
  letter-spacing: -.02em;
  color: var(--text-2);
  transition: color .25s var(--ease);
}
.acc__trigger:hover { color: var(--text); }
.acc__trigger[aria-expanded="true"] { color: var(--text); }

.acc__icon {
  position: relative;
  flex: none;
  width: 32px; height: 32px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 11px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__trigger[aria-expanded="true"] .acc__icon {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-2);
}
.acc__trigger[aria-expanded="true"] .acc__icon::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease-out);
}
.acc__panel.is-open { grid-template-rows: 1fr; }
.acc__content { overflow: hidden; }
.acc__content p {
  padding-bottom: 1.5rem;
  padding-right: clamp(0rem, 4vw, 3rem);
  color: var(--text-2);
  font-size: .96rem;
}

/* ------------------------------ 15. Footer ------------------------------ */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: 2rem;
  background: var(--bg);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer__tagline {
  margin-top: 1.15rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.footer__desc { margin-top: .8rem; color: var(--text-3); font-size: .88rem; max-width: 22rem; }

.footer__title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.15rem;
}
.footer__title--lang { margin-top: 1.75rem; }

.footer__nav ul,
.footer__contact ul { display: grid; gap: .7rem; }
.footer__nav a,
.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .9rem;
  color: var(--text-2);
  transition: color .25s var(--ease);
}
.footer__nav a:hover,
.footer__contact a:hover { color: var(--accent-2); }
.footer__contact svg { width: 17px; height: 17px; flex: none; }

.footer__langs { display: flex; align-items: center; gap: .7rem; }
.footer__langs li { font-family: var(--font-mono); font-size: .78rem; color: var(--text-2); }
.footer__langs li[aria-hidden] { color: var(--text-3); opacity: .5; }
.footer__langs abbr { text-decoration: none; letter-spacing: .1em; }

.footer__cta p { color: var(--text-3); font-size: .88rem; margin-bottom: 1.25rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--text-3);
}

/* --------------------------- 16. Motion & reveal ------------------------ */
/* Hidden starting states live behind `.js` so the page is fully readable
   when JavaScript is unavailable. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes growY  { to { transform: scaleY(1); } }
@keyframes stageIn{ to { opacity: 1; transform: none; } }
@keyframes pulse  { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes bob    { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes marquee{ to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .console { transform: none; }
  .js .pipeline__stage { opacity: 1; transform: none; }
  .pipeline__stage::before { transform: scaleY(1); }
  .marquee__track { animation: none; }
}

/* ----------------------------- 17. Responsive --------------------------- */
@media (max-width: 1080px) {
  .problems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases { grid-template-columns: minmax(0, 1fr); }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .missing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .standard { grid-template-columns: minmax(0, 1fr); }
  .after { grid-template-columns: minmax(0, 1fr); }
  .offer { grid-template-columns: minmax(0, 1fr); }
  .offer__panel { position: static; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { margin-top: 1rem; }
  .console { transform: none; }
  .float-card--lead { right: 0; top: -4%; }
  .float-card--reel { left: 0; bottom: 6%; }

  .cta { grid-template-columns: minmax(0, 1fr); }

  /* Mobile navigation */
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.25rem var(--gutter) 2rem;
    background: rgba(8, 9, 10, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__link {
    display: block;
    padding: 1rem 0;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--text);
  }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 1.5rem; width: 100%; --btn-py: .95rem; font-size: .95rem; }
}

@media (max-width: 680px) {
  :root { --header-h: 64px; }
  .problems { grid-template-columns: minmax(0, 1fr); }
  .services { grid-template-columns: minmax(0, 1fr); }
  .missing { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); }

  /* Journey rail reads as a stacked list once connectors would crowd.
     The underline is dropped here so it can't sit below the caption. */
  .journey { display: grid; gap: .85rem; }
  .journey__step { padding-bottom: 0; border-bottom: 0; }
  .journey__step::after { display: none; }
  .journey__tag { position: static; display: block; margin-top: .2rem; }

  /* Comparison stacks into labelled pairs, keeping the axis readable */
  .compare__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .35rem 1rem;
    padding-block: 1.15rem;
  }
  .compare__axis { grid-column: 1 / -1; }
  .compare__row--head .compare__axis { display: none; }
  .compare__row > :last-child { padding-left: 1rem; }

  /* Same reasoning as .btn--block: these buttons only go full-width at
     narrow breakpoints, where the longer CTA copy needs room to wrap. */
  .hero__actions .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
  .cta-inline .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
  .float-card { font-size: .72rem; padding: .55rem .75rem; }
  .float-card--lead { right: -2%; }
  .float-card--reel { left: -2%; }
  .case__stats { gap: .5rem; }
  .footer__bottom { flex-direction: column; }

  /* The flow rail reads as a stacked list once connectors would crowd */
  .flow { display: grid; gap: .65rem; }
  .flow__step::after { display: none; }
}

@media (max-width: 400px) {
  .hero__audience li { font-size: .74rem; }
}

/* Print — keep it readable if someone prints the offer */
@media print {
  .site-header, .marquee, .hero__glow, .cta__glow, .grain, .float-card { display: none !important; }
  body { background: #fff; color: #000; }
  .section { border-color: #ddd; }
}
