@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #171a1f;
  --ink-deep: #111821;
  --ink-raise: #1d2129;
  --paper: #faf8f2;
  --text: #f4f0e8;
  --text-2: rgba(244, 240, 232, 0.68);
  --text-3: rgba(244, 240, 232, 0.54);
  --gold: #c7a86b;
  --gold-bright: #d6bb84;
  --gold-deep: #8b713f;
  --gold-glow: rgba(199, 168, 107, 0.38);
  --line: rgba(244, 240, 232, 0.1);
  --line-strong: rgba(244, 240, 232, 0.16);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-settle: cubic-bezier(0.16, 1, 0.3, 1);
  --r-control: 10px;
  --r-surface: 16px;
  --shell: min(1240px, 100% - 64px);
  --header-h: 88px;
  color-scheme: dark;
}

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

html {
  background: var(--ink-deep);
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scrollbar-color: rgba(199, 168, 107, 0.45) var(--ink-deep);
  scrollbar-width: thin;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--ink-deep);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.62;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection {
  background: var(--gold);
  color: var(--ink-deep);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ink-deep);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--ink-deep);
  border-radius: 99px;
  background: rgba(199, 168, 107, 0.45);
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.soft {
  color: var(--gold);
  font-weight: 300;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: var(--r-control);
  background: var(--gold);
  color: var(--ink-deep);
  font-weight: 750;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}

.skip-link:focus-visible {
  transform: none;
}

/* Light stream layer */

.stream-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.stream-veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(17, 24, 33, 0.72), rgba(17, 24, 33, 0) 18%),
    radial-gradient(120% 90% at 50% 50%, rgba(17, 24, 33, 0) 55%, rgba(13, 17, 23, 0.7) 100%);
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

/* Glass material: smoked glass with a single top highlight and a hairline edge. */

.glass {
  border-radius: var(--r-surface);
  background:
    linear-gradient(180deg, rgba(244, 240, 232, 0.075), rgba(244, 240, 232, 0.018) 46%),
    rgba(20, 25, 32, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(244, 240, 232, 0.1),
    inset 0 0 0 1px rgba(244, 240, 232, 0.06),
    0 40px 90px -36px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: rgba(23, 26, 31, 0.94);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .glass,
  .nav-bar {
    background: var(--ink-raise);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Settle: sections arrive out of focus and lock into place. Visible by default without JS. */

.js .settle {
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(0, 22px, 0) scale(0.985);
  transition:
    opacity 900ms var(--ease-settle),
    filter 1100ms var(--ease-settle),
    transform 1100ms var(--ease-settle);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.js .glass.settle {
  transform: perspective(1400px) translate3d(0, 34px, 0) rotateX(9deg) scale(0.975);
  transform-origin: 50% 100%;
}

.js .settle.is-settled {
  opacity: 1;
  filter: none;
  transform: none;
}

/* Intro: a gold ring counts the page in, then folds into the wordmark. */

.intro {
  display: none;
}

.intro-pending .intro {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: var(--ink-deep);
}

.intro-ring {
  position: relative;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
}

.intro-ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.intro-track,
.intro-arc {
  fill: none;
  stroke-width: 2;
}

.intro-track {
  stroke: var(--line);
}

.intro-arc {
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 6px var(--gold-glow));
}

.intro-mark {
  width: 46px;
  height: 46px;
  opacity: 0.9;
}

.intro-count {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-3);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.intro-pending .wordmark-tile img {
  opacity: 0;
}

/* Navigation */

.site-header {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 0;
  right: 0;
  pointer-events: none;
}

.nav-bar {
  position: relative;
  width: var(--shell);
  min-height: 60px;
  margin-inline: auto;
  padding: 8px 8px 8px 12px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: var(--r-surface);
  background: rgba(20, 25, 32, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(244, 240, 232, 0.08),
    inset 0 0 0 1px rgba(244, 240, 232, 0.06),
    0 20px 50px -30px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  pointer-events: auto;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
}

.wordmark-tile {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--paper);
}

.wordmark-tile img {
  width: 26px;
  height: 26px;
}

.wordmark-name {
  font-size: 1.02rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.wordmark small {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: var(--r-control);
  color: var(--text-2);
  font-size: 0.86rem;
  font-weight: 620;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(244, 240, 232, 0.06);
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding: 11px 16px;
  background: var(--gold);
  color: var(--ink-deep);
  font-weight: 740;
}

.site-nav .nav-cta:hover {
  background: var(--gold-bright);
  color: var(--ink-deep);
}

.menu-toggle {
  display: none;
}

/* Buttons */

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--r-control);
  font-size: 0.9rem;
  font-weight: 740;
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    background-color 180ms ease,
    box-shadow 220ms ease;
}

.button:active {
  transform: scale(0.97);
}

.button-gold {
  background: var(--gold);
  color: var(--ink-deep);
  box-shadow: 0 10px 30px -12px var(--gold-glow);
}

.button-glass {
  background: rgba(244, 240, 232, 0.06);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

@media (hover: hover) and (pointer: fine) {
  .button-gold:hover {
    background: var(--gold-bright);
    box-shadow: 0 14px 40px -12px rgba(199, 168, 107, 0.55);
  }

  .button-glass:hover {
    background: rgba(244, 240, 232, 0.1);
  }
}

/* Hero */

.hero {
  min-height: 100svh;
  padding-block: 128px 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 48px;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 6.4vw, 6rem);
  font-weight: 720;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 36ch;
  margin-top: 28px;
  color: var(--text-2);
  font-size: 1.12rem;
  line-height: 1.6;
  --i: 1;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  --i: 2;
}

/* Three-layer hero stage: back chart card, flow window, front toast. Each layer shares the
   stage tilt and drifts by its own depth, so the glass in front blurs the layers behind it. */

.hero-stage {
  --rx: 7deg;
  --ry: -15deg;
  --px: 0;
  --py: 0;
  position: relative;
  perspective: 1600px;
  display: grid;
  justify-items: end;
}

.flow-window,
.layer {
  --d: 0;
  transform:
    rotateX(calc(var(--rx) + var(--trx, 0deg))) rotateY(calc(var(--ry) + var(--try, 0deg)))
    translate3d(calc(var(--px) * var(--d) * 14px), calc(var(--py) * var(--d) * 10px), calc(var(--d) * 70px));
  will-change: transform;
}

.flow-window {
  position: relative;
  z-index: 2;
  width: min(100%, 640px);
  padding: 18px 18px 14px;
}

.layer {
  position: absolute;
}

.layer-back {
  --d: -1.4;
  z-index: 1;
  top: -9%;
  right: -7%;
  width: 250px;
  padding: 16px 18px 14px;
}

.layer-front {
  --d: 1.3;
  z-index: 3;
  left: -2%;
  bottom: 9%;
  width: 290px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background:
    linear-gradient(180deg, rgba(244, 240, 232, 0.12), rgba(244, 240, 232, 0.04)),
    rgba(20, 25, 32, 0.42);
}

.layer-title {
  color: var(--text-2);
  font-size: 0.74rem;
  font-weight: 700;
}

.mini-bars {
  height: 92px;
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
}

.mini-bars i {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(199, 168, 107, 0.85), rgba(199, 168, 107, 0.15));
  transform-origin: bottom;
  transform: scaleY(var(--h, 0.5));
  transition: transform 1400ms var(--ease-settle);
  transition-delay: calc(700ms + var(--n, 0) * 70ms);
}

.js .layer-back:not(.is-settled) .mini-bars i {
  transform: scaleY(0.04);
}

.layer-foot {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  color: var(--text-3);
  font-size: 0.62rem;
  font-weight: 650;
  text-align: center;
}

.toast-mark {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--paper);
}

.toast-mark img {
  width: 26px;
  height: 26px;
}

.layer-front b {
  display: block;
  font-size: 0.86rem;
  font-weight: 720;
}

.layer-front span {
  color: var(--text-2);
  font-size: 0.76rem;
}

.layer-front.is-pinging {
  animation: toast-ping 900ms var(--ease-settle);
}

@keyframes toast-ping {
  0% {
    box-shadow:
      inset 0 0 0 1px var(--gold),
      0 0 0 0 rgba(199, 168, 107, 0.5),
      0 40px 90px -36px rgba(0, 0, 0, 0.8);
  }
  100% {
    box-shadow:
      inset 0 1px 0 rgba(244, 240, 232, 0.1),
      0 0 0 18px rgba(199, 168, 107, 0),
      0 40px 90px -36px rgba(0, 0, 0, 0.8);
  }
}

.js .layer {
  opacity: 0;
  filter: blur(14px);
  transition:
    opacity 1000ms var(--ease-settle),
    filter 1200ms var(--ease-settle);
}

.js .layer-back {
  transition-delay: 420ms;
}

.js .layer-front {
  transition-delay: 640ms;
}

.js .layer.is-settled {
  opacity: 1;
  filter: none;
}

.js .flow-window {
  opacity: 0;
  filter: blur(14px);
  transition:
    opacity 1000ms var(--ease-settle) 240ms,
    filter 1200ms var(--ease-settle) 240ms;
}

.js .flow-window.is-settled {
  opacity: 1;
  filter: none;
}

.flow-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 2px 4px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.flow-head strong {
  font-weight: 720;
}

.flow-meta {
  color: var(--text-3);
}

.flow-state {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(199, 168, 107, 0.12);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.flow-canvas {
  position: relative;
  margin: 16px 0 10px;
  aspect-ratio: 600 / 260;
}

.flow-edges {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.edge {
  fill: none;
  stroke: rgba(244, 240, 232, 0.2);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  transition: stroke 300ms ease;
}

.edge.is-hot {
  stroke: var(--gold);
}

.packet {
  fill: var(--paper);
  opacity: 0;
  filter: drop-shadow(0 0 5px var(--gold)) drop-shadow(0 0 12px var(--gold-glow));
}

.packet.is-moving {
  opacity: 1;
}

.node {
  position: absolute;
  width: 25%;
  height: 20%;
  padding: 0 12px;
  display: grid;
  align-content: center;
  border-radius: var(--r-control);
  background: rgba(17, 24, 33, 0.82);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition:
    box-shadow 300ms ease,
    transform 300ms var(--ease-out);
}

.node b {
  font-size: clamp(0.66rem, 1.1vw, 0.82rem);
  font-weight: 720;
  line-height: 1.25;
}

.node span {
  color: var(--text-3);
  font-size: clamp(0.58rem, 0.9vw, 0.7rem);
  line-height: 1.3;
}

.node.is-hot {
  box-shadow:
    inset 0 0 0 1px var(--gold),
    0 0 28px -6px var(--gold-glow);
  transform: translateZ(18px);
}

.node-start {
  left: 3.333%;
  top: 40%;
}

.node-yes {
  left: 40.833%;
  top: 13.846%;
}

.node-no {
  left: 40.833%;
  top: 66.154%;
}

.node-end {
  left: 73.333%;
  top: 40%;
}

.edge-chip {
  position: absolute;
  left: 34.5%;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--ink-deep);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text-3);
  font-size: clamp(0.56rem, 0.85vw, 0.66rem);
  font-weight: 700;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  transition: color 300ms ease, box-shadow 300ms ease;
}

.edge-chip-yes {
  top: 35.4%;
}

.edge-chip-no {
  top: 64.6%;
}

.edge-chip.is-hot {
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(199, 168, 107, 0.5);
}

.flow-log {
  padding: 12px 4px 0;
  border-top: 1px solid var(--line);
}

.flow-log-title {
  margin-bottom: 6px;
  color: var(--text-3);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-log ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-log li {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  padding: 5px 0;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.flow-log time,
.flow-log em {
  color: var(--text-3);
  font-style: normal;
}

.flow-log li.is-new {
  animation: log-in 700ms var(--ease-settle);
}

.flow-log li.is-new time {
  color: var(--gold);
}

@keyframes log-in {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(-6px);
  }
}

.flow-caption {
  margin-top: 10px;
  padding-inline: 4px;
  color: var(--text-3);
  font-size: 0.7rem;
}

/* Reach line */

.reach {
  padding-block: 40px 140px;
}

.reach-title {
  max-width: 30ch;
  color: var(--text-2);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.reach-line {
  --i: 1;
  position: relative;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
}

.reach-line::before,
.reach-line::after {
  content: "";
  position: absolute;
  top: 29px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 1px;
}

.reach-line::before {
  background: var(--line-strong);
}

.reach-line::after {
  width: 90px;
  right: auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
}

.reach-line li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--text-2);
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
}

.mono-tile {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--ink-raise);
  box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 1px 0 rgba(244, 240, 232, 0.08);
  color: var(--text-2);
  font-size: 0.84rem;
  font-weight: 760;
  letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: no-preference) {
  .reach-line.is-settled::after {
    animation: reach-pulse 6s linear infinite;
  }

  .reach-line.is-settled .mono-tile {
    animation: reach-ignite 6s linear infinite;
  }

  .reach-line li:nth-child(1) .mono-tile { animation-delay: 0.35s; }
  .reach-line li:nth-child(2) .mono-tile { animation-delay: 1.15s; }
  .reach-line li:nth-child(3) .mono-tile { animation-delay: 1.95s; }
  .reach-line li:nth-child(4) .mono-tile { animation-delay: 2.75s; }
  .reach-line li:nth-child(5) .mono-tile { animation-delay: 3.55s; }
  .reach-line li:nth-child(6) .mono-tile { animation-delay: 4.35s; }
}

@keyframes reach-pulse {
  0% {
    opacity: 0;
    transform: translateX(-45px);
  }
  6% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  88%,
  100% {
    opacity: 0;
    transform: translateX(calc(var(--reach-span, 900px) - 45px));
  }
}

@keyframes reach-ignite {
  0% {
    color: var(--gold);
    box-shadow:
      inset 0 0 0 1px var(--gold),
      0 0 30px -6px var(--gold-glow);
  }
  22%,
  100% {
    color: var(--text-2);
    box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 1px 0 rgba(244, 240, 232, 0.08);
  }
}

/* Section heads */

.section-head {
  max-width: 720px;
}

.section-head h2,
.faq h2 {
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  font-weight: 720;
  line-height: 1;
  letter-spacing: -0.035em;
}

.section-head p {
  max-width: 54ch;
  margin-top: 22px;
  color: var(--text-2);
  font-size: 1.06rem;
}

.section-head-wide {
  max-width: 900px;
}

/* Products */

.products {
  padding-block: 60px 160px;
}

.product-stage {
  --i: 1;
  margin-top: 56px;
  min-height: 600px;
  padding: 24px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 290px;
  align-items: center;
  gap: 24px;
}

.product-switcher {
  display: grid;
  gap: 6px;
  align-self: start;
}

.product-tab {
  width: 100%;
  padding: 18px 18px;
  display: grid;
  gap: 4px;
  border: 0;
  border-radius: var(--r-control);
  background: transparent;
  color: var(--text-2);
  text-align: left;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.product-tab span {
  font-size: 1rem;
  font-weight: 700;
}

.product-tab small {
  color: var(--text-3);
  font-size: 0.78rem;
}

.product-tab:hover {
  color: var(--text);
  background: rgba(244, 240, 232, 0.04);
}

.product-tab.is-active {
  color: var(--text);
  background: rgba(244, 240, 232, 0.07);
  box-shadow: inset 0 0 0 1px rgba(199, 168, 107, 0.45);
}

.product-tab.is-active small {
  color: var(--gold);
}

.product-tab:active {
  transform: scale(0.98);
}

.phone-orbit {
  position: relative;
  height: 560px;
  perspective: 1600px;
  transform-style: preserve-3d;
}

.phone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(240px, 38%);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform-style: preserve-3d;
  transition:
    transform 900ms var(--ease-io),
    opacity 700ms ease,
    filter 700ms ease;
  --x: 0%;
  --z: 0px;
  --ry: 0deg;
  transform: translate(-50%, -50%) translateX(var(--x)) translateZ(var(--z)) rotateY(var(--ry));
}

.phone img {
  width: 100%;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55));
}

.phone.is-active {
  z-index: 3;
  --z: 90px;
}

.phone:not(.is-active) {
  opacity: 0.5;
  filter: brightness(0.7);
}

.phone:not(.is-active):hover {
  opacity: 0.75;
}

[data-active-product="field"] .phone-booking,
[data-active-product="booking"] .phone-shop,
[data-active-product="shop"] .phone-field {
  --x: 64%;
  --z: -140px;
  --ry: -26deg;
}

[data-active-product="field"] .phone-shop,
[data-active-product="booking"] .phone-field,
[data-active-product="shop"] .phone-booking {
  --x: -64%;
  --z: -140px;
  --ry: 26deg;
}

.product-copy {
  align-self: end;
  padding: 8px 8px 12px;
  transition: opacity 260ms ease, filter 260ms ease;
}

.product-copy.is-swapping {
  opacity: 0;
  filter: blur(6px);
}

.product-copy h3 {
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.product-copy p {
  margin-top: 14px;
  color: var(--text-2);
}

.product-copy .product-outcome {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--gold);
  font-weight: 650;
}

/* Plate: opens out of the mark and folds back into it. */

.plate-section {
  position: relative;
  height: 290vh;
}

.plate-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  perspective: 1800px;
}

.plate-mark {
  --m: 0;
  position: absolute;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(244, 240, 232, 0.1), 0 30px 80px -20px rgba(199, 168, 107, 0.35);
  opacity: var(--m);
  transform: scale(calc(0.7 + var(--m) * 0.3));
}

.plate-mark img {
  width: 76px;
  height: 76px;
}

.plate {
  --u: 1;
  --c: 1;
  width: var(--shell);
  padding: clamp(28px, 3.4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px 48px;
  align-items: center;
  opacity: min(1, calc(var(--u) * 2.4));
  transform: rotateX(calc((1 - var(--u)) * -64deg)) scale(calc(0.12 + var(--u) * 0.88));
  transform-origin: 50% 50%;
}

.plate-copy,
.plate-visual,
.plate-list {
  opacity: var(--c);
  filter: blur(calc((1 - var(--c)) * 12px));
  transform: translateY(calc((1 - var(--c)) * 18px));
}

.plate h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  font-weight: 720;
  line-height: 1;
  letter-spacing: -0.035em;
}

.plate-copy p {
  max-width: 44ch;
  margin-top: 20px;
  color: var(--text-2);
}

.inline-link {
  margin-top: 26px;
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-underline-offset 200ms var(--ease-out), color 160ms ease;
}

.inline-link:hover {
  color: var(--gold-bright);
  text-underline-offset: 9px;
}

.plate-visual {
  margin: 0;
}

.plate-visual img {
  width: 100%;
}

.plate-list {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plate-list li {
  transition: opacity 400ms ease;
}

.plate-list.is-sequenced li:not(.is-lit) {
  opacity: 0.38;
}

.plate-list h3 {
  font-size: 1rem;
  font-weight: 720;
  letter-spacing: -0.015em;
}

.plate-list li.is-lit h3 {
  color: var(--gold);
}

.plate-list p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Process with assembling stack */

.process {
  padding-block: 120px 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 56px;
}

.process-steps {
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  padding: 34px 0 40px;
  border-top: 1px solid var(--line);
  transition: opacity 500ms ease;
}

.js .process-steps li {
  opacity: 0.4;
}

.js .process-steps li.is-current,
.js .process-steps li.is-done {
  opacity: 1;
}

.process-steps span {
  color: var(--text-3);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.06em;
  transition: color 300ms ease;
}

.process-steps li.is-current span {
  color: var(--gold);
}

.process-steps h3 {
  margin-top: 8px;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 720;
  letter-spacing: -0.03em;
}

.process-steps p {
  max-width: 44ch;
  margin-top: 10px;
  color: var(--text-2);
}

.stack-stage {
  position: sticky;
  top: 14vh;
  height: 72vh;
  min-height: 460px;
  display: grid;
  place-items: center;
  perspective: 2400px;
}

.stack-iso {
  --s: 230px;
  position: relative;
  width: var(--s);
  height: var(--s);
  transform: translateY(70px) rotateX(58deg) rotateZ(-42deg);
  transform-style: preserve-3d;
}

.slab {
  --k: 0;
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--k) * var(--gap, 46px)));
  transition:
    transform 1000ms var(--ease-settle),
    opacity 600ms ease;
}

.slab[data-slab="1"] { --k: 1; }
.slab[data-slab="2"] { --k: 2; }
.slab[data-slab="3"] { --k: 3; }
.slab[data-slab="4"] { --k: 4; }

.js .slab:not(.is-placed) {
  opacity: 0;
  transform: translateZ(calc(var(--k) * var(--gap, 46px) + 220px));
}

.slab i {
  position: absolute;
  display: block;
}

.slab-top {
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(244, 240, 232, 0.14), rgba(244, 240, 232, 0.03)),
    rgba(29, 33, 41, 0.86);
  box-shadow: inset 0 0 0 1px rgba(244, 240, 232, 0.18);
}

.slab-top b {
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slab-side {
  background: linear-gradient(180deg, rgba(199, 168, 107, 0.2), rgba(23, 26, 31, 0.9));
  box-shadow: inset 0 0 0 1px rgba(244, 240, 232, 0.12);
}

.slab-side-a {
  top: 100%;
  left: 0;
  width: 100%;
  height: var(--thick, 34px);
  transform-origin: top;
  transform: rotateX(-90deg);
}

.slab-side-b {
  top: 0;
  right: 100%;
  width: var(--thick, 34px);
  height: 100%;
  transform-origin: right;
  transform: rotateY(-90deg);
  background: linear-gradient(90deg, rgba(23, 26, 31, 0.9), rgba(199, 168, 107, 0.16));
}

.slab.is-top .slab-top {
  box-shadow:
    inset 0 0 0 1px var(--gold),
    0 0 60px -10px var(--gold-glow);
}

.slab.is-top .slab-top b {
  color: var(--gold);
}

.slab-live.is-placed .slab-top {
  background:
    linear-gradient(135deg, rgba(199, 168, 107, 0.34), rgba(199, 168, 107, 0.08)),
    rgba(29, 33, 41, 0.86);
}

/* Story cockpit */

.story {
  padding-block: 120px 140px;
}

.cockpit {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
  gap: 16px;
}

.cell {
  margin: 0;
  padding: 22px;
}

.cell h3 {
  font-size: 1.05rem;
  font-weight: 720;
  letter-spacing: -0.015em;
}

.cell > p {
  margin-top: 2px;
  color: var(--text-2);
  font-size: 0.86rem;
}

.cell-note {
  display: block;
  margin-top: 14px;
  color: var(--text-3);
  font-size: 0.72rem;
}

.cell-shot {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  padding: 18px;
}

.cell-ring {
  grid-column: 8 / 13;
  --i: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto 1fr;
  column-gap: 16px;
}

.cell-ring h3,
.cell-ring > p,
.cell-ring .cell-note {
  grid-column: 1;
}

.cell-ring .cell-note {
  align-self: end;
}

.ring {
  grid-column: 2;
  grid-row: 1 / 4;
  position: relative;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
}

.ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.ring-track,
.ring-arc {
  fill: none;
  stroke-width: 9;
}

.ring-track {
  stroke: rgba(244, 240, 232, 0.08);
}

/* Charts are scrubbed by scroll: JS writes --p (0..1) per cell from its position in the viewport. */

.cell {
  --p: 1;
}

.ring-arc {
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--ring, 68) * var(--p));
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

.ring strong {
  font-size: 1.7rem;
  font-weight: 720;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.cell-week {
  grid-column: 8 / 13;
  --i: 2;
}

.week {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.week div {
  display: grid;
  gap: 5px;
}

.week i {
  height: 9px;
  border-radius: 3px;
  background: rgba(244, 240, 232, 0.07);
  overflow: hidden;
  position: relative;
}

.week i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(244, 240, 232, 0.34);
  transform-origin: left;
  transform: scaleX(calc(var(--fill, 0) * clamp(0, var(--p) * 1.8 - var(--o, 0), 1)));
}

.week .is-demo-day i::after {
  background: var(--gold);
  box-shadow: 0 0 14px -2px var(--gold-glow);
}

.week span {
  margin-top: 4px;
  color: var(--text-3);
  font-size: 0.72rem;
  font-weight: 650;
}

.week .is-demo-day span {
  color: var(--gold);
}

.cell-usage {
  --i: 1;
}

.usage {
  display: block;
  width: 100%;
  height: 150px;
  margin-top: 18px;
}

.usage-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--p) * 100);
}

.usage-area {
  fill: rgba(199, 168, 107, 0.1);
  opacity: clamp(0, var(--p) * 2 - 1, 1);
}

.cell-usage {
  grid-column: 1 / 8;
}

.cell-manual {
  grid-column: 8 / 13;
  --i: 2;
}

.manual {
  height: 130px;
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
}

.manual div {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 6px;
}

.manual i {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(244, 240, 232, 0.05);
}

.manual i::before,
.manual i::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  transform-origin: bottom;
}

.manual i::after {
  bottom: 0;
  height: calc(var(--a) * 100%);
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  transform: scaleY(clamp(0, var(--p) * 1.9 - var(--o, 0), 1));
}

.manual i::before {
  bottom: calc(var(--a) * 100% * clamp(0, var(--p) * 1.9 - var(--o, 0), 1));
  height: calc(var(--m) * 100%);
  background: rgba(244, 240, 232, 0.28);
  border-radius: 5px 5px 0 0;
  transform: scaleY(clamp(0, var(--p) * 1.9 - var(--o, 0), 1));
}

.manual span {
  color: var(--text-3);
  font-size: 0.66rem;
  font-weight: 650;
  text-align: center;
  white-space: nowrap;
}

.manual-key {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  color: var(--text-2);
  font-size: 0.74rem;
}

.manual-key span::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 3px;
  vertical-align: -1px;
}

.key-manual::before {
  background: rgba(244, 240, 232, 0.28);
}

.key-auto::before {
  background: var(--gold);
}

.story-notes {
  margin-top: 72px;
  padding-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  border-top: 1px solid var(--line);
}

.story-notes article:nth-child(2) {
  --i: 1;
}

.story-notes article:nth-child(3) {
  --i: 2;
}

.story-notes h3 {
  font-size: 1.15rem;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.story-notes p {
  margin-top: 10px;
  color: var(--text-2);
}

/* Pricing scope meter */

.pricing {
  padding-block: 120px 120px;
}

.scope {
  --i: 1;
  --v: 0;
  margin-top: 56px;
  padding: clamp(24px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.scope-label {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.scope-track {
  position: relative;
  margin-top: 44px;
  height: 28px;
  display: grid;
  align-items: center;
}

.scope-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 4px;
  background: rgba(244, 240, 232, 0.1);
}

.scope-fill {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  transform-origin: left;
  transform: scaleX(var(--v));
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  box-shadow: 0 0 18px -2px var(--gold-glow);
  pointer-events: none;
  transition: transform 260ms var(--ease-out);
}

.scope-track input {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: grab;
  -webkit-appearance: none;
  appearance: none;
}

.scope-track input:active {
  cursor: grabbing;
}

.scope-track input::-webkit-slider-runnable-track {
  height: 28px;
  background: transparent;
}

.scope-track input::-moz-range-track {
  height: 28px;
  background: transparent;
}

.scope-track input::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 5px rgba(199, 168, 107, 0.35), 0 0 26px var(--gold-glow);
  -webkit-appearance: none;
  appearance: none;
  transition: transform 160ms var(--ease-out);
}

.scope-track input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 5px rgba(199, 168, 107, 0.35), 0 0 26px var(--gold-glow);
}

.scope-track input:active::-webkit-slider-thumb {
  transform: scale(1.12);
}

.scope-track input:focus-visible {
  outline: none;
}

.scope-track input:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px var(--ink-deep), 0 0 0 5px var(--gold);
}

.scope-stops {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.scope-stops li {
  color: var(--text-3);
  font-size: 0.84rem;
  font-weight: 650;
  cursor: pointer;
  transition: color 200ms ease;
}

.scope-stops li:nth-child(2) {
  text-align: center;
}

.scope-stops li:nth-child(3) {
  text-align: right;
}

.scope-stops li.is-on {
  color: var(--gold);
}

.scope-stage {
  height: 300px;
  margin-top: 28px;
  display: grid;
  place-items: center;
  perspective: 2400px;
}

.scope-iso {
  --s: 170px;
  --gap: 30px;
  --thick: 22px;
  position: relative;
  width: var(--s);
  height: var(--s);
  transform: translateY(56px) rotateX(58deg) rotateZ(-42deg);
  transform-style: preserve-3d;
}

.scope-iso .slab {
  transition:
    transform 700ms var(--ease-settle),
    opacity 400ms ease;
}

.scope-iso .slab-top b {
  font-size: 0.62rem;
}

.js .scope-iso .slab:not(.is-placed) {
  transform: translateZ(calc(var(--k) * var(--gap) + 140px));
}

.scope-result {
  padding-left: 40px;
  border-left: 1px solid var(--line);
  transition: opacity 220ms ease, filter 220ms ease;
}

.scope-result.is-swapping {
  opacity: 0.2;
  filter: blur(5px);
}

.scope-kind {
  color: var(--text-3);
  font-size: 0.82rem;
  font-weight: 700;
}

.scope-price {
  margin-top: 8px;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.scope-time {
  margin-top: 10px;
  color: var(--text-2);
}

.scope-result ul {
  margin: 24px 0 30px;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.scope-result li {
  position: relative;
  padding-left: 22px;
  color: var(--text-2);
  font-size: 0.94rem;
}

.scope-result li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 10px;
  height: 1px;
  background: var(--gold);
}

.pricing-disclaimer {
  --i: 2;
  max-width: 70ch;
  margin-top: 22px;
  color: var(--text-3);
  font-size: 0.82rem;
}

/* FAQ */

.faq {
  padding-block: 100px 120px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.faq h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
}

.faq-list {
  --i: 1;
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: var(--r-surface);
  background: rgba(244, 240, 232, 0.035);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

.faq details[open] {
  background: rgba(244, 240, 232, 0.06);
  box-shadow: inset 0 0 0 1px rgba(199, 168, 107, 0.3);
}

.faq summary {
  position: relative;
  padding: 22px 60px 22px 24px;
  font-size: 1.04rem;
  font-weight: 680;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 260ms var(--ease-out);
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq details p {
  padding: 0 24px 24px;
  color: var(--text-2);
  max-width: 62ch;
}

.faq details[open] p {
  animation: faq-in 420ms var(--ease-settle);
}

@keyframes faq-in {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(-4px);
  }
}

/* Closing */

.closing {
  padding-block: 60px 120px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
}

.work-card {
  padding: 32px;
  display: grid;
  align-content: end;
  gap: 10px;
  min-height: 360px;
  text-decoration: none;
  transition: transform 300ms var(--ease-out);
}

.work-mark {
  width: 48px;
  height: 48px;
  margin-bottom: auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--paper);
}

.work-mark img {
  width: 32px;
  height: 32px;
}

.work-card h2 {
  margin-top: 60px;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.work-card p {
  color: var(--text-2);
}

.work-link {
  margin-top: 12px;
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-underline-offset 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .work-card:hover .work-link {
    text-underline-offset: 9px;
  }
}

.contact-card {
  --i: 1;
  padding: clamp(32px, 4vw, 56px);
  display: grid;
  align-content: end;
  gap: 18px;
  border-radius: var(--r-surface);
  background: var(--gold);
  color: var(--ink-deep);
  box-shadow: 0 50px 120px -50px rgba(199, 168, 107, 0.6);
}

.contact-card h2 {
  max-width: 16ch;
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  font-weight: 740;
  line-height: 1;
  letter-spacing: -0.035em;
}

.contact-card p {
  max-width: 44ch;
  color: rgba(17, 24, 33, 0.78);
  font-size: 1.04rem;
}

.contact-mail {
  justify-self: start;
  margin-top: 14px;
  min-height: 56px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-control);
  background: var(--ink-deep);
  color: var(--paper);
  font-weight: 720;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform 160ms var(--ease-out), background-color 180ms ease;
}

.contact-mail:hover {
  background: #0b1016;
}

.contact-mail:active {
  transform: scale(0.97);
}

.contact-mail:focus-visible {
  outline-color: var(--ink-deep);
}

/* Footer */

.site-footer {
  padding-block: 56px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 40px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.88rem;
}

.footer-brand p {
  max-width: 36ch;
  margin-top: 16px;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-group strong {
  color: var(--text);
  font-weight: 700;
}

.footer-group a {
  width: fit-content;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-group a:hover {
  color: var(--gold);
}

.footer-notice {
  grid-column: 1 / -1;
  padding: 20px 22px;
  border-radius: var(--r-surface);
  background: rgba(244, 240, 232, 0.035);
  color: var(--text-3);
  font-size: 0.8rem;
}

.footer-notice strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-2);
  font-weight: 650;
}

.footer-copyright {
  grid-column: 1 / -1;
  color: var(--text-3);
  font-size: 0.78rem;
}

/* Responsive */

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 140px;
    gap: 56px;
  }

  .hero-stage {
    justify-items: start;
  }

  .hero-stage {
    --ry: -8deg;
    justify-items: center;
  }

  .layer-back {
    right: 0;
  }

  .layer-front {
    left: 0;
  }

  .product-stage {
    grid-template-columns: 1fr;
  }

  .product-switcher {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .phone-orbit {
    height: 520px;
  }

  .product-copy {
    align-self: start;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .stack-stage {
    position: relative;
    top: 0;
    order: -1;
    height: 420px;
    min-height: 0;
  }

  .faq {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 0;
    border-radius: var(--r-control);
    background: rgba(244, 240, 232, 0.07);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 1.5px;
    background: var(--text);
    transition: transform 220ms var(--ease-out);
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 10px;
    display: grid;
    gap: 2px;
    border-radius: var(--r-surface);
    background: rgba(17, 24, 33, 0.96);
    box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
    transform-origin: top right;
    visibility: hidden;
    transition:
      opacity 200ms var(--ease-out),
      transform 200ms var(--ease-out),
      visibility 0s linear 200ms;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition:
      opacity 200ms var(--ease-out),
      transform 200ms var(--ease-out);
  }

  .site-nav a {
    padding: 14px 14px;
    font-size: 1rem;
  }

  .site-nav .nav-cta {
    margin: 6px 0 0;
    text-align: center;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 32px);
    --header-h: 80px;
  }

  .site-header {
    top: 8px;
  }

  .hero {
    min-height: 0;
    padding-block: 120px 56px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-stage {
    --rx: 4deg;
    --ry: 0deg;
    padding-top: 70px;
    padding-bottom: 44px;
  }

  .flow-window {
    padding: 14px 12px 12px;
  }

  .layer-back {
    top: 0;
    right: 0;
    width: 180px;
    padding: 10px 12px;
  }

  .mini-bars {
    height: 40px;
    margin-top: 8px;
    gap: 5px;
  }

  .layer-foot {
    display: none;
  }

  .layer-front {
    left: 8px;
    right: 8px;
    bottom: -34px;
    width: auto;
  }

  .flow-meta {
    display: none;
  }

  .flow-log li {
    grid-template-columns: 64px 1fr auto;
    gap: 8px;
    font-size: 0.72rem;
  }

  .reach {
    padding-bottom: 96px;
  }

  .reach-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 28px;
  }

  .reach-line::before,
  .reach-line::after {
    display: none;
  }

  .section-head h2,
  .faq h2 {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
  }

  .products {
    padding-bottom: 96px;
  }

  .product-stage {
    padding: 14px;
    margin-top: 36px;
  }

  .product-switcher {
    grid-template-columns: 1fr;
  }

  .product-tab {
    padding: 14px;
  }

  .phone-orbit {
    height: 440px;
  }

  .phone {
    width: min(190px, 52%);
  }

  [data-active-product="field"] .phone-booking,
  [data-active-product="booking"] .phone-shop,
  [data-active-product="shop"] .phone-field {
    --x: 52%;
  }

  [data-active-product="field"] .phone-shop,
  [data-active-product="booking"] .phone-field,
  [data-active-product="shop"] .phone-booking {
    --x: -52%;
  }

  .plate-section {
    height: auto;
    padding-block: 40px 80px;
  }

  .plate-pin {
    position: relative;
    height: auto;
  }

  .plate-mark {
    display: none;
  }

  .plate {
    grid-template-columns: 1fr;
    opacity: 1;
    transform: none;
  }

  .plate-list {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .process,
  .story,
  .pricing {
    padding-block: 80px;
  }

  .stack-stage {
    height: 340px;
  }

  .stack-iso {
    --s: 170px;
    transform: translateY(50px) rotateX(58deg) rotateZ(-42deg);
  }

  .slab-top b {
    font-size: 0.66rem;
  }

  .cockpit {
    grid-template-columns: 1fr;
  }

  .cell-shot,
  .cell-ring,
  .cell-week,
  .cell-usage,
  .cell-manual {
    grid-column: 1;
    grid-row: auto;
  }

  .usage {
    height: 110px;
  }

  .story-notes {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .scope {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .scope-result {
    padding-left: 0;
    padding-top: 28px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .scope-stops li {
    font-size: 0.74rem;
  }

  .scope-stage {
    height: 230px;
  }

  .scope-iso {
    --s: 130px;
    --gap: 24px;
    transform: translateY(44px) rotateX(58deg) rotateZ(-42deg);
  }

  .closing {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: 0;
  }

  .work-card h2 {
    margin-top: 28px;
  }

  .contact-mail {
    justify-self: stretch;
    justify-content: center;
    font-size: 0.92rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .settle,
  .js .flow-window {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .js .layer {
    opacity: 1;
    filter: none;
    transition: none;
  }

  .mini-bars i {
    transition: none;
  }

  .phone,
  .slab,
  .ring-arc,
  .usage-line,
  .week i::after {
    transition: none;
  }

  .js [data-stack] .slab:not(.is-placed) {
    opacity: 1;
    transform: translateZ(calc(var(--k) * 46px));
  }
}
