@font-face {
  font-family: "Overpass";
  src: url("assets/fonts/overpass.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Overpass Mono";
  src: url("assets/fonts/overpass-mono.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --plate: #111216;
  --plate-top: #24262d;
  --line: #ffffff;
  --ink: #f3f4f6;
  --quiet: rgba(243, 244, 246, 0.66);
  --grid: rgba(255, 255, 255, 0.13);
  --hair: rgba(255, 255, 255, 0.12);
  --raised: #1b1d23;
  --on-line: #111216;
  --shade: rgba(0, 0, 0, 0.5);
  --rim: rgba(255, 255, 255, 0.17);
  --edge: rgba(0, 0, 0, 0.7);
  --cross: #eeede9;
  --crossed: #000000;

  --display: "Overpass", "Helvetica Neue", Arial, sans-serif;
  --mono: "Overpass Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 6.5vw, 132px);
  --measure: 1240px;
  --line-w: clamp(9px, 1.15vw, 20px);
  --gap: clamp(88px, 13vw, 220px);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --plate: #ffffff;
    --plate-top: #e9e9ee;
    --line: #111216;
    --ink: #111216;
    --quiet: rgba(17, 18, 22, 0.68);
    --grid: rgba(17, 18, 22, 0.11);
    --hair: rgba(17, 18, 22, 0.12);
    --raised: #f1f1f4;
    --on-line: #ffffff;
    --shade: rgba(17, 18, 22, 0.22);
    --rim: rgba(17, 18, 22, 0.13);
    --edge: rgba(17, 18, 22, 0.05);
    --cross: #000000;
    --crossed: #eeede9;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --plate: #ffffff;
  --plate-top: #e9e9ee;
  --line: #111216;
  --ink: #111216;
  --quiet: rgba(17, 18, 22, 0.68);
  --grid: rgba(17, 18, 22, 0.11);
  --hair: rgba(17, 18, 22, 0.12);
  --raised: #f1f1f4;
  --on-line: #ffffff;
  --shade: rgba(17, 18, 22, 0.22);
  --rim: rgba(17, 18, 22, 0.13);
  --edge: rgba(17, 18, 22, 0.05);
  --cross: #000000;
  --crossed: #eeede9;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--plate); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  position: relative;
  isolation: isolate;
  background: var(--plate);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(17px, 0.55vw + 15px, 20px);
  line-height: 1.5;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
p, h1, h2, h3, dl, dd, ul, figure, pre { margin: 0; }
ul { padding: 0; list-style: none; }

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

.only-light { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .only-light { display: block; }
  :root:not([data-theme="dark"]) .only-dark { display: none; }
}
:root[data-theme="light"] .only-light { display: block; }
:root[data-theme="light"] .only-dark { display: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.route {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: visible;
  stroke-width: var(--line-w);
}
.route path {
  fill: none;
  stroke: var(--line);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding-block: clamp(18px, 2.4vw, 30px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-right: auto;
}
.mark { width: 26px; height: 26px; }
.mark path { fill: none; stroke: var(--line); stroke-width: 5.2; stroke-linecap: round; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--line);
  color: var(--on-line);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: transform 0.18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(0.98); }
.button.small { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }

.hero { position: relative; padding-bottom: calc(var(--gap) * 0.9); }
.map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}
.map path { fill: none; stroke: var(--grid); stroke-width: 2; }
.hero .map {
  top: -120px;
  height: calc(100% + 120px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 46%, transparent 78%);
  mask-image: linear-gradient(to bottom, #000 0, #000 46%, transparent 78%);
  animation: surface 1.1s ease-out both;
}
@keyframes surface { from { opacity: 0; } to { opacity: 1; } }

.hero-copy { padding-top: clamp(28px, 6vw, 96px); padding-bottom: clamp(40px, 6vw, 88px); }
h1 {
  font-weight: 900;
  font-size: clamp(76px, 13.4vw, 248px);
  line-height: 0.84;
  letter-spacing: -0.045em;
  margin-left: -0.045em;
  width: fit-content;
  text-wrap: balance;
}
[data-cross] { position: relative; color: var(--cross); }
[data-cross] .crossed {
  position: absolute;
  inset: 0;
  color: var(--crossed);
  clip-path: inset(50%);
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.lede {
  max-width: min(23.5em, 49vw);
  margin-top: clamp(22px, 3vw, 44px);
  font-size: clamp(19px, 0.7vw + 16px, 25px);
  line-height: 1.42;
  color: var(--quiet);
  text-wrap: pretty;
}
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(26px, 3vw, 40px); }
.fine { font-size: 0.86rem; color: var(--quiet); }

.shot { position: relative; }
.pic {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: var(--w) / var(--h);
  border-radius: var(--rx) / var(--ry);
  background: var(--plate);
  box-shadow: 0 0 0 1px var(--edge), 0 36px 72px -30px var(--shade), 0 12px 28px -16px var(--shade);
}
.pic > img, .pic > video {
  position: absolute;
  left: calc(-1 * var(--ix));
  top: calc(-1 * var(--iy));
  width: calc(100% + 2 * var(--ix));
  height: calc(100% + 2 * var(--iy));
  max-width: none;
}
.pic::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--rim);
  pointer-events: none;
}
.pic.win-a { --w: 2874; --h: 1794; --ix: 0.1044%; --iy: 0.1672%; --rx: 0.87%; --ry: 1.394%; }
.pic.win-b { --w: 2554; --h: 1594; --ix: 0.1175%; --iy: 0.1882%; --rx: 0.979%; --ry: 1.568%; }
.pic.vid { --w: 874; --h: 488; --ix: 0.3432%; --iy: 0.6148%; --rx: 2.803%; --ry: 5.02%; }
.pic.call { --w: 674; --h: 422; --ix: 0.4451%; --iy: 0.7109%; --rx: 3.042%; --ry: 4.858%; }
.pic.alert { --w: 676; --h: 330; --ix: 0.4438%; --iy: 0.9091%; --rx: 6.583%; --ry: 13.485%; }
.pic.menu { --w: 502; --h: 632; --ix: 0.7968%; --iy: 0.6329%; --rx: 3.287%; --ry: 2.611%; }
.pic.reel { --w: 1276; --h: 796; --ix: 0.1567%; --iy: 0.2513%; --rx: 1.254%; --ry: 2.01%; background: var(--raised); }
.pic.strip { aspect-ratio: 510 / 1290; border-radius: 4.9% / 1.938%; }
.column.long .pic.strip { aspect-ratio: 510 / 1450; border-radius: 4.9% / 1.724%; }
.pic.strip > img { position: static; width: 105.9%; height: auto; margin: -0.59% 0 0 -0.59%; }
.pic.nook { aspect-ratio: 520 / 450; border-radius: 2.404% / 2.778%; }
.pic.nook > .base { position: static; width: 246.2%; height: auto; margin: -0.289% 0 0 -0.289%; }
.pic.nook > .pic.menu { position: absolute; left: 1.246%; top: 24.811%; width: 48.271%; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.stage { margin-right: 2.4%; }
.stage .floating { position: absolute; left: 68.17%; top: 71.27%; width: 34.22%; z-index: 1; }

.pause {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--plate);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--hair);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.shot.film:hover .pause, .pause:focus-visible, .pause[aria-pressed="true"] { opacity: 1; }
@media (hover: none) { .pause { opacity: 1; } }
.pause svg { width: 14px; height: 14px; fill: currentColor; }
.pause .i-play { display: none; }
.pause[aria-pressed="true"] .i-pause { display: none; }
.pause[aria-pressed="true"] .i-play { display: block; }

.band { padding-block: calc(var(--gap) * 0.5); }
.band + .band { margin-top: var(--gap); }
h2 {
  font-weight: 800;
  font-size: clamp(34px, 4.3vw, 68px);
  line-height: 1;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
h3 {
  font-weight: 700;
  font-size: clamp(20px, 1.5vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.band p, .band dd { color: var(--quiet); text-wrap: pretty; }

.head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 20px clamp(28px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(32px, 4.5vw, 64px);
}
.head p { max-width: 34em; }

.pair {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(32px, 8vw, 128px);
  align-items: center;
}
.pair.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 6vw, 96px); }
.pair .text h2 { max-width: 11em; }
.points { display: grid; gap: clamp(20px, 2.4vw, 32px); margin-top: clamp(28px, 3.4vw, 48px); max-width: 34em; }
.points dt { font-weight: 700; font-size: clamp(20px, 1.5vw, 26px); letter-spacing: -0.012em; line-height: 1.15; }
.points dd { margin-top: 6px; }

.afloat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-top: clamp(56px, 7vw, 104px);
}
.afloat .shot { max-width: 341px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.afloat p { max-width: 30em; }
.afloat h3 + p, .duo h3 + p { margin-top: 8px; }

.pair .text .after-title { margin-top: clamp(16px, 1.8vw, 24px); max-width: 34em; }
.pair .text h3 { margin-top: clamp(32px, 4vw, 56px); }
.pair .text h3 + p { margin-top: 8px; max-width: 34em; }
.agents-head { margin-top: var(--gap); }
code { font-family: var(--mono); font-size: 0.92em; }
.term {
  max-width: 34rem;
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: 12px;
  background: var(--raised);
  box-shadow: 0 0 0 1px var(--hair);
  overflow-x: auto;
  font-size: clamp(14px, 0.3vw + 13px, 16.5px);
  line-height: 1.75;
  color: var(--ink);
}
.term .p { color: var(--quiet); user-select: none; margin-right: 0.6em; }

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
}
.duo .shot { margin-bottom: clamp(20px, 2.4vw, 32px); }
.duo p { max-width: 30em; }

.small-things {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px) clamp(32px, 6vw, 96px);
  margin-top: clamp(32px, 4vw, 56px);
  max-width: 1040px;
}
.small-things li { color: var(--quiet); text-wrap: pretty; }
.small-things strong { color: var(--ink); font-weight: 700; }

.native { margin-top: var(--gap); padding-block: calc(var(--gap) * 0.9); }
.native h2 {
  font-weight: 900;
  font-size: clamp(52px, 10.2vw, 190px);
  line-height: 0.86;
  letter-spacing: -0.042em;
  margin-left: -0.04em;
  width: fit-content;
  max-width: 8.2em;
}
.native + .band { margin-top: var(--gap); }
.facts {
  display: grid;
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: clamp(40px, 6vw, 96px);
  max-width: min(30em, 44%);
}
.facts li { color: var(--quiet); text-wrap: pretty; }
.facts strong { display: block; color: var(--ink); font-weight: 700; font-size: clamp(20px, 1.5vw, 26px); letter-spacing: -0.012em; line-height: 1.15; margin-bottom: 8px; }

.finale { position: relative; margin-top: var(--gap); padding-block: clamp(96px, 14vw, 240px); }
.finale .map {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 34%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 34%, #000 100%);
}
.finale-copy { display: grid; justify-items: start; }
.app-icon { position: relative; width: clamp(112px, 13vw, 184px); margin-left: -1.2%; margin-bottom: clamp(20px, 2.6vw, 36px); }
.app-icon::before { content: ""; position: absolute; inset: 9.8%; border-radius: 22.4%; box-shadow: 0 20px 34px var(--shade); }
.app-icon img { position: relative; display: block; width: 100%; height: auto; }
.finale h2 { width: fit-content; font-weight: 900; font-size: clamp(54px, 9vw, 152px); line-height: 0.88; letter-spacing: -0.04em; }
.finale p { max-width: 26em; margin-top: clamp(18px, 2.2vw, 30px); color: var(--quiet); font-size: clamp(18px, 0.5vw + 16px, 22px); }
.finale .fine { margin-top: 0; font-size: 0.86rem; }
.finale .cta { flex-direction: column; align-items: flex-start; }

.foot {
  position: relative;
  padding-block: 28px 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  font-size: 0.84rem;
  color: var(--quiet);
  background: var(--plate);
  box-shadow: 0 -1px 0 var(--hair);
  max-width: none;
}

@media (max-width: 900px) {
  .head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .pair, .pair.flip { grid-template-columns: minmax(0, 1fr); }
  .pair .text { order: -1; }
  .pair .shot.column { max-width: 320px; }
  .pair.flip .shot { max-width: 520px; }
  .afloat { grid-template-columns: minmax(0, 1fr); }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .small-things { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .hero .cta { flex-direction: column; align-items: flex-start; }
  .finale-copy > p { max-width: 52vw; }
}

@media (min-width: 700px) and (max-width: 900px) {
  .lede { max-width: min(19em, 49vw); }
  .hero .cta { flex-direction: column; align-items: flex-start; }
  .finale h2 { font-size: 11.5vw; }
  .finale-copy > p { max-width: 22em; }
}

html.still .hero .map { animation: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .map { animation: none; }
  .button { transition: none; }
}

@media (max-width: 699px) {
  .shot.window { width: 170%; }
  .shot.window.centre { margin-left: -52%; }
  .shot.window.stage { margin-left: -72.4%; }
  .duo .shot.window { margin-left: -50%; }
  h1 { max-width: 4.2em; }
  .lede { max-width: 23.5em; }
  .native h2 { font-size: clamp(58px, 17vw, 96px); max-width: 4.6em; }
  .finale h2 { max-width: 6em; }
  .facts { max-width: 34em; }
}
