/* =============================================================
   Cue Sheet Services
   Self-contained stylesheet. No build step, no dependencies.

   Contents
   1.  Design tokens (colours, type, spacing)
   2.  Base / reset
   3.  Layout helpers
   4.  Buttons + chips
   5.  Header / nav
   6.  Hero
   7.  Sections (problem, how, different, formats, why)
   8.  FAQ
   9.  Contact / form
   10. Footer
   11. Motion + responsive
   ============================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Palette: warm paper, near-black ink, one amber accent. */
  --paper:      #FBFAF7;
  --paper-2:    #F2EFE8;
  --ink:        #0E1116;
  --ink-2:      #161A21;
  --ink-3:      #1F252E;
  --text:       #14181E;
  --muted:      #585F6B;
  --muted-light:#9AA3B0;
  --line:       #E5E1D8;
  --line-dark:  rgba(255, 255, 255, 0.12);

  --accent:        #E0A340; /* amber, used for fills + on-dark accents */
  --accent-strong: #8A5F0D; /* deep bronze for amber text on light (meets WCAG AA) */
  --accent-soft:   rgba(224, 163, 64, 0.14);

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Fluid type scale */
  --fs-eyebrow: 0.78rem;
  --fs-body:    1.0625rem;
  --fs-lead:    clamp(1.075rem, 0.9rem + 0.7vw, 1.3rem);
  --fs-h3:      1.2rem;
  --fs-h2:      clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  --fs-h1:      clamp(2.3rem, 1.5rem + 3.6vw, 3.9rem);

  /* Spacing + shape */
  --container: 1140px;
  --container-narrow: 760px;
  --header-h: 4.25rem;
  --radius:   14px;
  --radius-sm: 9px;
  --section-y: clamp(3.75rem, 2.5rem + 5vw, 7rem);
  --shadow:   0 1px 2px rgba(14, 17, 22, 0.05), 0 12px 30px -12px rgba(14, 17, 22, 0.18);
  --shadow-lg:0 30px 70px -24px rgba(14, 17, 22, 0.45);

  /* Subtle film-grain texture for dark sections (grayscale noise). */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll-progress transport bar (width driven by script.js). */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 60;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), #f0c069);
  will-change: transform;
  pointer-events: none;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem; /* keep anchors clear of the sticky header */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 1rem; }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 0.5rem + 3vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--paper-2); }
.section--ink {
  background-color: var(--ink);
  background-image: var(--grain);
  background-size: 200px 200px;
  background-blend-mode: soft-light;
  color: #EDEFF2;
}

.section__head { max-width: 52rem; margin-bottom: clamp(2rem, 1.2rem + 2.5vw, 3.25rem); }
.section__title { font-size: var(--fs-h2); }
.section__title--light { color: #fff; }
.section__lead {
  margin-top: 1rem;
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 42rem;
}
.section--ink .section__lead { color: var(--muted-light); }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--dark { color: var(--accent-strong); }

/* ---------- 4. Buttons + chips ---------- */
.btn {
  --btn-py: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--btn-py) 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
  will-change: transform;
}
.btn--sm { --btn-py: 0.6rem; padding-inline: 1.05rem; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn--lg { --btn-py: 1.05rem; padding-inline: 2rem; font-size: 1.1rem; }

.btn--accent {
  background: var(--accent);
  color: #1c1402;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 10px 24px -12px rgba(224,163,64,0.9);
}
.btn--accent:hover { background: #ecb255; transform: translateY(-2px); }
.btn--accent:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: #EDEFF2;
  border-color: var(--line-dark);
}
.btn--ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.28); transform: translateY(-2px); }
.btn--ghost::after {
  content: "\2192";
  transition: transform 0.2s ease;
}
.btn--ghost:hover::after { transform: translateX(4px); }

.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip {
  padding: 0.6rem 1.05rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  box-shadow: var(--shadow);
}
.section--alt .chip { background: #fff; }
.chip--muted {
  background: transparent;
  border-style: dashed;
  color: var(--muted);
  font-weight: 500;
  box-shadow: none;
}

/* Formats marquee: chips scroll as a ticker, pausing on hover. */
.marquee {
  overflow: hidden;
  padding-block: 0.3rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__inner {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee__inner { animation-play-state: paused; }
.marquee__track {
  flex-wrap: nowrap;
  width: max-content;
  gap: 0.7rem;
  padding-right: 0.7rem;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__inner { animation: none; width: 100%; }
  .marquee__track { flex-wrap: wrap; width: auto; padding-right: 0; }
  .marquee__track + .marquee__track { display: none; }
}

/* ---------- 5. Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 17, 22, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: #EDEFF2;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.brand__mark { color: var(--accent); display: inline-flex; }
.brand__name { font-size: 1.05rem; }

.site-nav { display: flex; align-items: center; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-menu a {
  position: relative;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 550;
  color: #C9CFD8;
  transition: color 0.15s ease;
}
.nav-menu a:hover { color: #fff; }
/* Underline wipe on hover (not the CTA button). */
.nav-menu li:not(.nav-menu__cta) a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-menu li:not(.nav-menu__cta) a:hover::after { transform: scaleX(1); }
.nav-menu__cta a { color: #1c1402; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: #EDEFF2;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  background-color: var(--ink);
  background-image: var(--grain);
  background-size: 200px 200px;
  background-blend-mode: soft-light;
  color: #EDEFF2;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}
.hero__bg {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background:
    radial-gradient(70% 60% at 78% 8%, rgba(224,163,64,0.16), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(224,163,64,0.07), transparent 55%);
  animation: heroGlowDrift 18s ease-in-out infinite alternate;
}
@keyframes heroGlowDrift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 1.5%, 0) scale(1.07); }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.hero__waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 230px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero__wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;        /* two seamless tiles; animate by -50% to loop */
  max-width: none;    /* override the global svg max-width:100% */
  height: 100%;
  will-change: transform;
}
.hero__wave path {
  fill: none;
  stroke: var(--accent);
  vector-effect: non-scaling-stroke;
}
.hero__wave--1 { animation: waveScrollA 16s linear infinite; }
.hero__wave--1 path { stroke-width: 1.6; opacity: 0.34; }
.hero__wave--2 { animation: waveScrollB 24s linear infinite; }
.hero__wave--2 path { stroke-width: 1.2; opacity: 0.20; }
.hero__wave--3 { animation: waveScrollA 34s linear infinite; }
.hero__wave--3 path { stroke-width: 1; opacity: 0.13; }

@keyframes waveScrollA {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes waveScrollB {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.hero__copy, .hero__visual { min-width: 0; }

.hero__title {
  font-size: var(--fs-h1);
  margin-bottom: 1.25rem;
  color: #fff;
}
.hero__subtitle {
  font-size: var(--fs-lead);
  color: #C5CCD6;
  max-width: 34rem;
}

.hero__hook {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
  padding: 0.7rem 1.1rem 0.7rem 0.95rem;
  background: var(--accent-soft);
  border: 1px solid rgba(224, 163, 64, 0.35);
  border-radius: 999px;
  font-weight: 650;
  color: #F4D9A6;
}
.hero__hook-mark {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(224, 163, 64, 0.22);
  flex: none;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 2.1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-dark);
}
.hero__trust li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.93rem;
  color: #B9C1CC;
}
.hero__trust li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 0.55rem; height: 0.3rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Sample cue card */
.cue-card {
  position: relative;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.1rem 1.25rem;
  overflow: hidden;
}

/* Playhead: an amber scan band sweeps down the card, "identifying" each cue. */
.cue-card__scan {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}
.cue-card__scan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(224, 163, 64, 0.14) 11%,
    rgba(224, 163, 64, 0.42) 15%,
    rgba(224, 163, 64, 0.14) 19%,
    transparent 30%
  );
  animation: cueScan 3.8s linear infinite;
}
@keyframes cueScan {
  0%   { transform: translateY(-32%); opacity: 0; }
  12%  { opacity: 1; }
  84%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}
.cue-card__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--line-dark);
}
.cue-card__dot { width: 10px; height: 10px; border-radius: 50%; background: #3a424e; flex: none; }
.cue-card__dot:first-child { background: var(--accent); }
.cue-card__file {
  margin-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Equalizer animation */
.eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 38px;
  margin-bottom: 1rem;
}
.eq__bar {
  flex: 1;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), rgba(224, 163, 64, 0.35));
  border-radius: 2px;
  transform-origin: bottom;
  animation: eq 1.3s ease-in-out infinite;
}
@keyframes eq {
  0%, 100% { transform: scaleY(0.25); }
  50%      { transform: scaleY(1); }
}

.cue-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.cue-table th {
  text-align: left;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-light);
  padding: 0 0.5rem 0.55rem 0;
}
.cue-table td {
  padding: 0.5rem 0.5rem 0.5rem 0;
  border-top: 1px solid var(--line-dark);
  color: #D6DBE2;
  white-space: nowrap;
}
.cue-table td.mono { color: var(--accent); }
.cue-table th:nth-child(2), .cue-table td:nth-child(2) { white-space: normal; }
.cue-card__caption {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--muted-light);
}

/* ---------- 7. Sections ---------- */
/* Problem */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.problem-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.problem-card__title {
  font-size: var(--fs-h3);
  margin-bottom: 0.5rem;
}
.problem-card p { color: var(--muted); font-size: 0.99rem; }

/* Audio fingerprinting callout (last resort, but a new capability) */
.callout {
  display: flex;
  gap: clamp(1rem, 0.8rem + 1vw, 1.8rem);
  align-items: flex-start;
  margin-top: 1.6rem;
  padding: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem);
  background: var(--accent-soft);
  border: 1px solid rgba(224, 163, 64, 0.4);
  border-radius: var(--radius);
}
.callout__glyph {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  color: var(--accent-strong);
  background: rgba(224, 163, 64, 0.14);
  border: 1px solid rgba(224, 163, 64, 0.45);
  border-radius: 50%;
}
.callout__tag {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5b3f08;
  background: rgba(224, 163, 64, 0.32);
  border-radius: 999px;
}
.callout__title {
  font-size: clamp(1.2rem, 1rem + 1.1vw, 1.6rem);
  line-height: 1.2;
  max-width: 28ch;
}
.callout__text {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 1rem;
  max-width: 64ch;
}

/* How it works */
.steps {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  counter-reset: step;
}
/* Timeline connector drawn through the step badges (shows in the gaps).
   Draws in on scroll where supported; otherwise shows as a static line. */
.steps::before {
  content: "";
  position: absolute;
  top: 2.9rem;
  left: 2.7rem;
  right: 2.7rem;
  height: 2px;
  z-index: -1;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(224, 163, 64, 0.35));
  transform: scaleX(1);
  transform-origin: left;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .steps::before {
      transform: scaleX(0);
      animation: drawTrack linear both;
      animation-timeline: view();
      animation-range: entry 20% cover 46%;
    }
  }
}
@keyframes drawTrack { to { transform: scaleX(1); } }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem; height: 2.6rem;
  margin-bottom: 1rem;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 10px;
}
.step__title { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.99rem; }

/* Accepted input formats (what the customer can send) */
.io-formats { margin-top: clamp(1.8rem, 1.2rem + 1.5vw, 2.6rem); }
.io-formats__label {
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* What makes us different */
.different {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.different__copy, .different__panel { min-width: 0; }
.different__lead {
  margin-top: 1rem;
  font-size: var(--fs-lead);
  color: var(--muted-light);
}
.different__list {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
}
.different__list li {
  position: relative;
  padding-left: 1.9rem;
  color: #C5CCD6;
}
.different__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 0.7rem; height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(224,163,64,0.18);
}
.different__list strong { color: #fff; display: block; margin-bottom: 0.15rem; }

.different__panel {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem);
}
.pipeline { display: grid; gap: 0; }
.pipeline__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
}
.pipeline__row--out {
  background: var(--accent-soft);
  border-color: rgba(224,163,64,0.4);
}
.pipeline__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  width: 4.7rem;
  flex: none;
}
.pipeline__desc { color: #D6DBE2; font-size: 0.95rem; }
.pipeline__arrow {
  width: 2px;
  height: 1.1rem;
  margin: 0.3rem 0 0.3rem 1.1rem;
  background: linear-gradient(var(--accent), transparent);
  position: relative;
}
.pipeline__arrow::after {
  content: "";
  position: absolute;
  left: -3px; bottom: 0;
  border: 4px solid transparent;
  border-top-color: var(--accent);
}

/* Why us / values */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.1rem;
}
.value {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.value__title {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
  padding-top: 0.9rem;
  border-top: 3px solid var(--accent);
  display: inline-block;
}
.value p { color: var(--muted); font-size: 0.98rem; }

/* Cursor-follow spotlight on cards. --mx/--my are set by script.js on hover. */
.problem-card,
.step,
.value {
  position: relative;
  isolation: isolate;
}
.problem-card::before,
.step::before,
.value::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(224, 163, 64, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.problem-card:hover::before,
.step:hover::before,
.value:hover::before { opacity: 1; }

/* Proof points (placeholders) */
.proof {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.2rem;
  margin-top: 1.8rem;
}
.is-placeholder {
  position: relative;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(14,17,22,0.018) 12px, rgba(14,17,22,0.018) 24px);
}
.placeholder-tag {
  position: absolute;
  top: 0.8rem; right: 0.8rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
}
.testimonial { margin: 0; padding: 1.8rem; }
.testimonial blockquote {
  margin: 0 0 1.1rem;
  font-size: 1.18rem;
  line-height: 1.45;
  color: var(--text);
}
.testimonial figcaption { color: var(--muted); font-size: 0.92rem; }
.testimonial__name { font-weight: 650; color: var(--text); display: block; }

.logos { padding: 1.8rem; }
.logos__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.logos__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted-light);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--paper);
}

/* ---------- 8. FAQ ---------- */
.faq { display: grid; gap: 0.7rem; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-weight: 650;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 0.7rem; height: 0.7rem;
  border-right: 2px solid var(--accent-strong);
  border-bottom: 2px solid var(--accent-strong);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__item summary:hover { color: var(--accent-strong); }
.faq__body { padding: 0 1.35rem 1.3rem; }
.faq__body p { color: var(--muted); }

/* ---------- 9. Contact (email CTA) ---------- */
.contact--email {
  max-width: 660px;
  margin-inline: auto;
  text-align: center;
}
.contact__lead {
  margin: 1rem auto 0;
  font-size: var(--fs-lead);
  color: var(--muted-light);
  max-width: 38rem;
}
.contact__email {
  margin-top: 1.9rem;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.contact__note {
  margin: 1.2rem auto 0;
  font-size: 0.88rem;
  color: var(--muted-light);
  max-width: 30rem;
}

/* ---------- 10. Footer ---------- */
.site-footer {
  background-color: #0A0C10;
  background-image: var(--grain);
  background-size: 200px 200px;
  background-blend-mode: soft-light;
  color: #B9C1CC;
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  border-top: 1px solid var(--line-dark);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}
.site-footer__privacy {
  color: var(--muted-light);
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: none;
}
.site-footer__privacy:hover { color: #fff; text-decoration: underline; }
.site-footer__legal-line {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted-light);
}

/* ---------- 11. Scroll reveal (progressive enhancement) ---------- */
/* The .reveal class is added by script.js. Without JS, content shows normally.
   Disabled entirely for visitors who prefer reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  /* Hero content rises in on load, staggered. */
  .hero__copy > *,
  .hero__visual {
    animation: heroIn 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero__copy > :nth-child(1) { animation-delay: 0.05s; }
  .hero__copy > :nth-child(2) { animation-delay: 0.13s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.21s; }
  .hero__copy > :nth-child(4) { animation-delay: 0.29s; }
  .hero__copy > :nth-child(5) { animation-delay: 0.37s; }
  .hero__copy > :nth-child(6) { animation-delay: 0.45s; }
  .hero__visual { animation-delay: 0.32s; }
}

/* ---------- 12. Responsive ---------- */
/* The step connector assumes four steps in a row. */
@media (max-width: 1024px) {
  .steps::before { display: none; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { order: -1; }
  .different { grid-template-columns: minmax(0, 1fr); }
  .proof { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    padding: 0.5rem 1.15rem 1.25rem;
    box-shadow: var(--shadow-lg);
    transform-origin: top;
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .site-header__inner { position: relative; }
  .nav-menu li { padding: 0.2rem 0; }
  .nav-menu a { display: block; padding: 0.6rem 0; font-size: 1.05rem; }
  .nav-menu__cta { margin-top: 0.6rem; }
  .nav-menu__cta a { display: inline-flex; }

  /* Cue card: drop the writer + publisher columns so the sample fits cleanly. */
  .cue-table th:nth-child(3), .cue-table td:nth-child(3),
  .cue-table th:nth-child(4), .cue-table td:nth-child(4) { display: none; }
  .cue-table { font-size: 0.86rem; }

  .logos__row { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .eq__bar { transform: scaleY(0.6); }
}
