/* benbetter 11 "First Light". One example Monday, 5:47 AM to 9:04 PM.
   The sky is a fixed stack of gradients; body[data-sky] picks the hour and everything cross-fades.
   site.js sets data-sky, the clock and --day (0 to 1) from scroll. Without JS the page stays at pre-dawn and reads fully. */

:root {
  --pad: clamp(16px, 4.4vw, 64px);
  --gap: clamp(88px, 13vw, 176px);
  --disp: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- the hours ---------- */
body {
  --sun: 1;
  --ink: #f4efe6;
  --inv: #0b1026;
  --acc: #ffb07a;
  --sunc: #ff9d6c;
  --stars: 0.9;
  --moon: 0;
}
body[data-sky="sunrise"] {
  --ink: #1b1530;
  --inv: #fff1e2;
  --acc: #ff8a4c;
  --sunc: #ff8346;
  --stars: 0;
}
body[data-sky="morning"] {
  --ink: #0f1f2b;
  --inv: #f6f3e6;
  --acc: #ffc24d;
  --sunc: #ffd67d;
  --stars: 0;
}
body[data-sky="midday"] {
  --ink: #10202a;
  --inv: #fbf7ea;
  --acc: #ffcb52;
  --sunc: #ffe9a8;
  --stars: 0;
}
body[data-sky="noon"] {
  --ink: #14140f;
  --inv: #fffdf7;
  --acc: #ffb020;
  --sunc: #fff0bd;
  --stars: 0;
}
body[data-sky="afternoon"] {
  --ink: #1d170c;
  --inv: #fdf0d8;
  --acc: #ffa62b;
  --sunc: #ffd58a;
  --stars: 0;
}
body[data-sky="golden"] {
  --ink: #2a1606;
  --inv: #ffe7bd;
  --acc: #ff8a1f;
  --sunc: #ff9a3c;
  --stars: 0;
}
body[data-sky="sunset"] {
  --ink: #fff1e4;
  --inv: #2a1b4f;
  --acc: #ff9a62;
  --sunc: #ff6f48;
  --stars: 0.25;
}
body[data-sky="dusk"] {
  --ink: #f3ecf7;
  --inv: #14102e;
  --acc: #ffa680;
  --sunc: #ff6a4a;
  --stars: 0.6;
  --moon: 0.5;
}
body[data-sky="night"] {
  --ink: #eef0ff;
  --inv: #04050d;
  --acc: #ffd9a0;
  --sunc: #b9502f;
  --sun: 0;
  --stars: 1;
  --moon: 1;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #060a1c;
  --day: 0.02;
  --arc: calc(4 * var(--day) * (1 - var(--day)));
}
.sky > * {
  position: absolute;
  inset: 0;
}
.sky i {
  opacity: 0;
  transition: opacity 1.6s ease;
}
.sky [data-s="predawn"] {
  background: linear-gradient(#060a1c, #121842 45%, #33285e 78%, #6d4470);
}
.sky [data-s="sunrise"] {
  background: linear-gradient(#c9d2f0, #f6d5cf 45%, #ffcfa6 80%, #ffb682);
}
.sky [data-s="morning"] {
  background: linear-gradient(#a9d4f2, #d5ebf8 50%, #f6f3e6);
}
.sky [data-s="midday"] {
  background: linear-gradient(#cfe6f5, #eef5f3 55%, #fbf7ea);
}
.sky [data-s="noon"] {
  background: linear-gradient(#f4f1e8, #faf8f1 50%, #fffdf7);
}
.sky [data-s="afternoon"] {
  background: linear-gradient(#f1e6cf, #f7ecd6 50%, #fdf0d8);
}
.sky [data-s="golden"] {
  background: linear-gradient(#f3c27f, #f9d59c 50%, #ffe7bd);
}
.sky [data-s="sunset"] {
  background: linear-gradient(#2a1b4f, #5e2a5e 55%, #9a3f52);
}
.sky [data-s="dusk"] {
  background: linear-gradient(#14102e, #2c1c4c 60%, #5a2c57);
}
.sky [data-s="night"] {
  background: linear-gradient(#04050d, #0a0e26 60%, #121a44);
}
body[data-sky="predawn"] .sky [data-s="predawn"],
body[data-sky="sunrise"] .sky [data-s="sunrise"],
body[data-sky="morning"] .sky [data-s="morning"],
body[data-sky="midday"] .sky [data-s="midday"],
body[data-sky="noon"] .sky [data-s="noon"],
body[data-sky="afternoon"] .sky [data-s="afternoon"],
body[data-sky="golden"] .sky [data-s="golden"],
body[data-sky="sunset"] .sky [data-s="sunset"],
body[data-sky="dusk"] .sky [data-s="dusk"],
body[data-sky="night"] .sky [data-s="night"] {
  opacity: 1;
}
.stars {
  opacity: var(--stars);
  transition: opacity 1.6s ease;
  background-image:
    radial-gradient(1.2px 1.2px at 8% 12%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 22% 41%, #fff 60%, transparent 61%),
    radial-gradient(1.4px 1.4px at 37% 9%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 49% 63%, #fff 60%, transparent 61%),
    radial-gradient(1.2px 1.2px at 58% 27%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 66% 82%, #fff 60%, transparent 61%),
    radial-gradient(1.6px 1.6px at 74% 16%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 83% 52%, #fff 60%, transparent 61%),
    radial-gradient(1.2px 1.2px at 91% 33%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 14% 74%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 31% 88%, #fff 60%, transparent 61%),
    radial-gradient(1.3px 1.3px at 96% 78%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 3% 48%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 44% 36%, #fff 60%, transparent 61%);
  background-size: 620px 520px;
  -webkit-mask-image: linear-gradient(#000 40%, transparent 92%);
  mask-image: linear-gradient(#000 40%, transparent 92%);
}
.sun {
  inset: 0 auto auto 0;
  width: 15vmin;
  height: 15vmin;
  margin: -7.5vmin;
  border-radius: 50%;
  background: var(--sunc);
  box-shadow:
    0 0 6vmin 2vmin var(--sunc),
    0 0 26vmin 12vmin color-mix(in srgb, var(--sunc) 38%, transparent);
  translate: calc(var(--day) * 100vw) calc((1 - var(--arc)) * 82vh + 13vh);
  opacity: var(--sun);
  transition:
    background-color 1.6s ease,
    box-shadow 1.6s ease,
    opacity 1.6s ease;
}
.moon {
  inset: 16vh 12vw auto auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e9edff;
  box-shadow:
    inset -9px -5px 0 #c6cdea,
    0 0 40px 6px rgba(200, 210, 255, 0.35);
  opacity: var(--moon);
  transition: opacity 1.6s ease;
}
.grain {
  opacity: 0.16;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .7 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
html,
body {
  overflow-x: clip;
}
body {
  font: 400 17px/1.5 var(--disp);
  color: var(--ink);
  background: #060a1c;
  -webkit-font-smoothing: antialiased;
  transition: color 0.9s ease;
}
[hidden] {
  display: none !important;
}
ul,
ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
i,
b {
  font-style: normal;
  font-weight: inherit;
}
h1,
h2,
h3 {
  font-weight: 500;
  text-wrap: balance;
}
em {
  font: italic 400 1.04em/1 var(--serif);
  letter-spacing: -0.01em;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--pad);
}
.sec {
  padding-block: calc(var(--gap) / 2);
}
.mono,
.ch,
.note,
.tally,
figcaption,
.clock {
  font: 400 12.5px/1.3 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 36px);
}
.ch span {
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 99px;
}
.tag {
  padding: 5px 9px;
  border-radius: 99px;
  color: #1a1208;
  background: var(--acc);
  transition: background-color 0.9s;
}
.h2 {
  max-width: 17ch;
  font-size: clamp(36px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.huge {
  font-size: clamp(50px, 10vw, 164px);
  line-height: 0.9;
  letter-spacing: -0.045em;
}
.lede {
  max-width: 46ch;
  margin-top: clamp(18px, 2vw, 28px);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.45;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  transition: color 0.9s ease;
  text-wrap: pretty;
}
.note {
  margin-top: 18px;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  transition: color 0.9s ease;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color 0.9s,
    color 0.9s,
    border-color 0.9s,
    scale 0.45s var(--spring);
}
.btn:hover {
  scale: 1.03;
}
.btn:active {
  scale: 0.96;
}
.btn-p {
  color: var(--inv);
  background: var(--ink);
}
.btn-g {
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}
.btn-l {
  min-height: 54px;
  padding: 0 24px;
  font-size: 17px;
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 400;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--inv);
  background: var(--ink);
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}
.ic {
  display: inline-block;
  flex: none;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: var(--u) center / contain no-repeat;
  mask: var(--u) center / contain no-repeat;
}

/* ---------- header: logo, clock, the day's track ---------- */
.hd {
  position: fixed;
  inset: 0 0 auto;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 64px;
  padding-inline: var(--pad);
  background: color-mix(in srgb, var(--inv) 55%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: background-color 0.9s;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-right: auto;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.logo svg {
  width: 30px;
  height: 30px;
}
.logo span {
  display: none;
}
.menu-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.nav {
  inset: 72px var(--pad) auto;
  width: auto;
  margin: 0;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
  border-radius: 18px;
  color: var(--ink);
  background: var(--inv);
}
.nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
}
.clock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 100px;
  padding: 8px 9px;
  white-space: nowrap;
  letter-spacing: 0;
  border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
  border-radius: 99px;
  font-variant-numeric: tabular-nums;
}
.clock i,
.day i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc);
  transition: background-color 0.9s;
}
.day {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: color-mix(in srgb, var(--ink) 18%, transparent);
  --day: 0;
}
.day i {
  position: absolute;
  top: -3px;
  left: 0;
  translate: calc(var(--day) * (100vw - 7px)) 0;
}
.hd .btn {
  padding: 0 13px;
  font-size: 14px;
}
@media (min-width: 572px) {
  .logo span {
    display: inline;
  }
  .hd .btn {
    padding: 0 16px;
    font-size: 15px;
  }
}
@media (min-width: 1025px) {
  .logo {
    margin-right: 20px;
  }
  .menu-btn {
    display: none;
  }
  .nav {
    display: flex;
    position: static;
    gap: 4px;
    margin-right: auto;
    padding: 0;
    border: 0;
    background: none;
    font-size: 15px;
    overflow: visible;
  }
  .nav a:hover {
    background: color-mix(in srgb, var(--ink) 9%, transparent);
  }
}

/* ---------- 5:47 hero: the pile ---------- */
.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
}
.hero-stage {
  position: relative;
  z-index: 1;
  flex: 1;
  /* bottom padding is the room the pile needs: about five rows on a phone, two on a desktop */
  padding: 96px 0 clamp(150px, calc(300px - 11vw), 260px);
  pointer-events: none;
}
.hero-stage a,
.hero-stage button {
  pointer-events: auto;
}
.eyebrow {
  font-size: clamp(16px, 1.4vw, 20px);
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  transition: color 0.9s ease;
}
h1 {
  max-width: 13ch;
  margin-top: 14px;
  font-size: clamp(46px, min(7.6vw, 12.4svh), 124px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}
h1 em {
  color: var(--acc);
}
.sub {
  max-width: 34ch;
  margin-top: clamp(20px, 2.4vw, 32px);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.4;
  color: color-mix(in srgb, var(--ink) 80%, transparent);
  transition: color 0.9s ease;
  text-wrap: pretty;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(24px, 2.6vw, 36px);
}
.hint {
  display: none;
  align-self: center;
  margin-left: 14px;
  font: italic 400 22px/1 var(--serif);
  color: color-mix(in srgb, var(--ink) 66%, transparent);
  transition: color 0.9s ease;
}
.pile {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
  justify-content: center;
  gap: 8px;
  padding: 0 var(--pad) 20px;
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border: 1px solid color-mix(in srgb, var(--ink) 34%, transparent);
  border-radius: 99px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  background: color-mix(in srgb, var(--inv) 72%, transparent);
  user-select: none;
  -webkit-user-select: none;
}
.chip:nth-child(3n) {
  rotate: -3deg;
}
.chip:nth-child(4n + 1) {
  rotate: 2.5deg;
}
.chip.fill {
  border-color: transparent;
  color: var(--inv);
  background: var(--ink);
}
.chip.acc {
  border-color: transparent;
  color: #1a1208;
  background: var(--acc);
}
.pile.live {
  display: block;
  padding: 0;
}
.pile.live .chip {
  position: absolute;
  top: 0;
  left: 0;
  rotate: none;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .pile.live .chip {
    cursor: grab;
  }
  .pile.live .chip:active {
    cursor: grabbing;
  }
  .pile.live ~ .hero-in .hint {
    display: block;
  }
}
@media (min-width: 1025px) {
  .chip {
    height: 56px;
    padding: 0 26px;
    font-size: 21px;
  }
}

/* ---------- 6:30 tools ---------- */
.tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: clamp(32px, 4vw, 56px);
}
.tools li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  border-radius: 99px;
  font-size: 16px;
  font-weight: 500;
  background: color-mix(in srgb, var(--inv) 45%, transparent);
}
@media (min-width: 720px) {
  .tools {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .tools li {
    min-height: 72px;
    padding: 0 24px;
    font-size: 19px;
  }
}
@media (min-width: 1100px) {
  .tools {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ---------- 8:00 problem: lines you read by scrolling ---------- */
.read {
  font-size: clamp(38px, 7vw, 112px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.04em;
}
h2.read span {
  display: block;
}
h2.read span + span {
  font: italic 400 1.04em/0.96 var(--serif);
  letter-spacing: -0.02em;
}
.enemy {
  display: grid;
  gap: clamp(10px, 1.6vw, 22px);
  margin-top: clamp(56px, 9vw, 128px);
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
.enemy .read {
  font-size: clamp(28px, 4.6vw, 68px);
}

/* ---------- 10:00 how ---------- */
.how {
  padding-block: calc(var(--gap) / 2);
}
.track {
  display: grid;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 56px);
  padding-inline: var(--pad);
  counter-reset: s;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  border-radius: 28px;
  background: color-mix(in srgb, var(--inv) 55%, transparent);
  counter-increment: s;
  overflow: hidden;
}
.step::before {
  content: "0" counter(s);
  margin-bottom: auto;
  padding-bottom: 28px;
  font-size: clamp(72px, 9vw, 132px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ink) 55%, transparent);
}
.step:last-child::before {
  color: var(--acc);
  -webkit-text-stroke: 0;
}
.step h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.step p {
  margin-top: 8px;
  color: color-mix(in srgb, var(--ink) 74%, transparent);
  transition: color 0.9s ease;
}
@media (min-width: 720px) {
  .track {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .step {
    min-height: 300px;
    padding: 32px;
  }
}

/* ---------- 12:30 case ---------- */
.case {
  display: grid;
  gap: 48px;
  align-items: center;
}
.ty {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #181817;
}
.ty img {
  width: auto;
  height: 34px;
}
.hours {
  display: flex;
  gap: 5px;
  max-width: 520px;
  margin-top: 28px;
}
.hours i {
  flex: 1;
  height: 34px;
  border-radius: 5px;
  background: var(--acc);
}
.facts {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 32px;
}
.facts dt {
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.facts dd {
  margin-top: 6px;
  font-size: 15px;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  transition: color 0.9s ease;
}
/* A believable phone: real proportions, metal frame, status bar, message header, input bar, home indicator. */
.phone {
  justify-self: center;
  width: min(100%, 318px);
}
.device {
  position: relative;
  padding: 9px;
  border-radius: 56px;
  background: linear-gradient(145deg, #4a4b50, #17181a 28%, #0b0b0c 62%, #3a3b40);
  box-shadow:
    inset 0 0 0 1.5px #6b6d73,
    inset 0 0 0 3px #0a0a0b,
    0 60px 100px -20px rgba(40, 30, 10, 0.45),
    0 24px 40px -12px rgba(40, 30, 10, 0.28);
  rotate: 3deg;
}
/* side buttons */
.device::before,
.device::after {
  content: "";
  position: absolute;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2a2b2e, #5a5c62);
}
.device::before {
  top: 150px;
  left: -3px;
  height: 34px;
  box-shadow:
    0 58px 0 0 #3a3b40,
    0 58px 0 0 #3a3b40,
    0 62px 0 0 transparent,
    0 104px 0 0 #3a3b40;
}
.device::after {
  top: 196px;
  right: -3px;
  height: 78px;
}
.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 300 / 632;
  border-radius: 47px;
  color: #000;
  background: #fff;
  font:
    400 15px/1.3 -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "Helvetica Neue",
    Arial,
    sans-serif;
  overflow: hidden;
}
.status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 24px 0 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.status b {
  font-weight: 600;
}
.island {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 88px;
  height: 26px;
  margin-left: -44px;
  border-radius: 99px;
  background: #000;
}
.chat-h {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-top: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  background: rgba(246, 246, 246, 0.9);
}
.back {
  position: absolute;
  top: 12px;
  left: 14px;
  color: #0a7aff;
}
.av {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(#34353b, #121316);
  --acc: #ffb020;
  --inv: #1b1c20;
}
.av svg {
  width: 26px;
  height: 26px;
}
.who {
  font-size: 11.5px;
  color: #000;
}
.thread {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  padding: 14px 12px;
}
.b {
  align-self: flex-start;
  max-width: 86%;
  padding: 7px 12px;
  border-radius: 18px 18px 18px 5px;
  font-size: 15px;
  line-height: 1.28;
  background: #e9e9eb;
  transform-origin: 0 100%;
}
.b.me {
  align-self: flex-end;
  margin-top: 4px;
  border-radius: 18px 18px 5px 18px;
  color: #fff;
  background: linear-gradient(#2c93ff, #0a7aff);
  transform-origin: 100% 100%;
}
.b.me + .b {
  margin-top: 4px;
}
.compose {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px 26px;
}
.add {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e9e9eb;
}
.add::before,
.add::after {
  content: "";
  position: absolute;
  inset: 15px 9px auto;
  height: 2px;
  border-radius: 2px;
  background: #7c7c82;
}
.add::after {
  rotate: 90deg;
}
.field {
  flex: 1;
  height: 34px;
  border: 1px solid #c8c8cd;
  border-radius: 99px;
}
.home {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 112px;
  height: 5px;
  margin-left: -56px;
  border-radius: 99px;
  background: #000;
}
.phone figcaption {
  margin-top: 26px;
  text-align: center;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  transition: color 0.9s ease;
}
@media (min-width: 1025px) {
  .case {
    grid-template-columns: 1.25fr 1fr;
    gap: 64px;
  }
}

/* ---------- 2:30 ownership: the yes ---------- */
.own {
  display: grid;
  gap: 48px;
  align-items: center;
}
.points {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}
.approve {
  width: min(100%, 520px);
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  border-radius: 32px;
  background: color-mix(in srgb, var(--inv) 55%, transparent);
}
.deck {
  position: relative;
  height: 172px;
  margin-top: 18px;
}
.deck .card {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 132px;
  padding: 20px 22px;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 22px;
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: var(--inv);
  box-shadow: 0 14px 30px rgba(40, 25, 0, 0.1);
  transition:
    translate 0.55s var(--ease),
    scale 0.55s var(--ease),
    rotate 0.55s var(--ease),
    opacity 0.4s;
}
.deck .card .mono {
  color: color-mix(in srgb, var(--ink) 66%, transparent);
  transition: color 0.9s ease;
}
.deck .card:nth-child(1) {
  z-index: 3;
}
.deck .card:nth-child(2) {
  z-index: 2;
  translate: 0 16px;
  scale: 0.95;
}
.deck .card:nth-child(n + 3) {
  z-index: 1;
  translate: 0 32px;
  scale: 0.9;
}
.deck .card.go {
  translate: 115% -24px;
  rotate: 10deg;
  opacity: 0;
}
.deck:empty::after {
  content: "All clear.";
  position: absolute;
  inset: 0 0 auto;
  display: grid;
  place-items: center;
  min-height: 132px;
  border: 1px dashed color-mix(in srgb, var(--ink) 30%, transparent);
  border-radius: 22px;
  font: italic 400 34px/1 var(--serif);
}
.yn {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 10px;
}
.tally {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 18px;
}
.tally b {
  display: inline-block;
  min-width: 2ch;
  padding: 3px 7px;
  border-radius: 6px;
  text-align: center;
  background: color-mix(in srgb, var(--ink) 10%, transparent);
}
@media (min-width: 1025px) {
  .own {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
  }
  .approve {
    justify-self: end;
  }
}

/* ---------- 4:30 built: an index ---------- */
.index {
  margin-top: clamp(32px, 4vw, 64px);
  counter-reset: n;
}
.index li {
  display: grid;
  gap: 6px 24px;
  padding-block: clamp(18px, 2.2vw, 30px);
  border-top: 1px solid color-mix(in srgb, currentColor 26%, transparent);
  counter-increment: n;
}
.index li:last-child {
  border-bottom: 1px solid color-mix(in srgb, currentColor 26%, transparent);
}
.index h3 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: clamp(26px, 3.4vw, 50px);
  line-height: 1;
  letter-spacing: -0.035em;
  transition: translate 0.5s var(--ease);
}
.index h3::before {
  content: "0" counter(n);
  font: 400 12.5px/1 var(--mono);
  letter-spacing: 0.04em;
  opacity: 0.7;
}
.index p {
  max-width: 52ch;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  transition: color 0.9s ease;
}
.index a {
  display: inline-block;
  padding-block: 11px;
  margin-block: -11px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 900px) {
  .index li {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }
  .index li:hover h3 {
    translate: 14px 0;
  }
}

/* ---------- 6:15 pricing ---------- */
.plans {
  display: grid;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 56px);
}
.plan {
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 28px;
  background: color-mix(in srgb, var(--inv) 55%, transparent);
}
.plan h3 {
  font-size: 20px;
  letter-spacing: -0.01em;
}
.price {
  margin-block: clamp(28px, 4vw, 64px) 12px;
  font-size: clamp(52px, 5.2vw, 80px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.price span {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.75;
  white-space: nowrap;
}
.plan p:not(.price) {
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  transition: color 0.9s ease;
}
.guar {
  margin-top: 16px;
  padding: 20px 24px;
  border: 1px dashed color-mix(in srgb, currentColor 40%, transparent);
  border-radius: 28px;
  text-align: center;
  text-wrap: balance;
}
@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* ---------- 7:45 founders + FAQ ---------- */
.faq {
  display: grid;
  gap: 40px;
}
.people {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 36px;
  font-size: 18px;
}
.people li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.people .mono {
  flex-basis: 100%;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  transition: color 0.9s ease;
}
.mg {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 600;
  color: var(--inv);
  background: var(--ink);
}
.qs {
  display: grid;
  gap: 8px;
  align-content: start;
}
.qs details {
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 22px;
  background: color-mix(in srgb, var(--inv) 55%, transparent);
}
.qs summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 16px 22px;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.qs summary::-webkit-details-marker {
  display: none;
}
.plus {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  transition: rotate 0.45s var(--spring);
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  inset: 6px 0 auto;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.plus::after {
  rotate: 90deg;
}
details[open] .plus {
  rotate: 45deg;
}
.qs p {
  padding: 0 22px 22px;
  max-width: 52ch;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  transition: color 0.9s ease;
}
@media (min-width: 1025px) {
  .faq {
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
  }
}

/* ---------- 9:04 closing + footer ---------- */
.fin {
  display: grid;
  align-items: end;
  min-height: 100svh;
  padding-block: 46svh clamp(64px, 12svh, 140px);
  text-align: center;
}
.fin .wrap {
  display: grid;
  justify-items: center;
}
.fin .lede {
  margin-inline: auto;
}
.fin .btn {
  margin-top: clamp(28px, 3.4vw, 48px);
}
.ft {
  padding-block: 40px 56px;
}
.ft .wrap {
  display: grid;
  gap: 14px;
  padding-top: 32px;
  border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent);
}
.ft .logo {
  justify-self: start;
}
.ft .logo span {
  display: inline;
}
.fine {
  max-width: 70ch;
  font-size: 14px;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  transition: color 0.9s ease;
}
.fine a {
  display: inline-block;
  padding-block: 12px;
  margin-block: -12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ================= motion (all optional) ================= */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .sun {
    transition:
      background-color 1.6s ease,
      box-shadow 1.6s ease,
      opacity 1.6s ease,
      translate 0.5s linear;
  }
  .day i {
    transition:
      background-color 0.9s,
      translate 0.5s linear;
  }

  @keyframes rise {
    from {
      opacity: 0;
      translate: 0 28px;
    }
  }
  .hero-in > * {
    animation: rise 1s var(--ease) both;
  }
  .hero-in > :nth-child(3) {
    animation-delay: 0.08s;
  }
  .hero-in > :nth-child(n + 4) {
    animation-delay: 0.2s;
  }

  .js .rv {
    opacity: 0;
    translate: 0 26px;
    transition:
      opacity 0.9s var(--ease),
      translate 0.9s var(--ease),
      scale 0.45s var(--spring);
    transition-delay: calc(var(--i, 0) * 45ms);
  }
  .js .rv.in {
    opacity: 1;
    translate: none;
  }

  /* hours fill one by one; texts arrive in order */
  .js .hours:not(.in) i {
    background: color-mix(in srgb, var(--ink) 12%, transparent);
  }
  .js .hours i {
    transition: background-color 0.35s ease calc(0.3s + var(--i) * 70ms);
  }
  .js .phone:not(.in) .b {
    opacity: 0;
    scale: 0.6;
  }
  .js .phone .b {
    transition:
      opacity 0.3s,
      scale 0.55s var(--spring);
  }

  .tools li {
    transition:
      opacity 0.9s var(--ease),
      translate 0.9s var(--ease),
      scale 0.45s var(--spring);
  }
  .js .tools li.in:hover {
    scale: 1.05;
    transition-delay: 0s;
  }

  @supports (animation-timeline: view()) {
    /* the problem lines fill with ink as you scroll past them */
    @keyframes ink-in {
      to {
        background-position: 0 0;
      }
    }
    .read span {
      color: transparent;
      background: linear-gradient(
          90deg,
          var(--ink) 50%,
          color-mix(in srgb, var(--ink) 22%, transparent) 50%
        )
        100% 0 / 200% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      animation: ink-in linear both;
      animation-timeline: view();
      animation-range: cover 18% cover 46%;
    }

    /* the five steps: the section pins and the cards travel sideways */
    @media (min-width: 1025px) and (min-height: 620px) {
      @keyframes travel {
        to {
          translate: calc(-100% + 100vw) 0;
        }
      }
      .how {
        height: 280vh;
        padding: 0;
        view-timeline: --how block;
      }
      .how-pin {
        position: sticky;
        top: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100svh;
        padding-top: 64px;
        overflow: hidden;
      }
      .track {
        display: flex;
        gap: 20px;
        width: max-content;
        animation: travel linear both;
        animation-timeline: --how;
        animation-range: contain 4% contain 96%;
      }
      .step {
        width: min(34vw, 480px);
        min-height: min(46svh, 420px);
      }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
  }
}

/* ================= GPU effects (fx/fx.js, optional) ================= */
.fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* Asciify: the hero loads as ASCII and develops into the page; its lens then follows the cursor */
.fx-ascii {
  z-index: 2;
}
.ascii-on .hero-in > * {
  animation: none;
}
/* the stage wears its own pre-dawn sky during the opening (that is what gets drawn in glyphs), then lets go of it */
.ascii-on .hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* flat navy behind the copy (so the glyph layer has nothing to tint there), a wide sunrise glow along the bottom */
  background:
    radial-gradient(
      120vmin 70vmin at 0% 108%,
      #ffb07a 0 10%,
      #e9744e 22%,
      #7a3d6e 44%,
      rgba(51, 40, 94, 0.6) 62%,
      transparent 78%
    ),
    radial-gradient(
      90vmin 34vmin at 78% 112%,
      #6d4470 0 20%,
      rgba(51, 40, 94, 0.7) 50%,
      transparent 80%
    ),
    #060a1c;
  transition: opacity 1.4s ease;
}
.ascii-done .hero-stage::before {
  opacity: 0;
}
.ascii-on .pile {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.ascii-done .pile {
  opacity: 1;
}
.fx-src {
  z-index: 1;
}
.fx-src > .hero-stage {
  width: 100%;
  height: 100%;
}
/* ShaderGradient sky sits over the CSS gradients, under stars, sun and moon */
.sky-gl {
  opacity: 0;
  transition: opacity 1.8s ease;
}
.sky-gl.on {
  opacity: 1;
}
/* Clouds: mist behind the tools, in front of the sky */
#tools,
.fin {
  position: relative;
}
#tools > .wrap,
.fin > .wrap {
  position: relative;
  z-index: 1;
}
/* Particle Object: the mark in particles behind the closing line; it needs the pointer */
.fx-mark {
  pointer-events: auto;
}
.fin > .wrap {
  pointer-events: none;
}
.fin > .wrap a {
  pointer-events: auto;
}

/* ---------- after the cold read ---------- */
/* what the audit is, right under the button */
.ask {
  max-width: 38ch;
  margin-top: 16px;
  font-size: 15px;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  transition: color 0.9s ease;
}
.fin .note {
  margin-top: 20px;
}
@media (min-width: 1025px) {
  /* keep the whole hero, pile strip included, inside one desktop screen */
  .hero-stage {
    padding-top: 84px;
  }
  .hero .ch {
    margin-bottom: 18px;
  }
  h1 {
    font-size: clamp(46px, min(7.2vw, 10.6svh), 116px);
  }
  .sub {
    max-width: 50ch;
    margin-top: 22px;
    font-size: clamp(18px, 1.45vw, 21px);
  }
  .cta-row {
    margin-top: 26px;
  }
  .ask {
    max-width: none;
    margin-top: 14px;
  }
}

/* ---------- Phosphor logo ---------- */
.logo i {
  font-style: normal;
  opacity: 0.62;
}
.dm {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.dm .i,
.dm .d {
  fill: currentColor;
}
.dm .d {
  opacity: 0.62;
}
.dm .a {
  fill: var(--acc);
  transition: fill 0.9s ease;
}
.dm-link {
  display: block;
  width: min(100%, 460px);
  padding-block: 6px;
  filter: drop-shadow(0 0 3px color-mix(in srgb, var(--acc) 45%, transparent))
    drop-shadow(0 0 14px color-mix(in srgb, var(--acc) 22%, transparent));
}

/* ---------- 8:00 the problem, as a plain side-by-side ---------- */
.problem .h2 {
  max-width: 22ch;
}
.vs {
  display: grid;
  gap: 16px;
  margin-top: clamp(32px, 4.4vw, 64px);
}
.vs-col {
  padding: clamp(22px, 2.6vw, 36px);
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 28px;
}
.vs-col h3 {
  margin-bottom: 18px;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}
.vs-col ul {
  display: grid;
  gap: 14px;
}
.vs-col li {
  position: relative;
  padding-left: 1.5em;
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}
/* tried: a dash. now: a filled dot in the accent */
.vs-col li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 0.7em;
  height: 2px;
  background: currentColor;
}
.vs-col.now {
  border-color: transparent;
  background: color-mix(in srgb, var(--inv) 62%, transparent);
}
.vs-col.now li {
  color: var(--ink);
}
.vs-col.now li::before {
  top: 0.3em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--acc);
}
@media (min-width: 900px) {
  .vs {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* ---------- the thread shows the same request twice: memory, shown instead of explained ---------- */
.thread {
  gap: 6px;
  padding: 10px 12px;
}
.sep {
  align-self: center;
  margin: 6px 0 2px;
  font-size: 11px;
  font-weight: 600;
  color: #8a8a8f;
}
.b {
  font-size: 14px;
  line-height: 1.26;
}
.case .lede b {
  font-weight: 600;
  color: var(--ink);
}
@media (prefers-reduced-motion: no-preference) {
  .js .phone .b,
  .js .phone .sep {
    transition:
      opacity 0.3s ease var(--d),
      scale 0.55s var(--spring) var(--d);
  }
  .js .phone:not(.in) .sep {
    opacity: 0;
  }
}

/* ---------- 6:05 the pile, sorted: hero chips fly into a tidy list that feeds the assistant ---------- */
.sorted {
  position: relative;
  z-index: 2; /* above the hero, so pills can start up in the pile */
}
.flow {
  display: grid;
  gap: 28px;
  margin-top: clamp(28px, 4vw, 56px);
}
.tidy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 16px;
}
.tidy-g h3 {
  margin-bottom: 10px;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}
.tidy-g ul {
  display: grid;
  gap: 8px;
  justify-items: start;
}
.tidy .chip {
  rotate: none;
  will-change: transform;
}
.pile.away {
  visibility: hidden;
}
/* the assistant: the mark, with a line in and a line out */
.agent {
  display: grid;
  justify-items: center;
  gap: 10px;
}
.agent svg {
  width: 84px;
  height: 84px;
  filter: drop-shadow(0 0 22px color-mix(in srgb, var(--acc) 55%, transparent));
}
.agent i {
  width: 2px;
  height: 36px;
  background: linear-gradient(transparent, var(--acc));
}
.agent i:last-child {
  background: linear-gradient(var(--acc), transparent);
}
.eg {
  display: grid;
  align-content: center;
  gap: 16px;
}
.eg li {
  display: grid;
  gap: 5px;
}
.eg-h {
  font: 500 12.5px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}
.eg q {
  justify-self: start;
  padding: 8px 14px;
  border-radius: 18px 18px 18px 5px;
  font-size: 17px;
  font-weight: 600;
  color: #1a1208;
  background: var(--acc);
  quotes: none;
}
.eg span {
  padding-left: 14px;
  font-size: 16px;
  line-height: 1.35;
  color: color-mix(in srgb, var(--ink) 80%, transparent);
  transition: color 0.9s ease;
}
@media (min-width: 700px) {
  .tidy {
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    gap: 16px clamp(12px, 1.6vw, 24px);
  }
}
@media (min-width: 1180px) {
  .flow {
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
  }
  .tidy {
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    gap: 16px clamp(12px, 1.6vw, 24px);
  }
  .agent {
    grid-auto-flow: column;
    align-items: center;
  }
  .agent i {
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--acc));
  }
  .agent i:last-child {
    background: linear-gradient(90deg, var(--acc), transparent);
  }
}
/* heading, assistant and examples wait until the chips have mostly landed, so nothing flies across text */
.sorted .ch,
.sorted .h2,
.agent,
.eg {
  opacity: clamp(0, calc((var(--p, 1) - 0.6) * 3.5), 1);
}
/* pills fall the full height of the hero: every other one passes in front of the copy, the rest behind it */
.pile.live .chip:nth-child(odd) {
  z-index: 2;
}

/* ---------- restaurant hero: the longer headline needs a wider measure and a smaller size ---------- */
h1 {
  max-width: 17ch;
  font-size: clamp(40px, min(6.2vw, 9.4svh), 100px);
}
@media (min-width: 1025px) {
  h1 {
    font-size: clamp(40px, min(6vw, 9.2svh), 98px);
  }
}
/* ---------- the assistants you have heard of ---------- */
.names small {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  opacity: 0.7;
}
.names .ic {
  width: 26px;
  height: 26px;
}
.rivals .note {
  margin-top: 14px;
}
.vs-col p {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.3;
  color: var(--ink);
}
@media (min-width: 900px) {
  .vs.three {
    grid-template-columns: repeat(3, 1fr);
  }
  .names {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ---------- Hermes in the middle, what it does around it ---------- */
.rivals .lede,
#channels .lede {
  max-width: 44ch;
  margin-top: 18px;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.4;
}
.hub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: clamp(28px, 4vw, 56px);
}
.hub li {
  display: grid;
  place-items: center;
  min-height: 84px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 24px;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
  background: color-mix(in srgb, var(--inv) 45%, transparent);
}
.hub .hub-c {
  grid-column: 1 / -1;
  gap: 10px;
  padding: 22px;
  border-color: transparent;
  color: var(--inv);
  background: var(--ink);
}
.hub-c img {
  border-radius: 50%;
  background: #fff;
}
.hub-c b {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.names-h {
  margin-top: clamp(36px, 5vw, 64px);
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}
.rivals .names {
  margin-top: 14px;
}
.ic.dot {
  width: 10px;
  height: 10px;
  margin-inline: 6px;
  border-radius: 50%;
  -webkit-mask: none;
  mask: none;
}
@media (min-width: 800px) {
  .hub {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .hub li {
    min-height: 110px;
  }
  /* the logo takes the middle cell of the 3 by 3 */
  .hub .hub-c {
    grid-column: 2;
    grid-row: 2;
  }
  .chans {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* a product's own colour app icon, where it has one */
.ic-img {
  flex: none;
  width: 28px;
  height: 28px;
}

/* ---------- Hermes as a live diagram: channels in, Hermes in the middle, work out ---------- */
.orbit {
  position: relative;
  display: grid;
  gap: 28px;
  margin-top: clamp(28px, 4vw, 56px);
}
.o-col h3 {
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}
.o-in,
.o-out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.o-in li,
.o-out li {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 16px;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 99px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.15;
  background: color-mix(in srgb, var(--inv) 55%, transparent);
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    scale 0.5s var(--spring, ease);
}
.o-in li.on,
.o-out li.on {
  border-color: transparent;
  color: var(--inv);
  background: var(--ink);
  scale: 1.04;
}
.o-out li.on {
  transition-delay: 0.9s; /* lights up when the pulse arrives */
}
.o-core {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  justify-self: center;
  width: 230px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--inv);
  background: var(--ink);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 60%, transparent);
}
.o-core img {
  border-radius: 50%;
  background: #fff;
}
.o-core b {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.o-ring {
  position: absolute;
  inset: -16px;
  border: 2px dashed color-mix(in srgb, var(--ink) 38%, transparent);
  border-radius: 50%;
}
.o-wires {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.o-wires path {
  fill: none;
  stroke: color-mix(in srgb, var(--ink) 20%, transparent);
  stroke-width: 1.5;
}
.o-wires path.spark {
  stroke: var(--acc);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 9 100;
  stroke-dashoffset: 9;
  opacity: 0;
}
@media (min-width: 1000px) {
  .orbit {
    grid-template-columns: minmax(200px, 250px) 1fr minmax(280px, 340px);
    align-items: center;
    gap: 0;
  }
  .o-in,
  .o-out {
    grid-template-columns: 1fr;
  }
  .o-wires {
    display: block;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .o-ring {
    animation: o-spin 40s linear infinite;
  }
  .o-core.beat {
    animation: o-beat 0.9s ease-out;
  }
  .o-wires path.spark.go {
    animation: o-run 0.9s linear both;
  }
  .o-wires path.spark.go.late {
    animation-delay: 0.9s;
  }
}
@keyframes o-spin {
  to {
    rotate: 1turn;
  }
}
@keyframes o-beat {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 70%, transparent);
  }
  100% {
    box-shadow: 0 0 0 34px transparent;
  }
}
@keyframes o-run {
  0% {
    stroke-dashoffset: 9;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -100;
    opacity: 1;
  }
}

/* the example under Hermes: what came in, what it did */
.o-mid {
  display: grid;
  justify-items: center;
  gap: 30px;
}
.o-say {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 96px;
  max-width: 300px;
  text-align: center;
  transition: opacity 0.3s ease;
}
.o-say.swap {
  opacity: 0;
}
.o-say small {
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}
.o-say q {
  padding: 8px 14px;
  border-radius: 18px 18px 18px 5px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1208;
  background: var(--acc);
  quotes: none;
}
.o-say span {
  font-size: 16px;
  line-height: 1.3;
}
.o-in li,
.o-out li {
  cursor: pointer;
}

.people a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ponytail: header clock hidden, it showed the story time (5:47 AM) and read as a wrong real clock */
.clock {
  display: none !important;
}

/* ---------- audit form (final section): one question at a time, answers stack like a text thread ---------- */
.audit {
  display: grid;
  gap: 14px;
  width: min(100%, 460px);
  margin-top: clamp(28px, 3.4vw, 48px);
  text-align: left;
  pointer-events: auto;
}
.audit .q {
  display: grid;
  gap: 12px;
}
.js .audit .q:not(.on) {
  display: none;
}
.audit .q.on {
  animation: audit-in 0.4s var(--spring) both;
}
.audit label {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  color: var(--ink);
}
.audit .pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px 6px 22px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  border-radius: 99px;
  transition: border-color 0.2s;
}
.audit .pill:focus-within {
  border-color: var(--acc);
}
.audit input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  font: inherit;
  font-size: 18px;
  color: var(--ink);
  background: none;
  border: 0;
  outline: 0;
}
.audit input::placeholder {
  color: color-mix(in srgb, var(--ink) 45%, transparent);
}
.audit .next {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  color: var(--inv);
  background: var(--ink);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: scale 0.45s var(--spring);
}
.audit .next:hover {
  scale: 1.06;
}
.audit .next svg {
  width: 18px;
  height: 18px;
}
.audit .btn {
  margin-top: 4px;
  border: 0;
  cursor: pointer;
}
.audit .btn:disabled {
  opacity: 0.6;
}
.audit-log {
  display: grid;
  gap: 8px;
}
.audit-log:empty {
  display: none;
}
.audit-log li {
  max-width: 85%;
  padding: 10px 16px;
  font-size: 17px;
  border-radius: 20px;
  overflow-wrap: anywhere;
  animation: audit-in 0.4s var(--spring) both;
}
.audit-log .me {
  justify-self: end;
  color: var(--inv);
  background: var(--ink);
  border-bottom-right-radius: 6px;
}
.audit-log .us {
  justify-self: start;
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 14%, transparent);
  border-bottom-left-radius: 6px;
}
.audit .hp {
  position: absolute;
  left: -9999px;
}
.audit-msg {
  font-size: 15px;
  text-align: center;
}
.audit-msg:empty {
  display: none;
}
.fin .note a {
  text-decoration: underline;
}
@keyframes audit-in {
  from {
    opacity: 0;
    translate: 0 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .audit .q.on,
  .audit-log li {
    animation: none;
  }
}

/* attributed quote in the case study */
blockquote.lede cite {
  display: block;
  margin-top: 8px;
  font-size: 0.8em;
  font-style: normal;
}

/* ---------- Bea, the AI guide: launcher, panel, thread ---------- */
/* The panel keeps fixed night colours so it stays readable over every hour of the sky. */
.bea-sun {
  --v: 0;
  display: inline-block;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe2b8, #ffb07a 55%, #ff8a4c);
  box-shadow: 0 0 calc(8px + var(--v) * 26px) calc(var(--v) * 6px) #ffb07a99;
  scale: calc(1 + var(--v) * 0.35);
  transition:
    scale 0.08s linear,
    box-shadow 0.08s linear;
}
.bea-launch {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px 0 13px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: #f4efe6;
  background: #0b1026;
  border: 1px solid #ffffff2e;
  border-radius: 99px;
  box-shadow: 0 8px 28px #0006;
  cursor: pointer;
  transition: scale 0.45s var(--spring);
}
.bea-launch:hover {
  scale: 1.04;
}
.bea-docked .bea-launch,
.bea-inview .bea-launch {
  display: none;
}
.bea-link {
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  cursor: pointer;
}
.bea {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  height: 100%;
  color: #f4efe6;
  background: linear-gradient(#0b1026, #171c44);
  border: 1px solid #ffffff2e;
  border-radius: 24px;
  box-shadow: 0 24px 70px #0007;
  overflow: hidden;
}
.bea.docked {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 41;
  width: min(400px, calc(100vw - 32px));
  height: min(600px, calc(100svh - 96px));
  box-shadow: 0 24px 70px #000a;
  animation: audit-in 0.35s var(--spring) both;
}
/* the chat's place in its section; keeps its size while the chat is docked in the corner */
.bea-mount {
  position: relative;
  height: min(560px, 80svh);
}
.bea:not(.docked) .bea-close {
  display: none;
}
.ask-in {
  display: grid;
  grid-template-columns: 1fr minmax(0, 480px);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.ask-try {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.ask-try button {
  min-height: 44px;
  padding: 0 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  border-radius: 99px;
  cursor: pointer;
  transition: scale 0.45s var(--spring);
}
.ask-try button:hover {
  scale: 1.04;
}
.bea-cta {
  margin-top: 24px;
}
@media (max-width: 900px) {
  .ask-in {
    grid-template-columns: 1fr;
  }
}
.bea-hd {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 18px;
  border-bottom: 1px solid #ffffff1f;
}
.bea-hd p {
  display: grid;
  flex: 1;
  line-height: 1.2;
}
.bea-hd b {
  font-size: 17px;
  font-weight: 600;
}
.bea-status {
  font-size: 13px;
  color: #a8a2b4;
}
.bea-hd button {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font: inherit;
  font-size: 13px;
  color: #f4efe6;
  background: #ffffff14;
  border: 0;
  border-radius: 99px;
  cursor: pointer;
}
.bea-hd svg {
  width: 14px;
  height: 14px;
}
.bea-end {
  display: none !important;
}
.bea.live .bea-end {
  display: grid !important;
}
.bea-log {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.bea-log li {
  max-width: 86%;
  padding: 10px 14px;
  font-size: 16px;
  line-height: 1.4;
  border-radius: 20px;
  overflow-wrap: anywhere;
  animation: audit-in 0.35s var(--spring) both;
}
.bea-log .us {
  align-self: flex-start;
  background: #ffffff1c;
  border-bottom-left-radius: 6px;
}
.bea-log .me {
  align-self: flex-end;
  color: #0b1026;
  background: #f4efe6;
  border-bottom-right-radius: 6px;
}
.bea-log .note {
  align-self: center;
  max-width: 100%;
  padding: 2px 8px;
  font: 400 11.5px/1.3 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a8a2b4;
}
.bea-ft {
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px;
  border-top: 1px solid #ffffff1f;
}
.bea-talk {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: #0b1026;
  background: #ffb07a;
  border: 0;
  border-radius: 99px;
  cursor: pointer;
}
.bea-talk svg {
  width: 18px;
  height: 18px;
}
.bea.live .bea-talk {
  display: none;
}
.bea-form {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 5px 5px 16px;
  background: #ffffff14;
  border: 1px solid #ffffff2e;
  border-radius: 99px;
}
.bea-form:focus-within {
  border-color: #ffb07a;
}
.bea-form input {
  flex: 1;
  min-width: 0;
  min-height: 38px;
  font: inherit;
  font-size: 16px;
  color: #f4efe6;
  background: none;
  border: 0;
  outline: 0;
}
.bea-form input::placeholder {
  color: #a8a2b4;
}
.bea-form button {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  color: #0b1026;
  background: #f4efe6;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.bea-form svg {
  width: 16px;
  height: 16px;
}
.bea-fine {
  font-size: 12px;
  text-align: center;
  color: #a8a2b4;
}
.bea-fine a {
  text-decoration: underline;
}
/* the section Bea is pointing at */
.bea-spot {
  animation: bea-spot 2.6s ease-out;
}
@keyframes bea-spot {
  0%,
  60% {
    box-shadow: inset 0 0 0 3px #ffb07a;
  }
  100% {
    box-shadow: inset 0 0 0 3px #ffb07a00;
  }
}
@media (max-width: 560px) {
  .bea.docked {
    right: 0;
    bottom: 0;
    width: 100vw;
    height: min(78svh, 640px);
    border-radius: 24px 24px 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bea.docked,
  .bea-log li,
  .bea-spot {
    animation: none;
  }
}

.bea-log li {
  white-space: pre-line;
}

/* the diagram's centre: our mark, since the assistant can be built on more than one tool */
.o-core {
  --core-fg: var(--inv);
}
.o-mark {
  --inv: var(--ink);
  width: 84px;
  height: 84px;
  color: var(--core-fg);
}
.o-core small {
  max-width: 160px;
  margin-top: -6px;
  font-size: 12.5px;
  line-height: 1.3;
  text-align: center;
  opacity: 0.7;
}

/* ---------- team section ---------- */
.team-steps {
  grid-template-columns: repeat(3, 1fr);
}
.team-fig {
  display: block;
  width: 100%;
  height: auto;
  margin: 14px auto 18px;
  overflow: visible;
}
.team-fig text {
  font: 400 10.5px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-anchor: middle;
  fill: currentColor;
  opacity: 0.72;
}
.tf-p circle:first-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.tf-p .f {
  fill: currentColor;
}
.tf-a.acc {
  color: var(--acc);
}
/* dashes drift along each line, like messages going back and forth */
.tf-l {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-opacity: 0.5;
  stroke-dasharray: 3 5;
  animation: tf-flow 1.4s linear infinite;
}
@keyframes tf-flow {
  to {
    stroke-dashoffset: -16;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tf-l {
    animation: none;
  }
}
.team .note {
  margin-top: 24px;
}
@media (max-width: 900px) {
  .team-steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- dot-matrix texture, the same dots the logo is built from ---------- */
.ask,
.team,
#pricing {
  position: relative;
}
.ask::before,
.team::before,
#pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--ink) 30%, transparent) 1.2px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 20%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 85% 20%, #000, transparent 70%);
}
.team::before {
  -webkit-mask-image: radial-gradient(ellipse 55% 65% at 10% 85%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 55% 65% at 10% 85%, #000, transparent 70%);
}
.ask > .wrap,
.team > .wrap,
#pricing > .wrap {
  position: relative;
  z-index: 1;
}

/* Bea's section lands clear of the sticky header, with the whole chat on screen */
#ask {
  scroll-margin-top: 72px;
}
