/* ==========================================================================
   MLG Tech Solutions / Direction 03 "Kinetic"
   Bold colour blocks, oversized moving type, interface parts you can pick up.

   Palette   cobalt, navy and sky (one brand family), paper, ink, one acid accent.
   Type      Archivo (variable weight and width) for display, Geist for text,
             Geist Mono for small technical labels.
   Shape     Three radii, used by rule:
             --r-block  colour blocks, tiles, cards, panels
             --r-chip   inputs and small parts inside a block
             pill       anything you press (buttons, keys, options, chips)
   Layers    nav 50, menu 45, hero CTA 3, toys 2. Nothing else sets z-index
             above 5.
   ========================================================================== */

@font-face {
  font-family: "Archivo Kinetic";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("assets/fonts/kinetic/archivo-latin-wdth-normal.woff2") format("woff2-variations");
}

:root {
  --cobalt: #1c39ff;
  --navy: #0b1a8f;
  --sky: #bcc8ff;
  --paper: #f3f3ee;
  --white: #fcfcf9;
  --ink: #0b0c11;
  --ink-2: #181a23;
  --acid: #d5ff3f;
  --acid-deep: #7f9a12;

  --f-display: "Archivo Kinetic", "Arial Black", "Helvetica Neue", Impact, sans-serif;
  --f-text: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gut: clamp(16px, 4vw, 56px);
  --nav-h: 60px;
  --r-block: clamp(20px, 2.4vw, 36px);
  --r-chip: 14px;
  --ease: cubic-bezier(0.2, 0.9, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --focus: var(--acid);
}

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

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis { scroll-behavior: auto; }
html.menu-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-text);
  font-size: clamp(1rem, 0.94rem + 0.28vw, 1.1875rem);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--acid); color: var(--ink); }

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

main section[tabindex="-1"]:focus, .book__panel:focus { outline: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 60;
  background: var(--acid); color: var(--ink); font-weight: 650;
  padding: 12px 18px; border-radius: 999px; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 16px; }

.mono {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

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

/* Hide-then-reveal only while scripts are on their way. */
.js:not(.reveal-all) [data-hide] { visibility: hidden; }

/* ---------- Colour blocks ---------- */
.sec--cobalt { background: var(--cobalt); color: var(--paper); --soft: rgba(243, 243, 238, 0.92); --line: rgba(243, 243, 238, 0.32); --focus: var(--acid); }
.sec--paper { background: var(--paper); color: var(--ink); --soft: rgba(11, 12, 17, 0.74); --line: rgba(11, 12, 17, 0.16); --focus: var(--cobalt); }
.sec--ink { background: var(--ink); color: var(--paper); --soft: rgba(243, 243, 238, 0.8); --line: rgba(243, 243, 238, 0.18); --focus: var(--acid); --b-ring: var(--acid-deep); }
.sec--sky { background: var(--sky); color: var(--ink); --soft: rgba(11, 12, 17, 0.8); --line: rgba(11, 12, 17, 0.2); --focus: var(--ink); }

/* Each block is a rounded sheet that slides over the one before it. */
.sec,
.foot {
  position: relative;
  overflow-x: clip;
  border-radius: var(--r-block) var(--r-block) 0 0;
  margin-top: calc(-1 * var(--r-block));
  padding-block: clamp(80px, 11vw, 176px) calc(clamp(80px, 11vw, 176px) + var(--r-block));
}

/* ---------- Type ---------- */
.mega {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 70%;
  font-size: clamp(3rem, 14.1vw, 5.4rem);
  line-height: 0.86;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
.mega--md { font-size: clamp(2.7rem, 11.6vw, 4.4rem); }
.mega--book { font-size: clamp(2.9rem, 13vw, 5rem); }

.lede {
  margin: clamp(18px, 2.2vw, 32px) 0 0;
  max-width: 38ch;
  font-size: clamp(1.125rem, 0.95rem + 0.8vw, 1.625rem);
  line-height: 1.35;
  font-weight: 450;
  color: var(--soft);
}
.lede--wide { max-width: 52ch; }

@media (min-width: 700px) {
  .mega { font-stretch: 78%; font-size: clamp(5rem, 12.2vw, 12.5rem); }
  .mega--md { font-size: clamp(4rem, 8.2vw, 8.6rem); }
  .mega--book { font-size: clamp(4rem, 11vw, 7.5rem); }
}

/* ---------- Buttons: keys you press ---------- */
.btn {
  --b-bg: var(--acid);
  --b-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 54px;
  padding: 0 1.5em;
  border: 0;
  border-radius: 999px;
  background: var(--b-bg);
  color: var(--b-fg);
  font-family: var(--f-text);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 0 0 2px var(--b-ring, var(--ink)), 0 6px 0 2px var(--b-ring, var(--ink));
  transform: translateY(-3px);
  transition: transform 0.18s var(--spring), box-shadow 0.18s var(--spring);
  -webkit-tap-highlight-color: transparent;
}
.btn i { font-size: 1.15em; transition: transform 0.25s var(--spring); }
.btn:hover { transform: translateY(-5px); box-shadow: 0 0 0 2px var(--b-ring, var(--ink)), 0 8px 0 2px var(--b-ring, var(--ink)); }
.btn:hover i.ph-arrow-right { transform: translateX(4px); }
.btn:active { transform: translateY(2px); box-shadow: 0 0 0 2px var(--b-ring, var(--ink)), 0 1px 0 2px var(--b-ring, var(--ink)); transition-duration: 0.06s; }
.btn--lg { min-height: 62px; padding: 0 1.7em; font-size: 1.0625rem; }
.btn--sm { min-height: 44px; padding: 0 1.15em; font-size: 0.9375rem; box-shadow: none; transform: none; }
.btn--sm:hover { transform: scale(1.04); box-shadow: none; }
.btn--sm:active { transform: scale(0.97); box-shadow: none; }

.tlink {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-weight: 600; text-decoration: none; color: inherit;
  padding: 10px 0;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 100% 2px no-repeat;
  transition: background-size 0.3s var(--ease);
}
.tlink:hover { background-size: 0% 2px; background-position: 100% calc(100% - 6px); }
.tlink i { transition: transform 0.25s var(--spring); }
.tlink:hover i { transform: translateY(3px); }

.tbtn {
  display: inline-flex; align-items: center; gap: 0.5em;
  min-height: 44px; padding: 0 4px;
  background: none; border: 0; cursor: pointer;
  font-weight: 600; font-size: 0.9375rem; color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px;
}
.tbtn:hover { text-decoration-color: var(--acid); }
.tbtn--ink:hover { text-decoration-color: var(--cobalt); color: var(--cobalt); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 12px 0 auto 0; z-index: 50;
  padding-inline: clamp(10px, 2vw, 24px);
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto;
  height: var(--nav-h);
  max-width: 1120px;
  margin-inline: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 0 8px 0 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  box-shadow: 0 0 0 1.5px rgba(243, 243, 238, 0.18), 0 14px 30px -16px rgba(11, 12, 17, 0.55);
}
.nav__brand {
  font-family: var(--f-display); font-weight: 900; font-stretch: 100%;
  font-size: 1.625rem; letter-spacing: -0.03em; line-height: 1;
  text-decoration: none; padding: 8px 4px;
  transition: font-stretch 0.4s var(--ease), color 0.2s;
}
.nav__brand:hover { font-stretch: 125%; color: var(--acid); }
.nav__links { display: none; margin-inline: auto; gap: 2px; }
.nav__links a {
  padding: 10px 14px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav__links a:hover { background: rgba(243, 243, 238, 0.14); }
.nav__links a[aria-current="true"] { background: var(--paper); color: var(--ink); }
.nav__cta { margin-left: auto; --focus: var(--paper); }
.nav__toggle {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(243, 243, 238, 0.14); color: var(--paper); font-size: 22px;
}
.nav__toggle:hover { background: rgba(243, 243, 238, 0.24); }

@media (max-width: 379px) {
  .nav__bar { padding-left: 16px; gap: 6px; }
  .nav__cta { padding: 0 0.9em; font-size: 0.875rem; }
}
@media (min-width: 940px) {
  .nav__links { display: flex; }
  .nav__cta { margin-left: 0; }
  .nav__toggle { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--nav-h) + 44px) var(--gut) 96px;
  background: var(--cobalt); color: var(--paper);
  overflow-y: auto; overscroll-behavior: contain;
}
.menu__links { display: grid; gap: 2px; }
.menu__links a {
  font-family: var(--f-display); font-weight: 900; font-stretch: 68%;
  font-size: clamp(2.6rem, 13.5vw, 4.6rem); line-height: 0.96; letter-spacing: -0.015em;
  text-transform: uppercase; text-decoration: none; padding: 4px 0;
}
.menu__links a:hover, .menu__links a:focus-visible { color: var(--acid); }
.menu__cta { align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: clip;
  padding: calc(var(--nav-h) + 34px) 0 calc(var(--r-block) + 22px);
}
.hero__in {
  position: relative;
  flex: 1 1 auto;
  display: flex; flex-direction: column;
  width: auto; max-width: none;
  margin-inline: var(--gut);
}
.hero__kicker { margin: 0 0 clamp(12px, 1.4vw, 22px); }
.hero__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 68%;
  font-size: clamp(3.4rem, 19.8vw, 9rem);
  line-height: 0.84;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  transform-origin: 0 50%;
}
.hero__title .h-char { will-change: font-variation-settings; }
.br-d { display: none; }
.hero__foot {
  position: relative;
  margin-top: clamp(20px, 3vw, 44px);
  display: grid; gap: clamp(18px, 2vw, 28px);
  max-width: 33rem;
}
.hero__sub {
  margin: 0;
  font-size: clamp(1.125rem, 0.95rem + 0.75vw, 1.5rem);
  line-height: 1.32; font-weight: 450;
}
.hero__cta { position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

.toys {
  position: relative; z-index: 2;
  height: 236px;
  margin: 18px var(--gut) 0;
  font-size: 10.5px;
  pointer-events: none;
}
.toy {
  position: absolute; left: var(--x); top: var(--y);
  transform: rotate(var(--r));
  display: grid; place-items: center;
  pointer-events: auto; cursor: grab; touch-action: none;
  -webkit-user-select: none; user-select: none;
  box-shadow: 0 0.5em 0 var(--lip, var(--ink));
  will-change: transform;
}
.toy.is-held { cursor: grabbing; box-shadow: 0 1.1em 0 var(--lip, var(--ink)); }
.toy--toggle { width: 8.4em; height: 4.6em; border-radius: 999px; background: var(--acid); justify-items: end; padding: 0.55em; }
.toy--toggle b { width: 3.5em; height: 3.5em; border-radius: 50%; background: var(--ink); }
.toy--chat { width: 9.4em; height: 5.6em; border-radius: 2em 2em 2em 0.5em; background: var(--paper); grid-auto-flow: column; place-content: center; gap: 0.7em; }
.toy--chat b { width: 0.9em; height: 0.9em; border-radius: 50%; background: var(--ink); }
.toy--chart { --lip: #05093f; width: 7.8em; height: 7.8em; border-radius: 2em; background: var(--ink); grid-auto-flow: column; align-items: end; gap: 0.5em; padding: 1.3em; }
.toy--chart u { width: 0.9em; height: var(--h); border-radius: 0.4em; background: var(--paper); }
.toy--chart u:nth-child(even) { background: var(--acid); }
.toy--toast { width: 14.4em; height: 4.8em; border-radius: 1.6em; background: var(--paper); grid-template-columns: auto minmax(0, 1fr); gap: 0.8em; padding: 0 1em; }
.toy__ico { width: 2.8em; height: 2.8em; border-radius: 50%; background: var(--cobalt); color: var(--paper); display: grid; place-items: center; }
.toy__ico i { font-size: 1.5em; }
.toy__lines { display: grid; gap: 0.5em; width: 100%; }
.toy__lines b { height: 0.6em; border-radius: 99px; background: var(--ink); }
.toy__lines b:last-child { width: 62%; opacity: 0.35; }
.toy--key { height: 4em; padding: 0 1.6em 0 1.3em; border-radius: 999px; background: var(--paper); color: var(--ink); grid-auto-flow: column; gap: 0.5em; font-family: var(--f-text); font-weight: 700; }
.toy--key { font-size: 1.25em; height: 3.2em; }
.toy--key i { font-size: 1.3em; color: var(--cobalt); }
.toy--ai { --lip: #05093f; width: 5.8em; height: 5.8em; border-radius: 50%; background: var(--ink); color: var(--acid); }
.toy--ai i { font-size: 2.8em; }
.toy--code { height: 2.5em; padding: 0 0.9em; border-radius: 0.7em; background: var(--sky); color: var(--ink); font-family: var(--f-mono); font-weight: 700; font-size: 1.5em; letter-spacing: -0.04em; }

.toys__toss {
  position: absolute; right: var(--gut); bottom: calc(var(--r-block) + 18px); z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px 0 12px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(11, 12, 17, 0.9); color: var(--paper);
  font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  transition: transform 0.2s var(--spring), background 0.2s;
}
.toys__toss i { font-size: 18px; color: var(--acid); }
.toys__toss:hover { transform: translateY(-2px) rotate(-2deg); background: var(--ink); }
.toys__toss:active { transform: translateY(1px); }

@media (min-width: 760px) {
  .br-m { display: none; }
  .br-d { display: inline; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero__title { font-stretch: 80%; font-size: clamp(5rem, min(14.1vw, 31svh), 20rem); }
  .hero__foot { margin-top: auto; padding-top: 28px; max-width: min(33rem, 40vw); }
  .toys {
    position: absolute; right: 0; bottom: var(--r-block);
    width: 56%; height: 44%;
    margin: 0;
    font-size: clamp(12px, 1.12vw, 18px);
  }
}

/* Portrait tablets: the two-line headline left an empty band, so stack it in three lines like the phone. */
@media (min-width: 760px) and (max-aspect-ratio: 1/1) {
  .br-m { display: inline; }
  .br-d { display: none; }
  .hero__title { font-stretch: 68%; font-size: clamp(5rem, min(19.8vw, 21svh), 20rem); }
}

/* ---------- What we build ---------- */
.build__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
  margin-top: clamp(36px, 5vw, 72px);
}
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-block);
  padding: clamp(22px, 2.8vw, 44px);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px;
  min-height: 320px;
}
.tile__title {
  margin: 0 0 14px;
  font-family: var(--f-display); font-weight: 900; font-stretch: 76%;
  font-size: clamp(2.5rem, 5.4vw, 5.2rem); line-height: 0.9; letter-spacing: -0.012em;
  text-transform: uppercase;
}
.tile p { margin: 0; max-width: 32ch; font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.38; }
.tile .tlink { margin-top: 12px; }
.tile--web { background: var(--cobalt); color: var(--paper); }
.tile--mobile { background: var(--ink); color: var(--paper); align-content: space-between; }
.tile--ai { background: var(--acid); color: var(--ink); --focus: var(--ink); }

.ill-web { position: relative; min-height: 230px; margin: 0 calc(-1 * clamp(22px, 2.8vw, 44px)) calc(-1 * clamp(22px, 2.8vw, 44px)) 0; }
.win {
  width: 108%; background: var(--paper); border-radius: 20px 0 0 0;
  box-shadow: -8px -8px 0 var(--ink);
  transform: rotate(-2.5deg); transform-origin: 0 0;
  margin-top: 26px;
  overflow: hidden;
}
.win__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--ink); }
.win__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(243, 243, 238, 0.5); }
.win__bar i:first-child { background: var(--acid); }
.win__bar span { width: 38%; height: 12px; margin-left: 10px; border-radius: 99px; background: rgba(243, 243, 238, 0.2); }
.win__body {
  display: grid; grid-template-columns: 20% repeat(3, minmax(0, 1fr)); gap: 10px;
  padding: 12px 12px 40px;
}
.win__side { grid-row: 1 / span 3; background: var(--ink); border-radius: 12px; padding: 14px 10px; display: grid; gap: 9px; align-content: start; }
.win__side b { height: 9px; border-radius: 99px; background: rgba(243, 243, 238, 0.38); }
.win__side b:first-child { width: 70%; background: var(--acid); }
.win__stat { min-height: 66px; border-radius: 12px; padding: 12px; display: grid; align-content: space-between; gap: 10px; }
.win__stat b { width: 46%; height: 8px; border-radius: 99px; background: rgba(11, 12, 17, 0.45); }
.win__stat em { width: 70%; height: 16px; border-radius: 6px; background: var(--ink); }
.win__stat--a { background: var(--acid); }
.win__stat--b { background: var(--sky); }
.win__stat--c { background: var(--cobalt); }
.win__stat--c b { background: rgba(243, 243, 238, 0.6); }
.win__stat--c em { background: var(--paper); }
.win__chart { grid-column: 2 / span 3; height: 112px; border-radius: 12px; background: var(--white); display: flex; align-items: flex-end; gap: 5%; padding: 14px; }
.win__chart u { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--cobalt); transform-origin: 50% 100%; }
.win__chart u:nth-child(3n) { background: var(--ink); }
.win__rows { grid-column: 2 / span 3; display: grid; gap: 6px; }
.win__rows s { height: 13px; border-radius: 6px; background: rgba(11, 12, 17, 0.12); }
.win__rows s:nth-child(2) { width: 82%; }
.win__rows s:nth-child(4) { width: 64%; }
.tile--web:hover .win__chart u { animation: bar-pop 0.6s var(--spring) both; }
.tile--web:hover .win__chart u:nth-child(2) { animation-delay: 0.04s; }
.tile--web:hover .win__chart u:nth-child(3) { animation-delay: 0.08s; }
.tile--web:hover .win__chart u:nth-child(4) { animation-delay: 0.12s; }
.tile--web:hover .win__chart u:nth-child(5) { animation-delay: 0.16s; }
.tile--web:hover .win__chart u:nth-child(6) { animation-delay: 0.2s; }
.tile--web:hover .win__chart u:nth-child(7) { animation-delay: 0.24s; }
@keyframes bar-pop { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }

.ill-phone { position: relative; height: clamp(250px, 62vw, 330px); margin: 0 calc(-1 * clamp(22px, 2.8vw, 44px)) calc(-1 * clamp(22px, 2.8vw, 44px)); }
.fone { position: absolute; left: 50%; top: 8%; width: min(56%, 240px); aspect-ratio: 9 / 18.5; margin-left: -19%; }
.fone--back { margin-left: -55%; top: 14%; }
.fone__body {
  height: 100%;
  display: grid; gap: 9px; align-content: start;
  background: var(--paper); border: 9px solid var(--cobalt); border-radius: 38px; padding: 12px;
  transform: rotate(6deg);
  transition: transform 0.5s var(--spring);
}
.fone--back .fone__body { transform: rotate(-10deg); border-color: var(--sky); }
.tile--mobile:hover .fone--front .fone__body { transform: rotate(9deg) translate(4%, -3%); }
.tile--mobile:hover .fone--back .fone__body { transform: rotate(-14deg) translate(-5%, -2%); }
.fone__isl { width: 34%; height: 12px; border-radius: 99px; background: var(--ink); justify-self: center; }
.fone__hero { height: 78px; border-radius: 16px; background: var(--acid); }
.fone--back .fone__hero { background: var(--cobalt); margin-top: 21px; }
.fone__row { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; align-items: center; }
.fone__row i { width: 30px; height: 30px; border-radius: 10px; background: var(--cobalt); }
.fone__row:nth-of-type(odd) i { background: var(--ink); }
.fone__row b { height: 10px; border-radius: 99px; background: rgba(11, 12, 17, 0.18); }
.fone__tabs { display: flex; justify-content: space-between; padding: 8px 6px 0; }
.fone__tabs i { width: 18px; height: 18px; border-radius: 6px; background: rgba(11, 12, 17, 0.2); }
.fone__tabs i:first-child { background: var(--cobalt); }

.ill-ai { display: flex; align-items: center; min-height: 110px; }
.node {
  flex: none; width: clamp(60px, 7.4vw, 104px); aspect-ratio: 1; border-radius: 28%;
  display: grid; place-items: center; font-size: clamp(28px, 3.3vw, 48px);
  background: var(--ink); color: var(--paper);
  box-shadow: 0 6px 0 rgba(11, 12, 17, 0.3);
}
.node--agent { width: clamp(70px, 8.5vw, 120px); border-radius: 50%; background: var(--cobalt); }
.node--ok { background: var(--paper); color: var(--ink); }
.wire { position: relative; flex: 1 1 40px; max-width: 150px; height: 8px; margin: 0 -2px; background: rgba(11, 12, 17, 0.22); }
.wire b { position: absolute; inset: 0; }
.wire b::after { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--ink); }
.tile.in-view .wire b { animation: wire 1.7s cubic-bezier(0.6, 0, 0.4, 1) infinite; }
.tile.in-view .wire:nth-of-type(4) b { animation-delay: 0.85s; }
@keyframes wire { from { transform: translateX(0); } to { transform: translateX(calc(100% - 16px)); } }

@media (min-width: 700px) {
  .tile--web { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .tile--ai { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0 28px; }
  .tile--ai .tile__copy { display: contents; }
  .tile--ai .tile__title { grid-column: 1 / -1; white-space: nowrap; }
  .tile--ai .tile__copy > p { grid-column: 1; }
  .tile--ai .tile__copy > .tlink { grid-column: 1; justify-self: start; }
  .tile--ai .ill-ai { grid-column: 2; grid-row: 2 / span 2; }
  .ill-ai { justify-content: flex-end; }
}
@media (min-width: 980px) {
  .build__grid { grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); }
  .tile--web { grid-column: 1; grid-row: 1; min-height: 420px; }
  .tile--mobile { grid-column: 2; grid-row: 1 / span 2; }
  .tile--ai { grid-column: 1; grid-row: 2; }
  .ill-phone { height: auto; min-height: 420px; }
  .fone { top: 6%; width: min(60%, 270px); }
}

/* ---------- AI ---------- */
.ai__eyebrow { margin: 0 0 clamp(16px, 2vw, 28px); color: var(--acid); }
.statement {
  margin: 0;
  max-width: 15em;
  font-family: var(--f-display); font-weight: 900; font-stretch: 72%;
  font-size: clamp(2.7rem, 9.4vw, 9.4rem); line-height: 0.9; letter-spacing: -0.015em;
  text-transform: uppercase; text-wrap: balance;
}
.sub-h {
  margin: clamp(56px, 8vw, 120px) 0 clamp(16px, 2vw, 26px);
  font-family: var(--f-display); font-weight: 800; font-stretch: 80%;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1; text-transform: uppercase;
}
.gains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 2.6vw, 40px) clamp(18px, 2.4vw, 40px); }
.gain { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; align-content: start; gap: 0 16px; padding-top: clamp(16px, 1.6vw, 24px); border-top: 3px solid var(--acid); }
.gain i { grid-row: 1 / span 2; font-size: clamp(30px, 2.8vw, 40px); color: var(--acid); line-height: 1; }
.gain h4 { margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 78%; font-size: clamp(1.5rem, 2.15vw, 2.2rem); line-height: 0.96; text-transform: uppercase; letter-spacing: -0.005em; text-wrap: balance; }
.gain p { margin: 8px 0 0; color: var(--soft); font-size: clamp(1rem, 1.15vw, 1.1875rem); line-height: 1.4; max-width: 32ch; }
@media (min-width: 700px) { .gains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .gains { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gain { grid-template-columns: minmax(0, 1fr); }
  .gain i { grid-row: auto; margin-bottom: 14px; }
}
.kinds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.kind {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center;
  gap: 6px clamp(16px, 2vw, 28px);
  padding: clamp(18px, 2vw, 28px) clamp(18px, 2.6vw, 40px);
  border-radius: var(--r-block);
}
.kind__ico { grid-row: 1 / span 2; width: clamp(52px, 5vw, 72px); aspect-ratio: 1; border-radius: 30%; display: grid; place-items: center; font-size: clamp(26px, 2.6vw, 36px); background: var(--paper); color: var(--ink); }
.kind h4 { margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 76%; font-size: clamp(1.9rem, 4.4vw, 4rem); line-height: 0.92; text-transform: uppercase; letter-spacing: -0.01em; }
.kind p { margin: 0; font-size: clamp(1rem, 1.25vw, 1.25rem); line-height: 1.35; max-width: 34ch; }
.kind--1 { background: var(--ink-2); }
.kind--2 { background: var(--cobalt); }
.kind--2 .kind__ico { background: var(--ink); color: var(--paper); }
.kind--3 { background: var(--paper); color: var(--ink); }
.kind--3 .kind__ico { background: var(--cobalt); color: var(--paper); }
@media (min-width: 900px) {
  .kind { grid-template-columns: auto minmax(0, 1.05fr) minmax(0, 1fr); }
  .kind__ico { grid-row: auto; }
  .kind--1 { width: 74%; }
  .kind--2 { width: 87%; }
}

.board { margin-top: clamp(72px, 10vw, 160px); }
.board__title {
  margin: 0; max-width: 13em;
  font-family: var(--f-display); font-weight: 900; font-stretch: 74%;
  font-size: clamp(2.3rem, 6.2vw, 6rem); line-height: 0.9; letter-spacing: -0.012em; text-transform: uppercase; text-wrap: balance;
}
.board__sub { margin: clamp(14px, 1.6vw, 22px) 0 0; max-width: 52ch; color: var(--soft); font-size: clamp(1.0625rem, 1.3vw, 1.3rem); line-height: 1.4; }
.board__keys { display: flex; flex-wrap: wrap; gap: 12px 10px; margin: clamp(26px, 3vw, 44px) 0 clamp(18px, 2vw, 26px); }
.key {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 20px 0 16px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink-2); color: var(--paper);
  font-size: 1rem; font-weight: 600; text-align: left; line-height: 1.15;
  box-shadow: 0 0 0 2px rgba(243, 243, 238, 0.22), 0 6px 0 2px rgba(243, 243, 238, 0.22);
  transform: translateY(-3px);
  transition: transform 0.18s var(--spring), box-shadow 0.18s var(--spring), background 0.18s, color 0.18s;
  -webkit-tap-highlight-color: transparent;
}
.key i { font-size: 22px; flex: none; }
.key:hover { transform: translateY(-5px); box-shadow: 0 0 0 2px rgba(243, 243, 238, 0.3), 0 8px 0 2px rgba(243, 243, 238, 0.3); }
.key[aria-selected="true"] { background: var(--paper); color: var(--ink); transform: translateY(3px); box-shadow: 0 0 0 2px var(--paper), 0 0 0 2px var(--paper); }
.key[aria-selected="true"] i { color: var(--cobalt); }

.board__stage { position: relative; overflow: hidden; background: var(--ink-2); border-radius: var(--r-block); padding: clamp(16px, 2.4vw, 36px); }
.board__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: clamp(16px, 2vw, 26px); }
.board__tag { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border-radius: 999px; background: var(--acid); color: var(--ink); font-weight: 600; }
.board__replay {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 13px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(243, 243, 238, 0.12); color: var(--paper); font-weight: 600; font-size: 0.9375rem;
  transition: background 0.2s;
}
.board__replay:hover { background: rgba(243, 243, 238, 0.22); }
.board__replay i { font-size: 18px; transition: transform 0.5s var(--ease); }
.board__replay:hover i { transform: rotate(180deg); }
html:not(.js) .board__replay { display: none; }

/* Without scripts every department shows, one after another. With scripts only the chosen one does. */
.js:not(.reveal-all) .dept ~ .dept { display: none; }
.dept + .dept { margin-top: 36px; }
.dept:focus-visible { outline-offset: 8px; }
.dept__name { margin: 0 0 6px; font-family: var(--f-display); font-weight: 800; font-stretch: 80%; font-size: 1.5rem; text-transform: uppercase; }
.board.is-live .dept__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.dept__blurb { margin: 0 0 clamp(22px, 2.6vw, 36px); max-width: 44ch; font-size: clamp(1.1875rem, 1.9vw, 1.75rem); line-height: 1.28; font-weight: 500; }

.flow { --p: 1; position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.flow::before, .flow::after {
  content: ""; position: absolute; left: 21px; top: 24px; bottom: 30px; width: 6px; border-radius: 99px;
  background: rgba(243, 243, 238, 0.16);
}
.flow::after { background: var(--acid); transform-origin: 50% 0; transform: scaleY(var(--p)); }
.fc { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: start; }
.fc__head {
  position: relative; z-index: 1;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 0 0 5px var(--ink-2);
  transition: background 0.25s, color 0.25s;
}
.fc__body { position: relative; min-height: 100%; padding: 14px 18px 16px; border-radius: 20px; background: var(--paper); color: var(--ink); }
.fc__kind { display: block; margin-bottom: 6px; font-size: 0.75rem; color: rgba(11, 12, 17, 0.72); }
.fc p { margin: 0; font-size: clamp(1rem, 1.15vw, 1.125rem); font-weight: 550; line-height: 1.28; }
.fc--trigger .fc__head { background: var(--cobalt); color: var(--paper); }
.fc--approve .fc__head, .fc--approve .fc__body { background: var(--acid); }
.fc--approve .fc__body { padding-bottom: 30px; }
.fc--result .fc__head, .fc--result .fc__body { background: var(--cobalt); color: var(--paper); }
.fc--result .fc__kind { color: rgba(243, 243, 238, 0.9); }
.fc__stamp {
  position: absolute; right: 12px; bottom: -10px;
  padding: 7px 11px; border-radius: 9px;
  background: var(--ink); color: var(--acid);
  font-family: var(--f-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  transform: rotate(-7deg);
}
/* States while the example plays */
.flow.is-playing .fc:not(.is-on) .fc__head { background: var(--ink-2); color: rgba(243, 243, 238, 0.55); box-shadow: 0 0 0 5px var(--ink-2), inset 0 0 0 2px rgba(243, 243, 238, 0.3); }
.fc.is-working .fc__head::after, .fc.is-waiting .fc__head::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 3px solid transparent; border-top-color: var(--acid); border-right-color: var(--acid);
  animation: spin 0.7s linear infinite;
}
.fc.is-waiting .fc__head::after { border-color: var(--acid); border-style: dashed; animation-duration: 2.4s; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 1040px) {
  .flow { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .flow::before, .flow::after {
    left: 24px; right: calc((100% - 60px) / 6 - 24px); top: 21px; bottom: auto; width: auto; height: 6px;
  }
  .flow::after { transform-origin: 0 50%; transform: scaleX(var(--p)); }
  .fc { grid-template-columns: minmax(0, 1fr); grid-template-rows: 48px 1fr; gap: 18px; }
  .fc__body { min-height: 150px; }
}

.ai__close {
  margin-top: clamp(36px, 5vw, 72px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px;
}
.ai__close p { margin: 0; max-width: 28ch; font-family: var(--f-display); font-weight: 800; font-stretch: 84%; font-size: clamp(1.5rem, 2.8vw, 2.6rem); line-height: 1.02; text-transform: uppercase; }

/* ---------- Scope your build ---------- */
.builder {
  margin-top: clamp(32px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 1.8vw, 26px);
}
.builder__stage { position: sticky; top: calc(var(--nav-h) + 22px); z-index: 5; min-width: 0; }
.builder__controls { min-width: 0; padding-top: 6px; }

.stage {
  position: relative; overflow: hidden;
  height: 296px;
  display: flex; flex-direction: column; gap: 9px;
  padding: 11px;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-block);
  box-shadow: 0 8px 0 var(--ink);
}
.stage__empty {
  position: absolute; inset: 0; margin: 0; padding: 24px;
  display: none; place-content: center; justify-items: center; gap: 12px; text-align: center;
  font-weight: 600; color: rgba(11, 12, 17, 0.72);
}
.stage__empty i { font-size: 44px; color: var(--cobalt); }
.stage.is-empty .stage__empty { display: grid; }
.is-off { display: none !important; }

.stage__ai { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.stage.is-ai-only .stage__ai { flex: 1 1 auto; align-content: center; justify-content: center; gap: 10px; padding: 0 6%; }
.stage.is-ai-only .stage__devices, .stage.is-empty .stage__devices { display: none; }
.hub, .helper {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px 0 10px; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 650; line-height: 1; white-space: nowrap;
}
.hub { background: var(--ink); color: var(--acid); }
.hub i, .helper i { font-size: 17px; }
.helper { background: var(--acid); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); padding: 0 9px; }
.helper em { font-style: normal; display: none; }
.stage.is-ai-only .stage__ai::before { content: ""; flex-basis: 100%; order: 0; }
.stage.is-ai-only .hub { order: -1; }
.stage.is-ai-only .helper { order: 1; }
.stage.is-ai-only .hub, .stage.is-ai-only .helper { height: 44px; padding: 0 16px 0 13px; font-size: 0.9375rem; }
.stage.is-ai-only .hub i, .stage.is-ai-only .helper i { font-size: 21px; }
.stage.is-ai-only .helper em { display: inline; }
.helper--hint { background: none; box-shadow: none; border: 2px dashed rgba(11, 12, 17, 0.4); color: rgba(11, 12, 17, 0.72); font-weight: 550; padding: 0 12px; }

.stage__devices { flex: 1 1 auto; min-height: 0; display: flex; align-items: stretch; justify-content: center; gap: 11px; padding: 3px 3px 9px; }
.dev { --pad: 8px; --gap: 7px; min-width: 0; display: flex; flex-direction: column; background: var(--white); box-shadow: 0 0 0 3px var(--ink), 0 6px 0 3px var(--ink); }
.dev--browser { flex: 1 1 0; border-radius: 16px; overflow: hidden; }
.dev__bar { flex: none; display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 10px; background: var(--ink); }
.dev__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(243, 243, 238, 0.5); }
.dev__bar i:first-child { background: var(--acid); }
.dev__bar span { width: 36%; height: 8px; margin-left: 8px; border-radius: 99px; background: rgba(243, 243, 238, 0.2); }
.dev__body { position: relative; flex: 1 1 auto; min-height: 0; display: grid; gap: var(--gap); padding: var(--pad); }
.dev--browser .dev__body { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); }
.dev__slots { position: absolute; inset: 0; display: grid; grid-template-columns: inherit; grid-template-rows: inherit; gap: var(--gap); padding: var(--pad); pointer-events: none; }
.dev__slots i { border: 2px dashed rgba(11, 12, 17, 0.2); border-radius: 11px; }
.dev--phone { --pad: 0px; --gap: 5px; flex: none; align-self: center; width: 88px; height: 100%; max-height: 200px; border-radius: 20px; padding: 7px 6px 6px; }
.dev--phone .dev__body { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(6, minmax(0, 1fr)); }
.stage .dev--browser.is-off + .dev--phone { width: auto; height: 100%; max-height: none; aspect-ratio: 9 / 17.5; }
.dev--phone .dev__slots i { border-radius: 7px; border-width: 1.5px; }
.dev__isl { flex: none; align-self: center; width: 36%; height: 8px; margin-bottom: 5px; border-radius: 99px; background: var(--ink); }

.bk {
  position: relative; min-width: 0; min-height: 0; overflow: hidden;
  display: grid; align-content: space-between; gap: 2px;
  padding: 7px 8px 6px;
  border-radius: 11px;
  background: var(--b, var(--sky)); color: var(--f, var(--ink));
  box-shadow: inset 0 0 0 2px rgba(11, 12, 17, 0.9), inset 0 -5px 0 rgba(11, 12, 17, 0.9);
}
.bk > i { font-size: 17px; }
.bk em { font-family: var(--f-mono); font-style: normal; font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1.1; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-bottom: 3px; }
.bk__art { display: none; }
.bk--accounts { --b: var(--sky); }
.bk--payments { --b: var(--acid); }
.bk--dashboard { --b: var(--cobalt); --f: var(--paper); }
.bk--notifications { --b: #2a2d3a; --f: var(--paper); }
.bk--messaging { --b: var(--paper); }
.bk--admin { --b: var(--navy); --f: var(--paper); }
.dev--phone .bk { display: flex; align-items: center; gap: 5px; padding: 0 6px 3px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px rgba(11, 12, 17, 0.9), inset 0 -3px 0 rgba(11, 12, 17, 0.9); }
.dev--phone .bk > i { font-size: 12px; }
.dev--phone .bk em { display: none; }
.dev--phone .bk::after { content: ""; flex: 1; height: 4px; border-radius: 99px; background: currentColor; opacity: 0.45; }

.group { border: 0; margin: 0 0 clamp(22px, 2.6vw, 34px); padding: 0; min-width: 0; }
.group:last-child { margin-bottom: 0; }
.group legend {
  padding: 0; margin-bottom: 14px;
  font-family: var(--f-display); font-weight: 800; font-stretch: 82%;
  font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1; text-transform: uppercase; letter-spacing: -0.005em;
}
.group__opts { display: flex; flex-wrap: wrap; gap: 13px 9px; }
.opt { position: relative; display: inline-flex; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt__face {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 17px 0 13px;
  border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-size: 0.9375rem; font-weight: 600; line-height: 1.1;
  box-shadow: 0 0 0 2px var(--ink), 0 6px 0 2px var(--ink);
  transform: translateY(-3px);
  transition: transform 0.16s var(--spring), box-shadow 0.16s var(--spring), background 0.16s;
  -webkit-user-select: none; user-select: none;
}
.opt__face i { font-size: 20px; }
.opt:hover .opt__face { transform: translateY(-5px); box-shadow: 0 0 0 2px var(--ink), 0 8px 0 2px var(--ink); }
.opt input:checked + .opt__face { background: var(--acid); transform: translateY(3px); box-shadow: 0 0 0 2px var(--ink), 0 0 0 2px var(--ink); }
.opt input:checked + .opt__face i::before { font-family: "Phosphor-Bold"; content: "\e182"; }
.opt input:focus-visible + .opt__face { outline: 3px solid var(--acid); outline-offset: 4px; }

.builder__summary {
  --b-ring: var(--acid-deep);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 36px;
  padding: clamp(20px, 2.4vw, 34px) clamp(20px, 2.8vw, 40px);
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-block);
}
.summary__label { margin: 0 0 8px; color: var(--acid); }
.summary__line { margin: 0; font-size: clamp(1.25rem, 2.1vw, 1.875rem); font-weight: 500; line-height: 1.22; letter-spacing: -0.01em; }
.summary__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding-top: 4px; }
.summary__hint { margin: 0; font-size: 0.9375rem; color: rgba(243, 243, 238, 0.76); }

@media (max-width: 559px) and (max-height: 700px) {
  .stage { height: 248px; }
  .dev--phone { max-height: 170px; width: 76px; }
}
@media (min-width: 560px) {
  .stage { height: 390px; padding: 16px; gap: 12px; }
  .helper { padding: 0 12px 0 10px; }
  .helper em { display: inline; }
  .dev { --pad: 10px; --gap: 9px; }
  .dev--browser .dev__body { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .bk { padding: 10px 11px 9px; }
  .bk > i { font-size: 22px; }
  .bk em { font-size: 0.6875rem; }
  .dev--phone { --gap: 6px; width: 132px; max-height: 270px; border-radius: 26px; padding: 9px 8px 8px; }
  .dev--phone .bk { padding: 0 8px 3px; gap: 6px; border-radius: 9px; }
  .dev--phone .bk > i { font-size: 14px; }
  .dev--phone .bk em { display: block; font-size: 0.5625rem; padding: 0; }
  .dev--phone .bk::after { display: none; }
}
@media (min-width: 980px) {
  .builder { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .builder__stage { position: relative; top: auto; grid-column: 2; grid-row: 1; }
  .builder__controls { grid-column: 1; grid-row: 1; }
  .builder__summary { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .summary__hint { grid-column: 1 / -1; }
  .stage { height: clamp(500px, 41vw, 610px); padding: 22px; gap: 16px; }
  .stage__devices { gap: 20px; padding-bottom: 10px; }
  .hub, .helper { height: 40px; font-size: 0.875rem; }
  .dev { --pad: 13px; --gap: 11px; }
  .dev--browser { border-radius: 20px; }
  .dev__bar { height: 32px; padding: 0 14px; }
  .dev__bar i { width: 9px; height: 9px; }
  .dev__slots i { border-radius: 16px; }
  .bk { padding: 14px 15px 13px; border-radius: 16px; gap: 6px; box-shadow: inset 0 0 0 2.5px rgba(11, 12, 17, 0.9), inset 0 -7px 0 rgba(11, 12, 17, 0.9); }
  .bk > i { font-size: 30px; }
  .bk em { font-size: 0.75rem; padding-bottom: 5px; }
  .bk__art { display: grid; gap: 6px; align-content: end; }
  .bk__art b { height: 8px; border-radius: 99px; background: currentColor; opacity: 0.3; }
  .bk__art b:nth-child(2) { width: 70%; }
  .bk__art b:nth-child(3) { width: 44%; opacity: 0.8; }
  .bk--dashboard .bk__art { grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; height: 44px; gap: 6px; }
  .bk--dashboard .bk__art b { width: auto; height: 40%; border-radius: 5px 5px 1px 1px; opacity: 0.85; }
  .bk--dashboard .bk__art b:nth-child(2) { height: 75%; }
  .bk--dashboard .bk__art b:nth-child(3) { height: 55%; }
  .bk--dashboard .bk__art b:nth-child(4) { height: 100%; background: var(--acid); opacity: 1; }
  .bk--messaging .bk__art b { height: 13px; width: 62%; border-radius: 7px 7px 7px 2px; opacity: 0.25; }
  .bk--messaging .bk__art b:nth-child(2) { justify-self: end; border-radius: 7px 7px 2px 7px; background: var(--cobalt); opacity: 1; }
  .bk--admin .bk__art b { width: 100%; opacity: 0.3; }
  .bk--admin .bk__art b:nth-child(2) { width: 100%; background: var(--acid); opacity: 1; }
  .dev--phone { --gap: 8px; width: clamp(150px, 13vw, 190px); height: auto; max-height: 100%; aspect-ratio: 9 / 17.5; border-radius: 30px; padding: 11px 10px 10px; }
  .dev--phone .dev__slots i { border-radius: 11px; }
  .dev--phone .bk { padding: 0 11px 4px; gap: 8px; border-radius: 11px; box-shadow: inset 0 0 0 2px rgba(11, 12, 17, 0.9), inset 0 -4px 0 rgba(11, 12, 17, 0.9); }
  .dev--phone .bk > i { font-size: 17px; }
  .dev--phone .bk em { font-size: 0.625rem; }
  .dev__isl { height: 10px; margin-bottom: 7px; }
}

/* ---------- Lifecycle ---------- */
.marquee {
  margin: clamp(40px, 5.6vw, 84px) -2vw clamp(34px, 4.6vw, 68px);
  padding: clamp(12px, 1.5vw, 22px) 0;
  background: var(--ink); color: var(--paper);
  overflow: hidden;
  transform: rotate(-1.6deg);
}
.marquee__track {
  display: flex; align-items: center; width: max-content;
  font-family: var(--f-display); font-weight: 900; font-stretch: 74%;
  font-size: clamp(2.6rem, 7.2vw, 6.6rem); line-height: 1; text-transform: uppercase; letter-spacing: -0.01em;
  will-change: transform;
}
.marquee__track > * { flex: none; margin-right: clamp(16px, 2.2vw, 36px); }
.marquee__track i { font-size: 0.62em; color: var(--acid); }

.stack { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); }
.card { position: sticky; top: calc(var(--nav-h) + 22px + var(--i) * 9px); }
.card__in {
  position: relative; overflow: hidden;
  min-height: min(600px, calc(100svh - var(--nav-h) - 150px));
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px;
  padding: clamp(22px, 3.2vw, 52px);
  border-radius: var(--r-block);
  transform-origin: 50% 0;
}
.card__copy { display: flex; flex-direction: column; gap: 12px; }
.card__n {
  font-family: var(--f-display); font-weight: 900; font-stretch: 100%;
  font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1;
  width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 2.5px currentColor;
  margin-bottom: clamp(4px, 1vw, 16px);
  flex: none;
}
.card__title {
  margin: 0;
  font-family: var(--f-display); font-weight: 900; font-stretch: 70%;
  font-size: clamp(2.5rem, 12.6vw, 4.2rem); line-height: 0.88; letter-spacing: -0.015em; text-transform: uppercase;
}
.card p { margin: 0; max-width: 36ch; font-size: clamp(1.0625rem, 1.45vw, 1.375rem); line-height: 1.36; }
.card--1 .card__in { background: var(--cobalt); color: var(--paper); }
.card--2 .card__in { background: var(--ink); color: var(--paper); }
.card--3 .card__in { background: var(--sky); color: var(--ink); }
.card--4 .card__in { background: var(--navy); color: var(--paper); }
.card--5 .card__in { background: var(--acid); color: var(--ink); }
.card--6 .card__in { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); }

.art { position: relative; min-width: 0; min-height: 170px; align-self: end; }
.art-talk { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-content: center; }
.bub { border-radius: 26px; padding: clamp(16px, 2vw, 26px); display: grid; gap: 10px; }
.bub b { height: clamp(9px, 1vw, 13px); border-radius: 99px; background: rgba(11, 12, 17, 0.8); }
.bub b:last-child { width: 58%; }
.bub--a { grid-column: 1 / span 4; background: var(--paper); border-bottom-left-radius: 6px; }
.bub--b { grid-column: 3 / span 4; background: var(--acid); border-bottom-right-radius: 6px; }
.route { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.route > i { flex: 1; height: 8px; border-radius: 99px; background: rgba(243, 243, 238, 0.4); }
.route > i:first-child { background: var(--paper); }
.route em { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--acid); font-size: 24px; font-style: normal; }

.art-brand { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; align-content: center; }
.spec { min-height: clamp(110px, 14vw, 210px); border-radius: 26px; display: grid; place-items: center; background: var(--paper); color: var(--ink); font-family: var(--f-display); font-weight: 900; font-size: clamp(3.6rem, 9vw, 8.5rem); line-height: 1; letter-spacing: -0.04em; }
.logo { border-radius: 26px; display: flex; align-items: center; justify-content: center; background: var(--cobalt); }
.logo i { width: 34%; aspect-ratio: 1; background: var(--acid); border-radius: 50%; }
.logo i:last-child { background: var(--paper); border-radius: 0 50% 50% 0; margin-left: -7%; }
.sws { grid-column: 1 / -1; display: flex; gap: 10px; }
.sws i { flex: 1; height: clamp(34px, 4vw, 52px); border-radius: 99px; background: var(--cobalt); }
.sws i:nth-child(2) { background: var(--acid); }
.sws i:nth-child(3) { background: var(--sky); }
.sws i:nth-child(4) { background: var(--paper); }

.art-ux { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 26px); padding-bottom: 8px; }
.scr { position: relative; flex: 0 1 clamp(110px, 15vw, 210px); aspect-ratio: 9 / 14.5; border-radius: clamp(18px, 2vw, 28px); padding: clamp(10px, 1.2vw, 16px); display: grid; grid-template-rows: 2.3fr 1fr 1fr 1.1fr; gap: clamp(7px, 0.9vw, 11px); }
.scr b { border-radius: clamp(8px, 1vw, 13px); }
.scr--wire { box-shadow: inset 0 0 0 3px var(--ink); }
.scr--wire b { border: 2.5px dashed rgba(11, 12, 17, 0.6); }
.scr--hifi { background: var(--ink); box-shadow: 0 8px 0 rgba(11, 12, 17, 0.28); }
.scr--hifi b { background: var(--paper); }
.scr--hifi b:first-child { background: var(--cobalt); }
.scr--hifi b:nth-child(4) { background: var(--acid); border-radius: 99px; }
.scr--hifi > i { position: absolute; right: -18px; bottom: -10px; font-size: clamp(36px, 4vw, 54px); color: var(--ink); -webkit-text-stroke: 3px var(--sky); paint-order: stroke fill; }
.art-ux__arrow { flex: none; font-size: clamp(24px, 3vw, 40px); }

.art-dev { display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.brick { height: clamp(40px, 4.8vw, 62px); border-radius: 14px; display: flex; align-items: center; padding: 0 clamp(12px, 1.6vw, 22px); font-family: var(--f-mono); font-size: clamp(0.75rem, 1.05vw, 1rem); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; box-shadow: 0 5px 0 rgba(4, 8, 48, 0.75); }
.brick--1 { width: 42%; margin-left: 29%; background: var(--acid); color: var(--ink); }
.brick--2 { width: 60%; margin-left: 20%; background: var(--sky); color: var(--ink); }
.brick--3 { width: 74%; margin-left: 13%; background: var(--paper); color: var(--ink); }
.brick--4 { width: 88%; margin-left: 6%; background: var(--cobalt); color: var(--paper); }
.brick--5 { width: 100%; background: var(--ink); color: var(--paper); }

.art-launch { display: flex; flex-wrap: wrap; align-content: center; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: clamp(52px, 5vw, 66px); padding: 0 22px 0 16px; border-radius: 18px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: clamp(0.9375rem, 1.2vw, 1.125rem); }
.store i { font-size: 1.7em; }
.tick { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 9px; border-radius: 99px; background: var(--paper); color: var(--ink); font-weight: 600; font-size: 0.9375rem; box-shadow: inset 0 0 0 2px var(--ink); }
.tick i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--acid); font-size: 14px; }
.golive { flex: 0 0 auto; margin-top: 6px; width: clamp(170px, 20vw, 250px); height: clamp(70px, 8vw, 100px); border-radius: 999px; padding: 9px 9px 9px clamp(22px, 2.6vw, 34px); display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: var(--acid); }
.golive em { font-family: var(--f-display); font-style: normal; font-weight: 900; font-stretch: 84%; font-size: clamp(1.4rem, 2.4vw, 2.2rem); text-transform: uppercase; }
.golive b { height: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--acid); }
.art-launch::before { content: ""; flex-basis: 100%; order: 1; height: 0; }
.art-launch .tick { order: 2; }
.art-launch .golive { order: 3; flex-basis: 100%; max-width: clamp(170px, 20vw, 250px); }

.art-care { display: flex; flex-wrap: wrap; align-content: center; gap: 10px; }
.pulse { flex: 0 0 100%; width: 100%; height: clamp(96px, 13vw, 170px); padding: 14px 6px; border-radius: 24px; background: var(--ink); }
.pulse polyline { fill: none; stroke: var(--acid); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 12px; border-radius: 99px; background: var(--paper); color: var(--ink); font-weight: 600; font-size: 0.9375rem; box-shadow: inset 0 0 0 2px var(--ink); }
.pill i { font-size: 18px; color: var(--cobalt); }

@media (max-width: 559px) {
  .art { min-height: 0; }
  .brick { height: 34px; border-radius: 11px; box-shadow: 0 4px 0 rgba(4, 8, 48, 0.75); }
  .art-dev { gap: 8px; }
  .store { height: 46px; padding: 0 14px 0 11px; border-radius: 14px; font-size: 0.875rem; gap: 7px; }
  .tick { height: 38px; padding: 0 11px 0 6px; gap: 6px; font-size: 0.8125rem; }
  .art-launch { gap: 8px; }
  .golive { height: 58px; width: 150px; }
  .pill { height: 38px; padding: 0 12px 0 9px; font-size: 0.8125rem; gap: 6px; }
  .route em { width: 42px; height: 42px; font-size: 20px; }
}
@media (min-width: 860px) {
  .card { top: calc(var(--nav-h) + 26px + var(--i) * 12px); }
  .card__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); }
  .card__n { margin-bottom: auto; }
  .card__title { font-size: clamp(3.2rem, 6.2vw, 6.3rem); margin-bottom: 14px; }
  .art { align-self: center; }
}

/* ---------- Consultation ---------- */
.pipe {
  margin: clamp(40px, 6vw, 92px) 0 clamp(36px, 4.6vw, 68px);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center;
}
.consult__cta { margin: 0; }
.pipe__in { display: grid; gap: 10px; }
.q {
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 12px 20px 12px 13px;
  border-radius: 20px; background: var(--ink-2); color: var(--paper);
  font-weight: 600; font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.2;
}
.q i { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; background: var(--paper); color: var(--ink); }
.q--1 { width: 88%; }
.q--2 { width: 72%; margin-left: 14%; }
.q--3 { width: 84%; margin-left: 5%; }
.q--4 { width: 100%; }
.q--2 i { background: var(--cobalt); color: var(--paper); }
.q--4 i { background: var(--acid); }
.pipe__arrow { justify-self: center; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; background: var(--cobalt); color: var(--paper); transform: rotate(90deg); }
.plan {
  padding: clamp(22px, 2.8vw, 40px);
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-block);
  box-shadow: 0 10px 0 var(--cobalt);
}
.plan__label { margin: 0; color: rgba(11, 12, 17, 0.72); }
.plan__title { margin: 8px 0 20px; font-family: var(--f-display); font-weight: 900; font-stretch: 76%; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 0.92; text-transform: uppercase; letter-spacing: -0.01em; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.plan li { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 16px; background: var(--white); font-weight: 650; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.plan li span { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--acid); box-shadow: inset 0 0 0 2px var(--ink); font-size: 16px; }
@media (min-width: 900px) {
  .pipe { grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr); gap: clamp(18px, 2.8vw, 48px); }
  .pipe__arrow { transform: none; }
  .plan { transform: rotate(1.6deg); }
}

/* ---------- Design ---------- */
.play {
  --p-accent: #1c39ff; --p-on: #f3f3ee; --p-radius: 18px; --p-font: var(--f-display); --p-weight: 800;
  margin-top: clamp(16px, 2vw, 26px);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 1.6vw, 22px);
}
.play__controls {
  --focus: var(--acid);
  display: flex; flex-direction: column; gap: 24px;
  padding: clamp(20px, 2.4vw, 34px);
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-block);
}
.play__intro { margin: clamp(36px, 5vw, 76px) 0 0; display: flex; align-items: center; gap: 12px; max-width: 52ch; font-size: 1.0625rem; line-height: 1.4; font-weight: 500; }
.play__intro i { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--ink); color: var(--acid); }
.play__intro strong { font-weight: 700; }
.pc { border: 0; margin: 0; padding: 0; min-width: 0; }
.pc legend, .pc > label {
  display: flex; justify-content: space-between; width: 100%; padding: 0; margin-bottom: 12px;
  font-family: var(--f-mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(243, 243, 238, 0.84);
}
.pc output { color: var(--acid); }
.pc__swatches { display: flex; flex-wrap: wrap; gap: 14px; }
.sw { position: relative; display: grid; justify-items: center; gap: 8px; cursor: pointer; }
.sw input, .ft input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sw span { width: 50px; height: 50px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgba(243, 243, 238, 0.45); transition: transform 0.2s var(--spring), box-shadow 0.2s; }
.sw:hover span { transform: scale(1.08); }
.sw input:checked + span { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--paper); transform: scale(0.9); }
.sw input:focus-visible + span { outline: 3px solid var(--acid); outline-offset: 8px; }
.sw em { font-family: var(--f-mono); font-style: normal; font-size: 0.75rem; color: rgba(243, 243, 238, 0.84); }
.pc__fonts { display: flex; flex-wrap: wrap; gap: 8px; }
.ft { position: relative; }
.ft span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; background: rgba(243, 243, 238, 0.14); transition: background 0.2s, color 0.2s; }
.ft:hover span { background: rgba(243, 243, 238, 0.24); }
.ft input:checked + span { background: var(--paper); color: var(--ink); }
.ft input:focus-visible + span { outline: 3px solid var(--acid); outline-offset: 3px; }

.pc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
.pc input[type="range"]::-webkit-slider-runnable-track { height: 10px; border-radius: 99px; background: rgba(243, 243, 238, 0.26); }
.pc input[type="range"]::-moz-range-track { height: 10px; border-radius: 99px; background: rgba(243, 243, 238, 0.26); }
.pc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: var(--acid); border: 3px solid var(--ink); box-shadow: 0 0 0 2px var(--acid); }
.pc input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--acid); border: 3px solid var(--ink); box-shadow: 0 0 0 2px var(--acid); }

.play__canvas {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 1.6vw, 20px);
  padding: clamp(16px, 2.4vw, 36px);
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-block);
}
.sp { min-width: 0; padding: clamp(16px, 1.8vw, 24px); background: var(--white); border-radius: calc(var(--p-radius) * 1.25 + 4px); transition: border-radius 0.35s var(--ease); }
.sp--screen { display: grid; gap: 14px; align-content: start; box-shadow: 0 0 0 3px var(--ink), 0 8px 0 3px var(--ink); margin: 3px 3px 11px; }
.sp__top { display: flex; align-items: center; gap: 12px; }
.sp__avatar { flex: none; width: 42px; height: 42px; border-radius: min(var(--p-radius), 21px); background: var(--p-accent); box-shadow: inset 0 0 0 2px var(--ink); transition: border-radius 0.35s var(--ease), background 0.35s; }
.sp__hello { font-family: var(--p-font); font-weight: var(--p-weight); font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.1; }
.sp__card { display: grid; gap: 10px; align-content: end; min-height: clamp(130px, 14vw, 190px); padding: 18px; border-radius: var(--p-radius); background: var(--p-accent); color: var(--p-on); box-shadow: inset 0 0 0 2px var(--ink); transition: border-radius 0.35s var(--ease), background 0.35s, color 0.35s; }
.sp__big { font-family: var(--p-font); font-weight: var(--p-weight); font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; }
.sp__line { width: 78%; height: 10px; border-radius: 99px; background: currentColor; opacity: 0.55; }
.sp__line--s { width: 48%; }
.sp__btn { display: grid; place-items: center; min-height: 50px; border-radius: var(--p-radius); background: var(--p-accent); color: var(--p-on); font-family: var(--p-font); font-weight: var(--p-weight); box-shadow: inset 0 0 0 2px var(--ink); transition: border-radius 0.35s var(--ease), background 0.35s, color 0.35s; }
.sp__btn--ghost { background: transparent; color: var(--ink); }
.sp--kit { display: grid; gap: 16px; align-content: start; }
.sp__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sp__chip { padding: 9px 15px; border-radius: var(--p-radius); background: var(--p-accent); color: var(--p-on); font-family: var(--p-font); font-weight: var(--p-weight); font-size: 0.9375rem; box-shadow: inset 0 0 0 2px var(--ink); transition: border-radius 0.35s var(--ease), background 0.35s, color 0.35s; }
.sp__chip--ghost { background: transparent; color: var(--ink); }
.sp__rowx { display: flex; align-items: center; gap: 12px; }
.sp__toggle { flex: none; width: 58px; height: 34px; padding: 5px; display: flex; justify-content: flex-end; border-radius: min(var(--p-radius), 17px); background: var(--p-accent); box-shadow: inset 0 0 0 2px var(--ink); transition: border-radius 0.35s var(--ease), background 0.35s; }
.sp__toggle b { width: 24px; height: 24px; border-radius: min(var(--p-radius), 12px); background: var(--p-on); box-shadow: 0 0 0 2px var(--ink); transition: border-radius 0.35s var(--ease), background 0.35s; }
.sp__label { font-family: var(--p-font); font-weight: 600; }
.sp__input { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 15px; border-radius: var(--p-radius); box-shadow: inset 0 0 0 2px var(--ink); color: rgba(11, 12, 17, 0.7); font-family: var(--p-font); font-weight: 500; transition: border-radius 0.35s var(--ease); }
.sp__bars { display: flex; align-items: flex-end; gap: 8px; height: clamp(70px, 8vw, 110px); }
.sp__bars u { flex: 1; height: var(--h); background: var(--p-accent); box-shadow: inset 0 0 0 2px var(--ink); border-radius: min(var(--p-radius), 12px) min(var(--p-radius), 12px) 3px 3px; transition: border-radius 0.35s var(--ease), background 0.35s; }
.sp--tokens { display: none; margin: auto 0 0; padding: 16px 18px; background: var(--ink-2); color: var(--acid); font-family: var(--f-mono); font-size: 0.875rem; line-height: 1.75; white-space: pre; overflow-x: auto; }
.sp--tokens code { font: inherit; }

.design__list { list-style: none; margin: clamp(18px, 2.4vw, 32px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.design__list li { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 24px 0 17px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: clamp(1rem, 1.3vw, 1.2rem); }
.design__list i { font-size: 24px; color: var(--acid); }

@media (min-width: 700px) {
  .play__canvas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .sp--tokens { display: block; }
}
@media (min-width: 1040px) {
  .play { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: stretch; }
}

/* ---------- Why MLG ---------- */
.perks { list-style: none; margin: clamp(28px, 4vw, 64px) 0 0; padding: 0; }
.perk {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 48px; align-items: center;
  padding: clamp(20px, 2.5vw, 36px) 0;
  border-top: 2px solid var(--line);
  transition: color 0.3s var(--ease), padding 0.4s var(--ease);
}
.perk:last-child { border-bottom: 2px solid var(--line); }
.perk::before {
  content: ""; position: absolute; z-index: -1; inset: -2px calc(-1 * clamp(8px, 1.6vw, 24px));
  background: var(--paper); border-radius: var(--r-block);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform 0.4s var(--ease);
}
.perk__title {
  margin: 0;
  font-family: var(--f-display); font-weight: 900; font-stretch: 72%;
  font-size: clamp(2.1rem, 6.3vw, 6rem); line-height: 0.92; letter-spacing: -0.012em; text-transform: uppercase;
}
.perk__title { text-wrap: balance; }
.perk__title span { display: block; transition: transform 0.4s var(--ease); }
.perk__title .nb { display: inline; white-space: nowrap; transition: none; }
.perk p { margin: 0; max-width: 32ch; font-size: clamp(1.0625rem, 1.45vw, 1.375rem); line-height: 1.36; }
@media (hover: hover) {
  .perk:hover { color: var(--cobalt); }
  .perk:hover::before { transform: scaleY(1); }
  .perk:hover .perk__title span { transform: translateX(clamp(8px, 1.2vw, 20px)); }
}
@media (min-width: 900px) {
  .perk { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
}

/* ---------- Book ---------- */
.book__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 4vw, 72px); }
.book__direct { margin: clamp(22px, 3vw, 40px) 0 0; font-size: 1rem; color: var(--soft); }
.book__direct a { color: var(--ink); font-weight: 650; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.book__direct a:hover { color: var(--cobalt); }
.book__panel {
  margin: 3px 3px 13px;
  padding: clamp(20px, 3vw, 46px);
  background: var(--white);
  border-radius: var(--r-block);
  box-shadow: 0 0 0 3px var(--ink), 0 10px 0 3px var(--ink);
}
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { padding: 0; font-weight: 650; font-size: 1rem; }
.field legend { margin-bottom: 10px; }
.field__opt { margin-left: 6px; font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(11, 12, 17, 0.68); }
.field input[type="text"], .field input[type="email"], .field textarea, .sent__details {
  width: 100%; min-height: 56px; padding: 15px 16px;
  border: 2px solid var(--ink); border-radius: var(--r-chip);
  background: var(--paper); color: var(--ink);
  font-size: 1rem; font-weight: 500; line-height: 1.4;
  transition: box-shadow 0.18s var(--ease), background 0.18s;
}
.field textarea { min-height: 164px; resize: vertical; }
.field input:hover, .field textarea:hover { background: var(--white); }
.field input:focus-visible, .field textarea:focus-visible, .sent__details:focus-visible { outline: 0; background: var(--white); box-shadow: 0 0 0 3px var(--cobalt); border-radius: var(--r-chip); }
.field [aria-invalid="true"] { box-shadow: 0 5px 0 var(--ink); }
.help { margin: 0; font-size: 0.9375rem; color: rgba(11, 12, 17, 0.7); }
.err {
  margin: 0; justify-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px; border-radius: 10px;
  background: var(--ink); color: var(--acid);
  font-size: 0.9375rem; font-weight: 600; line-height: 1.25;
}
.err::before { font-family: "Phosphor-Fill"; content: "\e4e2"; font-size: 18px; line-height: 1; font-weight: normal; }
.err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 46px; padding: 0 17px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--paper);
  font-weight: 600; font-size: 0.9375rem;
  transition: background 0.16s, color 0.16s, transform 0.16s var(--spring);
}
.chip:hover span { transform: translateY(-2px); }
.chip input:checked + span { background: var(--cobalt); border-color: var(--cobalt); color: var(--paper); }
.chip input:checked + span::before { font-family: "Phosphor-Bold"; content: "\e182"; font-size: 16px; line-height: 1; }
.chip input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.form__added { margin: 0; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-chip); background: var(--acid); color: var(--ink); font-weight: 600; font-size: 0.9375rem; box-shadow: inset 0 0 0 2px var(--ink); }
.form__added i { font-size: 20px; flex: none; }
.form__submit { justify-self: start; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 8px; }
.form__call { font-weight: 650; }
.form__submit[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin: 0; font-size: 0.9375rem; color: rgba(11, 12, 17, 0.7); }

.sent { display: grid; gap: 14px; justify-items: start; }
.sent:focus { outline: 0; }
.sent__ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: var(--acid); box-shadow: 0 0 0 2px var(--ink), 0 5px 0 2px var(--ink); }
.sent__title { margin: 10px 0 0; font-family: var(--f-display); font-weight: 900; font-stretch: 76%; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 0.94; text-transform: uppercase; letter-spacing: -0.01em; }
.sent p { margin: 0; max-width: 46ch; }
.sent a { font-weight: 650; overflow-wrap: anywhere; }
.sent__details { font-family: var(--f-mono); font-size: 0.875rem; line-height: 1.6; min-height: 190px; resize: vertical; }
.sent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 8px; }
.sent__status { min-height: 1.5em; font-weight: 600; }

@media (min-width: 640px) {
  .form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 980px) {
  .book__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .book__copy { position: sticky; top: calc(var(--nav-h) + 48px); }
  .mega--book { font-stretch: 72%; font-size: clamp(3.2rem, 6.3vw, 6rem); }
}

/* ---------- Footer ---------- */
.foot { padding: clamp(40px, 6vw, 96px) 0 104px; overflow: clip; }
.foot > .wrap { container-type: inline-size; }
.foot__mark {
  margin: 0 0 clamp(28px, 4vw, 64px);
  display: flex; justify-content: space-between;
  font-family: var(--f-display); font-weight: 900; font-stretch: 100%;
  font-size: min(37vw, 594px); font-size: 40cqw; line-height: 0.76;
  transform-origin: 50% 100%;
  -webkit-user-select: none; user-select: none;
}
.foot__mark span { display: block; transition: color 0.25s; }
@media (hover: hover) { .foot__mark span:hover { color: var(--acid); } }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: clamp(24px, 3vw, 44px); border-top: 2px solid var(--line); }
.foot__about { margin: 0; max-width: 34ch; font-size: clamp(1.0625rem, 1.4vw, 1.3rem); line-height: 1.4; color: var(--soft); }
.foot__nav { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 4px 36px; align-content: start; }
.foot__nav a { padding: 8px 0; text-decoration: none; font-weight: 550; }
.foot__nav a:hover { color: var(--acid); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.foot__contact { display: grid; gap: 22px; justify-items: start; align-content: start; }
.foot__mail { font-size: clamp(1.125rem, 1.7vw, 1.5rem); font-weight: 650; text-decoration-thickness: 2px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.foot__mail:hover { color: var(--acid); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(36px, 5vw, 72px); color: rgba(243, 243, 238, 0.76); font-size: 0.9375rem; }
.foot__base p { margin: 0; }
@media (min-width: 900px) {
  .foot__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
}

/* ---------- Without scripts ----------
   Controls that need JavaScript step aside, and the builder stage follows the checkboxes through :has(). */
html:not(.js) .toys__toss, html:not(.js) .nav__toggle, html:not(.js) .board__keys, html:not(.js) .play__controls, html:not(.js) .play__intro,
html:not(.js) .summary__text, html:not(.js) .summary__hint, html:not(.js) #scope-reset, html:not(.js) .helper--hint { display: none; }
html:not(.js) .toy { cursor: default; }
html:not(.js) #builder:not(:has(input[value="web"]:checked)) [data-part="web"],
html:not(.js) #builder:not(:has(input[value="mobile"]:checked)) [data-part="mobile"],
html:not(.js) #builder:not(:has(input[value="ai"]:checked)) [data-part="ai"],
html:not(.js) #builder:not(:has(input[name="block"][value="accounts"]:checked)) [data-block="accounts"],
html:not(.js) #builder:not(:has(input[name="block"][value="payments"]:checked)) [data-block="payments"],
html:not(.js) #builder:not(:has(input[name="block"][value="dashboard"]:checked)) [data-block="dashboard"],
html:not(.js) #builder:not(:has(input[name="block"][value="notifications"]:checked)) [data-block="notifications"],
html:not(.js) #builder:not(:has(input[name="block"][value="messaging"]:checked)) [data-block="messaging"],
html:not(.js) #builder:not(:has(input[name="block"][value="admin"]:checked)) [data-block="admin"],
html:not(.js) #builder:not(:has(input[name="helper"][value="sales"]:checked)) [data-helper="sales"],
html:not(.js) #builder:not(:has(input[name="helper"][value="marketing"]:checked)) [data-helper="marketing"],
html:not(.js) #builder:not(:has(input[name="helper"][value="operations"]:checked)) [data-helper="operations"],
html:not(.js) #builder:not(:has(input[name="helper"][value="finance"]:checked)) [data-helper="finance"],
html:not(.js) #builder:not(:has(input[name="helper"][value="support"]:checked)) [data-helper="support"] { display: none; }

/* ---------- Reduced motion: a clean static page ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.001ms !important;
  }
}
