/*
  Ecom 360° — landing page.

  The page follows the film: a night ground, one signal colour (marigold) that
  marks the half of each headline carrying the promise, and the product shown
  as light windows lit from above. One bold element: the cockpit ring of the
  hero, where the four channels sit on one orbit around the command bar. The
  page ends where the film ends, on the signature, set on a full marigold band.
  Tokens mirror apps/web/app/globals.css.
*/

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('assets/fonts/bricolage-grotesque.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('assets/fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/jetbrains-mono.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --night: #070b12;
  --deck: #0f1622;
  --deck-2: #162031;
  --rule: #223047;
  --text: #f3f5f9;
  --text-2: #b3bdcc;
  --text-3: #7f8ca1;
  --signal: #ffc933;
  --signal-deep: #f5b700;
  --on-signal: #0e1726;
  --good: #3cc98a;

  /* The light surface of the product windows. */
  --paper: #ffffff;
  --paper-2: #f2f4f7;
  --ink: #0e1726;
  --muted: #6b778a;
  --line: #e3e7ed;
  --net: #e1306c;

  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Instrument Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --page: 84rem;
  --measure: 33rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
}
.defs {
  position: absolute;
}

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

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  background: var(--signal);
  color: var(--on-signal);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 1rem;
}

/* Headlines: the second half carries the promise, in the signal colour, as in the film. */
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: 'opsz' 96;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}
h1 em,
h2 em,
h3 em,
.loop-rule em,
figcaption em {
  font-style: normal;
  color: var(--signal);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.125rem;
  color: var(--signal);
  font-size: 0.9375rem;
  font-weight: 600;
}
.kicker b {
  display: grid;
  place-items: center;
  width: 1.625rem;
  height: 1.625rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 0.8125rem;
}

.step-body {
  max-width: var(--measure);
  margin-top: 1.375rem;
  color: var(--text-2);
  font-size: 1.125rem;
}

/* ------------------------------------------------------------------ buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.625rem;
  padding: 0 1.125rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 140ms ease,
    background-color 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease;
}
.button svg {
  width: 0.875rem;
  height: 0.875rem;
}
.button-lg {
  height: 3.25rem;
  padding: 0 1.5rem;
  border-radius: 0.875rem;
  font-size: 1rem;
}
.button-signal {
  background: var(--signal);
  color: var(--on-signal);
  box-shadow: 0 10px 30px -10px rgb(255 201 51 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.45);
}
.button-signal:hover {
  background: #ffd75e;
  transform: translateY(-1px);
}
.button-quiet {
  border-color: var(--rule);
  background: rgb(255 255 255 / 0.03);
  color: var(--text);
}
.button-quiet:hover {
  border-color: var(--text-3);
}
.button-ink {
  background: var(--on-signal);
  color: var(--text);
}
.button-ink:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -12px rgb(14 23 38 / 0.6);
}
.button:active {
  transform: translateY(1px);
}

/* ------------------------------------------------------------------ top bar */

/* A capsule floating over the page: it tightens and gains a ground once the page has moved. */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0.75rem var(--gutter) 0;
  pointer-events: none;
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: 1.125rem;
  pointer-events: auto;
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    max-width 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.top.is-scrolled .top-inner {
  max-width: 62rem;
  border-color: rgb(255 255 255 / 0.1);
  background: rgb(15 22 34 / 0.78);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 18px 40px -18px rgb(0 0 0 / 0.8), inset 0 1px 0 rgb(255 255 255 / 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
}
.brand svg {
  width: 1.875rem;
  height: 1.875rem;
}
.brand b {
  color: var(--signal);
  font-weight: inherit;
}

.top-nav {
  display: none;
  gap: 0.25rem;
  margin: 0 auto;
  padding: 0.25rem;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 0.875rem;
  background: rgb(255 255 255 / 0.03);
  font-size: 0.9375rem;
}
.top-nav a {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding: 0.375rem 0.875rem;
  border-radius: 0.625rem;
  color: var(--text-2);
  text-decoration: none;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}
.top-nav a:hover {
  color: var(--text);
  background: rgb(255 255 255 / 0.05);
}
.top-nav a[aria-current='true'] {
  background: rgb(255 255 255 / 0.09);
  color: var(--text);
}
.top-nav svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.75;
  transition:
    stroke 160ms ease,
    opacity 160ms ease;
}
/* The section being read: its icon takes the signal colour. */
.top-nav a[aria-current='true'] svg {
  stroke: var(--signal);
  opacity: 1;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-left: auto;
}
.lang {
  display: flex;
  padding: 3px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.03);
}
.lang button {
  padding: 0.3125rem 0.625rem;
  border: 0;
  border-radius: 0.5rem;
  background: none;
  color: var(--text-3);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}
.lang button:hover {
  color: var(--text);
}
.lang button[aria-pressed='true'] {
  background: var(--text);
  color: var(--night);
}

/* On a phone the film button keeps its place as a round play button. */
.top-cta {
  width: 2.625rem;
  padding: 0;
}
.top-cta span {
  display: none;
}

/* --------------------------------------------------------------------- hero */

.hero {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 6rem) var(--gutter) clamp(3rem, 7vw, 6rem);
}

/* The light of the film: one warm source, top right, and the floor grid fading out. */
.hero::before {
  content: '';
  position: absolute;
  inset: -6rem -50vw 0;
  z-index: -1;
  background:
    radial-gradient(48rem 30rem at 72% 18%, rgb(255 201 51 / 0.16), transparent 62%),
    radial-gradient(40rem 26rem at 18% 60%, rgb(57 135 229 / 0.1), transparent 65%),
    linear-gradient(to bottom, transparent 55%, var(--night)),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.04) 0 1px, transparent 1px 5.5rem),
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0.04) 0 1px, transparent 1px 5.5rem);
  pointer-events: none;
}

.problem {
  display: grid;
  gap: 0.75rem;
  max-width: 36rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--text-3);
  font-size: 1.0625rem;
}
/* The ten tools, scattered: each one a little askew, none of them lined up with the next. */
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.4375rem;
}
.tools i {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.3125rem 0.75rem 0.3125rem 0.5625rem;
  border: 1px dashed rgb(255 255 255 / 0.2);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.03);
  color: var(--text-2);
  font-size: 0.875rem;
  font-style: normal;
  white-space: nowrap;
}
/* Service marks: one size, each in the colour people know it by. */
.ico {
  flex: none;
  width: 1.0625rem;
  height: 1.0625rem;
}
.ico-instagram {
  color: #e1306c;
}
.ico-tiktok {
  color: #25d6cf;
}
.ico-meta {
  color: #3987e5;
}
.ico-search-console {
  color: #7fa9f0;
}
.ico-analytics {
  color: #f0a04b;
}
.ico-claude {
  color: #e08a5c;
}
.ico-youtube {
  color: #ff3d3d;
}
.ico-facebook {
  color: #3987e5;
}
.screen .ico-tiktok {
  color: var(--ink);
}
.screen-title .ico,
.bridge-name .ico {
  align-self: center;
  width: 1.25rem;
  height: 1.25rem;
}

.tools i:nth-child(odd) {
  transform: rotate(-2.5deg) translateY(1px);
}
.tools i:nth-child(3n) {
  transform: rotate(3deg) translateY(-2px);
}
.tools i:nth-child(4n) {
  transform: rotate(-1deg) translateY(3px);
}

h1 {
  font-size: clamp(3rem, 7.6vw, 6.25rem);
  font-weight: 800;
}
h1 span,
h1 em {
  display: block;
}

.lede {
  max-width: 35rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text-2);
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

/* ------------------------------------------------------------------ cockpit */

.cockpit {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  min-width: 0;
}

.orbit {
  --size: min(30rem, 86vw);
  --at: -45deg;
  position: relative;
  width: var(--size);
  height: var(--size);
}

.orbit-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.orbit-track {
  fill: none;
  stroke: rgb(255 255 255 / 0.1);
  stroke-width: 2;
}
.orbit-inner {
  fill: rgb(15 22 34 / 0.85);
  stroke: rgb(255 255 255 / 0.07);
  stroke-width: 1;
}
/* A quarter of the turn, lit, that swings to the chosen channel. */
.orbit-arc {
  fill: none;
  stroke: var(--signal);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 64 296;
  transform-origin: 200px 200px;
  transform: rotate(calc(var(--at) - 90deg - 32deg));
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 0 10px rgb(255 201 51 / 0.65));
}

.orbit-nodes {
  position: absolute;
  inset: 0;
}
.node {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  justify-items: center;
  gap: 0.375rem;
  width: 7.5rem;
  margin: -1.75rem 0 0 -3.75rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform: rotate(var(--a)) translateY(calc(var(--size) * -0.42)) rotate(calc(var(--a) * -1));
}
.node svg {
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.9375rem;
  border: 1.5px solid var(--rule);
  border-radius: 50%;
  background: var(--deck-2);
  fill: none;
  stroke: var(--text-2);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    border-color 200ms ease,
    background-color 200ms ease,
    stroke 200ms ease,
    box-shadow 200ms ease;
}
.node span {
  padding: 0.0625rem 0.5rem;
  border-radius: 0.5rem;
  background: var(--night);
  color: var(--text-3);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  transition: color 200ms ease;
}
.node:hover svg {
  border-color: var(--text-3);
  stroke: var(--text);
}
.node[aria-pressed='true'] svg {
  border-color: var(--signal);
  background: var(--signal);
  stroke: var(--on-signal);
  box-shadow: 0 0 0 6px rgb(255 201 51 / 0.14), 0 0 36px rgb(255 201 51 / 0.45);
}
.node[aria-pressed='true'] span {
  color: var(--text);
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  justify-items: center;
  gap: 0.625rem;
  width: 56%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.core-label {
  color: var(--text-3);
  font-size: 0.8125rem;
}
.core-command {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.75rem;
  width: 100%;
  font-family: var(--body);
  font-size: clamp(0.8125rem, 2.2vw, 0.9375rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.core-command output::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  background: var(--signal);
  vertical-align: text-bottom;
  animation: caret 900ms steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.orbit-core kbd {
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--rule);
  border-radius: 0.375rem;
  color: var(--text-3);
  font-family: var(--body);
  font-size: 0.75rem;
}

.console-log {
  display: grid;
  gap: 0.5rem;
  width: min(100%, 31rem);
  min-height: 9.5rem;
  align-content: start;
}
.console-log li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.875rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 0.875rem;
  background: rgb(15 22 34 / 0.9);
  font-size: 0.9375rem;
  line-height: 1.4;
  animation: rise 240ms ease-out both;
}
.console-log li::before {
  content: '';
  flex: none;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--good);
}
.console-log li > span {
  flex: 1;
  min-width: 11rem;
}
.console-log li.waiting {
  border-color: rgb(255 201 51 / 0.5);
  box-shadow: 0 0 28px -8px rgb(255 201 51 / 0.35);
}
.console-log li.waiting::before {
  background: var(--signal);
}
.console-log .decide {
  display: flex;
  gap: 0.5rem;
}
.console-log .decide button {
  height: 2rem;
  padding: 0 0.875rem;
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  background: none;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.console-log .decide button:first-child {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--on-signal);
}
.console-log li.done {
  color: var(--text-2);
}
.console-log li.refused::before {
  background: var(--text-3);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* -------------------------------------------------------------------- needs */

/* Three ways in, by what the brand needs fixed; each card leads to its channel. */
.needs {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3.5rem, 8vw, 6rem);
}
.needs h2 {
  max-width: 20ch;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
}
.needs-list {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}
.need {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 1rem;
  background: var(--deck);
  text-decoration: none;
  transition: border-color 200ms ease;
}
.need:hover,
.need:focus-visible {
  border-color: var(--signal);
}
.need-name {
  color: var(--signal);
  font-size: 0.9375rem;
  font-weight: 600;
}
.need-problem {
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}
.need-fix {
  color: var(--text-2);
}
.need-go {
  margin-top: auto;
  padding-top: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
}
.need-go::after {
  content: ' →';
  color: var(--signal);
}
@media (min-width: 56rem) {
  .needs-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------------------- how */

/* What it is, before what it does: a decision instead of a figure, the loop, the two pillars. */
.how {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter) clamp(3.5rem, 8vw, 6rem);
}
.how h2 {
  max-width: 22ch;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
}
.versus {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}
.versus-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 1rem;
  background: var(--deck);
}
.versus-us {
  border-color: var(--signal);
}
.versus-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-3);
  font-size: 0.9375rem;
  font-weight: 600;
}
.versus-us .versus-name {
  color: var(--signal);
}
.versus-name svg {
  width: 1.25rem;
  height: 1.25rem;
}
.versus-say {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: pretty;
}
.versus-card:not(.versus-us) .versus-say {
  color: var(--text-2);
}
.versus-act {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}
.cycle {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.75rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.cycle li {
  position: relative;
  display: grid;
  gap: 0.375rem;
  padding: 1.125rem 1.125rem 1.25rem;
  border-top: 2px solid var(--signal);
  background: linear-gradient(to bottom, rgb(255 201 51 / 0.08), transparent);
  border-radius: 0 0 0.75rem 0.75rem;
}
.cycle b {
  color: var(--signal);
  font-family: var(--display);
  font-size: 0.875rem;
}
.cycle strong {
  font-family: var(--display);
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}
.cycle span {
  color: var(--text-2);
  font-size: 0.9375rem;
}
.pillars {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}
.pillar {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 1rem;
  background: var(--deck);
}
.pillar h3 {
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  text-wrap: balance;
}
.pillar ul {
  display: grid;
  gap: 0.625rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
}
.pillar li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-2);
}
.pillar li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--signal);
}
.how-rule {
  max-width: 46rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  font-family: var(--display);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}
@media (min-width: 56rem) {
  .versus,
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .versus {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }
}

/* --------------------------------------------------------------------- film */

.film {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(4rem, 9vw, 7.5rem);
}
.film-frame {
  padding: clamp(0.375rem, 1vw, 0.625rem);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 1.5rem;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.02));
  box-shadow: 0 60px 120px -50px rgb(255 201 51 / 0.28), 0 40px 80px -40px rgb(0 0 0 / 0.9);
}
.film video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  background: #000;
}
.film-head {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.film-head h2 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
}
.film-note {
  margin-top: 1rem;
  color: var(--text-3);
  font-size: 0.9375rem;
  text-align: center;
}

/* Where the film file is not hosted, the player and its buttons step aside; the seven steps stay. */
.no-film .film-frame,
.no-film .film-note,
.no-film [data-play] {
  display: none;
}

/* The same reel, to read: seven numbered steps, one on screen at a time. */
.walk {
  margin-top: clamp(3rem, 7vw, 5.5rem);
}
.walk-tabs {
  display: none;
  gap: 0.5rem;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0.25rem var(--gutter) 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.walk-tabs::-webkit-scrollbar {
  display: none;
}
.walk.is-ready .walk-tabs {
  display: flex;
}
.walk-tabs button {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding: 0 1rem 0 0.4375rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--deck);
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}
.walk-tabs b {
  display: grid;
  place-items: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  background: var(--deck-2);
  font-family: var(--display);
  font-size: 0.8125rem;
}
.walk-tabs button:hover {
  border-color: var(--text-3);
  color: var(--text);
}
/* Steps already read keep a trace of the signal; the one on screen carries it. */
.walk-tabs button.is-done b {
  background: rgb(255 201 51 / 0.16);
  color: var(--signal);
}
.walk-tabs button[aria-selected='true'] {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--on-signal);
}
.walk-tabs button[aria-selected='true'] b {
  background: var(--on-signal);
  color: var(--signal);
}

.walk-panel {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(1.25rem, 3vw, 2rem);
}
.walk-panel + .walk-panel {
  margin-top: clamp(3rem, 7vw, 5rem);
}
.walk.is-ready .walk-panel + .walk-panel {
  margin-top: clamp(1.25rem, 3vw, 2rem);
}
.walk-panel[hidden] {
  display: none;
}
.walk-copy h3 {
  max-width: 18ch;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
}
.walk-copy p {
  max-width: var(--measure);
  margin-top: 0.875rem;
  color: var(--text-2);
  font-size: 1.125rem;
}
/* A real screen is wide: on a phone it scrolls sideways rather than shrink to nothing. */
.walk-scroll {
  overflow-x: auto;
  background: var(--paper-2);
}
.walk-scroll img {
  width: 100%;
  min-width: 44rem;
  height: auto;
}
.no-reel-shots .walk-shot {
  display: none;
}

/* ----------------------------------------------------------------- channels */

.channels {
  position: relative;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(2rem, 5vw, 4rem);
  background: linear-gradient(to bottom, var(--deck), var(--night) 28rem);
  border-top: 1px solid rgb(255 255 255 / 0.07);
}

.section-head {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section-head h2 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 6.4vw, 5.25rem);
}

.channels-body {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.step {
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.07);
}
.step:last-child {
  border-bottom: 0;
}
.step h3 {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
}
.step .window {
  margin-top: 2.25rem;
}

/* What you type, and what comes back. */
.agent {
  max-width: var(--measure);
  margin-top: 2rem;
  border: 1px solid var(--rule);
  border-radius: 1rem;
  background: var(--deck);
  overflow: hidden;
}
.agent-command {
  display: grid;
  gap: 0.25rem;
  padding: 0.875rem 1.125rem;
  border-bottom: 1px solid var(--rule);
  background: var(--deck-2);
}
.agent-command span {
  color: var(--text-3);
  font-size: 0.75rem;
}
.agent-command code {
  font-family: var(--body);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}
.agent li {
  position: relative;
  padding: 0.75rem 1.125rem 0.75rem 2.375rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.agent li + li {
  border-top: 1px solid var(--rule);
}
.agent li::before {
  content: '';
  position: absolute;
  left: 1.1875rem;
  top: 1.1875rem;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--good);
}
.agent li.waiting {
  background: rgb(255 201 51 / 0.07);
}
.agent li.waiting::before {
  background: var(--signal);
  box-shadow: 0 0 0 4px rgb(255 201 51 / 0.18);
}

/* ------------------------------------------------------------ product window */

.window {
  position: relative;
  min-width: 0;
  border-radius: 1rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.1),
    0 50px 100px -40px rgb(0 0 0 / 0.9),
    0 30px 90px -30px rgb(255 201 51 / 0.16);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.6875rem 0.9375rem;
  background: #1c2637;
}
.window-bar i {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: #f4776e;
}
.window-bar i:nth-child(2) {
  background: var(--signal);
}
.window-bar i:nth-child(3) {
  background: var(--good);
}
.window-bar span {
  flex: 1;
  margin-left: 0.75rem;
  padding: 0.1875rem 0.75rem;
  border-radius: 0.375rem;
  background: rgb(255 255 255 / 0.06);
  overflow: hidden;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The product itself: its dark rail, then the screen. */
.app {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
}
.rail {
  display: none;
  align-content: start;
  justify-items: center;
  gap: 0.75rem;
  width: 3.25rem;
  padding: 1rem 0;
  background: var(--ink);
  color: #f4f6fa;
}
.rail svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.5rem;
}
.rail i {
  width: 1.375rem;
  height: 0.3125rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
}
.rail i.on {
  background: var(--signal);
}

.screen {
  position: relative;
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  background: var(--paper-2);
  font-size: 0.8125rem;
  line-height: 1.4;
}
.screen-title {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.screen-title .net {
  align-self: center;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--net);
}
.screen-figure {
  margin-left: auto;
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
}
.screen-figure small {
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
}

.rows,
.stats,
.list {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--paper);
  overflow: hidden;
}

.rows {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.rows th {
  padding: 0.5rem 0.875rem;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
.rows td {
  padding: 0.5625rem 0.875rem;
  border-top: 1px solid var(--line);
}
.rows tbody tr:first-child td {
  border-top: 0;
}
.rows thead + tbody tr:first-child td {
  border-top: 1px solid var(--line);
}
.rows .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.rows .focus td {
  background: #fff9e6;
  font-weight: 600;
}
.mono {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  white-space: nowrap;
}

.tag {
  display: inline-block;
  padding: 0.0625rem 0.5625rem;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
}
.tag-wait {
  background: #fff1bf;
  color: #7a5200;
}
.tag-ok {
  background: #dff3e9;
  color: #0f7b4f;
}
.tag-no {
  background: #fbe3e1;
  color: #c0271f;
}

/* Three generated visuals, each with its score and its place in the queue. */
.posters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.poster {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.5rem;
  aspect-ratio: 4 / 5;
  padding: 0.75rem;
  border-radius: 0.75rem;
  color: #fff;
  overflow: hidden;
}
.poster::before {
  content: '';
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  right: -22%;
  top: -18%;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
}
.poster-a {
  background: linear-gradient(155deg, #2b3f66, #0e1726 72%);
}
.poster-b {
  background: linear-gradient(155deg, #f5b700, #b4530a 85%);
}
.poster-c {
  background: linear-gradient(155deg, #1f7a66, #0e1726 80%);
}
.poster b {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.0625rem 0.4375rem;
  border-radius: 0.375rem;
  background: #fff;
  color: var(--ink);
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
}
.poster strong {
  position: relative;
  font-family: var(--display);
  font-size: clamp(0.9375rem, 2vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.poster span {
  position: relative;
  padding: 0.125rem 0.4375rem;
  border-radius: 0.25rem;
  background: var(--signal);
  color: var(--on-signal);
  font-size: 0.625rem;
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6.75rem, 1fr));
  gap: 1px;
  background: var(--line);
}
.stats div {
  padding: 0.75rem 0.875rem;
  background: var(--paper);
}
.stats dt {
  color: var(--muted);
  font-size: 0.6875rem;
}
.stats dd {
  margin-top: 0.125rem;
  font-family: var(--display);
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stats .hot {
  box-shadow: inset 0 0 0 2px var(--signal-deep);
  background: #fffbec;
}

.chart {
  width: 100%;
  height: 6.5rem;
  padding: 0.75rem 0 0;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--paper);
}

.list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5625rem 0.875rem;
}
.list li + li {
  border-top: 1px solid var(--line);
}
.list li > span:not(.tag) {
  flex: 1;
  min-width: 0;
}
.articles b {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.875rem;
  height: 1.875rem;
  border: 2px solid var(--good);
  border-radius: 50%;
  font-size: 0.6875rem;
}
.log em {
  display: none;
  color: var(--muted);
  font-style: normal;
  font-size: 0.75rem;
  white-space: nowrap;
}
.log time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.log .tag {
  flex: none;
  width: 5rem;
  text-align: center;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 0.375rem;
  height: 4.5rem;
  padding: 0.75rem 0.875rem 0;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--paper);
}
.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 0.25rem 0.25rem 0 0;
  background: #c9d2de;
}
.bars i:last-child {
  background: var(--ink);
}

/* The decision, floating over the screen it is about. */
.approval {
  position: absolute;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  width: min(78%, 17.5rem);
  padding: 1rem 1.125rem;
  border-radius: 0.875rem;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line), 0 24px 50px -14px rgb(14 23 38 / 0.45);
}
.approval-state {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  color: #7a5200;
  font-size: 0.6875rem;
  font-weight: 600;
}
.approval-state::before {
  content: '';
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--signal-deep);
}
.approval-title {
  margin-top: 0.3125rem;
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.approval-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.pill {
  padding: 0.3125rem 0.875rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.pill-go {
  border-color: #0f7b4f;
  background: #0f7b4f;
  color: #fff;
}

/* Nothing is published until you say so: the article stays a draft, and says it loudly. */
.stamp {
  position: absolute;
  right: 7%;
  top: 34%;
  padding: 0.125rem 0.875rem;
  border: 3px solid var(--on-signal);
  border-radius: 0.5rem;
  background: var(--signal);
  color: var(--on-signal);
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transform: rotate(-7deg);
  box-shadow: 0 18px 36px -12px rgb(14 23 38 / 0.5);
}

.window figcaption {
  padding: 1.125rem 1.5rem 1.25rem;
  background: var(--ink);
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

/* --------------------------------------------------------------------- loop */

.loop {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) var(--gutter);
  border-top: 1px solid rgb(255 255 255 / 0.07);
}
.loop h2 {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
}

.marks {
  display: flex;
  align-items: flex-end;
  gap: 0.875rem;
  height: 10.5rem;
  margin-top: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}
.marks li {
  position: relative;
  width: 5rem;
  height: var(--h);
  border-radius: 0.625rem 0.625rem 0 0;
  background: linear-gradient(to bottom, var(--signal), rgb(255 201 51 / 0.22));
}
.marks span {
  position: absolute;
  inset: auto 0 -1.875rem;
  text-align: center;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}
.loop-rule {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.loop-rule svg {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: var(--signal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------------------------------------------------------------- MCP */

.mcp {
  position: relative;
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) var(--gutter) clamp(4rem, 9vw, 8rem);
  border-top: 1px solid rgb(255 255 255 / 0.07);
}
.mcp h2 {
  max-width: 17ch;
  font-size: clamp(2.75rem, 6.6vw, 5.5rem);
}

.bridge {
  display: grid;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.bridge-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--rule);
  border-radius: 1.25rem;
  background: var(--deck);
}
.bridge-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 600;
}
.bridge-name i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--signal);
}
.bridge-name svg {
  width: 1.375rem;
  height: 1.375rem;
}
.bridge-chat {
  display: grid;
  gap: 0.75rem;
}
.bubble {
  max-width: 26rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.bubble-me {
  justify-self: end;
  border-radius: 1rem 1rem 0.25rem 1rem;
  background: var(--signal);
  color: var(--on-signal);
  font-weight: 600;
}
.bubble-it {
  border: 1px solid var(--rule);
  border-radius: 1rem 1rem 1rem 0.25rem;
  background: var(--deck-2);
  color: var(--text-2);
}
.bridge-product {
  border-color: rgb(255 201 51 / 0.4);
  background: linear-gradient(160deg, rgb(255 201 51 / 0.1), var(--deck) 60%);
}
.bridge-claim {
  text-wrap: balance;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.bridge-detail {
  margin-top: 0.75rem;
  color: var(--text-2);
}
.bridge-link {
  display: grid;
  place-items: center;
  height: 4.5rem;
  background: linear-gradient(var(--signal), var(--signal)) center / 2px 100% no-repeat;
}
.bridge-link span {
  padding: 0.5rem 1.5rem;
  border: 1.5px solid var(--signal);
  border-radius: 999px;
  background: var(--night);
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 700;
  box-shadow: 0 0 36px rgb(255 201 51 / 0.3);
}

/* ---------------------------------------------------------------- signature */

.signature {
  --mark: var(--on-signal);
  display: grid;
  justify-items: center;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  padding: clamp(4.5rem, 11vw, 9rem) var(--gutter);
  background: var(--signal);
  color: var(--on-signal);
  text-align: center;
}
.signature-mark {
  width: clamp(3.5rem, 7vw, 5.5rem);
  height: clamp(3.5rem, 7vw, 5.5rem);
}
.signature h2 {
  display: grid;
  font-size: clamp(3rem, 10vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 1.75rem var(--gutter) 2.5rem;
  color: var(--text-3);
  font-size: 0.875rem;
}
.foot .brand {
  color: var(--text);
  font-size: 1.0625rem;
}
.foot .brand svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ------------------------------------------------------------- narrow screens */

@media (max-width: 39.99rem) {
  .core-label,
  .orbit-core kbd {
    display: none;
  }
  .node {
    width: 6.5rem;
    margin-left: -3.25rem;
  }
  .node svg {
    width: 3rem;
    height: 3rem;
    padding: 0.8125rem;
  }
  .node span {
    font-size: 0.75rem;
  }
}

/* --------------------------------------------------------------- wider screens */

@media (min-width: 40rem) {
  .top-cta {
    width: auto;
    padding: 0 1.125rem;
  }
  .top-cta span {
    display: inline;
  }
  .rail {
    display: grid;
  }
  .log em {
    display: block;
  }
}

@media (min-width: 64rem) {
  .top-nav {
    display: flex;
  }
  .top-nav + .top-actions {
    margin-left: 0;
  }

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
  }
  /* Beside the cockpit the headline takes three lines, not four. */
  h1 {
    font-size: clamp(3rem, 4.7vw, 4.75rem);
  }

  /* The channel copy scrolls; the product stays on stage and changes screen. */
  .channels-body {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2.5rem, 5vw, 5rem);
  }
  .step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 82vh;
    border-bottom: 0;
    opacity: 0.38;
    transition: opacity 400ms ease;
  }
  .step.is-active {
    opacity: 1;
  }
  .stage {
    position: sticky;
    top: 5.5rem;
    display: grid;
    align-items: center;
    height: calc(100vh - 7rem);
  }
  .stage .window {
    grid-area: 1 / 1;
    opacity: 0;
    transform: perspective(120rem) rotateY(-9deg) translateY(1.5rem) scale(0.97);
    transform-origin: left center;
    transition:
      opacity 450ms ease,
      transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
  }
  .stage .window.is-active {
    opacity: 1;
    transform: perspective(120rem) rotateY(-5deg);
  }

  .walk-tabs {
    margin: 0;
    padding: 0.25rem 0 0.75rem;
  }
  .walk-tabs button {
    flex: 1 1 auto;
  }
  .walk-copy {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: end;
  }
  .walk-copy p {
    margin-top: 0;
  }

  .loop {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .window-log {
    transform: perspective(120rem) rotateY(-5deg);
    transform-origin: left center;
  }

  .bridge {
    grid-template-columns: minmax(0, 1.15fr) 10rem minmax(0, 1fr);
    align-items: center;
  }
  .bridge-link {
    height: auto;
    background: linear-gradient(var(--signal), var(--signal)) center / 100% 2px no-repeat;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .step {
    opacity: 1;
  }
}

/* ------------------------------------------------------------------ contact */

/* Talk to us: the copy on one side, the form on the other; it posts to the Takat lead pipe (contact.js). */
.contact {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
}
.contact h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
}
.contact-lede {
  max-width: var(--measure);
  margin-top: 1.25rem;
  color: var(--text-2);
}
.contact-points {
  display: grid;
  gap: 0.625rem;
  margin-top: 1.5rem;
  color: var(--text-2);
  font-size: 0.9375rem;
}
.contact-points li::before {
  content: '✓ ';
  color: var(--good);
  font-weight: 700;
}
.contact-form {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--rule);
  border-radius: 1.25rem;
  background: var(--deck);
}
.contact-form label {
  display: grid;
  gap: 0.375rem;
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 600;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  background: var(--night);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--signal);
  outline-offset: 1px;
  border-color: transparent;
}
.contact-form .trap {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-consent {
  color: var(--text-3);
  font-size: 0.8125rem;
}
.contact-send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.contact-send button[disabled] {
  opacity: 0.6;
  cursor: wait;
}
.contact-status {
  font-size: 0.9375rem;
}
.contact-status[data-kind='ok'] {
  color: var(--good);
}
.contact-status[data-kind='error'] {
  color: #ff8a7a;
}
.signature-talk {
  border-color: rgb(14 23 38 / 0.35);
  color: var(--on-signal);
}
@media (min-width: 40rem) {
  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-form .wide {
    grid-column: 1 / -1;
  }
}
@media (min-width: 64rem) {
  .contact {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

/* The footer's links: the guides and the other language. */
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 1.25rem;
  width: 100%;
}
.foot-nav a {
  color: var(--text-2);
  text-decoration: none;
}
.foot-nav a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ------------------------------------------------------------------- guides */

/* The guides (seo/build.mjs): one readable column, the product's colours, a form at the end. */
.guide-top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  background: rgb(7 11 18 / 0.86);
  backdrop-filter: blur(14px);
}
.guide-top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0.875rem var(--gutter);
}
.guide-top .brand {
  margin-right: auto;
  text-decoration: none;
}
.guide-top-inner > a:not(.brand):not(.button) {
  color: var(--text-2);
  font-size: 0.9375rem;
  text-decoration: none;
}
.guide-top-inner > a:not(.brand):not(.button):hover {
  color: var(--text);
}
.guide {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) var(--gutter) clamp(2.5rem, 6vw, 4rem);
}
.guide .crumbs {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-3);
  font-size: 0.875rem;
}
.crumbs a {
  color: var(--text-2);
  text-decoration: none;
}
.crumbs li + li::before {
  content: '/ ';
  color: var(--text-3);
}
.guide h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.02;
}
.guide h1 span,
.guide h1 em {
  display: inline;
}
.guide-lede {
  margin-top: 1.5rem;
  color: var(--text-2);
  font-size: 1.1875rem;
}
.guide-meta {
  margin-top: 1rem;
  color: var(--text-3);
  font-size: 0.875rem;
}
.guide h2 {
  margin-top: clamp(2.25rem, 5vw, 3rem);
  font-size: clamp(1.5rem, 3.4vw, 2.125rem);
  line-height: 1.1;
}
.guide h3 {
  margin-top: 1.75rem;
  font-size: 1.25rem;
  line-height: 1.2;
}
.guide p,
.guide ul,
.guide ol {
  margin-top: 1rem;
}
.guide ul,
.guide ol {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.25rem;
  list-style: disc;
}
.guide ol {
  list-style: decimal;
}
.guide li::marker {
  color: var(--signal);
}
.guide a {
  color: var(--signal);
}
.guide strong {
  color: var(--text);
}
.guide-answer {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--signal);
  border-radius: 0 0.875rem 0.875rem 0;
  background: var(--deck);
  color: var(--text);
}
.guide-avis {
  margin-top: clamp(2.25rem, 5vw, 3rem);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--signal);
  border-radius: 0 0.875rem 0.875rem 0;
  background: var(--deck);
}
.guide .guide-avis h2 {
  margin-top: 0;
  font-size: 1.25rem;
}
.guide-avis p {
  margin-top: 0.75rem;
  color: var(--text);
}
.guide .guide-avis .guide-avis-sign {
  color: var(--text-3);
  font-size: 0.875rem;
}
.guide-steps {
  counter-reset: step;
  list-style: none !important;
  padding-left: 0 !important;
}
.guide-steps li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1rem 1rem 3.25rem;
  border: 1px solid var(--rule);
  border-radius: 0.875rem;
  background: var(--deck);
}
.guide-steps li::before {
  content: counter(step);
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--signal);
  color: var(--on-signal);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5rem;
  text-align: center;
}
.guide-faq details {
  margin-top: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--rule);
  border-radius: 0.875rem;
  background: var(--deck);
}
.guide-faq summary {
  cursor: pointer;
  font-weight: 600;
}
.guide-faq details p {
  color: var(--text-2);
}
.guide-sources {
  color: var(--text-2);
  font-size: 0.9375rem;
}
.guide-related {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}
.guide-related a {
  display: block;
  padding: 1rem 1.25rem;
  border: 1px solid var(--rule);
  border-radius: 0.875rem;
  background: var(--deck);
  color: var(--text);
  text-decoration: none;
}
.guide-related a:hover {
  border-color: var(--signal);
}
.guide-related small {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-2);
}
.guide-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.guide-hub {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 48rem) {
  .guide-related,
  .guide-hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
