/* Maka website. The page is the object: Maka's own window and the file it
   splits, set as filled panels with real edges. Flat colours only. */

:root {
  /* Ground, ink and borders of deveryidea.com; Maka keeps its violet accent. */
  --bg: hsl(30 20% 98%);
  --surface: #ffffff;
  --tone: hsl(36 16% 94%);
  --ink: hsl(30 6% 7%);
  --muted: hsl(33 5% 36%);
  --accent: #4f46e5; /* taste-skill-ignore: Maka's brand violet (logo and app) */
  --accent-ink: #ffffff;
  --accent-soft: #e7e5fb;
  --night: #121116; /* the dim room behind the hero card */
  --night-ink: #f1f0f4;
  --paper: hsl(36 30% 91%);
  --display: 'Manrope', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace; /* taste-skill-ignore: only for the SHA-256 hash */
  /* Five sizes do all the work. */
  --s-xl: clamp(34px, 6.2vw, 92px);
  --s-l: clamp(28px, 3.2vw, 46px);
  --s-m: 22px;
  --s-b: 17px;
  --s-s: 14px;
  --m: clamp(16px, 3vw, 32px);
  --nav: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #111116;
    --surface: #1b1a21;
    --tone: #19181f;
    --ink: #f1f0f4;
    --muted: #a6a4b0;
    --accent: #8b83ff;
    --accent-ink: #0c0b10;
    --accent-soft: #26233f;
    --night: #0a0a0d;
    --paper: #24222b;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #111116;
  --surface: #1b1a21;
  --tone: #19181f;
  --ink: #f1f0f4;
  --muted: #a6a4b0;
  --accent: #8b83ff;
  --accent-ink: #0c0b10;
  --accent-soft: #26233f;
  --night: #0a0a0d;
  --paper: #24222b;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--s-b) / 1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a {
  color: inherit;
}
img,
svg {
  display: block;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
p {
  margin: 0;
}
.wrap {
  width: min(1360px, calc(100% - 2 * var(--m)));
  margin: 0 auto;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ---- Navigation: wordmark, a few links, one action ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--nav);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 22px var(--display);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.logo svg {
  width: 30px;
  height: 30px;
}
.links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: var(--s-s);
}
.links a {
  text-decoration: none;
  transition: color 0.2s;
}
.links a:hover {
  color: var(--accent);
}
.nav-side {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-side select {
  height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: var(--tone);
  color: var(--ink);
  font: 500 14px var(--sans);
  cursor: pointer;
}

/* Theme toggle: the icon turns, the new theme opens as a circle from it. */
.theme {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--tone);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}
.theme:hover {
  transform: rotate(-20deg);
}
.theme svg {
  grid-area: 1 / 1;
  width: 19px;
  height: 19px;
  transition: transform 0.5s var(--ease), opacity 0.3s;
}
.theme .moon,
:root[data-theme='dark'] .theme .sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.4);
}
:root[data-theme='dark'] .theme .moon {
  opacity: 1;
  transform: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme .sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.4);
  }
  :root:not([data-theme='light']) .theme .moon {
    opacity: 1;
    transform: none;
  }
}
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

/* ---- Buttons: one shape, fully round ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font: 600 16px var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.btn:active {
  transform: scale(0.97);
}
.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn.small {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}
.btn.small:hover {
  background: var(--ink);
  color: var(--bg);
}
/* Interactive hover button: the dot grows into the fill, the label slides
   out and the action slides in with its arrow. */
.btn.hover {
  overflow: hidden;
  padding-left: 44px;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--accent);
}
.hv-dot {
  position: absolute;
  left: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 0.45s var(--ease);
}
.hv-text {
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.hv-alt {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--accent-ink);
  opacity: 0;
  transform: translateX(40px);
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.hv-alt svg {
  width: 18px;
  height: 18px;
}
.btn.hover:hover .hv-dot,
.btn.hover:focus-visible .hv-dot {
  transform: scale(60);
}
.btn.hover:hover .hv-text,
.btn.hover:focus-visible .hv-text {
  opacity: 0;
  transform: translateX(40px);
}
.btn.hover:hover .hv-alt,
.btn.hover:focus-visible .hv-alt {
  opacity: 1;
  transform: none;
}
.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--accent);
  transition: color 0.2s;
}
.text-link:hover {
  color: var(--accent);
}

/* ---- Hero: the card over the dim room, Maka's window beneath ---- */
.hero {
  position: relative;
  padding: clamp(32px, 4.5vw, 64px) 0 0;
  background: var(--night);
  color: var(--ink);
  isolation: isolate;
}
.flicker {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.hero-in {
  display: grid;
  justify-items: center;
}
.card {
  width: min(900px, 100%);
  padding: clamp(24px, 3.4vw, 48px);
  background: var(--surface);
}
.card h1 {
  font-size: var(--s-xl);
  line-height: 0.98;
}
.card .lede {
  max-width: 36em;
  margin-top: 24px;
}
.morph-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 10px;
  margin-top: 20px;
  font: 600 var(--s-m) / 1.3 var(--display);
  letter-spacing: -0.02em;
}
/* Morphing text: two words cross-blur, and the threshold filter melts them. */
.morph {
  position: relative;
  display: inline-block;
  min-width: 9ch;
  color: var(--accent);
}
.morph span {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
}
/* The resting word stays in the flow, so the line keeps its baseline. */
.morph .m-a {
  position: relative;
}
/* What Maka is, in one plain line under the headline. */
.what {
  margin-top: 20px;
  font: 600 var(--s-m) / 1.3 var(--display);
  letter-spacing: -0.02em;
}
/* How it works: one band, the three steps read left to right. */
.how {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 20px 40px;
  margin: 32px 0 0;
  padding: 18px 22px;
  list-style: none;
  /* A flat step off the card, in either theme. */
  background: color-mix(in srgb, var(--ink) 6%, var(--surface));
}
.how li {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  line-height: 1.3;
}
.how li + li::before {
  content: '→';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--muted);
  font-weight: 400;
}
.how-ic {
  display: flex;
  gap: 4px;
}
.how-ic img {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: #ffffff;
}
.card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 28px;
}
.facts-line {
  color: var(--muted);
  font-size: var(--s-s);
}
.os-note {
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--accent-soft);
  font-size: var(--s-s);
}
/* Screenshots of the real app are interface fragments: their own frame. */
.shot {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.55); /* taste-skill-ignore: interface fragment (data-ui) */
}
.shot img {
  width: 100%;
  height: auto;
}
.shot-hero {
  width: min(1180px, 100%);
  margin: clamp(32px, 4vw, 56px) 0 calc(-1 * clamp(80px, 12vw, 180px));
  border-radius: 12px 12px 0 0;
}

/* ---- Sections ---- */
section {
  padding: clamp(96px, 13vw, 200px) 0;
}
.hero + section {
  padding-top: calc(clamp(80px, 12vw, 180px) + clamp(80px, 10vw, 160px));
}
section h2 {
  font-size: var(--s-l);
  line-height: 1.04;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

/* ---- Speed: the square plate holds the file, split into connections ---- */
.plate {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--tone);
}
.ring-box {
  position: relative;
  width: 82%;
  aspect-ratio: 1;
}
.ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ring .bg {
  fill: none;
  stroke: var(--accent-soft);
}
.ring .done {
  fill: none;
  stroke: var(--accent);
  transition: stroke-dasharray 0.08s linear;
}
.ring .cut {
  stroke: var(--tone);
  stroke-width: 3;
}
.ring-mid {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.ring-mid b {
  font: 600 var(--s-l) / 1 var(--display);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.ring-mid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: var(--s-s);
  font-variant-numeric: tabular-nums;
}
/* Spinning text around the ring. */
.spin {
  position: absolute;
  inset: -9%;
  animation: spin 40s linear infinite;
  font: 600 var(--s-s) var(--sans);
  color: var(--muted);
}
.spin span {
  position: absolute;
  left: 50%;
  top: 0;
  height: 50%;
  transform-origin: bottom center;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.speed {
  overflow-x: clip;
}
.speed-text {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}
.tabs button {
  padding: 0 0 6px;
  border: 0;
  background: none;
  color: var(--muted);
  font: 500 var(--s-b) var(--sans);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.tabs button:hover {
  color: var(--ink);
}
.tabs button[aria-selected='true'] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.speed-text h2 {
  font-size: var(--s-xl);
  line-height: 0.98;
}
.speed-text h2 + p {
  max-width: 34em;
  margin-top: 40px;
}
.note {
  max-width: 34em;
  margin-top: 16px;
  color: var(--muted);
  font-size: var(--s-s);
}
.cells {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cell {
  height: 72px;
  border: 0;
  font: 600 var(--s-b) var(--sans);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.cell:active {
  transform: scale(0.98);
}
.cell.ink {
  background: var(--ink);
  color: var(--bg);
}
.cell.ink:hover {
  background: var(--accent);
  color: var(--accent-ink);
}
.cell.soft {
  background: var(--tone);
  color: var(--ink);
}
.cell.soft:hover:not(:disabled) {
  background: var(--accent-soft);
}
.cell:disabled {
  cursor: default;
  color: var(--muted);
}

/* ---- Where: systems and browsers in orbit ---- */
.where {
  background: var(--tone);
}
.where-text {
  display: grid;
  gap: 24px;
  max-width: 36em;
}
.where-text h2 {
  font-size: var(--s-xl);
  line-height: 0.98;
  margin-bottom: 16px;
}
.detected {
  justify-self: start;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.orbits {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1;
  width: min(100%, 560px);
  justify-self: center;
}
.ripple i {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  animation: ripple 3.4s var(--ease) infinite;
}
.ripple i:nth-child(1) {
  width: 26%;
  height: 26%;
  opacity: 0.16;
}
.ripple i:nth-child(2) {
  width: 42%;
  height: 42%;
  opacity: 0.11;
  animation-delay: 0.12s;
}
.ripple i:nth-child(3) {
  width: 58%;
  height: 58%;
  opacity: 0.08;
  animation-delay: 0.24s;
}
.ripple i:nth-child(4) {
  width: 76%;
  height: 76%;
  opacity: 0.05;
  animation-delay: 0.36s;
}
.ripple i:nth-child(5) {
  width: 96%;
  height: 96%;
  opacity: 0.03;
  animation-delay: 0.48s;
}
@keyframes ripple {
  50% {
    transform: translate(-50%, -50%) scale(0.92);
  }
}
.orbit {
  position: absolute;
  inset: 0;
}
.orbit img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  padding: 15px;
  border-radius: 50%;
  background: #ffffff;
  animation: orbit var(--t) linear infinite;
}
.o1 {
  --r: 25cqw;
  --t: 22s;
}
.o2 {
  --r: 44cqw;
  --t: 34s;
}
.o2 img {
  animation-direction: reverse;
}
@keyframes orbit {
  from {
    transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a)));
  }
  to {
    transform: rotate(calc(var(--a) + 360deg)) translateX(var(--r)) rotate(calc(-1 * var(--a) - 360deg));
  }
}
.core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22%;
  transform: translate(-50%, -50%);
}

/* ---- Velocity: feature names pushed along by the scroll ---- */
.velocity {
  display: grid;
  gap: 4px;
  padding: clamp(56px, 8vw, 112px) 0;
  overflow: hidden;
}
.v-row {
  white-space: nowrap;
}
.v-track {
  display: inline-flex;
  gap: 0.6em;
  font: 600 clamp(36px, 5.4vw, 80px) / 1.15 var(--display);
  letter-spacing: -0.04em;
  will-change: transform;
}
.v-row + .v-row .v-track {
  color: var(--accent);
}
.v-track i {
  font-style: normal;
  color: var(--muted);
}

/* ---- Features: sheets that slide over one another ---- */
.features {
  padding-bottom: 0;
}
.features-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
}
.features-head h2 {
  font-size: var(--s-xl);
  line-height: 0.98;
}
.sheet {
  position: sticky;
  top: calc(var(--nav) + var(--i) * 96px);
  /* Every sheet ends at the bottom of the screen, so the stack leaves as one. */
  height: calc(100svh - var(--nav) - var(--i) * 96px);
  overflow: clip;
  display: flex;
}
.s1 {
  --i: 0;
  background: var(--accent);
  color: var(--accent-ink);
}
.s2 {
  --i: 1;
  background: var(--night);
  color: var(--night-ink);
}
.s3 {
  --i: 2;
  background: var(--paper);
  color: var(--ink);
}
.s4 {
  --i: 3;
  background: var(--accent-soft);
  color: var(--ink);
}
.sheet-in {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px);
  padding: 18px 0 clamp(40px, 6vw, 80px);
}
.sheet-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.sheet h3 {
  height: 78px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
}
.sheet p {
  max-width: 30em;
  font-size: var(--s-m);
  line-height: 1.45;
}
.sheet .shot {
  align-self: start;
  margin-top: 78px;
}
/* Sheets show the part of the window that proves the point. */
.sheet .shot img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
}
.sheet .shot.low img {
  object-position: bottom;
}

/* ---- Everything else: one printed sheet with scalloped edges ---- */
.everything {
  background: var(--night);
}
.menu-sheet {
  --sc: 14px;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: calc(64px + var(--sc)) clamp(24px, 6vw, 72px);
  background: var(--paper);
  text-align: center;
  /* Scallops: a row of round bites along the top and bottom edges. */
  -webkit-mask: radial-gradient(var(--sc) at 50% 0, #0000 98%, #000) 50% 0 / calc(2 * var(--sc)) 51% repeat-x, /* taste-skill-ignore: mask that cuts the edge, no colour */
    radial-gradient(var(--sc) at 50% 100%, #0000 98%, #000) 50% 100% / calc(2 * var(--sc)) 51% repeat-x; /* taste-skill-ignore: mask that cuts the edge, no colour */
  mask: radial-gradient(var(--sc) at 50% 0, #0000 98%, #000) 50% 0 / calc(2 * var(--sc)) 51% repeat-x, /* taste-skill-ignore: mask that cuts the edge, no colour */
    radial-gradient(var(--sc) at 50% 100%, #0000 98%, #000) 50% 100% / calc(2 * var(--sc)) 51% repeat-x; /* taste-skill-ignore: mask that cuts the edge, no colour */
}
.menu-sheet h2 {
  font-size: var(--s-l);
}
.sheet-note {
  margin-top: 14px;
  color: var(--muted);
}
.groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 64px;
  margin-top: 56px;
}
.group h3 {
  margin-bottom: 20px;
  font-size: var(--s-m);
  color: var(--accent);
}
.group dl {
  display: grid;
  gap: 16px;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
.group dt {
  font-weight: 600;
}
.group dd {
  margin: -14px 0 0;
  color: var(--muted);
  font-size: var(--s-s);
}
.sheet-end {
  margin-top: 56px;
  font: 600 var(--s-m) var(--display);
}

/* ---- Privacy: a letter with a tear-off strip ---- */
.privacy .wrap {
  display: grid;
  justify-items: center;
}
.letter {
  width: min(640px, 100%);
  padding: clamp(32px, 6vw, 60px);
  background: var(--accent-soft);
  display: grid;
  gap: 20px;
}
.letter h2 {
  margin-bottom: 8px;
}
.sign {
  margin-top: 8px;
  font: 600 var(--s-m) var(--display);
}
.stub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(640px, 100%);
  height: 72px;
  padding: 0 clamp(32px, 6vw, 60px);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
  /* The perforation: round holes between the letter and its stub. */
  -webkit-mask: radial-gradient(3px at 6px 0, #0000 98%, #000) 0 0 / 12px 100% repeat-x; /* taste-skill-ignore: mask that cuts the edge, no colour */
  mask: radial-gradient(3px at 6px 0, #0000 98%, #000) 0 0 / 12px 100% repeat-x; /* taste-skill-ignore: mask that cuts the edge, no colour */
  transition: background 0.2s;
}
.stub svg {
  width: 22px;
  height: 22px;
  transition: transform 0.3s var(--ease);
}
.stub:hover svg {
  transform: translateX(6px);
}

/* ---- Download: the first step, already open ---- */
.get {
  min-height: 90svh;
  display: flex;
  align-items: center;
  background: var(--accent);
  color: var(--accent-ink);
}
.get-in {
  display: grid;
  grid-template-columns: 5fr 1fr 5fr;
  align-items: end;
}
.get-text {
  grid-column: 1;
}
.get-text h2 {
  font-size: var(--s-xl);
  line-height: 0.92;
}
.get-text > p {
  max-width: 26em;
  margin-top: 28px;
}
.steps {
  display: grid;
  gap: 12px;
  margin: 40px 0 0;
  padding-left: 1.3em;
}
.steps a {
  font-weight: 600;
}
.get .os-note {
  background: rgb(255 255 255 / 0.16);
  color: inherit;
}
/* Maka's "New download" dialog, as the app draws it. */
.dialog {
  grid-column: 3;
  width: min(460px, 100%);
  justify-self: end;
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 40px 90px -30px rgb(0 0 0 / 0.6); /* taste-skill-ignore: interface fragment (data-ui) */
  font-size: var(--s-s);
}
.dlg-bar {
  display: flex;
  justify-content: space-between;
  padding: 18px 22px 0;
}
.dlg-x {
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
}
.dlg-body {
  display: grid;
  gap: 16px;
  padding: 18px 22px;
}
.field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: var(--s-s);
  font-weight: 500;
}
.field input {
  height: 40px;
  padding: 0 12px;
  border: 1px solid hsl(40 10% 84%);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font: 14px var(--sans);
}
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 10px;
  background: var(--tone);
}
.seg button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--muted);
  font: 600 14px var(--sans);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.seg button img {
  width: 16px;
  height: 16px;
}
.seg button[aria-checked='true'] {
  background: var(--surface);
  color: var(--ink);
}
.dlg-req {
  color: var(--muted);
  font-size: 14px;
}
.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 0;
  font-size: 14px;
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.facts .hash {
  font: 12px / 1.5 var(--mono);
}
.dlg-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 22px 22px;
}
.dlg-actions .btn {
  width: 100%;
}

/* ---- FAQ: answers as reading text ---- */
.faq-grid {
  display: grid;
  grid-template-columns: 3fr 1fr 8fr;
}
.faq-grid h2 {
  grid-column: 1;
}
.faq-text {
  grid-column: 3;
  columns: 2;
  column-gap: 56px;
}
.faq-text p {
  margin-bottom: 22px;
  break-inside: avoid;
}
.faq-text b {
  font-weight: 600;
}

/* ---- Footer: the back of the object ---- */
.foot {
  background: var(--ink);
  color: var(--bg);
  padding: 56px 0 24px;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  font-size: var(--s-s);
}
.foot-cols div {
  display: grid;
  align-content: start;
  gap: 8px;
}
.foot-cols a,
.foot-cols span {
  opacity: 0.72;
  text-decoration: none;
}
.foot-cols a:hover {
  opacity: 1;
}
.wordmark {
  margin-top: clamp(80px, 14vw, 200px);
  font: 800 clamp(96px, 27vw, 420px) / 0.8 var(--display);
  letter-spacing: -0.06em;
}
/* Line shadow text: a hatched copy of the word, shifted and drifting. */ /* taste-skill-ignore: line shadow text, asked for */
.line-shadow {
  position: relative;
  z-index: 0;
  display: inline-block;
}
.line-shadow::after {
  content: attr(data-text);
  position: absolute;
  left: 0.04em;
  top: 0.04em;
  z-index: -1;
  background: repeating-linear-gradient(45deg, transparent 0 0.03em, var(--accent) 0.03em 0.045em); /* taste-skill-ignore: line shadow text, asked for */
  background-size: 0.3em 0.3em;
  -webkit-background-clip: text; /* taste-skill-ignore: line shadow text, asked for */
  background-clip: text; /* taste-skill-ignore: line shadow text, asked for */
  color: transparent;
  animation: line-shadow 18s linear infinite;
}
@keyframes line-shadow {
  to {
    background-position: 3em -3em;
  }
}
.legal {
  margin-top: 20px;
  font-size: var(--s-s);
  opacity: 0.72;
}

/* ---- Text pages (privacy) ---- */
.page {
  max-width: 760px;
  padding: 64px 0 120px;
}
.page .updated {
  color: var(--muted);
  font-size: var(--s-s);
}
.page h1 {
  margin: 12px 0 20px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
}
.page h2 {
  margin: 44px 0 10px;
  font-size: var(--s-m);
}
.page p + p {
  margin-top: 12px;
}
.page li {
  margin: 6px 0;
}
.page code {
  padding: 1px 6px;
  background: var(--tone);
  font: 14px var(--mono);
}
body > footer:not(.foot) {
  padding: 32px 0;
  background: var(--tone);
  font-size: var(--s-s);
}
body > footer:not(.foot) .wrap {
  display: flex;
  justify-content: space-between;
}

/* ---- Entrances: each part of a section rises in turn, once ---- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.shown {
  opacity: 1;
  transform: none;
}

/* ---- Phone ---- */
@media (max-width: 900px) {
  .links {
    display: none;
  }
  .split,
  .features-head,
  .sheet-in,
  .get-in,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .get-text,
  .dialog,
  .faq-grid h2,
  .faq-text {
    grid-column: 1;
  }
  .dialog {
    justify-self: stretch;
    width: 100%;
    margin-top: 48px;
  }
  .faq-text {
    columns: 1;
    margin-top: 32px;
  }
  .sheet {
    top: calc(var(--nav) + var(--i) * 56px);
    height: auto;
    min-height: 70svh;
  }
  .sheet h3 {
    height: 44px;
    font-size: var(--s-b);
    overflow: hidden;
  }
  .sheet-text {
    justify-content: start;
    gap: 16px;
  }
  .sheet p {
    font-size: var(--s-b);
  }
  .sheet .shot {
    margin-top: 0;
  }
  .groups {
    grid-template-columns: 1fr;
  }
  .o2 {
    --r: 38cqw;
  }
  .foot-cols {
    grid-template-columns: 1fr 1fr;
  }
  .orbit img {
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    padding: 11px;
  }
  .speed-text {
    gap: 32px;
  }
  .how {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .how li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .how li + li::before {
    content: '↓';
    left: 15px;
    top: -14px;
  }
}
@media (max-width: 520px) {
  .nav-side select {
    width: 64px;
  }
  .nav-side .btn {
    display: none;
  }
  .card .lede {
    font-size: var(--s-b);
  }
}

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