/* Stacks, the one-page site. Tokens are docs/PLAN.md "Look: paper and signal". Fonts: Schibsted Grotesk and JetBrains Mono (counts only), both OFL, self-hosted. */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/schibsted-grotesk.4c8b93f431.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/jetbrains-mono.18be452724.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --paper: #f4f1ea;
  --sheet: #ffffff;
  --ink: #141210;
  --muted: #5e5850;
  --line: rgb(20 18 16 / 0.14);
  --signal: #ff3d1f;
  --links: #1f4bff;
  --prompts: #ffc21a;
  --skills: #12a150;
  --on-ink: #f4f1ea;
  --shadow: rgb(20 18 16 / 0.28);
  /* Fixed inks for drawn thumbnails and printed cards: the same in both schemes. */
  --c-black: #141210;
  --c-coal: #1d1a17;
  --c-cream: #f4f1ea;
  --c-white: #fffdf9;
  --c-warm: #fffaf0;
  --c-red: #ff3d1f;
  --c-blue: #1f4bff;
  --c-sky: #8fb3ff;
  --c-yellow: #ffc21a;
  --c-green: #12a150;
  --c-mint: #2fc46d;
  --c-stone: #cfc8bc;
  --c-grey: #8a8278;
  --c-ash: #a8a097;
  --c-claude: #d97757;
  --c-drop: rgb(20 18 16 / 0.45);
  --gutter: clamp(20px, 5vw, 80px);
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141210;
    --sheet: #1d1a17;
    --ink: #f4f1ea;
    --muted: #a8a097;
    --line: rgb(244 241 234 / 0.16);
    --signal: #ff5a3c;
    --links: #5c7dff;
    --prompts: #ffce47;
    --skills: #2fc46d;
    --on-ink: #141210;
    --shadow: rgb(0 0 0 / 0.6);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 18px / 1.4 var(--sans);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
p {
  margin: 0;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Top bar: the mark and the one action. */
.top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.045em;
  text-decoration: none;
}
.brand img {
  width: 32px;
  height: 32px;
}
.cta {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.go {
  display: flex;
  gap: 8px;
}
.signin {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--sheet);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.signin:hover {
  text-decoration: underline;
}
.cta:hover {
  transform: translateY(-1px);
}
.cta:active {
  transform: scale(0.97);
}

/* Hero: the headline on the wall of the photo, the app over its floor. */
.hero {
  position: relative;
  min-height: clamp(760px, 100svh, 1040px);
  overflow: hidden;
  padding: clamp(128px, 17vh, 184px) var(--gutter) 56px;
  display: grid;
  align-content: space-between;
  gap: 48px;
}
.scene,
.scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.scene img {
  object-fit: cover;
  object-position: 72% 50%;
}
.hero h1 {
  position: relative;
  max-width: 9.6em;
  font-size: clamp(52px, 7.4vw, 124px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.042em;
  text-wrap: balance;
}
.app {
  position: relative;
  width: min(820px, 62%);
  padding: 14px 14px 16px;
  border-radius: 28px;
  background: var(--sheet);
  box-shadow:
    0 1px 0 var(--line),
    0 40px 80px -40px var(--shadow);
}

/* The hero kit: a task goes in on the paper bar, cited parts come out as rows. The kind colours tag each part; the
   citation is the receipt, in mono because it is an id. With motion allowed it plays in once (task types, rows land);
   every animation fills backwards and forwards, so the sheet at rest is the whole answer. */
.kit {
  margin: 0;
  /* A grid item: without this the task's nowrap width pushes the sheet past the gutter on a phone. */
  min-width: 0;
}
.kit-ask {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: var(--paper);
}
.kit-ask .who {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--sheet);
  color: var(--c-claude);
}
.kit-ask .who .mark {
  width: 18px;
  height: 18px;
}
.call {
  flex: none;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font: 600 13px / 1 var(--mono);
}
.task {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  font: 600 15px / 1.2 var(--mono);
  width: calc(var(--task-n) * 1ch + 2px);
  min-width: 0;
  max-width: 100%;
  border-right: 2px solid transparent;
}
.parts {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.part {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 6px 6px 6px;
  border-bottom: 1px solid var(--line);
}
.part:last-child {
  border-bottom: 0;
}
.part .tag {
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--k, var(--paper));
  color: var(--k-ink, var(--c-black));
  font-size: 13px;
  font-weight: 750;
}
.k-pack .tag {
  background: var(--ink);
  color: var(--on-ink);
}
.k-avoid .tag {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.part .what {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.k-avoid .what {
  color: var(--muted);
  font-weight: 600;
}
.cite {
  font: 600 13px / 1 var(--mono);
  color: var(--muted);
}
.sw {
  width: 98px;
  height: 18px;
}
.sw circle {
  stroke: var(--line);
  stroke-width: 1.5;
}
.kit figcaption {
  margin: 10px 6px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
@media (prefers-reduced-motion: no-preference) {
  .task {
    animation:
      type 1.3s steps(var(--task-n), end) 0.5s both,
      caret 0.55s step-end 0.3s 4 both;
  }
  .part {
    animation: land 460ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  .part .cite,
  .part .sw {
    animation: stamp 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  .part:nth-child(1) {
    animation-delay: 2s;
  }
  .part:nth-child(2) {
    animation-delay: 2.18s;
  }
  .part:nth-child(3) {
    animation-delay: 2.36s;
  }
  .part:nth-child(4) {
    animation-delay: 2.54s;
  }
  .part:nth-child(5) {
    animation-delay: 2.72s;
  }
  .part:nth-child(6) {
    animation-delay: 2.9s;
  }
  .part:nth-child(7) {
    animation-delay: 3.08s;
  }
  .part:nth-child(8) {
    animation-delay: 3.26s;
  }
  .part:nth-child(1) :is(.cite, .sw) {
    animation-delay: 2.3s;
  }
  .part:nth-child(2) :is(.cite, .sw) {
    animation-delay: 2.48s;
  }
  .part:nth-child(3) :is(.cite, .sw) {
    animation-delay: 2.66s;
  }
  .part:nth-child(4) :is(.cite, .sw) {
    animation-delay: 2.84s;
  }
  .part:nth-child(5) :is(.cite, .sw) {
    animation-delay: 3.02s;
  }
  .part:nth-child(6) :is(.cite, .sw) {
    animation-delay: 3.2s;
  }
  .part:nth-child(7) :is(.cite, .sw) {
    animation-delay: 3.38s;
  }
  .part:nth-child(8) :is(.cite, .sw) {
    animation-delay: 3.56s;
  }
}
@keyframes type {
  from {
    width: 0;
  }
}
@keyframes caret {
  50% {
    border-right-color: var(--ink);
  }
}
@keyframes land {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes stamp {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
}

/* The pill bar: All, the kinds, Connect, then search and the avatar. */
.pillbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: var(--paper);
}
.pills {
  display: flex;
  gap: 2px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.pill {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  color: var(--muted);
}
.pill.on {
  color: var(--on-ink);
  background: var(--ink);
}
.pill.on.k-design {
  background: var(--signal);
  color: var(--c-black);
}
.search {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--sheet);
}
.search svg {
  width: 16px;
  height: 16px;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--prompts);
  box-shadow: inset 0 0 0 2px var(--sheet);
}

/* Stack chips: the signature. Each is a small pile of its top three thumbnails in its kind's colour. */
.chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.chip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 8px;
  padding: 14px 14px 12px;
  border-radius: 20px;
  background: var(--k);
  color: var(--k-ink, var(--c-black));
}
.k-design {
  --k: var(--signal);
}
.k-links {
  --k: var(--links);
  --k-ink: var(--c-white);
}
.k-prompts {
  --k: var(--prompts);
}
.k-skills {
  --k: var(--skills);
}
.pile {
  grid-column: 1 / -1;
  position: relative;
  height: 74px;
  margin-bottom: 10px;
}
.pile .t {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  max-width: 120px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: 0 6px 14px -6px var(--c-drop);
}
.pile .t1 {
  transform: translate(-58%, -54%) rotate(-7deg);
}
.pile .t2 {
  transform: translate(-44%, -50%) rotate(5deg);
}
.pile .t3 {
  transform: translate(-50%, -44%) rotate(-1.5deg);
}
.name {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.n {
  font: 600 13px / 1.15 var(--mono);
}

/* Thumbnails, drawn in flat shapes: made-up saves, never anyone's library. */
.t {
  display: block;
  background-color: var(--c-white);
  background-repeat: no-repeat;
}
.th-poster {
  background-color: var(--c-black);
  background-image:
    linear-gradient(var(--c-red), var(--c-red)), linear-gradient(var(--c-cream), var(--c-cream)),
    linear-gradient(var(--c-cream), var(--c-cream));
  background-size:
    46% 52%,
    64% 7%,
    40% 7%;
  background-position:
    12% 16%,
    12% 78%,
    12% 90%;
}
.th-photo {
  background-color: var(--c-sky);
  background-image:
    radial-gradient(circle, var(--c-yellow) 0 60%, transparent 62%), linear-gradient(var(--c-green), var(--c-green));
  background-size:
    34% 46%,
    100% 34%;
  background-position:
    78% 18%,
    0 100%;
}
.th-grid {
  background-color: var(--c-cream);
  background-image:
    linear-gradient(var(--c-black), var(--c-black)), linear-gradient(var(--c-red), var(--c-red)),
    linear-gradient(var(--c-blue), var(--c-blue)), linear-gradient(var(--c-black), var(--c-black));
  background-size:
    38% 38%,
    38% 38%,
    38% 38%,
    38% 38%;
  background-position:
    16% 18%,
    84% 18%,
    16% 82%,
    84% 82%;
}
.th-page,
.th-page2 {
  background-image:
    linear-gradient(var(--c-black), var(--c-black)), linear-gradient(var(--c-stone), var(--c-stone)),
    linear-gradient(var(--c-stone), var(--c-stone)), linear-gradient(var(--c-blue), var(--c-blue));
  background-size:
    100% 14%,
    70% 7%,
    56% 7%,
    34% 18%;
  background-position:
    0 0,
    12% 38%,
    12% 54%,
    12% 84%;
}
.th-page2 {
  background-color: var(--c-cream);
}
.th-text,
.th-text2 {
  background-color: var(--c-warm);
  background-image:
    linear-gradient(var(--c-black), var(--c-black)), linear-gradient(var(--c-grey), var(--c-grey)),
    linear-gradient(var(--c-grey), var(--c-grey)), linear-gradient(var(--c-grey), var(--c-grey));
  background-size:
    50% 9%,
    78% 6%,
    70% 6%,
    60% 6%;
  background-position:
    12% 18%,
    12% 44%,
    12% 62%,
    12% 80%;
}
.th-text2 {
  background-color: var(--c-white);
}
.th-code,
.th-code2 {
  background-color: var(--c-black);
  background-image:
    linear-gradient(var(--c-mint), var(--c-mint)), linear-gradient(var(--c-cream), var(--c-cream)),
    linear-gradient(var(--c-ash), var(--c-ash)), linear-gradient(var(--c-ash), var(--c-ash));
  background-size:
    22% 8%,
    58% 8%,
    70% 6%,
    48% 6%;
  background-position:
    12% 20%,
    12% 42%,
    12% 62%,
    12% 80%;
}
.th-code2 {
  background-color: var(--c-coal);
}

/* Logos: what Stacks connects to, as a slow marquee in one ink. Two identical lists in one track; the track moves left
   by exactly one list, so the loop has no seam. Each list is at least a screen wide (space-around), so a wide monitor
   never shows a gap. Hover holds it. Reduced motion gets a still, wrapped row. */
.logos {
  --fade: clamp(40px, 10vw, 160px);
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.logos-label {
  margin: 0 var(--gutter) 28px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
}
.track {
  display: flex;
  width: max-content;
  animation: marquee 64s linear infinite;
  will-change: transform;
}
.marquee:hover .track {
  animation-play-state: paused;
}
.track ul {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-around;
  gap: clamp(36px, 5vw, 72px);
  min-width: 100vw;
  margin: 0;
  padding: 0 calc(clamp(36px, 5vw, 72px) / 2);
  list-style: none;
}
.logos li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--ink);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
    padding: 0 var(--gutter);
  }
  .track {
    display: block;
    width: auto;
    animation: none;
  }
  .track ul {
    flex: initial;
    flex-wrap: wrap;
    justify-content: center;
    min-width: 0;
    gap: 20px clamp(24px, 4vw, 56px);
    padding: 0;
  }
  .track ul[aria-hidden] {
    display: none;
  }
}
.mark {
  fill: currentColor;
  width: 24px;
  height: 24px;
  flex: none;
}

/* Frames: save, sorted, your agents use it. They are sticky, so each one lands on the last: the page stacks. */
.frames {
  display: grid;
  gap: 18vh;
  padding: 18vh var(--gutter) 0;
}
.frame {
  position: sticky;
  top: calc(28px + var(--i) * 34px);
  min-height: min(76vh, 680px);
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.45fr);
  align-items: center;
  gap: 40px;
  padding: clamp(28px, 5vw, 72px);
  border-radius: 36px;
  box-shadow:
    0 -1px 0 var(--line),
    0 -22px 50px -24px var(--shadow),
    0 30px 70px -40px var(--shadow);
  overflow: hidden;
}
.frame h2 {
  align-self: start;
  font-size: clamp(48px, 7.4vw, 120px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.042em;
  text-wrap: balance;
}
.f-save {
  --i: 0;
  background: var(--signal);
  color: var(--c-black);
  transform: rotate(-0.6deg);
}
.f-sorted {
  --i: 1;
  background: var(--sheet);
  transform: rotate(0.5deg);
}
.f-agents {
  --i: 2;
  background: var(--ink);
  color: var(--on-ink);
}
.art {
  position: relative;
  min-width: 0;
}

/* Save: a card drops onto a pile. */
.f-save .art {
  height: clamp(300px, 40vw, 480px);
}
.f-save .t {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(70%, 380px);
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  box-shadow: 0 18px 30px -18px var(--c-drop);
}
.heap .t:nth-child(1) {
  transform: translate(-56%, -48%) rotate(-8deg);
}
.heap .t:nth-child(2) {
  transform: translate(-44%, -52%) rotate(6deg);
}
.heap .t:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-2deg);
}
.drop {
  z-index: 1;
  transform: translate(-50%, -56%) rotate(3deg);
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .drop {
      animation: drop linear both;
      animation-timeline: view();
      animation-range: entry 30% cover 45%;
    }
  }
}
@keyframes drop {
  0% {
    transform: translate(-30%, -150%) rotate(16deg);
  }
  70% {
    transform: translate(-50%, -54%) rotate(1deg);
  }
  85% {
    transform: translate(-50%, -57%) rotate(3.5deg);
  }
  100% {
    transform: translate(-50%, -56%) rotate(3deg);
  }
}

/* Sorted: the app, on Design. */
.f-sorted .art {
  padding: 14px;
  border-radius: 28px;
  background: var(--paper);
}
.f-sorted .pillbar {
  background: var(--sheet);
}
.f-sorted .search {
  background: var(--paper);
}
.f-sorted .chips {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.f-sorted .pile {
  height: 120px;
}

/* Your agents use it: an agent asked for a stack, and gets it. */
.ask {
  display: grid;
  gap: 18px;
  max-width: 620px;
  margin-left: auto;
  padding: 22px;
  border-radius: 32px;
  background: var(--paper);
  color: var(--ink);
}
.ask .me {
  justify-self: end;
  max-width: 80%;
  padding: 14px 20px;
  border-radius: 24px 24px 6px 24px;
  background: var(--sheet);
}
.ask .reply {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}
.ask .who {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--c-claude);
  color: var(--c-black);
}
.ask p {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.ask .chip {
  max-width: 320px;
}
.ask .pile {
  height: 150px;
}
.also {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  opacity: 0.7;
}
.also .mark {
  width: 28px;
  height: 28px;
}

/* Pricing: two plain lines. */
.price {
  padding: 26vh var(--gutter) 12vh;
}
.price p {
  font-size: clamp(36px, 6.4vw, 104px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.035em;
}
.price .what {
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* The waitlist. */
.join {
  padding: 0 var(--gutter) 18vh;
}
form {
  display: flex;
  gap: 8px;
  max-width: 680px;
  padding: 8px;
  border-radius: 999px;
  background: var(--sheet);
  box-shadow: inset 0 0 0 1.5px var(--muted);
}
input {
  flex: 1;
  min-width: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 20px var(--sans);
}
input::placeholder {
  color: var(--muted);
}
input:focus-visible {
  outline-offset: 0;
}
button {
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--signal);
  color: var(--c-black);
  font: 800 18px var(--sans);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
button:active {
  transform: scale(0.97);
}
.status {
  min-height: 1.4em;
  margin-top: 16px;
  color: var(--muted);
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 40px var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.045em;
}
footer .sig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
footer nav {
  display: flex;
  gap: 24px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}
footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
}
footer nav a:hover {
  color: var(--ink);
}

/* Privacy, Terms and Security: type on paper. */
.doc {
  max-width: 760px;
  padding: clamp(120px, 20vh, 200px) var(--gutter) 12vh;
}
.doc h1 {
  font-size: clamp(52px, 8vw, 120px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
}
.doc section {
  margin-top: 48px;
}
.doc h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.doc p,
.doc ol {
  max-width: 62ch;
  margin-top: 10px;
  color: var(--muted);
}
.doc ol {
  padding-left: 1.25em;
}
.doc .cmd {
  margin-top: 10px;
  padding: 12px 14px;
  overflow-x: auto;
  border-radius: 10px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  white-space: pre;
}
.trap {
  position: absolute;
  left: -9999px;
}
.status.ok {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.lost {
  display: grid;
  justify-items: start;
  gap: 32px;
  padding: 30vh var(--gutter);
}
.lost h1 {
  font-size: clamp(52px, 8vw, 120px);
  font-weight: 900;
  letter-spacing: -0.055em;
}

/* Tablet and phone. */
@media (max-width: 900px) {
  .app {
    width: 100%;
  }
  .chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .frame {
    grid-template-columns: 1fr;
    align-content: start;
  }
  .ask {
    margin: 0;
  }
  .also {
    justify-content: flex-start;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 17px;
  }
  .part {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 2px 10px;
    padding-block: 8px;
  }
  .part .what {
    white-space: normal;
    font-size: 15px;
  }
  .part :is(.cite, .sw) {
    grid-column: 2;
  }
  .task {
    font-size: 13px;
  }
  /* Room for the whole task on a phone: the call chip says who is asking. */
  .kit-ask .who {
    display: none;
  }
  .kit-ask {
    padding-right: 10px;
  }
  .call {
    padding-inline: 8px;
    font-size: 12px;
  }
  .top {
    padding-top: 16px;
  }
  .cta,
  .signin {
    min-height: 44px;
    padding: 0 14px;
    font-size: 15px;
  }
  .brand {
    font-size: 20px;
  }
  .hero {
    min-height: 0;
    padding-top: 96px;
    padding-bottom: 24px;
    gap: 0;
  }
  .hero h1 {
    order: -1;
    font-size: clamp(44px, 13vw, 60px);
  }
  .scene {
    position: relative;
    display: block;
    height: 440px;
    margin: 28px 0 -150px;
    width: auto;
    border-radius: 28px;
    overflow: hidden;
  }
  .scene img {
    object-position: 84% 50%;
  }
  .pill {
    padding: 7px 9px;
    font-size: 13px;
  }
  .pills .pill:nth-child(n + 5),
  .f-sorted .pill:nth-child(n + 4) {
    display: none;
  }
  .search,
  .avatar {
    width: 30px;
    height: 30px;
  }
  .pile {
    height: 64px;
  }
  .logos {
    padding: 44px 0;
  }
  .track {
    animation-duration: 48s;
  }
  .logos li {
    font-size: 17px;
  }
  .frames {
    gap: 12vh;
    padding-top: 12vh;
  }
  .frame {
    top: calc(16px + var(--i) * 18px);
    min-height: 0;
    border-radius: 28px;
    gap: 28px;
  }
  .f-sorted .pile {
    height: 84px;
  }
  form {
    flex-direction: column;
    border-radius: 28px;
  }
  input {
    min-height: 56px;
  }
}

@media (prefers-color-scheme: dark) {
  .k-links {
    --k-ink: var(--c-black);
  }
}

/* A phone: three header items do not fit with the name, so the name is for screen readers only. */
@media (max-width: 420px) {
  .brand-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
.bring-line {
  margin: 14px 0 0;
  color: var(--muted);
}
.bring-line a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bring-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bring-list span {
  color: var(--muted);
}
.task{--task-n:26}
