/* ==========================================================================
   The Leaders Development
   Brand kit v1.0: Ink #171717, White, Amber #F59E0B. Outfit, Figtree.
   Dark is the default; light is a visitor choice.
   ========================================================================== */

:root {
  /* Dark (default) */
  --bg: #000000;
  --surface: #171717;     /* Ink: tiles and raised grounds */
  --surface-2: #212121;   /* Graphite: UI inside tiles */
  --surface-3: #2c2c2c;
  --text: #ffffff;
  --muted: #a3a3a3;       /* Mist */
  --faint: #737373;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --amber-text: #f59e0b;
  --nav-bg: rgba(0, 0, 0, 0.72);
  --shadow-lg: 0 50px 120px -40px rgba(0, 0, 0, 0.9);
  --shadow-md: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  --seg-active: #2c2c2c;

  /* Fixed brand values */
  --ink: #171717;
  --amber: #f59e0b;
  --amber-hover: #fbad2d;

  --display: "Outfit", system-ui, -apple-system, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --wrap: 1200px;
  --gutter: 24px;
  --r-tile: 28px;
  --r-frame: 18px;
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --surface: #f5f5f4;     /* Stone */
  --surface-2: #ffffff;
  --surface-3: #ececea;
  --text: #171717;
  --muted: #525252;       /* Steel */
  --faint: #8a8a8a;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --amber-text: #b45309;  /* Amber Deep: amber text on white */
  --nav-bg: rgba(255, 255, 255, 0.72);
  --shadow-lg: 0 50px 120px -50px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 24px 60px -30px rgba(0, 0, 0, 0.25);
  --seg-active: #ffffff;
}

/* ---------- Base ---------- */

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

:root[data-theme="light"] { color-scheme: light; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3, p, figure, ol, ul { margin: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  text-wrap: balance;
}

p { text-wrap: pretty; }

button { font: inherit; color: inherit; }

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.dot { color: var(--amber); }

/* ---------- Accessibility ---------- */

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: top 300ms var(--ease);
}

.skip:focus { top: 12px; }

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

/* ---------- Type scale ---------- */

.h2 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--muted);
}

.lead a {
  color: var(--text);
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
}

.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 21px);
  letter-spacing: -0.01em;
  color: var(--amber);
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 17px/1 var(--body);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 500ms var(--ease),
    background-color 300ms var(--ease),
    border-color 300ms var(--ease),
    color 300ms var(--ease);
}

.btn-lg { padding: 17px 30px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-hover); }

.btn-ghost { color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); }

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

.text-link {
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 300ms var(--ease);
}

.text-link:hover { text-decoration-color: var(--text); }

/* ---------- Navigation: a quiet glass bar ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  height: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.logo {
  justify-self: start;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 300ms var(--ease);
}

.nav-links a:hover { color: var(--text); }

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 300ms var(--ease), background-color 300ms var(--ease);
}

.icon-btn:hover { color: var(--text); background: var(--surface); }

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }

.menu-btn { display: none; }

.menu-btn .bar { transition: transform 400ms var(--ease); transform-origin: 12px 12px; }
.menu-btn[aria-expanded="true"] .bar-top { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bar-bottom { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  display: grid;
  align-content: start;
  height: calc(100vh - 56px);
  height: calc(100svh - 56px);
  overflow-y: auto;
  padding: 8px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mobile-menu[hidden] { display: none; }

.mobile-menu a:not(.btn) {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mobile-menu .btn { margin-top: 24px; }

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(120px, 12vw, 160px);
  text-align: center;
}

.hero-title {
  font-size: clamp(52px, 8.2vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 11.5ch;
  margin-inline: auto;
}

.hero-sub {
  margin: 28px auto 0;
  max-width: 34ch;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.45;
  color: var(--muted);
}

.hero-ctas {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* One orchestrated entrance on load */
.load {
  animation: rise 1100ms var(--ease) both;
  animation-delay: var(--d, 0ms);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* The product stage: laptop window and phone, tilting flat as you scroll */

.stage-wrap {
  margin-top: clamp(56px, 6vw, 80px);
  padding-inline: var(--gutter);
  perspective: 2400px;
}

.stage {
  position: relative;
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-bottom: 6%;
  transform-origin: 50% 100%;
  will-change: transform;
}

.stage-glow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 45%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.32), rgba(245, 158, 11, 0) 70%);
  filter: blur(48px);
  pointer-events: none;
}

:root[data-theme="light"] .stage-glow { opacity: 0.55; }

.window {
  position: relative;
  width: 88%;
  border-radius: var(--r-frame);
  overflow: hidden;
  background: #1c1c1c;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.window-bar {
  position: relative;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: #1f1f1f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3b3b3b;
}

.window-bar p {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #8a8a8a;
  pointer-events: none;
}

.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 21%;
  padding: 8px;
  border-radius: 44px;
  background: #0a0a0a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), var(--shadow-lg);
}

.phone img { border-radius: 36px; }

/* ---------- Statement ---------- */

.statement {
  padding: clamp(140px, 18vw, 240px) 0 clamp(120px, 14vw, 200px);
}

.statement-text {
  max-width: 21ch;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.statement-text .word { display: inline-block; }

/* ---------- Services: bento ---------- */

.services { padding-bottom: clamp(120px, 14vw, 200px); }

.section-head {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head .h2 { max-width: 15ch; margin-inline: auto; }
.section-head .lead { max-width: 44ch; margin: 24px auto 0; }

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 44px 44px 0;
  border-radius: var(--r-tile);
  background: var(--surface);
  min-height: 480px;
}

.tile-copy { margin-bottom: 40px; }
.tile-auto .tile-copy { margin-bottom: 0; }

.tile-copy h3 {
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.tile-copy p {
  margin-top: 14px;
  max-width: 36ch;
  color: var(--muted);
}

.tile-web { grid-column: 1 / span 2; min-height: 600px; }
.tile-mobile { grid-column: 3; grid-row: 1 / span 2; }
.tile-desktop { grid-column: 1; }
.tile-ai { grid-column: 2; padding-bottom: 44px; }
.tile-auto {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: center;
  gap: 48px;
  padding: 48px;
  min-height: 0;
}

/* Shared mock styles */
.mock {
  font-family: var(--body);
  color: var(--text);
  user-select: none;
}

/* Browser mock */
.mock-browser {
  margin-top: auto;
  transform: translateY(1px);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: var(--surface-2);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.mb-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.mb-dots { display: flex; gap: 6px; }

.mb-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface-3);
}

.mb-url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  padding: 4px 14px;
  border-radius: 8px;
  background: var(--surface);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.mb-page { padding: 20px 28px 32px; }

.mb-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  color: var(--muted);
}

.mb-nav b {
  margin-right: auto;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.mb-give {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.mb-hero {
  margin-top: 22px;
  padding: 44px 36px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.mb-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.9;
}

.mb-kicker { position: relative; z-index: 1; font-size: 13px; color: #a3a3a3; }

.mb-title {
  position: relative;
  z-index: 1;
  margin: 8px 0 20px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.mb-btn {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.mb-cards {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mb-cards div {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface);
}

.mb-cards small { font-size: 11px; color: var(--faint); }
.mb-cards b { font-size: 14px; font-weight: 600; }
.mb-cards span { font-size: 12px; color: var(--muted); }

/* Phone mock */
.mock-phone {
  align-self: center;
  margin-top: auto;
  width: min(300px, 100%);
  transform: translateY(60px);
  padding: 18px 18px 80px;
  border: 10px solid #0a0a0a;
  border-bottom: 0;
  border-radius: 48px 48px 0 0;
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-md);
}

.mp-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 0 6px;
}

.mp-status span {
  width: 72px;
  height: 22px;
  border-radius: 999px;
  background: #0a0a0a;
}

.mp-hello {
  margin: 22px 0 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.mp-next {
  display: grid;
  gap: 2px;
  padding: 18px;
  border-radius: 20px;
  background: var(--amber);
  color: var(--ink);
}

.mp-next small { font-size: 12px; opacity: 0.7; }
.mp-next b { font-family: var(--display); font-size: 22px; letter-spacing: -0.03em; }
.mp-next span { font-size: 14px; }

.mp-next em {
  justify-self: start;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.12);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
}

.mp-label { margin: 20px 0 4px; font-size: 13px; color: var(--faint); }

.mp-list { list-style: none; padding: 0; }

.mp-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.mp-list b { font-weight: 600; }
.mp-list span { color: var(--muted); }

.mp-tabs {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  font-size: 11px;
  color: var(--faint);
  text-align: center;
}

.mp-tabs .on { color: var(--amber-text); font-weight: 600; }

/* Desktop tile: a real StagePro screenshot bleeding off the tile */
.tile-shot {
  margin: auto -44px 0 44px;
}

.tile-shot img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 0 0;
  border-radius: 12px 0 0 0;
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-bottom: 0;
}

/* AI mock */
.mock-ai {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

.ai-q {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 15px;
  font-weight: 500;
}

.ai-q svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
}

.ai-a {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.ai-a p { font-size: 15px; line-height: 1.5; }

.ai-a span {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  color: var(--muted);
}

/* Automation mock */
.mock-flow {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.flow-head b {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.02em;
}

.flow-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.flow-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: blink 2000ms ease-in-out infinite;
}

@keyframes blink { 50% { opacity: 0.3; } }

.flow-steps {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.flow-steps li {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  opacity: 0.45;
  transition: opacity 500ms var(--ease), border-color 500ms var(--ease), box-shadow 500ms var(--ease);
}

.flow-steps li.is-done { opacity: 1; }

.flow-steps li.is-active {
  opacity: 1;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.flow-steps code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--amber-text);
}

.flow-steps b { font-size: 15px; font-weight: 600; line-height: 1.3; }
.flow-steps small { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ---------- StagePro chapter ---------- */

.product { padding-bottom: clamp(120px, 14vw, 200px); }

.product-head {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.product-head .h2 { max-width: 14ch; margin-inline: auto; }
.product-head .lead { max-width: 42ch; margin: 24px auto 0; }

.product-hero {
  position: relative;
  height: min(86vh, 900px);
  min-height: 420px;
  overflow: hidden;
  background: #000;
}

.product-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  will-change: transform;
}

.tour {
  padding-top: clamp(72px, 9vw, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.segmented {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.seg {
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: color 300ms var(--ease), background-color 300ms var(--ease), box-shadow 300ms var(--ease);
}

.seg:hover { color: var(--text); }

.seg[aria-selected="true"] {
  color: var(--text);
  background: var(--seg-active);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.tour-panels {
  width: 100%;
  margin-top: 40px;
  display: grid;
}

.tour-panel {
  grid-area: 1 / 1;
  text-align: center;
}

.tour-panel[hidden] { display: none; }

.tour-panel.is-active { animation: fade 600ms var(--ease) both; }

@keyframes fade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.tour-caption {
  max-width: 34ch;
  margin: 0 auto 36px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.tour-frame {
  border-radius: var(--r-frame);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #111;
  box-shadow: var(--shadow-lg);
}

.tour-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 0 0;
}

.tour-split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.tour-split .tour-frame img { aspect-ratio: 16 / 9; object-position: center; }

.phone-small {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: 260px;
  justify-self: center;
}

.tour-cta { margin-top: 48px; }

/* ---------- Process ---------- */

.process {
  padding: clamp(120px, 14vw, 200px) 0;
  border-top: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.process-head {
  position: sticky;
  top: 120px;
}

.process-head .lead { margin-top: 20px; }

.steps { list-style: none; padding: 0; }

.steps li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child { border-bottom: 1px solid var(--line); }

.step-num {
  padding-top: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: var(--amber-text);
}

.steps h3 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.steps p {
  margin-top: 12px;
  max-width: 42ch;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq {
  padding: clamp(120px, 14vw, 200px) 0;
  background: var(--surface);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.faq-head .lead { margin-top: 20px; }

.faq-list { border-top: 1px solid var(--line-strong); }

.faq-list details { border-bottom: 1px solid var(--line-strong); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(19px, 1.8vw, 24px);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

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

.faq-list summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.6px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.6px 14px no-repeat;
  transition: transform 500ms var(--ease);
}

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

.faq-list details p {
  padding: 0 48px 28px 0;
  max-width: 60ch;
  color: var(--muted);
}

/* ---------- Closing ---------- */

.cta {
  padding: clamp(120px, 14vw, 200px) 0 clamp(140px, 16vw, 220px);
  text-align: center;
  overflow: hidden;
}

.orb {
  position: relative;
  width: clamp(200px, 24vw, 300px);
  aspect-ratio: 1;
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.orb-fallback {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fde7b0 0%, #f59e0b 38%, #b45309 92%);
}

.orb-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.orb.is-ready .orb-fallback { display: none; }

.orb-glow {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 2%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.45), rgba(245, 158, 11, 0) 70%);
  filter: blur(10px);
  z-index: -1;
}

.cta-title { max-width: 13ch; margin-inline: auto; }

.cta .lead { max-width: 40ch; margin: 24px auto 0; }

.cta-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

/* ---------- Footer ---------- */

.footer {
  padding: 72px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer-brand p { margin-top: 12px; max-width: 28ch; }

.footer h3 {
  margin-bottom: 16px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }

.footer ul a {
  text-decoration: none;
  transition: color 300ms var(--ease);
}

.footer ul a:hover { color: var(--text); }

.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--faint);
}

/* ---------- 404 ---------- */

.nf {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: 96px 0;
}

.nf h1 {
  margin: 32px 0 20px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.nf .lead { max-width: 40ch; }
.nf .hero-ctas { margin-top: 36px; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-web { grid-column: 1 / -1; }
  .tile-mobile { grid-column: 1; grid-row: auto; }
  .tile-desktop { grid-column: 2; }
  .tile-ai { grid-column: 1 / -1; }
  .tile-auto { grid-template-columns: 1fr; gap: 32px; }

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

  .process-head { position: static; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
  .nav-inner { grid-template-columns: 1fr auto; }
}

@media (max-width: 680px) {
  :root { --gutter: 20px; --r-tile: 24px; }

  .nav-cta { display: none; }

  .hero-ctas .btn { width: 100%; max-width: 340px; }

  .window { width: 92%; }
  .window-bar { height: 22px; padding: 0 9px; gap: 5px; }
  .window-bar span { width: 7px; height: 7px; }
  .window-bar p { display: none; }
  .window { border-radius: 10px; }

  .phone { width: 28%; padding: 4px; border-radius: 20px; }
  .phone img { border-radius: 16px; }

  .bento { grid-template-columns: 1fr; gap: 16px; }
  .tile-web, .tile-mobile, .tile-desktop, .tile-ai, .tile-auto { grid-column: 1; }
  .tile { padding: 32px 28px 0; min-height: 0; }
  .tile-web { min-height: 0; }
  .tile-ai { padding-bottom: 28px; }
  .tile-auto { padding: 32px 28px; }

  .mb-page { padding: 16px 16px 20px; }
  .mb-nav span:not(.mb-give) { display: none; }
  .mb-hero { padding: 32px 22px; }
  .mb-hero::after { width: 160px; height: 160px; right: -50px; top: -50px; }
  .mb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb-cards div:nth-child(3) { display: none; }
  .mb-url { min-width: 0; }

  .tile-shot { margin: auto -28px 0 28px; }

  .flow-steps { grid-template-columns: 1fr; }

  .product-hero { height: 64vh; min-height: 380px; }
  .product-photo { object-position: 50% 45%; }

  .segmented { width: 100%; justify-content: space-between; }
  .seg { flex: 1; padding: 10px 8px; font-size: 14px; }

  .tour-split { grid-template-columns: 1fr; }
  .phone-small { max-width: 200px; }

  .steps li { grid-template-columns: 1fr; gap: 8px; padding: 32px 0; }
  .step-num { padding-top: 0; }

  .faq-list details p { padding-right: 0; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .load, .tour-panel.is-active, .flow-status i { animation: none; }
  .flow-steps li { opacity: 1; }
  .btn, .seg, .menu-btn .bar, .faq-list summary::after { transition: none; }
}
