/* Omramo — marketing site
   Tokens follow docs/DESIGN.md (v2, locked). No external requests: fonts and images are self-hosted. */

/* ---------- Fonts (SIL OFL 1.1, licences in /assets/fonts/) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/assets/fonts/atkinson-hyperlegible-next.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --night: #130f36;
  --night-2: #1f1856;
  --deep: #0b0824;
  --cloud: #f3f1ff;
  --ink: #16123d;
  --coral: #ff6a4d;
  --sun: #ffc43d;
  --mint: #19c7a2;
  --sky: #3fb4ff;
  --violet: #7257ff;
  --violet-strong: #5a3fe0;
  --rose: #ff5c8a;

  --low: #12b58f;
  --low-text: #0a6e57;
  --low-bg: #d6f7ec;
  --med: #ff9f1a;
  --med-text: #8f4e00;
  --med-bg: #ffefc9;
  --adv: #6e56ff;
  --adv-text: #5a3fe0;
  --adv-bg: #e6e0ff;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-spring: cubic-bezier(0.3, 1.3, 0.5, 1);

  /* theme: dark by default */
  --fg: #fff;
  --fg-2: rgba(243, 241, 255, 0.76);
  --fg-3: rgba(243, 241, 255, 0.6);
  --line: rgba(255, 255, 255, 0.12);
  --card: rgba(255, 255, 255, 0.06);
  --card-edge: rgba(255, 255, 255, 0.14);
  --accent-text: #ffd25a;
  --focus: #ffc43d;
  --device-shadow: rgba(3, 1, 24, 0.7);
}

.light {
  --fg: var(--ink);
  --fg-2: rgba(22, 18, 61, 0.76);
  --fg-3: rgba(22, 18, 61, 0.64);
  --line: rgba(22, 18, 61, 0.12);
  --card: rgba(255, 255, 255, 0.72);
  --card-edge: rgba(255, 255, 255, 0.9);
  --accent-text: var(--violet-strong);
  --focus: var(--violet-strong);
  --device-shadow: rgba(40, 24, 110, 0.38);
  color: var(--fg);
}
/* a dark panel inside a light sheet */
.dark {
  --fg: #fff;
  --fg-2: rgba(243, 241, 255, 0.76);
  --fg-3: rgba(243, 241, 255, 0.6);
  --line: rgba(255, 255, 255, 0.12);
  --accent-text: #ffd25a;
  --focus: #ffc43d;
  --device-shadow: rgba(3, 1, 24, 0.7);
  color: var(--fg);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--deep);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
  font-weight: 430;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--sun);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--sun);
  color: #2a1408;
  font: 700 1rem var(--font-display);
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}

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

/* ---------- Type ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.85rem, 1.6rem + 5.6vw, 6.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.026em;
}
h2 {
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.25rem);
  font-weight: 780;
  line-height: 1.01;
  letter-spacing: -0.026em;
}
h3 {
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem);
  font-weight: 740;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h2.h3 {
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem);
  font-weight: 740;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.h2s {
  font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.75rem);
  line-height: 1.04;
}
h4 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
p {
  text-wrap: pretty;
}
.lede {
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 38em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 650 0.8125rem/1.2 var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.grad {
  background: linear-gradient(180deg, #ffd25a 8%, #ff7a4d 62%, #ff4d7a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* keep descenders inside the painted box */
  padding-bottom: 0.08em;
}
.accent {
  color: var(--accent-text);
}
.nb {
  white-space: nowrap;
}
.note {
  font: 400 0.875rem/1.5 var(--font-ui);
  color: var(--fg-3);
}
.textlink {
  font: 600 1rem var(--font-display);
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color 0.2s;
}
.textlink:hover {
  text-decoration-color: currentColor;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 26px;
  font: 700 1.0625rem/1 var(--font-display);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background-color 0.18s;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
  transition: transform 0.3s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn:active {
  transform: scale(0.96);
}
.btn--sun {
  background: linear-gradient(180deg, #ffd25a, #ffb020);
  color: #3a1b08;
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.55), inset 0 -3px 6px rgba(150, 70, 0, 0.22),
    0 10px 24px rgba(255, 160, 30, 0.34), 0 2px 4px rgba(0, 0, 0, 0.16);
}
.btn--sun:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.55), inset 0 -3px 6px rgba(150, 70, 0, 0.22),
    0 16px 32px rgba(255, 160, 30, 0.42), 0 2px 4px rgba(0, 0, 0, 0.16);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
  color: #fff;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}
.light .btn--ghost {
  background: rgba(22, 18, 61, 0.06);
  box-shadow: inset 0 0 0 1px rgba(22, 18, 61, 0.14);
  color: var(--ink);
}
.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 22px;
  font-size: 0.9375rem;
}

/* ---------- Header ---------- */
.site-head {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 50;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(100% - 24px, 1080px);
  margin-inline: auto;
  padding: 7px 7px 7px 22px;
  border-radius: 999px;
  background: rgba(22, 16, 62, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 30px rgba(5, 2, 30, 0.35);
  color: #fff;
}
.wordmark {
  font: 800 1.375rem/1 var(--font-display);
  letter-spacing: -0.012em;
  text-decoration: none;
  color: #fff;
  padding: 10px 0;
}
.wordmark b {
  font-weight: inherit;
}
.nav__links {
  display: none;
  margin-left: auto;
  gap: 2px;
}
.nav__links a {
  display: block;
  padding: 11px 13px;
  border-radius: 999px;
  font: 500 0.9375rem/1 var(--font-ui);
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  transition: background-color 0.18s, color 0.18s;
}
.nav__links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.nav__links a[aria-current] {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.nav .btn {
  margin-left: auto;
}
.menu {
  position: static;
}
.menu summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary svg {
  width: 22px;
  height: 22px;
}
.menu summary path {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.menu[open] .menu__a {
  transform: translateY(3.5px) rotate(45deg);
}
.menu[open] .menu__b {
  transform: translateY(-3.5px) rotate(-45deg);
}
.menu__list {
  position: absolute;
  inset: calc(100% + 10px) 0 auto;
  display: grid;
  padding: 10px;
  border-radius: 30px;
  background: rgba(22, 16, 62, 0.96);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 60px rgba(5, 2, 30, 0.6);
}
.menu__list a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 20px;
  font: 650 1.1875rem/1 var(--font-display);
  text-decoration: none;
}
.menu__list a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.menu__list li + li {
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08);
}
@keyframes drop {
  from {
    opacity: 0;
    transform: translate3d(0, -8px, 0) scale(0.98);
  }
}
html.motion .menu[open] .menu__list {
  animation: drop 0.3s var(--ease);
}
@media (min-width: 940px) {
  .nav__links {
    display: flex;
  }
  .nav .btn {
    margin-left: 8px;
  }
  .menu {
    display: none;
  }
}

/* ---------- Backdrops ---------- */
.aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  /* auroras melt into the page instead of ending on a section edge */
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.aurora::before {
  content: "";
  position: absolute;
  inset: -10% -5%;
  background: radial-gradient(42% 46% at 14% 16%, rgba(91, 59, 255, 0.62), transparent 70%),
    radial-gradient(40% 44% at 88% 82%, rgba(255, 92, 122, 0.3), transparent 70%),
    radial-gradient(30% 36% at 92% 10%, rgba(25, 199, 162, 0.3), transparent 70%),
    radial-gradient(34% 36% at 6% 92%, rgba(255, 159, 26, 0.18), transparent 70%),
    radial-gradient(36% 40% at 50% 52%, rgba(114, 87, 255, 0.3), transparent 70%);
  transform: translate3d(0, calc(var(--scroll, 0) * 0.12px), 0);
}
.aurora::after,
.sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/img/grain.png");
  background-size: 120px;
  mix-blend-mode: soft-light;
  opacity: 0.28;
  pointer-events: none;
}
.aurora--soft::before {
  opacity: 0.55;
}
.aurora--mid {
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 72%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 72%, transparent);
}

.sheet {
  position: relative;
  isolation: isolate;
  margin-inline: clamp(8px, 1.2vw, 20px);
  border-radius: clamp(28px, 4.4vw, 64px);
  overflow: clip;
  background-color: #f4f2ff;
  background-image: radial-gradient(44% 30% at 6% 4%, rgba(201, 190, 255, 0.8), transparent 70%),
    radial-gradient(40% 28% at 96% 10%, rgba(191, 239, 230, 0.85), transparent 70%),
    radial-gradient(46% 30% at 92% 96%, rgba(255, 217, 194, 0.8), transparent 70%),
    radial-gradient(40% 28% at 6% 94%, rgba(255, 233, 168, 0.6), transparent 70%),
    radial-gradient(40% 30% at 50% 50%, rgba(227, 220, 255, 0.7), transparent 70%);
}
.sheet::after {
  z-index: -1;
  opacity: 0.2;
}

.section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(88px, 11vw, 176px);
}
.section--tight {
  padding-top: 0;
}
.section__head {
  display: grid;
  gap: 22px;
  max-width: 880px;
  margin-bottom: clamp(44px, 6vw, 84px);
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

/* ---------- Device: the two-pane Duo ---------- */
.duo {
  --cols: 912;
  position: relative;
  container-type: inline-size;
  width: 100%;
  perspective: 2600px;
}
.duo::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: -7%;
  height: 14%;
  z-index: -1;
  background: radial-gradient(closest-side, var(--device-shadow), transparent);
  filter: blur(18px);
  transform: scaleY(calc(1 - var(--tilt, 0) * 0.02));
}
.duo__body {
  --u: calc(100cqw / var(--cols));
  display: flex;
  justify-content: center;
  transform-style: preserve-3d;
  transform: translate3d(0, calc(var(--lift, 0) * 1px), 0) rotateX(calc(var(--tilt, 0) * 1deg));
  will-change: transform;
}
.duo__half {
  position: relative;
  flex: none;
  width: calc(446 * var(--u));
  background: linear-gradient(150deg, #5a5678 0%, #1c1836 22%, #0b0918 60%, #2b2748 100%);
  box-shadow: inset 0 0 0 calc(1 * var(--u)) rgba(255, 255, 255, 0.16), inset 0 0 0 calc(3 * var(--u)) #06040f,
    0 calc(30 * var(--u)) calc(70 * var(--u)) calc(-24 * var(--u)) var(--device-shadow);
  backface-visibility: hidden;
}
.duo__half--l {
  padding: calc(10 * var(--u)) calc(4 * var(--u)) calc(10 * var(--u)) calc(10 * var(--u));
  border-radius: calc(52 * var(--u)) calc(10 * var(--u)) calc(10 * var(--u)) calc(52 * var(--u));
  transform-origin: 100% 50%;
  transform: rotateY(calc(var(--fold, 0) * 1deg));
}
.duo__half--r {
  padding: calc(10 * var(--u)) calc(10 * var(--u)) calc(10 * var(--u)) calc(4 * var(--u));
  border-radius: calc(10 * var(--u)) calc(52 * var(--u)) calc(52 * var(--u)) calc(10 * var(--u));
  transform-origin: 0 50%;
  transform: rotateY(calc(var(--fold, 0) * -1deg));
}
/* side buttons */
.duo__half--r::before,
.duo__half--r::after {
  content: "";
  position: absolute;
  right: calc(-2.5 * var(--u));
  width: calc(3 * var(--u));
  border-radius: 0 calc(2 * var(--u)) calc(2 * var(--u)) 0;
  background: linear-gradient(90deg, #14112a, #4a4668);
}
.duo__half--r::before {
  top: 22%;
  height: 11%;
}
.duo__half--r::after {
  top: 37%;
  height: 6%;
}
.duo__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 432 / 720;
  background: #0b0918;
}
.duo__half--l .duo__screen {
  border-radius: calc(42 * var(--u)) calc(7 * var(--u)) calc(7 * var(--u)) calc(42 * var(--u));
}
.duo__half--r .duo__screen {
  border-radius: calc(7 * var(--u)) calc(42 * var(--u)) calc(42 * var(--u)) calc(7 * var(--u));
}
.duo__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* soft glass reflection */
.duo__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0) 26%);
  box-shadow: inset 0 0 0 calc(0.6 * var(--u)) rgba(255, 255, 255, 0.1);
  border-radius: inherit;
  pointer-events: none;
}
.duo__hinge {
  flex: none;
  width: calc(20 * var(--u));
  margin-block: calc(5 * var(--u));
  border-radius: calc(4 * var(--u));
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.5) 0,
      transparent 1.5%,
      transparent 49.6%,
      rgba(0, 0, 0, 0.6) 49.8%,
      rgba(0, 0, 0, 0.6) 50.2%,
      transparent 50.4%,
      transparent 98.5%,
      rgba(0, 0, 0, 0.5) 100%
    ),
    linear-gradient(90deg, #05040d 0%, #262240 22%, #6d6990 48%, #3a3658 62%, #100d22 86%, #05040d 100%);
}

/* one pane only: the folded device, and two-pane figures on small screens */
.duo--phone {
  --cols: 452;
}
.duo--phone .duo__half,
.duo--phone .duo__half .duo__screen {
  transform: none;
}
.duo--phone .duo__half {
  width: calc(452 * var(--u));
  padding: calc(10 * var(--u));
  border-radius: calc(54 * var(--u));
}
.duo--phone .duo__half .duo__screen {
  border-radius: calc(44 * var(--u));
}
@media (max-width: 640px) {
  .duo[data-m] {
    --cols: 452;
    max-width: 320px;
    margin-inline: auto;
  }
  .duo[data-m] .duo__hinge,
  .duo[data-m="l"] .duo__half--r,
  .duo[data-m="r"] .duo__half--l {
    display: none;
  }
  .duo[data-m] .duo__half {
    width: calc(452 * var(--u));
    padding: calc(10 * var(--u));
    border-radius: calc(54 * var(--u));
    transform: none;
  }
  .duo[data-m] .duo__half .duo__screen {
    border-radius: calc(44 * var(--u));
  }
  .duo[data-m] .duo__half--r::before,
  .duo[data-m] .duo__half--r::after {
    display: none;
  }
}
.figcap {
  margin-top: clamp(22px, 3vw, 36px);
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding-bottom: clamp(24px, 4vw, 56px);
}
.hero__stage {
  position: relative;
  isolation: isolate;
  padding: clamp(112px, 10vw, 150px) 0 clamp(32px, 5vw, 72px);
  overflow: clip;
}
.hero__glow {
  position: absolute;
  left: 50%;
  bottom: -18%;
  z-index: -1;
  width: min(1500px, 130vw);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(127, 227, 211, 0.3), rgba(255, 210, 90, 0.1) 55%, transparent);
  opacity: calc(0.55 + var(--rise, 1) * 0.45);
  pointer-events: none;
}
.hero__copy {
  display: grid;
  justify-items: center;
  gap: clamp(18px, 2.2vw, 26px);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 6px 16px 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  font: 650 0.8125rem/1.2 var(--font-display);
  letter-spacing: 0.04em;
  color: #fff;
}
.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(255, 196, 61, 0.22);
}
.hero h1 {
  max-width: 12em;
}
.hero h1 .grad {
  display: block;
}
.hero .lede {
  text-wrap: balance;
  max-width: 40em;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}
.hero__device {
  position: relative;
  /* never taller than the viewport, so the whole device can be seen at once */
  width: min(100% - 2 * var(--gutter), 1120px, max(560px, (100svh - 150px) * 1.23));
  margin: clamp(40px, 5vw, 64px) auto 0;
}
.hero__device .duo--phone {
  display: none;
}
@media (max-width: 640px) {
  .hero__device .duo--wide {
    display: none;
  }
  .hero__device .duo--phone {
    display: block;
    max-width: 300px;
    margin-inline: auto;
  }
}

/* numbered beacons on the screen, matched by the numbered notes beside it */
.beacon,
.callout__n {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffd25a, #ffb020);
  color: #3a1b08;
  font: 700 0.75rem/1 var(--font-ui);
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.beacon {
  position: absolute;
  z-index: 2;
  margin: -12px 0 0 -12px;
  box-shadow: 0 0 0 2px #fff, 0 4px 12px rgba(10, 6, 40, 0.45);
}
.beacon::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 196, 61, 0.9);
  opacity: 0;
}
.duo--wide .beacon--1 { left: 79.5%; top: 22.6%; }
.duo--wide .beacon--2 { left: 40.5%; top: 39.4%; }
.duo--wide .beacon--3 { left: 79%; top: 87.4%; }
.duo--phone .beacon {
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  font-size: 0.6875rem;
}
.duo--phone .beacon--1 { left: 3.9%; top: 58.2%; }
.duo--phone .beacon--2 { left: 26.5%; top: 49.4%; }
.duo--phone .beacon--3 { left: 79.6%; top: 87.6%; }

.callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 28px;
  margin-top: clamp(28px, 4vw, 48px);
  text-align: left;
}
.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-content: start;
}
.callout__n {
  grid-area: 1 / 1 / span 2;
}
.callout strong,
.callout span {
  grid-column: 2;
}
.callout strong {
  font: 700 1.0625rem/1.35 var(--font-display);
  letter-spacing: -0.01em;
}
.callout span {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--fg-2);
}
@media (max-width: 700px) {
  .callouts {
    grid-template-columns: 1fr;
    width: min(100%, 320px);
    margin-inline: auto;
  }
}
@media (min-width: 1180px) {
  .hero__device {
    width: min(100vw - 600px, 1120px, max(560px, (100svh - 150px) * 1.23));
  }
  .callouts {
    display: block;
    margin: 0;
  }
  .callout {
    position: absolute;
    width: 214px;
  }
  .callout--1,
  .callout--2 {
    right: calc(100% + 30px);
    grid-template-columns: 1fr auto;
    text-align: right;
  }
  .callout--1 .callout__n,
  .callout--2 .callout__n {
    grid-column: 2;
  }
  .callout--1 strong,
  .callout--1 span,
  .callout--2 strong,
  .callout--2 span {
    grid-column: 1;
  }
  .callout--1 { top: 16.6%; }
  .callout--2 { top: 38.4%; }
  .callout--3 {
    left: calc(100% + 30px);
    top: 84.6%;
  }
}

/* the pinned hero: the device rises out of the fold, opens flat, then the notes arrive */
@media (min-width: 1180px) and (min-height: 700px) {
  html.motion .hero {
    padding-bottom: 0;
  }
  html.motion .hero__track {
    height: 230vh;
  }
  html.motion .hero__stage {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: clamp(104px, 13vh, 150px) 0 0;
  }
  html.motion .hero__copy {
    opacity: var(--copy, 1);
    transform: translate3d(0, calc((1 - var(--copy, 1)) * -56px), 0);
  }
  html.motion .hero.is-past .hero__copy {
    visibility: hidden;
  }
  html.motion .hero__device {
    transform-origin: 50% 0;
    transform: translate3d(0, calc(var(--rise, 0) * var(--y1, 0px)), 0) scale(calc(0.94 + var(--rise, 0) * 0.06));
    will-change: transform;
  }
  html.motion .hero .duo--wide {
    --tilt: 24;
    --fold: 18;
  }
  html.motion .hero .callout,
  html.motion .hero .beacon {
    opacity: 0;
    transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-spring);
  }
  html.motion .hero .beacon {
    transform: scale(0.3);
  }
  html.motion .hero .callout--1,
  html.motion .hero .callout--2 {
    transform: translate3d(18px, 0, 0);
  }
  html.motion .hero .callout--3 {
    transform: translate3d(-18px, 0, 0);
  }
  html.motion .hero.s1 .callout--1,
  html.motion .hero.s1 .beacon--1,
  html.motion .hero.s2 .callout--2,
  html.motion .hero.s2 .beacon--2,
  html.motion .hero.s3 .callout--3,
  html.motion .hero.s3 .beacon--3 {
    opacity: 1;
    transform: none;
  }
  html.motion .hero .aurora::before {
    transform: none;
  }
}
/* short, wide windows: keep the device in the first view */
@media (min-width: 1180px) and (min-height: 700px) and (max-height: 820px) {
  html.motion .hero h1 {
    font-size: clamp(3.4rem, 11.4vh, 6.4rem);
  }
  html.motion .hero .lede {
    font-size: 1.1875rem;
    max-width: 44em;
  }
}
.motes {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  color: #ffd25a;
}
.motes svg {
  position: absolute;
  width: 14px;
  height: 14px;
  opacity: 0.85;
}
.motes svg:nth-child(1) { left: 8%; top: 22%; }
.motes svg:nth-child(2) { left: 88%; top: 16%; width: 18px; height: 18px; }
.motes svg:nth-child(3) { left: 78%; top: 38%; width: 10px; height: 10px; }
.motes svg:nth-child(4) { left: 16%; top: 44%; width: 10px; height: 10px; }
.motes svg:nth-child(5) { left: 4%; top: 68%; width: 16px; height: 16px; }
.motes svg:nth-child(6) { left: 94%; top: 62%; }

/* a quiet line of facts, in place of a row of giant numbers */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  text-align: left;
}
.strip li {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: clamp(18px, 2vw, 26px) 20px 0 0;
}
.strip li + li {
  padding-left: clamp(14px, 2vw, 28px);
  border-left: 1px solid var(--line);
}
.strip b {
  font: 700 clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem) / 1.2 var(--font-display);
  letter-spacing: -0.015em;
}
.strip span {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--fg-3);
}
@media (max-width: 860px) {
  .strip {
    grid-template-columns: 1fr 1fr;
  }
  .strip li {
    padding-bottom: 18px;
  }
  .strip li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .strip li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

/* ---------- Statement ---------- */
.statement {
  font: 760 clamp(1.9rem, 1.1rem + 3.9vw, 4.4rem) / 1.06 var(--font-display);
  letter-spacing: -0.03em;
  max-width: 17em;
  margin-top: 22px;
  text-wrap: balance;
}
.statement .w {
  transition: opacity 0.5s var(--ease);
}
/* unlit words stay above 3:1 against the page, the AA threshold for large text */
html.motion .statement .w {
  opacity: 0.4;
}
html.motion .statement .w.on {
  opacity: 1;
}
.tenets {
  margin-top: clamp(56px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
}
.tenets li {
  display: grid;
  gap: 10px 32px;
  padding: clamp(24px, 3vw, 40px) 0;
  border-top: 1px solid var(--line);
}
.tenets__n {
  font: 600 0.8125rem/1 var(--font-ui);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--fg-3);
}
.tenets h3 {
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.4rem);
}
.tenets p {
  color: var(--fg-2);
  max-width: 34em;
}
.swatch {
  height: 6px;
  width: 56px;
  border-radius: 6px;
}
.swatch--river { background: linear-gradient(90deg, #7fe3d3, #fff0a0); }
.swatch--dusk { background: linear-gradient(90deg, #7a4bd0, #ffa24d); }
.swatch--sea { background: linear-gradient(90deg, #a9d3e6, #f4503f); }
@media (min-width: 820px) {
  .tenets li {
    grid-template-columns: 64px minmax(0, 5fr) minmax(0, 6fr) 56px;
    align-items: baseline;
  }
  .swatch {
    align-self: center;
  }
}

.card {
  position: relative;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: 28px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--card-edge);
}

/* ---------- Switcher (tabs when JS runs; stacked otherwise) ---------- */
.seg {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(22, 18, 61, 0.07);
  box-shadow: inset 0 0 0 1px rgba(22, 18, 61, 0.05);
  max-width: 100%;
}
.seg button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 clamp(14px, 2.4vw, 26px);
  border-radius: 999px;
  font: 650 clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem) / 1 var(--font-display);
  color: var(--fg-2);
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.seg button[aria-selected="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(40, 24, 110, 0.14);
}
.glyph {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.glyph i {
  width: 4px;
  border-radius: 2px;
  background: currentColor;
}
.glyph i:nth-child(1) { height: 5px; }
.glyph i:nth-child(2) { height: 8.5px; }
.glyph i:nth-child(3) { height: 12px; }
.glyph--1 i:nth-child(n + 2),
.glyph--2 i:nth-child(3) {
  opacity: 0.28;
}

/* html.js is set by the inline boot script, so the tab layout is in place at first paint */
.switch__tabs {
  display: none;
}
html.js:not(.static) .switch__tabs {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.switch__panels {
  display: grid;
  gap: clamp(72px, 9vw, 128px);
}
html.js:not(.static) .switch .switch__panels {
  gap: 0;
}
html.js:not(.static) .switch .switch__panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0s 0.45s;
}
html.js:not(.static) .switch .switch__panel.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s var(--ease) 0.08s, visibility 0s;
}
html.js:not(.static) .switch .switch__panel .split__media {
  transform: scale(0.97) translateY(12px);
  transition: transform 0.7s var(--ease);
}
html.js:not(.static) .switch .switch__panel.is-active .split__media {
  transform: none;
}

/* ---------- Split: copy beside a device ---------- */
.split {
  display: grid;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.split__copy {
  display: grid;
  gap: 20px;
  justify-items: start;
  align-content: center;
}
.split__copy > p {
  color: var(--fg-2);
  max-width: 34em;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .split--flip .split__copy {
    order: 2;
  }
  .split--flip {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}
.tierpill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 14px 0 11px;
  border-radius: 16px;
  font: 650 0.875rem/1 var(--font-display);
  letter-spacing: 0.01em;
}
.tierpill--low { background: var(--low-bg); color: var(--low-text); }
.tierpill--med { background: var(--med-bg); color: var(--med-text); }
.tierpill--adv { background: var(--adv-bg); color: var(--adv-text); }

.specs {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0 clamp(20px, 3vw, 40px);
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  width: 100%;
}
.specs dt {
  font: 400 0.8125rem/1.3 var(--font-ui);
  color: var(--fg-3);
  order: 2;
  margin-top: 6px;
}
.specs dd {
  font: 780 clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem) / 1 var(--font-display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.specs > div {
  display: flex;
  flex-direction: column;
}
.story {
  display: grid;
  gap: 2px;
  padding-left: 16px;
  border-left: 3px solid var(--tier, var(--violet));
}
.story--low { --tier: var(--low); }
.story--med { --tier: var(--med); }
.story--adv { --tier: var(--adv); }
.story b {
  font: 700 1.0625rem/1.3 var(--font-display);
}
.story span {
  font-size: 0.9375rem;
  color: var(--fg-3);
}

.ticks {
  display: grid;
  gap: 14px;
}
.ticks li {
  position: relative;
  padding-left: 36px;
  color: var(--fg-2);
  max-width: 34em;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tick-bg, rgba(90, 63, 224, 0.12)) url("/assets/img/tick.svg") center / 12px no-repeat;
}
.ticks--dark li::before {
  background-color: rgba(255, 210, 90, 0.16);
  background-image: url("/assets/img/tick-sun.svg");
}
.ticks strong {
  color: var(--fg);
  font-weight: 650;
}

/* ---------- Levels: one device, three stories ---------- */
.tiers {
  display: grid;
  gap: clamp(64px, 8vw, 112px) clamp(40px, 6vw, 88px);
}
.tier {
  display: grid;
  gap: 32px;
}
.tier__copy {
  display: grid;
  gap: 20px;
  justify-items: start;
  align-content: center;
}
.tier__copy > p:not(.story) {
  color: var(--fg-2);
  max-width: 34em;
}
.tier__fig {
  position: relative;
  isolation: isolate;
}
/* each story's own light, spilling from behind the device */
.tier__fig::before {
  content: "";
  position: absolute;
  inset: -16% -12%;
  z-index: -1;
  background: radial-gradient(closest-side, var(--light), transparent);
  pointer-events: none;
}
.tier--low { --light: rgba(64, 214, 178, 0.42); }
.tier--med { --light: rgba(255, 150, 60, 0.4); }
.tier--adv { --light: rgba(110, 140, 255, 0.4); }
@media (min-width: 960px) {
  .tiers {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    container-type: inline-size;
  }
  .tier {
    display: contents;
  }
  .tier__copy {
    grid-column: 1;
  }
  .tier__fig {
    grid-column: 2;
  }
}
/* motion: the copy scrolls, the device stays and changes story */
@media (min-width: 960px) and (min-height: 640px) {
  html.motion .tiers {
    row-gap: 0;
  }
  html.motion .tier__copy {
    min-height: 76vh;
  }
  html.motion .tier__fig {
    grid-row: 1 / span 3;
    align-self: start;
    position: sticky;
    top: max(104px, calc(50vh - 23.6cqw + 20px));
    opacity: 0;
    transform: scale(0.965);
    transition: opacity 0.55s var(--ease), transform 0.8s var(--ease);
  }
  html.motion .tier.is-active .tier__fig {
    opacity: 1;
    transform: none;
  }
  html.motion .tier__copy > * {
    transition: transform 0.7s var(--ease);
  }
}
/* small screens: swipe between the three levels */
@media (max-width: 759px) {
  .tiers {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 24px;
    scrollbar-width: none;
  }
  .tiers::-webkit-scrollbar {
    display: none;
  }
  .tiers:focus-visible {
    outline-offset: -3px;
    border-radius: 30px;
  }
  .tier {
    flex: none;
    width: min(84vw, 344px);
    scroll-snap-align: center;
    align-content: start;
    gap: 22px;
    padding: 18px 18px 24px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px #fff, 0 14px 34px rgba(60, 40, 140, 0.1);
  }
  .tier__fig {
    order: -1;
  }
  .tier__fig::before {
    display: none;
  }
  .tier .duo[data-m] {
    max-width: 264px;
  }
}

/* one type specimen instead of three cards */
.specimen {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(72px, 9vw, 128px);
  padding: clamp(14px, 1.6vw, 22px);
  border-radius: clamp(30px, 3.4vw, 48px);
  background: #fff;
  box-shadow: 0 40px 80px -40px rgba(60, 40, 140, 0.3), inset 0 0 0 1px rgba(22, 18, 61, 0.05);
}
.specimen__type {
  display: grid;
  align-content: center;
  gap: 0.45em;
  padding: clamp(24px, 4vw, 60px);
  border-radius: clamp(20px, 2.4vw, 32px);
  background: linear-gradient(160deg, #d9f5ec, #fdf3d2);
  font-size: clamp(1.4rem, 0.9rem + 2.3vw, 2.75rem);
  line-height: 1.4;
  font-weight: 460;
  color: #10283a;
}
.specimen__key {
  padding: clamp(10px, 2vw, 28px) clamp(10px, 2.6vw, 36px) clamp(14px, 2vw, 28px) clamp(10px, 1vw, 12px);
  align-self: center;
}
.specimen__key h3 {
  margin-bottom: 18px;
}
.specimen__key dl > div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.specimen__key dt {
  font: 700 1.0625rem/1.3 var(--font-display);
  letter-spacing: -0.01em;
}
.specimen__key dd {
  margin-top: 4px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--fg-2);
}
@media (min-width: 900px) {
  .specimen {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }
}
.w-tap {
  position: relative;
  font-weight: 640;
  white-space: nowrap;
  padding: 0.04em 0.75em 0.04em 0.18em;
  border-radius: 0.34em;
  background: linear-gradient(180deg, rgba(255, 196, 61, 0.5), rgba(255, 170, 61, 0.38));
  box-shadow: inset 0 -2px 0 rgba(240, 140, 20, 0.9);
}
.w-tap::after {
  content: "";
  position: absolute;
  right: 0.12em;
  top: 0.05em;
  width: 0.5em;
  height: 0.5em;
  background: url("/assets/img/spark.svg") center / contain no-repeat;
}
.w-name {
  font-weight: 640;
  white-space: nowrap;
  text-decoration: underline dotted #17694a 2px;
  text-underline-offset: 0.2em;
}
.w-say {
  font-weight: 640;
  color: #17694a;
}
.w-pop {
  font: 760 1.25em/1 var(--font-display);
  letter-spacing: -0.01em;
  color: #c93a1f;
}

/* ---------- World ---------- */
.world__head {
  display: grid;
  gap: clamp(28px, 4vw, 72px);
  margin-bottom: clamp(40px, 5vw, 72px);
}
.world__head .section__head {
  margin-bottom: 0;
}
.carries > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.carries > div:last-child {
  border-bottom: 1px solid var(--line);
}
.carries dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 1.0625rem/1.3 var(--font-display);
  letter-spacing: -0.01em;
}
.carries svg {
  width: 20px;
  height: 20px;
  color: var(--accent-text);
}
.carries dd {
  margin-top: 4px;
  padding-left: 30px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--fg-2);
}
@media (min-width: 1000px) {
  .world__head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: end;
  }
}
.atlas {
  position: relative;
  border-radius: clamp(28px, 3.4vw, 48px);
  background: radial-gradient(60% 70% at 70% 30%, rgba(114, 87, 255, 0.35), transparent 70%),
    linear-gradient(160deg, #2a1f7a, #150f45 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 60px 120px -50px rgba(3, 1, 24, 0.9);
  overflow: clip;
}
.atlas__map {
  padding: clamp(22px, 4.4vw, 68px) clamp(16px, 5vw, 84px) clamp(10px, 2.4vw, 36px);
}
.map__stage {
  position: relative;
  aspect-ratio: 1000 / 540;
}
.map__stage svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.map__dots {
  fill: none;
  stroke: rgba(255, 255, 255, 0.34);
  stroke-linecap: round;
  stroke-width: 6;
}
.map__route {
  fill: none;
  stroke: #ffd25a;
  stroke-opacity: 0.6;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 0.1 7;
}
.pin {
  --s: clamp(20px, 2.6vw, 32px);
  position: absolute;
  width: var(--s);
  aspect-ratio: 1;
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pin, var(--sun));
  color: #16123d;
  font: 700 clamp(0.6875rem, 0.6rem + 0.3vw, 0.8125rem) / 1 var(--font-ui);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px #fff, 0 6px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.3s;
}
.pin::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: var(--pin, var(--sun));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s, transform 0.4s var(--ease);
  transform: scale(0.6);
}
.pin.is-on {
  transform: scale(1.22);
  z-index: 2;
}
.pin.is-on::before {
  opacity: 0.35;
  transform: scale(1.25);
}
.pin__label {
  display: none;
  position: absolute;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(11, 8, 36, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: #fff;
  font: 600 0.75rem/1 var(--font-ui);
  white-space: nowrap;
}
.pin__label--t { bottom: calc(100% + 8px); }
.pin__label--b { top: calc(100% + 8px); }
.pin__label--l { right: calc(100% + 8px); }
.pin__label--r { left: calc(100% + 8px); }
@media (min-width: 900px) {
  .pin__label {
    display: block;
  }
}
html.motion [data-map] .pin {
  opacity: 0;
  transform: translateY(-14px) scale(0.5);
}
html.motion [data-map].is-in .pin {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s var(--ease) calc(var(--n) * 70ms + 300ms),
    transform 0.6s var(--ease-spring) calc(var(--n) * 70ms + 300ms), box-shadow 0.3s;
}
html.motion [data-map].is-in .pin.is-on {
  transform: scale(1.22);
  transition-delay: 0s;
}
html.motion .map__route {
  opacity: 0;
}
html.motion [data-map].is-in .map__route {
  opacity: 1;
  transition: opacity 1.4s var(--ease) 1.1s;
}
.pin--1 { left: 70.9%; top: 43.5%; --n: 3; --pin: #19c7a2; }
.pin--2 { left: 57.1%; top: 39.9%; --n: 1; --pin: #ffc43d; }
.pin--3 { left: 88%; top: 32%; --n: 5; --pin: #ff8fa8; }
.pin--4 { left: 79.4%; top: 34.2%; --n: 4; --pin: #ff9f6b; }
.pin--5 { left: 20.3%; top: 29.2%; --n: 9; --pin: #8fd3ff; }
.pin--6 { left: 22.3%; top: 9.8%; --n: 8; --pin: #d9f1ff; }
.pin--7 { left: 66.3%; top: 17%; --n: 6; --pin: #b9adff; }
.pin--8 { left: 51.4%; top: 24.1%; --n: 7; --pin: #9ee8c9; }
.pin--9 { left: 48.9%; top: 52.9%; --n: 0; --pin: #ffb020; }
.pin--10 { left: 64%; top: 36.4%; --n: 2; --pin: #ffd9a8; }

/* the legend: ten cells of one panel, not ten cards */
.regions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 8, 36, 0.28);
}
.region {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-content: start;
  padding: 18px clamp(16px, 2vw, 24px) 20px;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  transition: background-color 0.25s;
}
.region.is-on {
  background: rgba(255, 255, 255, 0.1);
}
.region__n {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pin);
  color: #16123d;
  font: 700 0.75rem/1 var(--font-ui);
  font-variant-numeric: tabular-nums;
  transition: transform 0.35s var(--ease-spring);
}
.region.is-on .region__n {
  transform: scale(1.18);
}
.region h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  align-self: center;
}
.region p {
  grid-column: 2;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--fg-3);
}
.region--1 { --pin: #19c7a2; }
.region--2 { --pin: #ffc43d; }
.region--3 { --pin: #ff8fa8; }
.region--4 { --pin: #ff9f6b; }
.region--5 { --pin: #8fd3ff; }
.region--6 { --pin: #d9f1ff; }
.region--7 { --pin: #b9adff; }
.region--8 { --pin: #9ee8c9; }
.region--9 { --pin: #ffb020; }
.region--10 { --pin: #ffd9a8; }
@media (min-width: 1100px) {
  .regions {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 520px) {
  .region {
    grid-template-columns: auto auto 1fr;
    align-items: baseline;
    padding: 13px 16px;
  }
  .region__n {
    grid-row: auto;
    align-self: center;
  }
  .region p {
    grid-column: 1 / -1;
    padding-left: 38px;
  }
}
.atlas__note {
  max-width: 76em;
  margin-top: 20px;
}

/* ---------- Landmarks: a skyline you travel along ---------- */
.journey {
  position: relative;
}
.rail-wrap {
  position: relative;
}
.rail {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: max(var(--gutter), (100vw - var(--max)) / 2);
  padding: 8px max(var(--gutter), (100vw - var(--max)) / 2) 20px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar {
  display: none;
}
.rail:focus-visible {
  outline-offset: -3px;
  border-radius: 28px;
}
.lm {
  --a: #ffc43d;
  flex: none;
  width: clamp(264px, 21vw, 300px);
  scroll-snap-align: start;
  padding-right: clamp(28px, 3vw, 48px);
}
.lm:last-child {
  padding-right: 0;
}
.lm__art {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: clamp(120px, 15vh, 168px);
  margin-right: calc(clamp(28px, 3vw, 48px) * -1);
  margin-bottom: 26px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--a);
  background: radial-gradient(52% 80% at 28% 100%, color-mix(in srgb, var(--a) 24%, transparent), transparent 70%);
}
.lm:last-child .lm__art {
  margin-right: 0;
}
/* the tick where each landmark stands on the line */
.lm__art::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--a);
  box-shadow: 0 0 0 4px var(--deep);
}
.lm__art svg {
  height: 92%;
  width: auto;
  margin: 0 0 -8.6% 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.lm__art .f {
  fill: currentColor;
  fill-opacity: 0.2;
  transition: fill-opacity 0.3s;
}
.lm:hover .lm__art .f {
  fill-opacity: 0.42;
}
.lm__when {
  font: 760 clamp(1.0625rem, 0.9rem + 0.45vw, 1.5rem) / 1.1 var(--font-display);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--a);
}
.lm h3 {
  margin: 10px 0 4px;
  font-size: 1.3125rem;
}
.lm__era {
  font: 500 0.8125rem/1.4 var(--font-ui);
  color: var(--fg-3);
}
.lm__fact {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--fg-2);
}
.lm--2 { --a: #ffb86b; }
.lm--3 { --a: #ff9f8a; }
.lm--4 { --a: #ff8fa8; }
.lm--5 { --a: #d9a8ff; }
.lm--6 { --a: #b9adff; }
.lm--7 { --a: #8fd3ff; }
.lm--8 { --a: #7fe3d3; }
.lm--9 { --a: #9ee8c9; }
.rail__ctrl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  margin-top: 16px;
}
.rail__axis {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  font: 650 0.75rem/1 var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.rail__axis i {
  position: relative;
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
}
.rail__axis i::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #ffc43d, #ff8fa8 40%, #b9adff 70%, #7fe3d3);
  transform-origin: 0 50%;
  transform: scaleX(calc(0.06 + var(--jp, 0) * 0.94));
}
.rail__btns {
  display: flex;
  gap: 8px;
}
.round {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: background-color 0.18s, transform 0.18s, opacity 0.18s;
}
.round:hover {
  background: rgba(255, 255, 255, 0.2);
}
.round:active {
  transform: scale(0.94);
}
.round[disabled] {
  opacity: 0.35;
  cursor: default;
}
.round svg {
  width: 20px;
  height: 20px;
}
/* motion, roomy screens: scrolling down travels the skyline sideways */
@media (min-width: 960px) and (min-height: 740px) {
  html.motion .journey {
    height: calc(100vh + var(--travel, 1400px));
  }
  html.motion .journey__stage {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    padding-top: 72px;
    overflow: clip;
  }
  html.motion .journey .section__head {
    margin-bottom: clamp(28px, 5vh, 64px);
  }
  html.motion .journey .rail {
    overflow: visible;
    width: max-content;
    transform: translate3d(calc(var(--jp, 0) * var(--travel, 1400px) * -1), 0, 0);
    will-change: transform;
  }
  html.motion .journey .rail__btns {
    display: none;
  }
}
.section--after-journey {
  padding-top: clamp(64px, 8vw, 120px);
}

.factcards {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
@media (min-width: 960px) {
  .factcards {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }
}
.factcards__copy {
  display: grid;
  gap: 16px;
}
.factcards__copy p {
  color: var(--fg-2);
}
.factcards__list {
  display: grid;
  gap: 12px;
}
.fact {
  display: grid;
  gap: 12px;
  padding: 22px 24px;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 48px -24px rgba(3, 1, 24, 0.7);
}
.fact .tierpill {
  justify-self: start;
}
html.motion .fact {
  transition: transform 0.4s var(--ease);
}
html.motion .fact:hover {
  transform: translate3d(0, -3px, 0) !important;
}
.fact p {
  font-weight: 480;
  line-height: 1.5;
}
.fact--low p { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); }
.fact--med p { font-size: clamp(1.075rem, 1rem + 0.35vw, 1.225rem); }
.fact--adv p { font-size: 1.0625rem; }
@media (min-width: 720px) {
  .fact--low { margin-right: 10%; }
  .fact--med { margin-inline: 5%; }
  .fact--adv { margin-left: 10%; }
}

/* ---------- Tap to see: a screen you can actually tap ---------- */
.demo {
  display: grid;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
@media (min-width: 960px) {
  .demo {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}
.demo__copy {
  display: grid;
  gap: 20px;
}
.demo__over {
  position: absolute;
  inset: 0;
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
}
.demo.is-live:not(.is-open) .demo__over {
  opacity: 0;
}
.demo.is-live:not(.is-open) .duo__half--r .demo__over {
  transform: translate3d(0, 5%, 0);
}
.hot {
  position: absolute;
  z-index: 3;
}
.hot--word {
  left: 47%;
  top: 25.6%;
  width: 22%;
  height: 8.4%;
  border-radius: 12px;
}
.hot--word::before,
.hot--word::after {
  content: "";
  position: absolute;
  inset: 12% 2%;
  border-radius: 10px;
  box-shadow: 0 0 0 2.5px #ff9f1a;
}
.hot--back {
  left: 4.6%;
  top: 89.2%;
  width: 90.7%;
  height: 7.1%;
  border-radius: 999px;
}
.hot__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 700 0.8125rem/1 var(--font-display);
  letter-spacing: 0.02em;
  transform: translateX(-50%);
  box-shadow: 0 8px 18px rgba(22, 18, 61, 0.3);
}
.hot__tip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  margin: -4px 0 0 -5px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: inherit;
  transform: rotate(45deg);
}
@keyframes ping {
  to {
    opacity: 0;
    transform: scale(1.5, 2.1);
  }
}
@keyframes bob {
  50% {
    transform: translate(-50%, -5px);
  }
}
html.motion .hot--word::after {
  animation: ping 1.8s var(--ease) infinite;
}
html.motion .hot__tip {
  animation: bob 1.8s ease-in-out infinite;
}
.demo__hint {
  margin-top: clamp(20px, 3vw, 32px);
  text-align: center;
  font: 500 0.9375rem/1.4 var(--font-ui);
  color: var(--fg-3);
}
.demo__hint b {
  color: var(--fg);
  font-weight: 650;
}
.demo__status {
  min-height: 1.5em;
  font: 650 1rem/1.5 var(--font-display);
  color: var(--accent-text);
}
.demo__status:empty {
  display: none;
}

.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
  width: 100%;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 18px 0 18px 54px;
  border-top: 1px solid var(--line);
}
.steps li:last-child {
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffd25a, #ffb020);
  color: #3a1b08;
  font: 700 0.9375rem/1 var(--font-display);
  transition: background-color 0.3s, color 0.3s, transform 0.5s var(--ease-spring);
}
/* in the live demo the step numbers follow what the reader has done */
.demo.is-live .steps li::before {
  background: rgba(22, 18, 61, 0.08);
  color: var(--fg-2);
}
.demo.is-live .steps li.is-now::before {
  background: linear-gradient(180deg, #ffd25a, #ffb020);
  color: #3a1b08;
  transform: scale(1.12);
}
.demo.is-live .steps li.is-done::before {
  background: var(--low-bg);
  color: var(--low-text);
}
.steps h4 {
  margin-bottom: 4px;
}
.steps p {
  color: var(--fg-2);
  font-size: 1.0625rem;
  line-height: 1.5;
}

/* ---------- Bento: character cards and folded mode ---------- */
.bento {
  display: grid;
  gap: clamp(10px, 1.2vw, 18px);
  padding-bottom: clamp(64px, 8vw, 120px);
}
.tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.4vw, 52px);
  padding: clamp(24px, 3.6vw, 56px);
  border-radius: clamp(30px, 3.4vw, 48px);
  overflow: clip;
}
.tile--char {
  background: linear-gradient(170deg, #fff 34%, #ffe6d2);
  box-shadow: 0 40px 80px -40px rgba(60, 40, 140, 0.3), inset 0 0 0 1px rgba(22, 18, 61, 0.05);
}
.tile--fold {
  background: radial-gradient(90% 55% at 70% 100%, rgba(25, 199, 162, 0.42), transparent 70%),
    linear-gradient(170deg, #2a1f7a, #130f36);
  box-shadow: 0 40px 80px -40px rgba(22, 18, 61, 0.6);
}
.tile__copy {
  display: grid;
  gap: 16px;
  justify-items: start;
}
.tile__copy p:not(.eyebrow) {
  color: var(--fg-2);
  max-width: 36em;
}
.tile__media {
  margin-top: auto;
}
.tile__media--phone {
  width: min(100%, 264px);
  margin-inline: auto;
}
@media (min-width: 960px) {
  .bento {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

/* ---------- What the app collects ---------- */
.collect {
  display: grid;
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}
.collect__copy {
  display: grid;
  gap: 20px;
  justify-items: start;
}
.collect__copy > p:not(.eyebrow) {
  color: var(--fg-2);
  max-width: 30em;
}
.ledger {
  padding: clamp(6px, 1vw, 12px) clamp(20px, 3vw, 44px);
  border-radius: clamp(26px, 3vw, 40px);
  background: #fff;
  box-shadow: 0 40px 80px -40px rgba(3, 1, 24, 0.9);
}
.ledger > div {
  display: grid;
  gap: 8px 20px;
  padding: clamp(18px, 2vw, 26px) 0;
}
.ledger > div + div {
  border-top: 1px solid var(--line);
}
.ledger dt {
  font: 740 clamp(1.125rem, 1rem + 0.5vw, 1.4rem) / 1.2 var(--font-display);
  letter-spacing: -0.015em;
}
.ledger dd {
  display: grid;
  gap: 8px;
  justify-items: start;
}
.ledger b {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  border-radius: 15px;
  font: 700 0.875rem/1 var(--font-display);
  letter-spacing: 0.01em;
}
.ledger .none {
  background: var(--low-bg);
  color: var(--low-text);
}
.ledger .kept {
  background: var(--adv-bg);
  color: var(--adv-text);
}
.ledger span {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--fg-2);
}
@media (min-width: 560px) {
  .ledger > div {
    grid-template-columns: minmax(0, 2fr) minmax(0, 5fr);
    align-items: start;
  }
  .ledger dd {
    grid-template-columns: 124px 1fr;
    align-items: center;
  }
}
@media (min-width: 960px) {
  .collect {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

/* ---------- Plan ---------- */
.plan {
  display: grid;
  gap: 6px;
  width: 100%;
  max-width: 440px;
  padding: 24px 26px 26px;
  border-radius: 26px;
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 2.5px #6e56ff, 0 16px 34px rgba(90, 63, 224, 0.3);
}
.plan__name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 700 1.125rem/1.2 var(--font-display);
}
.plan__name svg {
  width: 26px;
  height: 26px;
}
.plan__price {
  font: 800 clamp(1.7rem, 1.4rem + 1.2vw, 2.25rem) / 1.05 var(--font-display);
  letter-spacing: -0.03em;
  margin-top: 6px;
}
.plan p:not([class]) {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(22, 18, 61, 0.76);
}

/* ---------- Closing ---------- */
.closing {
  padding-bottom: 0;
  text-align: center;
  overflow: clip;
}
.closing .section__head {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.closing h2 {
  font-size: clamp(3rem, 1.4rem + 8vw, 8rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
}
/* the splash rises from the bottom edge and melts into the footer */
.closing__device {
  width: min(100%, 860px);
  aspect-ratio: 912 / 452;
  margin: clamp(56px, 8vw, 104px) auto 0;
  padding-top: 2%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 93%);
  mask-image: linear-gradient(180deg, #000 76%, transparent 93%);
}

/* ---------- Footer ---------- */
.site-foot {
  position: relative;
  padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
  font: 400 0.9375rem/1.6 var(--font-ui);
  color: var(--fg-2);
}
.site-foot__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 40px;
}
.site-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-inline: -12px;
}
.site-foot__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
}
.site-foot__links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-foot__small {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  max-width: 70ch;
  font-size: 0.8125rem;
  color: var(--fg-3);
}

/* ---------- Legal / simple pages ---------- */
.page {
  position: relative;
  isolation: isolate;
  padding: clamp(120px, 14vw, 176px) 0 clamp(16px, 2vw, 24px);
}
.page__head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.page__head h1 {
  font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5rem);
}
.draft {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffd25a, #ffb020);
  color: #2a1408;
  box-shadow: 0 16px 40px -12px rgba(255, 160, 30, 0.45);
}
.draft svg {
  flex: none;
  width: 28px;
  height: 28px;
  margin-top: 2px;
}
.draft strong {
  display: block;
  font: 800 clamp(1.15rem, 1rem + 0.7vw, 1.5rem) / 1.2 var(--font-display);
  letter-spacing: -0.01em;
}
.draft p {
  margin-top: 4px;
  font-size: 1rem;
  line-height: 1.5;
}
.prose {
  padding: clamp(28px, 6vw, 88px) 0;
}
.prose__inner {
  width: min(100% - 2 * var(--gutter), 760px);
  margin-inline: auto;
  display: grid;
  gap: 18px;
}
.prose h2 {
  margin-top: clamp(20px, 3vw, 36px);
  font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p,
.prose li {
  color: var(--fg-2);
}
.prose ul {
  display: grid;
  gap: 10px;
  padding-left: 1.2em;
  list-style: disc;
}
.prose li::marker {
  color: var(--violet-strong);
}
.prose strong {
  color: var(--fg);
  font-weight: 650;
}
.prose a {
  color: var(--violet-strong);
  font-weight: 600;
  text-underline-offset: 4px;
}
.todo {
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(90, 63, 224, 0.08);
  box-shadow: inset 0 0 0 1px rgba(90, 63, 224, 0.2);
  font: 400 0.9375rem/1.5 var(--font-ui);
}
.lost {
  min-height: min(100svh, 900px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 140px 0 80px;
  position: relative;
  isolation: isolate;
}
.lost__inner {
  display: grid;
  gap: 24px;
  justify-items: center;
}
.lost__code {
  font: 800 clamp(6rem, 3rem + 18vw, 15rem) / 0.85 var(--font-display);
  letter-spacing: -0.05em;
}

/* ---------- Motion ---------- */
html.motion .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}
html.motion .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s);
}
.d1 { --d: 0.08s; }
.d2 { --d: 0.16s; }
.d3 { --d: 0.24s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
}
@keyframes twinkle {
  50% {
    opacity: 0.25;
    transform: scale(0.7);
  }
}
html.motion .hero__copy > * {
  animation: rise 1s var(--ease) backwards;
}
html.motion .hero__copy > :nth-child(2) { animation-delay: 0.06s; }
html.motion .hero__copy > :nth-child(3) { animation-delay: 0.12s; }
html.motion .hero__copy > :nth-child(4) { animation-delay: 0.18s; }
html.motion .motes svg {
  animation: twinkle 5s ease-in-out infinite;
}
html.motion .motes svg:nth-child(2n) { animation-delay: -1.7s; }
html.motion .motes svg:nth-child(3n) { animation-delay: -3.1s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
html.static {
  scroll-behavior: auto;
}

@media (max-width: 520px) {
  .motes svg:not(:nth-child(2)) {
    display: none;
  }
  .motes svg:nth-child(2) {
    left: 91%;
    top: 12.5%;
  }
  .pin {
    --s: 19px;
    font-size: 0.625rem;
    box-shadow: 0 0 0 1.5px #fff, 0 4px 10px rgba(0, 0, 0, 0.4);
  }
  .specs {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 12px;
  }
  .hero__cta {
    width: 100%;
  }
  .hero__cta .btn {
    flex: 1 1 0;
    padding-inline: 12px;
    font-size: 1rem;
  }
  .hero__cta .btn svg {
    display: none;
  }
}
@media (min-width: 1800px) {
  :root {
    --max: 1400px;
  }
  .hero__device {
    width: min(100vw - 600px, 1240px, max(560px, (100svh - 150px) * 1.23));
  }
}
