@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #07070c;
  --text: #ecebf7;
  --muted: #9b99b6;
  --line: rgba(236, 235, 247, 0.16);
  --violet: #a78bff;
  --mint: #4ff0c8;
  --lavender: #c9c6ff;
  --gutter: clamp(20px, 4vw, 64px);
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
}

/* The film replaces scrolling: the page itself never moves. */
html.js,
html.js body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
  border-radius: 4px;
}

.skipLink {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--text);
  color: var(--ink);
  font: 500 13px/1 var(--mono);
  text-decoration: none;
  transform: translateY(-200%);
}

.skipLink:focus-visible {
  transform: none;
}

/* Stage ------------------------------------------------------------------ */

.stage,
.fallbackMark,
.stageLabels,
.scrim {
  display: none;
}

.js .stage {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
}

.js.noStage .stage {
  display: none;
}

.js.noStage .fallbackMark {
  display: block;
  position: fixed;
  top: 18vh;
  left: 50%;
  width: min(46vw, 420px);
  translate: -50% 0;
  opacity: 0.85;
  filter: drop-shadow(0 0 40px rgba(167, 139, 255, 0.35));
}

.js .stageLabels {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.stageLabel {
  position: absolute;
  top: 0;
  left: 0;
  color: rgba(201, 198, 255, 0.72);
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.06em;
  white-space: pre;
  opacity: 0;
  will-change: transform, opacity;
}

.js .scrim {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(7, 7, 12, 0.55), transparent 18%);
}

/* A shade behind the text, on whichever side the text sits. */
.js .scrim::before,
.js .scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: opacity 0.9s ease;
}

.js .scrim::before {
  background: radial-gradient(90% 70% at 0% 100%, rgba(7, 7, 12, 0.82), transparent 62%);
}

.js .scrim::after {
  background: radial-gradient(80% 85% at 100% 60%, rgba(7, 7, 12, 0.78), transparent 60%);
  opacity: 0;
}

.js.textRight .scrim::before {
  opacity: 0.3;
}

.js.textRight .scrim::after {
  opacity: 1;
}

/* Navigation and progress ------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: clamp(16px, 2.6vw, 30px) var(--gutter);
}

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

.brandMark {
  width: 30px;
  height: auto;
  overflow: visible;
}

.brandName {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brandName span {
  color: var(--muted);
  font-weight: 450;
}

.navLinks {
  display: flex;
  gap: 26px;
}

.navLinks a,
.languageSwitch button {
  position: relative;
  color: var(--muted);
  font: 500 11.5px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s ease;
}

.navLinks a:hover,
.navLinks a[aria-current="true"] {
  color: var(--text);
}

.navLinks a[aria-current="true"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -12px;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--mint);
}

.languageSwitch {
  display: inline-flex;
  gap: 2px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.languageSwitch button {
  padding: 8px 6px;
  border: 0;
  background: none;
  cursor: pointer;
}

.languageSwitch button[aria-pressed="true"] {
  color: var(--text);
}

.progress {
  display: none;
}

.js .progress {
  position: fixed;
  left: var(--gutter);
  bottom: clamp(18px, 3vw, 32px);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.progressCount {
  color: var(--text);
}

.progressName {
  min-width: 11ch;
}

.progressBar {
  position: relative;
  width: clamp(80px, 10vw, 160px);
  height: 1px;
  background: var(--line);
}

.progressBar i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--violet), var(--mint));
  transform: scaleX(0);
  transform-origin: left center;
}

.js [data-chrome] {
  opacity: 0;
}

/* Chapters ---------------------------------------------------------------- */

.js .story {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100svh;
  z-index: 2;
  pointer-events: none;
}

.js .chapter {
  position: absolute;
  inset: 0;
  display: flex;
  padding-inline: var(--gutter);
  visibility: hidden;
}

.js.isReady .chapter {
  visibility: visible;
}

.js .chapterInner {
  will-change: transform, opacity, filter;
}

.js .chapter.isCurrent .chapterInner {
  pointer-events: auto;
}

.kicker {
  margin: 0 0 22px;
  color: var(--muted);
  font: 500 11.5px/1.4 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kickerIndex {
  margin-right: 8px;
  color: var(--mint);
}

.kickerSep {
  margin: 0 4px;
  color: var(--line);
}

h1,
h2 {
  margin: 0;
  font-weight: 560;
  letter-spacing: -0.045em;
}

/* SplitText wraps words in masks; keep descenders inside them. */
[data-split] > * {
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.chapter--intro {
  align-items: flex-end;
  padding-bottom: clamp(84px, 13vh, 150px);
}

.chapter--intro .chapterInner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.55fr);
  grid-template-areas:
    "kicker ."
    "title lead";
  column-gap: clamp(32px, 5vw, 96px);
  align-items: end;
  width: 100%;
}

.chapter--intro .kicker {
  grid-area: kicker;
}

.introTitle {
  grid-area: title;
  max-width: 14ch;
  font-size: clamp(2.5rem, min(5.2vw, 9.5vh), 6rem);
  line-height: 0.94;
}

.introLead {
  grid-area: lead;
  margin: 0 0 0.6em;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  line-height: 1.55;
}

.scrollHint {
  display: none;
}

.js .scrollHint {
  position: fixed;
  right: var(--gutter);
  bottom: clamp(18px, 3vw, 32px);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  z-index: 10;
  color: var(--muted);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 0.5s ease;
}

.js.hasScrolled .scrollHint {
  opacity: 0 !important;
}

.scrollHint i {
  position: relative;
  width: 1px;
  height: 34px;
  overflow: hidden;
  background: var(--line);
}

.scrollHint i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 12px;
  background: var(--mint);
  animation: scrollHint 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollHint {
  from {
    transform: translateY(-14px);
  }
  to {
    transform: translateY(36px);
  }
}

/* Side chapters: text on one side, the shape on the other. They alternate. */
.chapter--side {
  align-items: center;
}

.chapter--side.isFlipped {
  justify-content: flex-end;
}

.chapter--side .chapterInner {
  width: min(46vw, 640px);
  padding-top: 40px;
}

.sideTitle {
  max-width: 15ch;
  font-size: clamp(2.2rem, min(4.4vw, 8.2vh), 4.6rem);
  line-height: 0.98;
}

.sideBody {
  max-width: 46ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.55;
}

.points,
.productIndex,
.commitments {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

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

.pointIndex {
  color: var(--mint);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
}

.productIndex li {
  border-top: 1px solid var(--line);
}

.productIndex a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 4px;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color 0.25s ease;
}

.productIndex a:hover {
  color: var(--mint);
}

.productIndexDomain {
  color: var(--muted);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.commitments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 30px;
  margin-top: 28px;
}

.commitments li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  column-gap: 12px;
  row-gap: 5px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.commitments .pointIndex {
  grid-row: span 2;
  padding-top: 3px;
}

.commitments b {
  font-size: 15px;
  font-weight: 560;
  letter-spacing: -0.01em;
}

.commitments li > span:last-child {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

#loi25 .chapterInner {
  width: min(48vw, 680px);
}

.productName {
  white-space: nowrap;
  font-size: clamp(3.4rem, 8.6vw, 9.6rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.productTitle {
  max-width: 24ch;
  margin: 22px 0 0;
  font-size: clamp(1.2rem, 1.9vw, 1.85rem);
  font-weight: 450;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.productBody {
  max-width: 42ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.55;
}

.productActions,
.contactActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  padding: 15px 24px;
  border: 1px solid rgba(236, 235, 247, 0.3);
  border-radius: 999px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.button span {
  display: inline-block;
}

.button:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--ink);
}

.button--solid {
  border-color: var(--text);
  background: var(--text);
  color: var(--ink);
}

.button--solid:hover {
  border-color: var(--mint);
  background: var(--mint);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.status i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  from {
    transform: scale(1);
    opacity: 0.7;
  }
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

.chapter--contact {
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(64px, 9vh, 110px);
  text-align: center;
}

.chapter--contact .chapterInner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 920px;
}

.contactTitle {
  font-size: clamp(2.2rem, 4.6vw, 4.8rem);
  line-height: 0.98;
}

.contactBody {
  max-width: 52ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.55;
}

.contactActions {
  justify-content: center;
}

.legal p {
  margin: 28px 0 0;
  color: rgba(155, 153, 182, 0.7);
  font: 500 10.5px/1.5 var(--mono);
  letter-spacing: 0.08em;
}

/* Cursor ------------------------------------------------------------------ */

.cursor {
  display: none;
}

.hasCursor,
.hasCursor * {
  cursor: none !important;
}

.hasCursor .cursor {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hasCursor .cursor.isVisible {
  opacity: 1;
}

.cursorRing {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  mix-blend-mode: difference;
  will-change: transform, width, height;
}

.cursor.isHovering .cursorRing {
  background: rgba(255, 255, 255, 0.04);
}

/* Redaction mode: the stage draws the block, the ring steps aside. */
.cursorRing {
  transition: opacity 0.3s ease;
}

.cursor.isRedact:not(.isHovering) .cursorRing {
  opacity: 0;
}

.cursor.isRedact .cursorDot {
  background: var(--violet);
  box-shadow: 0 0 12px rgba(167, 139, 255, 0.8);
}

.cursorDot {
  position: absolute;
  top: -3px;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(79, 240, 200, 0.8);
  transition: opacity 0.2s ease;
}

.cursor.isHovering .cursorDot {
  opacity: 0;
}

.cursorGuide {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.55;
  transition: opacity 0.6s ease;
}

.cursorGuide--x {
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(201, 198, 255, 0.22) 0 6px, transparent 6px 12px);
}

.cursorGuide--y {
  width: 1px;
  height: 100%;
  background: repeating-linear-gradient(180deg, rgba(201, 198, 255, 0.22) 0 6px, transparent 6px 12px);
}

.cursorReadout {
  position: absolute;
  top: 0;
  left: 0;
  color: rgba(201, 198, 255, 0.7);
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.06em;
  white-space: pre;
  transition: opacity 0.6s ease;
}

.cursor.isIdle .cursorGuide,
.cursor.isIdle .cursorReadout,
.cursor.isHovering .cursorGuide,
.cursor.isHovering .cursorReadout {
  opacity: 0;
}

.cursorLabel {
  position: absolute;
  top: 0;
  left: 0;
  padding: 6px 8px;
  border-radius: 4px;
  background: var(--mint);
  color: var(--ink);
  font: 600 10.5px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cursor.hasLabel .cursorLabel {
  opacity: 1;
}

/* Small screens ------------------------------------------------------------ */

@media (max-width: 760px) {
  .navLinks {
    display: none;
  }

  .languageSwitch {
    padding-left: 0;
    border-left: 0;
  }

  .js .scrim {
    background: linear-gradient(to top, rgba(7, 7, 12, 0.94) 0%, rgba(7, 7, 12, 0.7) 40%, transparent 62%);
  }

  .js .scrim::before,
  .js .scrim::after {
    display: none;
  }

  .chapter--intro {
    padding-bottom: 78px;
  }

  .chapter--intro .chapterInner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "title"
      "lead";
  }

  .introTitle {
    font-size: clamp(2.3rem, 10.5vw, 3.6rem);
  }

  .introLead {
    margin: 18px 0 0;
  }

  .js .scrollHint {
    display: none;
  }

  .chapter--side {
    align-items: flex-end;
    padding-bottom: 76px;
  }

  .chapter--side .chapterInner,
  #loi25 .chapterInner {
    width: 100%;
    padding-top: 0;
  }

  .sideTitle {
    font-size: clamp(1.9rem, 8.6vw, 2.8rem);
  }

  .sideBody {
    margin-top: 12px;
    font-size: 0.95rem;
  }

  .points,
  .productIndex,
  .commitments {
    margin-top: 16px;
  }

  .points li {
    padding: 8px 0;
    font-size: 14px;
  }

  .productIndex a {
    padding: 10px 2px;
    font-size: 1.05rem;
  }

  .commitments {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .commitments li {
    padding: 7px 0;
    row-gap: 0;
  }

  .commitments .pointIndex {
    grid-row: auto;
    padding-top: 2px;
  }

  .commitments b {
    font-size: 14px;
  }

  .commitments li > span:last-child,
  #loi25 .sideBody {
    display: none;
  }

  .productName {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .productTitle {
    margin-top: 14px;
  }

  .productBody {
    margin-top: 12px;
  }

  .productActions {
    margin-top: 22px;
  }

  .chapter--contact {
    padding-bottom: 72px;
  }

  .kicker {
    margin-bottom: 14px;
  }
}

/* Without JavaScript: a plain, readable page. ---------------------------- */

.no-js .nav {
  position: static;
}

.no-js .chapter {
  min-height: 70vh;
  padding: 10vh var(--gutter);
}

.no-js .chapter--product .productName {
  font-size: clamp(3rem, 8vw, 6rem);
}

@media (prefers-reduced-motion: reduce) {
  .scrollHint i::after,
  .status i::after {
    animation: none;
  }
}
