/* Axonbyok's About page. Monochrome like the app (near-black on a soft white),
   one warm colour for the wallpaper and the T-CUTTER bars, Inter throughout.
   Motion follows the app's house style: things settle without overshoot
   (a critically damped curve), only transform and opacity move, and with
   reduced motion everything simply fades. */

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

:root {
  --bg: #fbfbfa;
  --bg-2: #f3f3f1;
  --card: #f4f4f2;
  --card-2: #ececea;
  --ink: #111113;
  --ink-2: #55555c;
  --ink-3: #85858c;
  --line: rgba(17, 17, 19, 0.08);
  --line-2: rgba(17, 17, 19, 0.14);
  --dark: #0d0d0f;
  --dark-2: #17171a;
  --dark-3: #222226;
  --on-dark: #f4f4f5;
  --on-dark-2: rgba(244, 244, 245, 0.66);
  --on-dark-3: rgba(244, 244, 245, 0.42);
  --warm: #e4572e;
  --warm-2: #f08b55;
  --good: #1f9d6b;
  --bad: #d14b4b;
  --glass: rgba(251, 251, 250, 0.72);
  /* Settles without overshoot, like a critically damped spring. */
  --settle: cubic-bezier(0.16, 1, 0.3, 1);
  --swift: cubic-bezier(0.23, 1, 0.32, 1);
  /* On-screen travel (the phone diagram's dots). */
  --in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --wrap: 1180px;
  --radius: 26px;
  --font: InterVariable, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  color-scheme: light;
}

/* Always light, like the app's default and x.ai: the privacy band is the
   page's one dark part, on purpose. */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.55 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 50;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-160%);
  transition: transform 200ms var(--swift);
}

.skip:focus {
  transform: none;
}

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

.wrap {
  width: min(var(--wrap), 100% - 48px);
  margin-inline: auto;
}

/* ---- Buttons: feedback on press, at once ------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 550;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 140ms var(--swift), background-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

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

.btn:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

.btn-lg {
  height: 50px;
  padding: 0 24px;
  font-size: 1rem;
}

.btn-dark {
  background: var(--ink);
  color: var(--bg);
}

.btn-dark:hover {
  box-shadow: 0 8px 24px rgba(17, 17, 19, 0.18);
}

.btn-light {
  background: var(--card-2);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--line-2);
}

.btn-quiet {
  color: var(--ink-2);
}

.btn-quiet:hover {
  color: var(--ink);
  background: var(--card);
}

/* ---- The glass bar --------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  transition: background-color 300ms ease, box-shadow 300ms ease;
}

.nav.is-scrolled {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(var(--wrap), 100% - 32px);
  height: 64px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}

.nav-links a {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: var(--ink);
  background: var(--card);
}

.nav-actions {
  display: flex;
  gap: 6px;
}

.nav-actions .btn {
  height: 36px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.motion-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--swift);
  -webkit-tap-highlight-color: transparent;
}

.motion-btn[hidden] {
  display: none;
}

.motion-btn:hover {
  background: var(--card);
  color: var(--ink);
}

.motion-btn:active {
  transform: scale(0.94);
}

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

.motion-btn .i-play {
  display: none;
  fill: currentColor;
  stroke-width: 1.4;
}

.motion-btn[aria-pressed="true"] .i-pause {
  display: none;
}

.motion-btn[aria-pressed="true"] .i-play {
  display: block;
}

.is-paused .marquee-row,
.is-paused .dots i,
.is-paused .todo li.is-live .tick::before,
.is-paused .fm-link i {
  animation-play-state: paused;
}

/* ---- Hero --------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 168px 0 120px;
  overflow: hidden;
  text-align: center;
}

/* A faint dot grid, and a spotlight that follows the pointer (about.js eases
   --mx / --my after it with a spring): under it the dots grow darker and a
   touch bigger, with a soft warm glow. It brightens while the pointer is on
   the hero (.is-lit) and rests, dimmer, in the middle when it leaves. */
.hero-grid {
  position: absolute;
  inset: 0;
  --mx: 50%;
  --my: 38%;
  pointer-events: none;
}

.hero-grid::before,
.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-grid::before {
  background-image: radial-gradient(circle at 1px 1px, rgba(17, 17, 19, 0.075) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 25%, transparent 78%);
}

.hero-grid::after {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(17, 17, 19, 0.42) 1.3px, transparent 1.8px),
    radial-gradient(180px circle at var(--mx) var(--my), rgba(228, 87, 46, 0.07), transparent 70%);
  background-size: 26px 26px, 100% 100%;
  background-repeat: repeat, no-repeat;
  mask-image: radial-gradient(240px circle at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 72%);
  -webkit-mask-image: radial-gradient(240px circle at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 72%);
  opacity: 0.4;
  transition: opacity 400ms ease;
}

.hero-grid.is-lit::after {
  opacity: 1;
}

.hero-inner {
  position: relative;
  display: grid;
  justify-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 8px 0 6px;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--line-2), 0 6px 18px rgba(17, 17, 19, 0.05);
  font-size: 0.875rem;
  font-weight: 500;
  transition: box-shadow 200ms ease, transform 140ms var(--swift);
}

@media (hover: hover) and (pointer: fine) {
  .badge:hover {
    box-shadow: 0 0 0 1px var(--ink-3), 0 8px 22px rgba(17, 17, 19, 0.08);
  }
}

.badge:active {
  transform: scale(0.98);
}

.badge-new,
.pill-new {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(228, 87, 46, 0.12);
  color: var(--warm);
  font-size: 0.75rem;
  font-weight: 650;
}

.badge svg {
  width: 22px;
  height: 22px;
  padding: 5px;
  border-radius: 50%;
  background: var(--card);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.hero-title {
  display: grid;
  margin: 34px 0 22px;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-optical-sizing: auto;
}

.hero-line {
  display: block;
}

/* The word that keeps changing: each letter sharpens in from a blur. */
.type {
  position: relative;
  display: inline-block;
  min-width: var(--type-room, 3.6em);
  text-align: left;
}

.type-word {
  display: inline-block;
  white-space: pre;
}

.type-word i {
  display: inline-block;
  font-style: normal;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(0.08em);
  transition: opacity 380ms var(--settle), filter 380ms var(--settle), transform 380ms var(--settle);
}

.type-word i.is-in {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.type-dot {
  display: inline-block;
}

.type-word i.is-out {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(-0.06em);
  transition-duration: 260ms;
}

/* The bar under the word follows its width. */
.type-bar {
  position: absolute;
  left: 0;
  bottom: -0.02em;
  width: 100%;
  height: 0.055em;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--ink-3), var(--line-2));
  transform-origin: left center;
  transform: scaleX(var(--bar, 1));
  transition: transform 520ms var(--settle);
}

.hero-lede {
  max-width: 640px;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.5;
}

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

.hero-note {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 0.875rem;
}

/* ---- Sections -------------------------------------------------------------------- */
.section {
  padding: 112px 0;
}

.section-tint {
  background: var(--bg-2);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--ink-3);
  font-size: 0.9375rem;
  font-weight: 500;
}

.title {
  max-width: 820px;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 570;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.lede {
  max-width: 620px;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 1.125rem;
  line-height: 1.55;
}

.card {
  position: relative;
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

/* A soft light that follows the pointer over cards. about.js adds it as an
   element of its own and moves it 1:1, so the card's contents (the live
   demos) aren't restyled on every move. */
.glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.55), transparent 60%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

@media (hover: hover) and (pointer: fine) {
  [data-glow]:hover .glow {
    opacity: 1;
  }
}

/* ---- Modes: four cards, each with a live demo ---------------------------------- */
.modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.mode {
  display: grid;
  grid-template-rows: 320px auto;
  transition: transform 500ms var(--settle), box-shadow 500ms var(--settle);
}

@media (hover: hover) and (pointer: fine) {
  .mode:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(17, 17, 19, 0.08);
  }
}

.mode-text {
  padding: 4px 28px 28px;
}

.mode-text h3 {
  font-size: 1.25rem;
  font-weight: 620;
  letter-spacing: -0.015em;
}

.mode-text p {
  margin-top: 6px;
  max-width: 460px;
  color: var(--ink-2);
  font-size: 0.9688rem;
}

.mode-dark {
  background: var(--dark);
  color: var(--on-dark);
}

.mode-dark .mode-text p {
  color: var(--on-dark-2);
}

.demo {
  position: relative;
  overflow: hidden;
  padding: 26px 26px 10px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 calc(100% - 18px), transparent);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 calc(100% - 18px), transparent);
}

/* Chat: messages rise in and the answer types itself. */
.chat-feed {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  height: 100%;
}

.msg {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.875rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 420ms var(--settle), transform 520ms var(--settle);
}

.msg.is-in {
  opacity: 1;
  transform: none;
}

.msg-user {
  align-self: flex-end;
  background: var(--card-2);
  border-bottom-right-radius: 6px;
}

.msg-ai {
  align-self: flex-start;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--line);
  border-bottom-left-radius: 6px;
}

/* The rest of the answer, not typed yet: it holds the bubble's final size,
   so nothing jumps as the text arrives. */
.msg .rest {
  visibility: hidden;
}

.msg.is-leaving {
  opacity: 0;
  transform: translateY(-10px);
  transition-duration: 360ms;
}

.dots {
  display: inline-flex;
  gap: 4px;
  padding: 3px 0;
}

.dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
  animation: dot 1s var(--swift) infinite;
}

.dots i:nth-child(2) {
  animation-delay: 140ms;
}

.dots i:nth-child(3) {
  animation-delay: 280ms;
}

@keyframes dot {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: none;
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

/* Work: a job whose to-do list ticks itself off. */
.demo-work {
  display: grid;
  align-content: center;
}

.job {
  padding: 18px;
  border-radius: 18px;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--line), 0 14px 34px rgba(17, 17, 19, 0.06);
}

.job-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.job-title,
.job-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.job-chip {
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-2);
  font-weight: 550;
}

.job-title svg,
.job-chip svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.todo {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.todo li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 0.875rem;
  transition: color 300ms ease;
}

.tick {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}

/* The step at work: a thick turning ring, as in the app. */
.todo li.is-live .tick {
  box-shadow: inset 0 0 0 2.5px var(--line-2);
}

.todo li.is-live .tick::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: var(--ink);
  animation: spin 800ms linear infinite;
}

.todo li.is-done {
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-color: var(--line-2);
}

.todo li.is-done .tick {
  background: var(--ink);
  box-shadow: none;
}

.todo li.is-done .tick::after {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 4px;
  width: 4px;
  height: 8px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  animation: pop 360ms var(--settle);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: rotate(45deg) scale(0.4);
  }
}

.job-now {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font: 500 0.8125rem/1.4 var(--mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* MAX CODE: a terminal that writes itself. */
.demo-code {
  padding: 22px 22px 6px;
}

.term {
  height: 100%;
  border-radius: 16px;
  background: var(--dark-2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  font: 500 0.78rem/1.6 var(--mono);
}

.term-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  color: var(--on-dark-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.term-head i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.term-head span:first-of-type {
  margin-left: 8px;
}

.term-meter {
  width: 64px;
  height: 6px;
  margin-left: auto;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.term-meter b {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--on-dark-2);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  transition: transform 600ms var(--settle);
}

.term-body {
  padding: 10px 14px;
  color: var(--on-dark-2);
}

.term-line {
  display: flex;
  gap: 10px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 300ms var(--settle), transform 400ms var(--settle);
}

.term-line.is-in {
  opacity: 1;
  transform: none;
}

.term-line .t-tool {
  min-width: 70px;
  color: #8fd6ad;
}

.term-line .t-dim {
  color: var(--on-dark-3);
}

.term-line .t-ask {
  color: var(--on-dark);
  font-weight: 600;
}

.term-line.t-add {
  color: #8fd6ad;
  padding-left: 18px;
}

.term-line.t-del {
  color: #f19a9a;
  padding-left: 18px;
}

.term-line .t-ok {
  color: #8fd6ad;
}

/* MyFlyCursor: cursors at work in a small desktop. */
.demo-fly {
  display: grid;
  place-items: center;
  padding: 24px;
}

.screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--card-2), var(--bg-2));
  box-shadow: 0 0 0 1px var(--line);
  overflow: hidden;
}

/* While the cursors work, the edge glows, as in the app. */
.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(228, 87, 46, 0.55), inset 0 0 26px rgba(228, 87, 46, 0.28);
  opacity: 0;
  transition: opacity 600ms ease;
}

.screen.is-working::before {
  opacity: 1;
}

.win {
  position: absolute;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 12px;
  border-radius: 10px;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px rgba(17, 17, 19, 0.06);
  transition: box-shadow 300ms ease;
}

.win b {
  width: 46%;
  height: 7px;
  border-radius: 99px;
  background: var(--line-2);
}

.win i {
  height: 6px;
  border-radius: 99px;
  background: var(--card-2);
}

.win i:nth-child(odd) {
  width: 82%;
}

.win.is-hit {
  box-shadow: 0 0 0 1.5px var(--ink-3), 0 10px 24px rgba(17, 17, 19, 0.08);
}

.win-a {
  left: 6%;
  top: 10%;
  width: 40%;
  height: 46%;
}

.win-b {
  right: 7%;
  top: 14%;
  width: 38%;
  height: 34%;
}

.win-c {
  right: 16%;
  bottom: 10%;
  width: 44%;
  height: 34%;
}

.cursor {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: flex-start;
  gap: 2px;
  will-change: transform;
}

.cursor svg {
  width: 20px;
  height: 20px;
  fill: var(--c);
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.cursor span {
  margin-top: 14px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--c);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 650;
}

/* A click: a ring that opens from the tip. */
.cursor .ring {
  position: absolute;
  left: 5px;
  top: 3px;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  border: 2px solid var(--c);
  animation: ring 520ms var(--settle) forwards;
  pointer-events: none;
}

@keyframes ring {
  from {
    opacity: 1;
    transform: scale(0.3);
  }
  to {
    opacity: 0;
    transform: scale(1.4);
  }
}

.c1 {
  --c: #e4572e;
}

.c2 {
  --c: #2f6fd6;
}

.c3 {
  --c: #1f9d6b;
}

/* ---- The real app: screens, one at a time ---------------------------------------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 36px;
}

.tabs button {
  position: relative;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 550;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 200ms ease, color 200ms ease, transform 140ms var(--swift);
  -webkit-tap-highlight-color: transparent;
}

.tabs button:hover {
  color: var(--ink);
}

.tabs button:active {
  transform: scale(0.97);
}

.tabs button[aria-selected="true"] {
  background: var(--card-2);
  color: var(--ink);
}

/* While the screens move on by themselves, the chosen tab fills up. */
.tabs button i {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-3);
  transform-origin: left;
  transform: scaleX(0);
  opacity: 0;
}

.tabs.is-auto button[aria-selected="true"] i {
  opacity: 1;
  transform: scaleX(1);
  transition: transform var(--auto, 5200ms) linear;
}

.window {
  margin: 20px 0 0;
}

.window-shots {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(17, 17, 19, 0.14), 0 6px 18px rgba(17, 17, 19, 0.06);
  overflow: hidden;
}

/* The next screen settles in from a little blur; the last one fades under it. */
.window-shots img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.012);
  filter: blur(6px);
  transition: opacity 520ms var(--settle), transform 700ms var(--settle), filter 520ms var(--settle);
}

.window-shots img.is-on {
  z-index: 1;
  opacity: 1;
  transform: none;
  filter: none;
}

.window-caption {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  text-align: center;
}

/* ---- MAX CODE and MyFlyCursor, closer --------------------------------------------- */
.deep-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 64px;
}

.deep-flip .deep-text {
  order: 2;
}

.ticks {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-2);
}

.ticks svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 4px;
  border-radius: 50%;
  background: var(--ink);
  fill: none;
  stroke: var(--bg);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The screenshot leans a little toward the pointer (about.js, springs). */
.deep-shot {
  margin: 0;
  perspective: 1400px;
}

.deep-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line), 0 34px 90px rgba(17, 17, 19, 0.16), 0 8px 22px rgba(17, 17, 19, 0.06);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  will-change: transform;
}

/* ---- Privacy: the dark band ----------------------------------------------------- */
.privacy {
  position: relative;
  padding: 120px 0;
  background: var(--dark);
  color: var(--on-dark);
  overflow: hidden;
}

.privacy::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background: radial-gradient(60% 60% at 50% 0%, rgba(228, 87, 46, 0.16), transparent 70%);
  pointer-events: none;
}

.privacy .wrap {
  position: relative;
}

.kicker-dark {
  color: var(--on-dark-3);
}

.title-dark {
  max-width: 900px;
  font-size: clamp(2.1rem, 4.8vw, 4rem);
}

.title-dark span {
  color: var(--on-dark-3);
}

.lede-dark {
  max-width: 640px;
  margin-top: 22px;
  color: var(--on-dark-2);
  font-size: 1.125rem;
}

.flow {
  margin: 56px auto 12px;
  max-width: 960px;
}

.flow-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.flow-path {
  fill: none;
  stroke-width: 2;
}

.flow-blocked {
  fill: none;
  stroke: rgba(244, 244, 245, 0.22);
  stroke-width: 2;
  stroke-dasharray: 4 7;
}

.node rect {
  fill: var(--dark-2);
  stroke: rgba(255, 255, 255, 0.1);
}

.node text {
  fill: var(--on-dark);
  font: 600 15px/1 var(--font);
}

.node .node-sub {
  fill: var(--on-dark-3);
  font: 500 12px/1 var(--font);
}

.node-server rect {
  fill: transparent;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-dasharray: 5 6;
}

.node-server text {
  fill: var(--on-dark-3);
}

.lock-shackle {
  fill: none;
  stroke: var(--on-dark);
  stroke-width: 4;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: 100% 100%;
  transform: translateY(-6px);
  transition: transform 420ms var(--settle);
}

[data-lock].is-shut .lock-shackle {
  transform: none;
}

.node .lock-body {
  fill: var(--warm);
  stroke: none;
}

.lock-dot {
  fill: var(--dark);
}

.key {
  fill: none;
  stroke: var(--warm-2);
  stroke-width: 3;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 900ms var(--settle), opacity 500ms ease 350ms;
}

.key.no-anim {
  transition: none;
}

.key .key-hole {
  fill: var(--warm-2);
  stroke: none;
}

/* Into the lock: right, a little down, smaller, gone. */
.key.is-home {
  transform: translate(118px, 6px) scale(0.55);
  opacity: 0;
}

.ai-mark path {
  fill: var(--on-dark);
}

.block circle {
  fill: var(--dark);
  stroke: rgba(209, 75, 75, 0.8);
  stroke-width: 2;
}

.block path {
  stroke: rgba(240, 120, 120, 0.95);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.flow-label {
  fill: var(--on-dark-3);
  font: 500 13px/1 var(--font);
}

.packet {
  fill: var(--on-dark);
}

.packet.is-back {
  fill: var(--warm-2);
}

/* Phones: the diagram top to bottom (shown below 700px wide). */
.flow-mini {
  display: none;
  margin: 44px 0 8px;
}

.fm-node {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--dark-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.fm-node svg {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: rgba(228, 87, 46, 0.14);
  fill: none;
  stroke: var(--warm-2);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fm-node b {
  font-weight: 620;
}

.fm-node span {
  color: var(--on-dark-3);
  font-size: 0.875rem;
}

.fm-off {
  margin-top: 14px;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.fm-off svg {
  background: rgba(209, 75, 75, 0.12);
  stroke: #f07878;
}

.fm-off b {
  color: var(--on-dark-2);
}

/* The request travelling down the line, as dots. */
.fm-link {
  position: relative;
  height: 72px;
  margin-left: 37px;
  border-left: 2px solid rgba(244, 244, 245, 0.25);
}

.fm-link i {
  position: absolute;
  left: -5px;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--on-dark);
  animation: fm-drop 2.1s var(--in-out) infinite;
}

.fm-link i:nth-child(2) {
  animation-delay: 0.7s;
}

.fm-link i:nth-child(3) {
  animation-delay: 1.4s;
}

.fm-link span {
  position: absolute;
  left: 18px;
  top: 50%;
  color: var(--on-dark-3);
  font-size: 0.8125rem;
  transform: translateY(-50%);
}

@keyframes fm-drop {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  20%,
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(64px);
  }
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.fact {
  padding: 26px;
  border-radius: 22px;
  background: var(--dark-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.fact svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--warm-2);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fact h3 {
  margin-top: 18px;
  font-size: 1.125rem;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.fact p {
  margin-top: 8px;
  color: var(--on-dark-2);
  font-size: 0.9375rem;
}

/* ---- How it works ---------------------------------------------------------------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

/* The line through the numbers draws itself across. */
.steps::before {
  content: "";
  position: absolute;
  left: 46px;
  right: 46px;
  top: 47px;
  height: 2px;
  border-radius: 2px;
  background: var(--line-2);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1400ms var(--settle) 200ms;
}

.steps.is-drawn::before {
  transform: scaleX(1);
}

.step {
  position: relative;
  padding: 26px;
  border-radius: 22px;
}

.step-n {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-weight: 650;
  box-shadow: 0 0 0 8px var(--bg);
}

.step h3 {
  margin-top: 22px;
  font-size: 1.25rem;
  font-weight: 620;
  letter-spacing: -0.015em;
}

.step p {
  margin-top: 8px;
  color: var(--ink-2);
}

.providers {
  margin-top: 88px;
  text-align: center;
}

.providers-title {
  color: var(--ink-2);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 560;
  letter-spacing: -0.01em;
}

/* The rows run the page's full width, so the section clips its own sides
   (no sideways scroll from the scroll bar's few pixels). */
#how {
  overflow-x: clip;
}

/* Edge to edge, wider than the page's column; it fades out at both sides. */
.marquee {
  width: 100vw;
  margin: 34px 0 0 calc(50% - 50vw);
  padding: 8px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

/* Right to left, steadily. */
.marquee-row {
  display: flex;
  gap: 18px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: slide 80s linear infinite;
}

.marquee:hover .marquee-row {
  animation-play-state: paused;
}

.marquee-row li {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 88px;
  padding: 0 38px 0 30px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: transform 300ms var(--settle), box-shadow 300ms var(--settle), background-color 200ms ease;
}

/* Each provider's own logo, in black like the names. */
.pv-logo {
  display: block;
  flex: none;
  width: 34px;
  height: 34px;
  filter: brightness(0);
}

.pv-any svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #000;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover) and (pointer: fine) {
  .marquee-row li:hover {
    background: var(--bg);
    box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 26px rgba(17, 17, 19, 0.08);
    transform: translateY(-2px);
  }
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

.providers-note {
  margin-top: 22px;
  color: var(--ink-3);
  font-size: 0.875rem;
}

/* ---- T-CUTTER -------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 56px;
}

.levels {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.levels li {
  display: flex;
  gap: 12px;
  color: var(--ink-2);
}

.levels b {
  min-width: 58px;
  color: var(--ink);
  font-weight: 620;
}

.bars {
  margin: 0;
  padding: 30px;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(17, 17, 19, 0.06);
}

.bars figcaption {
  margin-bottom: 22px;
  color: var(--ink-3);
  font-size: 0.875rem;
  font-weight: 500;
}

.bar {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 118px;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
}

.bar-name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.bar-track {
  position: relative;
  height: 14px;
}

.bar-ghost,
.bar-fill {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  transform-origin: left center;
}

/* What was cut stays as a faint ghost of the full bar. */
.bar-ghost {
  background: repeating-linear-gradient(-45deg, var(--card-2) 0 6px, transparent 6px 10px);
  box-shadow: inset 0 0 0 1px var(--line);
  transform: scaleX(0);
  transition: transform 900ms var(--settle);
}

.bar-fill {
  background: linear-gradient(90deg, var(--warm), var(--warm-2));
  transform: scaleX(0);
  transition: transform 1100ms var(--settle);
}

.bar:first-of-type .bar-fill {
  background: var(--ink);
}

.bar-num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  text-align: right;
}

.bar-num em {
  margin-left: 4px;
  color: var(--good);
  font-style: normal;
  font-size: 0.8125rem;
}

.bars-note {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 0.8125rem;
}

/* ---- Customize: the studio ------------------------------------------------------- */
.studio {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(440px, 52vw, 620px);
  margin-top: 48px;
  border-radius: 30px;
  overflow: hidden;
  background: #1b0f0b;
  isolation: isolate;
}

.studio-wall {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* The app window, small. Its material changes with the style chosen. */
.mock {
  --m-bg: rgba(250, 250, 252, 0.55);
  --m-ink: #1d1d1f;
  --m-ink-2: rgba(29, 29, 31, 0.6);
  --m-line: rgba(0, 0, 0, 0.08);
  --m-card: rgba(255, 255, 255, 0.7);
  --m-blur: 18px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  width: min(720px, 86%);
  height: 66%;
  border-radius: 22px;
  background: var(--m-bg);
  color: var(--m-ink);
  backdrop-filter: blur(var(--m-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--m-blur)) saturate(160%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 30px 80px rgba(0, 0, 0, 0.35), 0 0 60px var(--glow, rgba(228, 87, 46, 0.35));
  transition: background-color 600ms var(--settle), box-shadow 800ms var(--settle), color 400ms ease, transform 700ms var(--settle), backdrop-filter 500ms var(--settle), -webkit-backdrop-filter 500ms var(--settle);
  overflow: hidden;
}

.mock-rail,
.mock-rail i,
.mock-modes,
.mock-modes span,
.mock-box,
.mock-box i,
.mock-chips span {
  transition: background-color 400ms ease, color 400ms ease, box-shadow 400ms ease, border-color 400ms ease;
}

.studio[data-theme="dark"] .mock {
  --m-bg: rgba(18, 18, 20, 0.5);
  --m-ink: #f4f4f5;
  --m-ink-2: rgba(244, 244, 245, 0.6);
  --m-line: rgba(255, 255, 255, 0.08);
  --m-card: rgba(255, 255, 255, 0.08);
}

.studio[data-style="solid"] .mock {
  --m-bg: #fafafc;
  --m-blur: 0px;
}

.studio[data-style="solid"][data-theme="dark"] .mock {
  --m-bg: #19191b;
}

.studio[data-style="clear"] .mock {
  --m-bg: rgba(250, 250, 252, 0.12);
  --m-blur: 0px;
}

.studio[data-style="clear"][data-theme="dark"] .mock {
  --m-bg: rgba(18, 18, 20, 0.16);
}

.studio[data-style="blur"] .mock {
  --m-blur: 42px;
  --m-bg: rgba(250, 250, 252, 0.38);
}

.studio[data-style="blur"][data-theme="dark"] .mock {
  --m-bg: rgba(18, 18, 20, 0.36);
}

.mock-rail {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 14px;
  padding: 18px 0;
  border-right: 1px solid var(--m-line);
}

.mock-rail i {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: var(--m-card);
}

.mock-rail i:first-child {
  border-radius: 50%;
  background: var(--m-ink);
}

.mock-main {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 24px;
}

.mock-modes {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--m-card);
  font-size: 0.8125rem;
  font-weight: 550;
}

.mock-modes span {
  padding: 5px 14px;
  border-radius: 999px;
  color: var(--m-ink-2);
}

.mock-modes .is-on {
  background: var(--m-bg);
  color: var(--m-ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.mock-hello {
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 560;
  letter-spacing: -0.02em;
}

.mock-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(440px, 100%);
  padding: 14px 14px 14px 18px;
  border-radius: 20px;
  background: var(--m-card);
  color: var(--m-ink-2);
  font-size: 0.875rem;
  box-shadow: 0 0 0 1px var(--m-line);
}

.mock-box i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--m-ink);
}

.mock-chips {
  display: flex;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 550;
  color: var(--m-ink-2);
}

.mock-chips span {
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--m-line);
}

.studio-controls {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 6px;
  border-radius: 999px;
  background: rgba(17, 17, 19, 0.5);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
}

.seg {
  display: flex;
  gap: 2px;
}

.seg button,
.swatch {
  border: 0;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.seg button {
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
  font-weight: 550;
  transition: background-color 200ms ease, color 200ms ease, transform 120ms var(--swift);
}

.seg button:hover {
  color: #fff;
}

.seg button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.92);
  color: #111113;
}

.seg button:active,
.swatch:active {
  transform: scale(0.95);
}

.swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px;
}

.swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.25);
  transition: box-shadow 200ms ease, transform 120ms var(--swift);
}

.swatch[aria-pressed="true"] {
  box-shadow: 0 0 0 2px rgba(17, 17, 19, 0.6), 0 0 0 4px #fff;
}

.sw-ember {
  background: conic-gradient(from 210deg, #e4572e, #f6b37f, #7a1f2b, #e4572e);
}

.sw-tide {
  background: conic-gradient(from 210deg, #1e3a5f, #5b8fb9, #e9d3b4, #1e3a5f);
}

.sw-ink {
  background: conic-gradient(from 210deg, #2a2a30, #9a9aa3, #4a4a52, #2a2a30);
}

/* ---- More: a grid of small tiles --------------------------------------------------- */
.more {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.tile {
  position: relative;
  padding: 26px;
  border-radius: 22px;
  background: var(--card);
  overflow: hidden;
  transition: transform 500ms var(--settle), box-shadow 500ms var(--settle);
}

@media (hover: hover) and (pointer: fine) {
  .tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(17, 17, 19, 0.07);
  }
}

.tile svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ic * {
  transform-box: fill-box;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* Pictures: the sun rises, the hills draw themselves. */
  .tile:hover .ic-picture .sun {
    animation: ic-rise 700ms var(--settle);
  }

  .tile:hover .ic-picture .hills {
    stroke-dasharray: 1;
    animation: ic-draw 700ms var(--settle);
  }

  /* Plugins: the plug pushes in, then settles. */
  .tile:hover .ic-plug .plug {
    animation: ic-plug 650ms var(--settle);
  }

  /* Terminal: the prompt steps forward, the cursor blinks. */
  .tile:hover .ic-term .caret {
    animation: ic-nudge 600ms var(--settle);
  }

  .tile:hover .ic-term .cursor-line {
    animation: ic-blink 900ms steps(1) 2;
  }

  /* Browser: the globe turns. */
  .tile:hover .ic-globe .meridian {
    transform-origin: center;
    animation: ic-turn 900ms var(--in-out);
  }

  /* Usage: the needle sweeps across and comes back. */
  .tile:hover .ic-gauge .needle {
    transform-origin: 0% 100%;
    animation: ic-sweep 900ms var(--settle);
  }

  /* Auto correct: the tick writes itself. */
  .tile:hover .ic-check .tick {
    stroke-dasharray: 1;
    animation: ic-draw 520ms var(--settle);
  }

  .tile:hover .ic-check .lines {
    animation: ic-shift 520ms var(--settle);
  }

  /* Mini chat: the bubble pops and someone's typing. */
  .tile:hover .ic-chat {
    animation: ic-pop 520ms var(--settle);
  }

  .tile:hover .ic-chat .typing circle {
    animation: ic-type 900ms var(--swift) 2;
  }

  .tile:hover .ic-chat .typing circle:nth-child(2) {
    animation-delay: 120ms;
  }

  .tile:hover .ic-chat .typing circle:nth-child(3) {
    animation-delay: 240ms;
  }

  /* Updates: the arrows go round once. */
  .tile:hover .ic-sync {
    animation: ic-spin 800ms var(--in-out);
  }
}

/* The typing dots only show while the bubble is typing. */
.ic-chat .typing circle {
  opacity: 0;
}

@keyframes ic-rise {
  0% {
    transform: translateY(4px);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

@keyframes ic-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes ic-plug {
  0% {
    transform: none;
  }
  35% {
    transform: translateY(2.5px);
  }
  100% {
    transform: none;
  }
}

@keyframes ic-nudge {
  0% {
    transform: none;
  }
  40% {
    transform: translateX(2px);
  }
  100% {
    transform: none;
  }
}

@keyframes ic-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@keyframes ic-turn {
  0% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(-1);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes ic-sweep {
  0% {
    transform: rotate(0deg);
  }
  35% {
    transform: rotate(-95deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes ic-shift {
  0% {
    transform: none;
  }
  40% {
    transform: translateX(-1.5px);
  }
  100% {
    transform: none;
  }
}

@keyframes ic-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes ic-type {
  0%,
  100% {
    opacity: 0;
    transform: none;
  }
  30% {
    opacity: 1;
    transform: translateY(-1px);
  }
  60% {
    opacity: 1;
    transform: none;
  }
}

@keyframes ic-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.tile h3 {
  margin-top: 30px;
  font-size: 1.0625rem;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.tile p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

/* ---- Numbers ----------------------------------------------------------------------- */
.numbers {
  padding: 24px 0 112px;
}

.numbers-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.number {
  display: grid;
  gap: 6px;
  padding: 36px 28px 0;
  border-left: 1px solid var(--line);
}

.number:first-child {
  border-left: 0;
  padding-left: 0;
}

.number b {
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.number span {
  color: var(--ink-3);
}

/* ---- The end ------------------------------------------------------------------------ */
.cta {
  padding: 120px 0 140px;
  background: var(--bg-2);
  text-align: center;
}

.cta-inner {
  display: grid;
  justify-items: center;
}

.cta-mark {
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
}

.cta-title {
  max-width: none;
}

.cta-lede {
  margin-inline: auto;
}

.foot {
  padding: 28px 0 40px;
  color: var(--ink-3);
  font-size: 0.875rem;
}

.foot-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  color: var(--ink);
  font-weight: 600;
}

.foot-brand .brand-mark {
  width: 16px;
  height: 16px;
}

.foot a:hover {
  color: var(--ink);
}

/* The legal pages (/terms, /privacy…), in the footer. */
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

/* ---- Coming into view: rise, sharpen, settle ----------------------------------- */
/* Only with scripting on, so nothing flashes before about.js runs and nothing
   stays hidden without it; if the script never runs, all shows after 3 s. */
@media (scripting: enabled) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(6px);
    transition: opacity 900ms var(--settle), transform 1100ms var(--settle), filter 900ms var(--settle);
    transition-delay: var(--delay, 0ms);
  }

  [data-reveal].is-seen {
    opacity: 1;
    transform: none;
    filter: none;
  }

  html:not(.js-ok) [data-reveal] {
    animation: shown 600ms ease 3s forwards;
  }

  /* Cards keep their own hover lift once in view, the badge its press. */
  .mode[data-reveal].is-seen,
  .tile[data-reveal].is-seen {
    transition: opacity 900ms var(--settle), transform 500ms var(--settle), filter 900ms var(--settle), box-shadow 500ms var(--settle);
    transition-delay: 0ms;
  }

  .badge[data-reveal].is-seen {
    transition: opacity 900ms var(--settle), filter 900ms var(--settle), transform 140ms var(--swift), box-shadow 200ms ease;
    transition-delay: 0ms;
  }

  /* Big surfaces with live content rise and fade, without a blur to redraw. */
  .studio[data-reveal],
  .mode[data-reveal],
  .flow[data-reveal] {
    filter: none;
  }
}

@keyframes shown {
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ---- Narrow screens ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .deep-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .deep-flip .deep-text {
    order: 0;
  }
}

@media (max-width: 700px) {
  .flow {
    display: none;
  }

  .flow-mini {
    display: block;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .marquee-row li {
    gap: 12px;
    height: 64px;
    padding: 0 26px 0 20px;
    font-size: 1.125rem;
  }

  .pv-logo,
  .pv-any svg {
    width: 26px;
    height: 26px;
  }

  .tabs button {
    flex: none;
  }

  .window-shots {
    border-radius: 12px;
  }

  /* The changing word gets a line of its own, centred, its stop after it. */
  .type {
    display: block;
    min-width: 0;
    text-align: center;
  }

  .type-bar {
    display: none;
  }

  .mock-modes {
    font-size: 0.75rem;
  }

  .mock-modes span {
    padding: 5px 10px;
  }

  .mock-modes .mock-pill {
    display: none;
  }

  .hero {
    padding: 128px 0 88px;
  }

  .section,
  .privacy {
    padding: 84px 0;
  }

  .modes,
  .facts,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .mode {
    grid-template-rows: 280px auto;
  }

  .steps::before {
    display: none;
  }

  .step {
    padding: 20px 0;
  }

  .numbers-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .number:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .number {
    padding: 28px 16px 0;
  }

  .studio {
    height: 520px;
  }

  .mock {
    width: 92%;
    height: 58%;
    grid-template-columns: 40px minmax(0, 1fr);
    margin-bottom: 60px;
  }

  .studio-controls {
    border-radius: 22px;
  }

  .nav-actions .btn-quiet {
    display: none;
  }

  .bar {
    grid-template-columns: 50px minmax(0, 1fr) 96px;
    gap: 10px;
  }

  .bars {
    padding: 22px;
  }

  .foot-inner {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}

@media (max-width: 480px) {
  .more {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .title-dark {
    font-size: 2rem;
  }
}

/* ---- Reduced motion: fades only, nothing loops -------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    transform: none !important;
    filter: none !important;
    transition: opacity 400ms ease !important;
  }

  .marquee-row {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    animation: none;
  }

  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee-row li[aria-hidden="true"] {
    display: none;
  }

  .marquee {
    width: auto;
    margin-left: 0;
  }

  .mode:hover,
  .tile:hover {
    transform: none;
  }

  .window-shots img {
    transform: none;
    filter: none;
    transition: opacity 300ms ease;
  }

  .deep-shot img {
    transform: none;
  }

  .bar-fill,
  .bar-ghost,
  .type-bar,
  .term-meter b,
  .steps::before,
  .key,
  .lock-shackle {
    transition: none;
  }

  .dots i,
  .todo li.is-live .tick::before,
  .fm-link i {
    animation: none;
  }

  .fm-link i:not(:first-child) {
    display: none;
  }

  .fm-link i:first-child {
    top: 30px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nav.is-scrolled {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .studio-controls {
    background: #111113;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ---- Getting the app (about.js): what comes after Download --------------------- */
/* On Windows: the install steps, SmartScreen included. Elsewhere: the link to
   send to a Windows PC. A card in the middle; on a phone, a sheet from below. */
.getapp {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 17, 19, 0.3);
  opacity: 0;
  transition: opacity 200ms var(--swift);
}

.getapp[hidden] {
  display: none;
}

.getapp.is-open {
  opacity: 1;
}

.getapp-card {
  position: relative;
  width: min(460px, 100%);
  padding: 28px 28px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(17, 17, 19, 0.28);
  transform: translateY(12px) scale(0.98);
  transition: transform 360ms var(--settle);
}

.getapp.is-open .getapp-card {
  transform: none;
}

.getapp-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--card);
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.getapp-close:hover {
  background: var(--card-2);
  color: var(--ink);
}

.getapp-close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.getapp-title {
  margin: 0 44px 12px 0;
  font-size: 1.375rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.getapp-body {
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.getapp-body p {
  margin: 0 0 10px;
}

.getapp-body b {
  color: var(--ink);
  font-weight: 600;
}

.getapp-steps {
  display: grid;
  gap: 14px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: getapp-step;
}

.getapp-steps li {
  position: relative;
  padding-left: 38px;
  counter-increment: getapp-step;
}

.getapp-steps li::before {
  content: counter(getapp-step);
  position: absolute;
  top: -1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.8125rem;
  font-weight: 600;
}

.getapp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.getapp-actions .btn {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

@media (max-width: 560px) {
  .getapp {
    place-items: end center;
    padding: 12px;
  }

  .getapp-card {
    padding: 24px 22px 20px;
    border-radius: 24px;
    transform: translateY(24px);
  }

  .getapp-actions .btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .getapp-card,
  .getapp.is-open .getapp-card {
    transform: none;
    transition: none;
  }
}
