/* Caught You Slacking. Orange and cream, so the black notch stands out; still halftone dots behind
   everything; every part one screen tall; inside the recordings, the app's own black, rounded face. */

:root {
  --orange: #f26b3a;
  --cream: #fff4ec;
  --ink: #1d1410;
  --ink-2: #6f5d54;
  --hair: rgb(29 20 16 / 0.12);
  --green: #3dcf7d;
  --amber: #ffb021;
  --red: #ff5a4f;
  --grey: #b8b8bd;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Inter, system-ui, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, "JetBrains Mono", monospace;
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --out: cubic-bezier(0.22, 1, 0.36, 1);
  /* the big notch at the top of the first screen */
  --big-w: min(660px, calc(100vw - 20px));
  --big-h: clamp(150px, calc(25 * var(--vh)), 226px);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%, 0.937 38.1%,
      0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001 85.9%, 1);
  }
}

/* 🔴 ONE SCREEN, MEASURED ONCE (17 Oct 2026). Every "one screen tall" size on this page is a multiple
   of --vh. landing.js sets it in pixels from the window's height when the page opens and only again
   when the width changes (the phone was turned) or, with a mouse, when the window is resized.
   Why not svh: in the browsers inside Instagram, Chrome and every other iPhone app (not Safari),
   every viewport unit, svh included, follows the live height, which changes as their bars slide in
   and out at the start of a swipe. Every screen resized at once and the page jumped by up to 387px.
   Until the script runs, 1svh is the same number, so nothing moves when it takes over.
   Never write vh, dvh, svh or lvh below this line: write calc(N * var(--vh)). */
:root {
  --vh: 1svh;
}
* {
  box-sizing: border-box;
}
html {
  /* every part stops in place; the film always gets its own stop */
  scroll-snap-type: y mandatory;
  -webkit-text-size-adjust: 100%;
  background: var(--orange);
}
@media (max-height: 520px) {
  html {
    scroll-snap-type: y proximity;
  }
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a {
  color: inherit;
}
.field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: block;
}

/* ---------- the faces: all cut from one picture, so none can be missing ---------- */

.face {
  display: block;
  flex: none;
  width: 26px;
  height: 26px;
  background: url(/m/sheet.webp) 0 0 / 1000% 100% no-repeat;
  pointer-events: none;
  user-select: none;
  opacity: 0;
}
.faces .face {
  opacity: 1;
}
.face.head {
  background-size: 1806.4% 180.64%;
}
.face.bust {
  background-size: 1562.5% 166.67%;
  aspect-ratio: 0.64 / 0.6;
}

/* ---------- the notch: the site's header and menu ---------- */

.isl {
  --wing: 108px;
  --gap: 150px;
  --bar: 42px;
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 50;
  width: calc(var(--gap) + 2 * var(--wing));
  height: var(--bar);
  translate: -50% 0;
  background: #000;
  border-radius: 0 0 19px 19px;
  box-shadow: 0 12px 34px rgb(60 20 0 / 0.28);
  transition: width 0.7s var(--spring), height 0.7s var(--spring), border-radius 0.7s var(--spring),
    translate 0.5s var(--ease), box-shadow 0.4s ease;
}
.isl::before,
.isl::after {
  content: "";
  position: absolute;
  top: 0;
  width: 12px;
  height: 12px;
  pointer-events: none;
}
.isl::before {
  left: -12px;
  background: radial-gradient(circle at 0 100%, transparent 11.5px, #000 12px);
}
.isl::after {
  right: -12px;
  background: radial-gradient(circle at 100% 100%, transparent 11.5px, #000 12px);
}
.isl.big {
  width: var(--big-w);
  height: var(--big-h);
  border-radius: 0 0 48px 48px;
  box-shadow: 0 34px 90px rgb(70 18 0 / 0.42);
}
.isl.open {
  width: min(380px, calc(100vw - 20px));
  border-radius: 0 0 30px 30px;
  box-shadow: 0 24px 60px rgb(40 12 0 / 0.45);
}
.isl.away {
  translate: -50% calc(-100% - 16px);
  box-shadow: none;
  pointer-events: none;
}
/* a small breath when the word changes, on its own property so it never undoes "away" */
.isl.bump {
  animation: bump 0.5s var(--spring);
}
@keyframes bump {
  40% {
    scale: 1.045;
  }
}
.isl-clip {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}
.isl-bar {
  all: unset;
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--bar);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.3s ease;
}
.isl.big .isl-bar {
  opacity: 0;
  pointer-events: none;
}
.isl-bar:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}
.isl-wing {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 12px;
}
.isl-gap {
  flex: 0 0 var(--gap);
}
.isl-wing .face {
  width: 31px;
  height: 31px;
}
.isl-word {
  font-family: var(--round);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.4s ease;
}
.swap {
  animation: swap 0.45s ease;
}
@keyframes swap {
  from {
    filter: blur(5px);
    opacity: 0;
    scale: 0.92;
  }
}
[data-tone="green"] {
  --tone: var(--green);
}
[data-tone="amber"] {
  --tone: var(--amber);
}
[data-tone="red"] {
  --tone: var(--red);
}
[data-tone="grey"] {
  --tone: var(--grey);
}
[data-tone="white"] {
  --tone: #fff;
}
.isl-word,
.d-word,
.isl-hero-word,
.mini b {
  color: var(--tone, #fff);
}

/* the notch as the first screen shows it: the watcher, big, living in it */
.isl-hero {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(14px, 3.4vw, 40px);
  padding: 0 clamp(18px, 4vw, 40px) 0 clamp(10px, 2.4vw, 24px);
  font-family: var(--round);
  color: #fff;
  opacity: 0;
  filter: blur(10px);
  scale: 0.9;
  transition: opacity 0.25s ease, filter 0.3s ease, scale 0.4s ease;
  pointer-events: none;
}
.isl.big .isl-hero {
  opacity: 1;
  filter: none;
  scale: 1;
  transition: opacity 0.45s ease 0.15s, filter 0.45s ease 0.15s, scale 0.7s var(--spring) 0.1s;
}
.isl-hero .bust {
  height: calc(100% - 10px);
  width: auto;
}
.isl-hero-text {
  align-self: center;
  min-width: 0;
  padding-top: 6px;
}
.isl-hero-text p {
  margin: 0;
}
.isl-hero-from {
  font-size: clamp(14px, 1.9vw, 18px);
  font-weight: 600;
  color: #8e8e93;
}
.isl-hero-word {
  margin-top: 2px !important;
  font-size: clamp(34px, 6.4vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.isl-hero-line {
  margin-top: 6px !important;
  font-size: clamp(14px, 1.9vw, 19px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #e6e6eb;
  white-space: nowrap;
}

.isl-menu {
  display: grid;
  padding: 8px 10px 14px;
  opacity: 0;
  visibility: hidden;
  filter: blur(6px);
  transform: translateY(-6px) scale(0.96);
  transform-origin: top center;
  transition: opacity 0.25s ease, transform 0.3s ease, filter 0.3s ease, visibility 0s 0.3s;
}
.isl.open .isl-menu {
  opacity: 1;
  visibility: visible;
  filter: none;
  transform: none;
  transition: opacity 0.35s ease 0.08s, transform 0.45s var(--spring) 0.05s, filter 0.35s ease 0.08s, visibility 0s;
}
.isl-menu a {
  padding: 12px 14px;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.isl-menu a:hover,
.isl-menu a:focus-visible {
  background: #1c1c1e;
  outline: none;
}
.isl-menu a:active {
  transform: scale(0.97);
}
.isl-menu .isl-buy {
  margin-top: 8px;
  background: var(--orange);
  text-align: center;
}
.isl-menu .isl-buy:hover {
  background: #ff7a48;
}
.scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgb(30 10 0 / 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.scrim.on {
  opacity: 1;
}

/* ---------- the screens ---------- */

main {
  width: 100%;
}
.screen {
  position: relative;
  min-height: calc(100 * var(--vh));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px 22px 48px;
  scroll-snap-align: start;
}
[data-theme="orange"] {
  color: #fff;
}
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}
h1 {
  margin: 0;
  font-size: clamp(50px, 10.4vw, 148px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.045em;
}
h2 {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.lead,
.body {
  max-width: 560px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.body {
  color: var(--ink-2);
}
[data-theme="orange"] .body {
  color: rgb(255 255 255 / 0.86);
}
.body.strong {
  margin-top: 14px;
  font-weight: 600;
}
[data-theme="orange"] .body.strong {
  color: #fff;
}
.fine {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.92;
  text-wrap: balance;
}
.fine a {
  color: inherit;
  text-underline-offset: 3px;
}

/* ---------- the buttons: the main one is a little Dynamic Island with the watcher in it ---------- */

.ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 26px;
  margin: 34px 0 0;
}
.buy {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 28px 0 9px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.12) inset, 0 16px 36px -10px rgb(60 20 0 / 0.55);
  transition: padding 0.55s var(--spring), transform 0.3s var(--spring), box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.buy .face {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #1c1c1e;
  transition: transform 0.5s var(--spring);
}
.buy:hover {
  padding-right: 34px;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.12) inset, 0 22px 44px -12px rgb(60 20 0 / 0.6);
}
.buy:hover .face {
  transform: translateY(-2px) rotate(-6deg);
}
.buy:active {
  transform: scale(0.96);
}
.buy:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
[data-theme="cream"] .buy:focus-visible {
  outline-color: var(--ink);
}
.buy.big {
  height: 70px;
  gap: 14px;
  padding: 0 34px 0 10px;
  font-size: 19px;
}
.buy.big .face {
  width: 52px;
  height: 52px;
}
.buy.big:hover {
  padding-right: 40px;
}
.buy.waiting {
  opacity: 0.85;
  pointer-events: none;
}
.more {
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  opacity: 0.92;
  transition: opacity 0.2s;
}
.more::after {
  content: " ↓";
}
.more:hover {
  opacity: 1;
}

/* ---------- the first screen ---------- */

.hero {
  padding-top: calc(var(--big-h) + 26px);
  padding-bottom: 96px;
  text-align: center;
  overflow: hidden;
}
/* light spilling out of the notch */
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--big-h) * 0.4);
  width: min(1100px, 170vw);
  height: min(calc(70 * var(--vh)), 640px);
  translate: -50% 0;
  background: radial-gradient(closest-side, rgb(255 222 196 / 0.5), rgb(255 200 160 / 0.14) 55%, transparent);
  pointer-events: none;
  z-index: -1;
}
.hero-in {
  position: relative;
}
.hero .lead {
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}
.hero .fine {
  opacity: 0.9;
}
.next {
  position: absolute;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / 0.5);
  transition: border-color 0.2s, translate 0.3s var(--spring);
}
.next:hover {
  border-color: #fff;
  translate: -50% 3px;
}
.next i {
  width: 10px;
  height: 10px;
  margin-top: -4px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  rotate: 45deg;
}

/* ---------- the film's screen ---------- */

.film {
  padding: 18px 16px;
  scroll-snap-stop: always;
}
.player {
  width: min(1180px, 100%, calc((calc(100 * var(--vh)) - 96px) * 1.6));
  margin: 0 auto;
}
.player .rec {
  margin: 0;
  width: 100%;
}


/* ================= the Mac recording ================= */


.rec {
  position: relative;
  width: min(1120px, 100%);
  margin: clamp(56px, calc(9 * var(--vh)), 96px) auto 0;
}
.rec-view {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.5), 0 0 0 9px #111, 0 0 0 10px rgb(255 255 255 / 0.12),
    0 50px 120px -30px rgb(70 20 0 / 0.65);
  isolation: isolate;
}
.cam {
  position: absolute;
  left: 0;
  top: 0;
  width: 1280px;
  height: 800px;
  transform-origin: 0 0;
  transition: transform 1.25s var(--ease);
  will-change: transform;
}
.desk {
  position: relative;
  width: 1280px;
  height: 800px;
  overflow: hidden;
  font-family: var(--sans);
  color: #fff;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.wallpaper {
  position: absolute;
  inset: 0;
  background: #120d1f;
  overflow: hidden;
}
/* menu bar, split by the notch */
.menubar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-size: 13.5px;
  background: rgb(20 14 30 / 0.28);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  z-index: 3;
}
.mb-l,
.mb-r {
  display: flex;
  align-items: center;
  gap: 20px;
}
.mb-l b {
  font-weight: 700;
}
.mb-l span,
.mb-r span {
  opacity: 0.92;
}
.apple {
  width: 14px;
  height: 17px;
  fill: #fff;
  margin-top: -2px;
}
.hw-notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: 190px;
  height: 32px;
  transform: translateX(-50%);
  background: #000;
  border-radius: 0 0 12px 12px;
  z-index: 4;
}

/* windows */
.win {
  position: absolute;
  left: 120px;
  top: 64px;
  width: 1040px;
  height: 690px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 0.5px rgb(255 255 255 / 0.18), 0 30px 90px rgb(0 0 0 / 0.55);
  transition: transform 0.55s var(--ease), opacity 0.45s ease;
  z-index: 1;
}
.win.back {
  transform: scale(0.97) translateY(6px);
  opacity: 0;
  pointer-events: none;
}
.tb {
  position: relative;
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 18px;
  background: #2b2a30;
  border-bottom: 1px solid #1a191d;
  font-size: 13px;
  color: #d8d8de;
}
.lights {
  display: flex;
  gap: 8px;
  margin-right: 22px;
}
.lights i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}
.lights i:nth-child(2) {
  background: #febc2e;
}
.lights i:nth-child(3) {
  background: #28c840;
}
.tb-scheme b,
.jump b {
  margin: 0 7px;
  font-weight: 400;
  opacity: 0.5;
}
.tb-status {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  padding: 6px 18px;
  border-radius: 7px;
  background: #1f1e23;
  font-size: 12px;
  color: #9d9ca4;
}
.tb-status b {
  color: #e6e6eb;
  font-weight: 500;
}
.x-body {
  display: flex;
  height: calc(100% - 52px);
}
.nav {
  width: 230px;
  padding: 12px 10px;
  background: #242328;
  border-right: 1px solid #1a191d;
  font-size: 13px;
  color: #d2d2d8;
}
.nav p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 5px 10px 5px 28px;
  border-radius: 6px;
}
.nav .nav-root {
  padding-left: 10px;
  font-weight: 600;
}
.nav .on {
  background: #3d3c45;
  color: #fff;
}
.editor {
  flex: 1;
  min-width: 0;
  background: #1f1f24;
}
.tabs {
  display: flex;
  height: 32px;
  background: #252429;
  border-bottom: 1px solid #1a191d;
  font-size: 12.5px;
  color: #9d9ca4;
}
.tabs span {
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-right: 1px solid #1a191d;
}
.tabs .on {
  background: #1f1f24;
  color: #f2f2f6;
}
.jump {
  margin: 0;
  padding: 7px 18px;
  font-size: 12px;
  color: #8f8e97;
  border-bottom: 1px solid #29282e;
}
.code {
  margin: 0;
  padding: 14px 0;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 21px;
  color: #e9e9ee;
  white-space: pre;
}
.code .ln {
  display: inline-block;
  width: 52px;
  padding-right: 16px;
  text-align: right;
  color: #5d5c66;
}
.code .cur {
  display: block;
  background: #2a2a31;
}
.k {
  color: #fc5fa3;
  font-weight: 600;
}
.t {
  color: #5dd8ff;
}
.f {
  color: #67b7a4;
}
.n {
  color: #d0bf69;
}
.c {
  color: #7f8c98;
}
.m {
  color: #a167e6;
}
.caret {
  display: inline-block;
  width: 2px;
  height: 17px;
  margin-bottom: -3px;
  background: #fff;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Safari on YouTube Shorts */
.url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 420px;
  padding: 7px 0;
  border-radius: 8px;
  background: #1d1c21;
  color: #e6e6eb;
}
.yt {
  display: flex;
  height: calc(100% - 52px);
  background: #0f0f0f;
}
.yt-rail {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 26px;
  width: 76px;
  padding: 24px 0;
}
.yt-stage {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding-right: 76px;
}
.short {
  position: relative;
  width: 330px;
  height: 588px;
  border-radius: 16px;
  overflow: hidden;
  background: #222;
}
.clip {
  position: absolute;
  inset: 0;
  background: #2a1a3c;
}
.clip.next {
  animation: next 0.75s var(--ease);
}
@keyframes next {
  0% {
    transform: translateY(0);
  }
  49% {
    transform: translateY(-100%);
  }
  51% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}
.short-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 80px 16px 20px;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.65));
  font-size: 13.5px;
}
.av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ffd1a6, #ff7a59);
}
.short-meta .sub {
  margin-left: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: #0f0f0f;
  font-size: 12.5px;
  font-weight: 600;
}
.short-meta p {
  width: 100%;
  margin: 2px 0 0;
}
.short-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgb(255 255 255 / 0.25);
}
.short-bar i {
  display: block;
  width: 0;
  height: 100%;
  background: #ff0033;
}
.yt-actions {
  display: grid;
  gap: 18px;
  align-self: flex-end;
  padding-bottom: 20px;
  font-size: 12px;
  text-align: center;
  color: #f1f1f1;
}
.yt-actions i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: #272727;
}
.dimmer {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.4s ease;
}
.dimmer.on {
  opacity: 0.6;
}

/* the app's island, grown out of the notch */
.d-isl {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  width: 358px;
  transform: translateX(-50%);
  background: #000;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  font-family: var(--round);
  transition: width 0.6s var(--spring), border-radius 0.6s var(--spring), box-shadow 0.4s ease;
}
.d-isl.wide {
  width: 390px;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.6);
}
.d-top {
  display: flex;
  align-items: center;
  height: 32px;
}
.d-wing {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.d-gap {
  flex: 0 0 190px;
}
.d-word {
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.d-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--spring);
}
.d-isl.wide .d-body {
  grid-template-rows: 1fr;
}
.d-inner {
  overflow: hidden;
  min-height: 0;
}
.d-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 6px 22px 22px;
  animation: rise 0.55s ease both 0.12s;
}
@keyframes rise {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(-10px) scale(0.94);
  }
}
.d-card .face {
  flex: none;
  width: 72px;
  height: 72px;
}
.d-text {
  flex: 1;
  min-width: 0;
}
.d-title {
  margin: 0;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.15;
}
.d-line {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.35;
  color: #a1a1a6;
}
.d-from {
  margin: 0 0 2px;
  font-size: 12.5px;
  font-weight: 650;
  color: #a1a1a6;
}
.d-row {
  display: flex;
  justify-content: space-between;
  margin: 4px 0 0;
  font-size: 13.5px;
  font-weight: 650;
}
.d-row.g,
.d-isl .t-green {
  color: var(--green);
}
.d-row.a {
  color: var(--amber);
}
.d-isl .t-red {
  color: var(--red);
}
.d-btns {
  display: flex;
  gap: 8px;
  margin: 12px 0 0;
}
.d-btns span {
  flex: 1;
  padding: 9px 0;
  border-radius: 11px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  background: #1c1c1e;
  border: 1px solid #333;
}
.d-btns .main {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.wave {
  display: flex;
  gap: 3px;
  align-items: center;
  height: 26px;
  margin: 6px 0 0;
}
.wave i {
  width: 3.5px;
  border-radius: 3px;
  background: var(--green);
  animation: wave 0.9s ease-in-out infinite;
}
.wave i:nth-child(2n) {
  animation-delay: -0.3s;
}
.wave i:nth-child(3n) {
  animation-delay: -0.6s;
}
@keyframes wave {
  0%,
  100% {
    height: 22%;
  }
  50% {
    height: 100%;
  }
}

/* the cover at a strike */
.cover {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 0.93);
  font-family: var(--round);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s 0.4s;
}
.cover.on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
}
.cover .face {
  width: 210px;
  height: 210px;
  transform: translateY(-380px) scale(0.3);
  transition: transform 0.8s var(--spring) 0.1s;
}
.cover.on .face {
  transform: none;
}
.cv-title {
  margin: 14px 0 0;
  font-size: 36px;
  font-weight: 750;
}
.cv-line {
  margin: 10px 0 0;
  font-size: 16px;
  color: #a1a1a6;
}
.cv-btns {
  display: flex;
  gap: 12px;
  margin: 26px 0 0;
}
.cv-btns span {
  min-width: 170px;
  padding: 13px 0;
  border-radius: 999px;
  border: 1px solid #3a3a3c;
  text-align: center;
  font-size: 15px;
  font-weight: 650;
  transition: transform 0.2s ease, filter 0.2s;
}
.cv-btns .main {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.cv-sos {
  margin: 20px 0 0;
  font-size: 13px;
  color: #6e6e73;
}
.pressed {
  transform: scale(0.94);
  filter: brightness(0.85);
}

.pointer {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9;
  width: 22px;
  height: 29px;
  fill: #000;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.4));
  transition: transform 1.1s var(--ease);
}
.pointer.click {
  animation: click 0.3s ease;
}
@keyframes click {
  50% {
    scale: 0.85;
  }
}
.confetti {
  position: absolute;
  left: 640px;
  top: 90px;
  z-index: 7;
  pointer-events: none;
}
.confetti i {
  position: absolute;
  width: 8px;
  height: 13px;
  border-radius: 2px;
  animation: burst 1.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes burst {
  to {
    transform: translate(var(--x), var(--y)) rotate(var(--r));
    opacity: 0;
  }
}
/* the site's own pixel cursors: an arrow, a hand with an orange cuff, a text beam */
html {
  cursor: url(/c/arrow.png?v=2) 3 2, auto;
  cursor: -webkit-image-set(url(/c/arrow.png?v=2) 1x, url(/c/arrow-2x.png?v=2) 2x) 3 2, auto;
  cursor: image-set(url(/c/arrow.png?v=2) 1x, url(/c/arrow-2x.png?v=2) 2x) 3 2, auto;
}
h1,
h2,
h3,
p,
li,
dt,
dd {
  cursor: url(/c/text.png?v=2) 12 12, text;
  cursor: -webkit-image-set(url(/c/text.png?v=2) 1x, url(/c/text-2x.png?v=2) 2x) 12 12, text;
  cursor: image-set(url(/c/text.png?v=2) 1x, url(/c/text-2x.png?v=2) 2x) 12 12, text;
}
a,
a *,
button,
button *,
summary,
summary *,
.chapters li,
.chapters li * {
  cursor: url(/c/hand.png?v=2) 10 2, pointer;
  cursor: -webkit-image-set(url(/c/hand.png?v=2) 1x, url(/c/hand-2x.png?v=2) 2x) 10 2, pointer;
  cursor: image-set(url(/c/hand.png?v=2) 1x, url(/c/hand-2x.png?v=2) 2x) 10 2, pointer;
}

/* a scrollbar shaped like the notch: flat on top, round below */
html {
  scrollbar-width: thin;
  scrollbar-color: rgb(29 20 16 / 0.55) transparent;
}
::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgb(29 20 16 / 0.6) padding-box;
  border: 3px solid transparent;
  border-radius: 2px 2px 8px 8px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #000;
}
::selection {
  background: #000;
  color: #fff;
}

/* the film: chapters under it, one line of help, a sound switch on it */
.chapters {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
}
.chapters li {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.chapters li:hover,
.chapters li.on {
  opacity: 1;
}
.chapters i {
  display: block;
  height: 3px;
  margin-bottom: 9px;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.3);
  overflow: hidden;
}
.chapters i b {
  display: block;
  width: 0;
  height: 100%;
  background: #fff;
}
.chapters li.done i b {
  width: 100%;
}
.sound {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px 8px 10px;
  border: 0;
  border-radius: 999px;
  background: rgb(20 20 22 / 0.72);
  color: #fff;
  font: 600 13px var(--sans);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s var(--spring), background 0.2s;
}
.sound:hover {
  transform: scale(1.05);
}
.sound svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sound .spk {
  fill: #fff;
  stroke: none;
}
.sound .waves {
  display: none;
}
.sound[aria-pressed="true"] .waves {
  display: block;
}
.sound[aria-pressed="true"] .mute {
  display: none;
}

/* inside the recording: one face only when the notch opens */
.d-isl .d-top .d-wing {
  transition: opacity 0.25s ease;
}
.d-isl.wide .d-top .d-wing {
  opacity: 0;
}
.win {
  height: 640px;
}
.dock {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.16);
  box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.3);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
}
.dock b {
  width: 1px;
  height: 40px;
  background: rgb(255 255 255 / 0.3);
}
.switcher {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  background: rgb(30 30 34 / 0.78);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 20px 60px rgb(0 0 0 / 0.5);
  transform: translate(-50%, -50%) scale(0.92);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.3s var(--spring);
}
.switcher.on {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.ring {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 8;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.9);
  background: rgb(255 255 255 / 0.18);
  opacity: 0;
  pointer-events: none;
}
.ring.on {
  animation: ring 0.55s ease-out;
}
@keyframes ring {
  0% {
    opacity: 1;
    transform: scale(0.4);
  }
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}
.pin {
  position: absolute;
  left: 50%;
  top: 46px;
  z-index: 5;
  margin: 0;
  padding: 8px 13px;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font: 600 14px var(--sans);
  white-space: nowrap;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.35);
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 0.35s ease, transform 0.5s var(--spring);
}
.pin::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: #fff;
  border-radius: 2px;
  transform: rotate(45deg);
}
.pin.on {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* ================= the recording, made of the real things =================
   App icons, file icons and Apple's symbols are taken from a Mac (scripts/make-real.swift),
   YouTube's own logo, its icon set, the Sonoma wallpaper, and real free-licence clips. */

/* Apple's symbols and the icon set: each one a mask the text colour fills */
.sym,
.mi {
  display: inline-block;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}
.mi {
  width: 24px;
  height: 24px;
}
.s-arrow-clockwise {
  --m: url(/r/sf-arrow-clockwise.webp);
  width: 13.7px;
  height: 16.3px;
}
.s-battery-100percent {
  --m: url(/r/sf-battery-100percent.webp);
  width: 25.7px;
  height: 12.0px;
}
.s-battery-75percent {
  --m: url(/r/sf-battery-75percent.webp);
  width: 25.7px;
  height: 12.0px;
}
.s-cellularbars {
  --m: url(/r/sf-cellularbars.webp);
  width: 23.7px;
  height: 16.0px;
}
.s-checkmark-circle-fill {
  --m: url(/r/sf-checkmark-circle-fill.webp);
  width: 14.0px;
  height: 13.7px;
}
.s-chevron-down {
  --m: url(/r/sf-chevron-down.webp);
  width: 11.3px;
  height: 7.0px;
}
.s-chevron-left {
  --m: url(/r/sf-chevron-left.webp);
  width: 11.3px;
  height: 15.7px;
}
.s-chevron-right {
  --m: url(/r/sf-chevron-right.webp);
  width: 11.3px;
  height: 15.7px;
}
.s-exclamationmark-triangle-fill {
  --m: url(/r/sf-exclamationmark-triangle-fill.webp);
  width: 14.7px;
  height: 13.0px;
}
.s-folder-fill {
  --m: url(/r/sf-folder-fill.webp);
  width: 18.0px;
  height: 13.3px;
}
.s-hammer-fill {
  --m: url(/r/sf-hammer-fill.webp);
  width: 17.0px;
  height: 15.7px;
}
.s-lock-fill {
  --m: url(/r/sf-lock-fill.webp);
  width: 10.3px;
  height: 12.3px;
}
.s-magnifyingglass {
  --m: url(/r/sf-magnifyingglass.webp);
  width: 16.7px;
  height: 15.7px;
}
.s-play-fill {
  --m: url(/r/sf-play-fill.webp);
  width: 13.3px;
  height: 14.3px;
}
.s-plus {
  --m: url(/r/sf-plus.webp);
  width: 16.0px;
  height: 14.3px;
}
.s-shield-lefthalf-filled {
  --m: url(/r/sf-shield-lefthalf-filled.webp);
  width: 14.0px;
  height: 14.7px;
}
.s-sidebar-left {
  --m: url(/r/sf-sidebar-left.webp);
  width: 21.0px;
  height: 15.7px;
}
.s-sidebar-right {
  --m: url(/r/sf-sidebar-right.webp);
  width: 21.0px;
  height: 15.7px;
}
.s-square-and-arrow-up {
  --m: url(/r/sf-square-and-arrow-up.webp);
  width: 17.0px;
  height: 19.7px;
}
.s-square-on-square {
  --m: url(/r/sf-square-on-square.webp);
  width: 19.3px;
  height: 17.7px;
}
.s-stop-fill {
  --m: url(/r/sf-stop-fill.webp);
  width: 14.7px;
  height: 13.3px;
}
.s-switch-2 {
  --m: url(/r/sf-switch-2.webp);
  width: 16.7px;
  height: 15.0px;
}
.s-wifi {
  --m: url(/r/sf-wifi.webp);
  width: 19.7px;
  height: 14.3px;
}
.mi-account_circle {
  --m: url(/r/mi-account_circle.svg);
}
.mi-add {
  --m: url(/r/mi-add.svg);
}
.mi-arrow_downward {
  --m: url(/r/mi-arrow_downward.svg);
}
.mi-arrow_upward {
  --m: url(/r/mi-arrow_upward.svg);
}
.mi-comment {
  --m: url(/r/mi-comment.svg);
}
.mi-home {
  --m: url(/r/mi-home.svg);
}
.mi-menu {
  --m: url(/r/mi-menu.svg);
}
.mi-mic {
  --m: url(/r/mi-mic.svg);
}
.mi-more_vert {
  --m: url(/r/mi-more_vert.svg);
}
.mi-notifications {
  --m: url(/r/mi-notifications.svg);
}
.mi-search {
  --m: url(/r/mi-search.svg);
}
.mi-share {
  --m: url(/r/mi-share.svg);
}
.mi-subscriptions {
  --m: url(/r/mi-subscriptions.svg);
}
.mi-thumb_down {
  --m: url(/r/mi-thumb_down.svg);
}
.mi-thumb_up {
  --m: url(/r/mi-thumb_up.svg);
}

.s-swift {
  --m: url(/r/sf-swift.webp);
  width: 15.7px;
  height: 14.0px;
  color: #f05138;
}

.wallpaper {
  background: #3a5bc7 url(/r/wall-sonoma.webp) center / cover;
}

/* macOS 26: no bar of its own, white type straight on the wallpaper */
.menubar {
  height: 32px;
  padding: 0 16px 0 22px;
  font-size: 13px;
  font-weight: 500;
  background: linear-gradient(rgb(0 0 0 / 0.16), transparent);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-shadow: 0 0 8px rgb(0 0 0 / 0.25);
}
.mb-l,
#mb-menus {
  display: flex;
  align-items: center;
  gap: 19px;
}
.mb-l span,
.mb-r span {
  opacity: 1;
}
.mb-r {
  gap: 17px;
}
.mb-r .sym {
  color: #fff;
}

/* windows: macOS 26 corners, dark appearance */
.win {
  border-radius: 16px;
  box-shadow: 0 0 0 0.5px rgb(255 255 255 / 0.22), 0 0 0 1px rgb(0 0 0 / 0.5), 0 34px 90px rgb(0 0 0 / 0.5);
}
.tb {
  gap: 0;
  height: 52px;
  padding: 0 16px 0 18px;
  background: #29282d;
  border-bottom: 1px solid #141416;
  color: #c9c9ce;
}
.lights {
  margin-right: 26px;
}
.tb > .s-sidebar-left {
  margin-right: 24px;
}
.tb-run {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-right: 26px;
}
.tb-scheme {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #e5e5ea;
}
.tb-scheme img,
.nav img,
.tabs img,
.jump img {
  width: 16px;
  height: 16px;
}
.tb-scheme .s-chevron-right,
.jump .s-chevron-right {
  width: 6px;
  height: 10px;
  color: #77767e;
}
.tb-status {
  gap: 10px;
  align-items: center;
  padding: 6px 16px;
  border-radius: 8px;
  background: #1c1c1f;
  box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.08);
}
.tb-end {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.tb-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.tb-nav .sym:last-child {
  opacity: 0.35;
}

/* Xcode's file list and editor */
.nav {
  width: 236px;
  padding: 10px 8px;
  background: #222125;
}
.nav p {
  gap: 7px;
  height: 24px;
  padding: 0 8px 0 40px;
  font-size: 13px;
}
.nav .nav-root {
  padding-left: 8px;
  font-weight: 600;
}
.nav .nav-dir {
  padding-left: 10px;
}
.nav-dir .s-chevron-down {
  width: 9px;
  height: 6px;
  margin-right: 3px;
  color: #8e8e93;
}
.nav-dir .s-folder-fill,
.jump .s-folder-fill {
  width: 16px;
  height: 13px;
  color: #5aa4ff;
}
.nav .on {
  background: #3a393f;
}
.tabs {
  gap: 4px;
  height: 34px;
  padding: 4px 6px;
  background: #252429;
}
.tabs span {
  gap: 7px;
  padding: 0 14px;
  border-right: 0;
  border-radius: 7px;
}
.tabs .on {
  background: #38373d;
}
.jump {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
}
.jump .fn {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: #4f7cff;
  color: #fff;
  font: 700 10px var(--sans);
  font-style: normal;
}

/* Safari */
.url {
  gap: 8px;
  width: 44%;
  height: 32px;
  padding: 0 36px;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.08);
  font-size: 13px;
}
.url img {
  width: 17px;
  height: 12px;
}
.url .s-arrow-clockwise {
  position: absolute;
  right: 12px;
  color: #a1a1a6;
}

/* YouTube Shorts, dark, as youtube.com draws it */
.yt {
  display: block;
  background: #0f0f0f;
  font-family: Roboto, var(--sans);
}
.yt-top {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 56px;
  padding: 0 18px 0 22px;
  color: #f1f1f1;
}
.yt-logo {
  width: 90px;
  height: 20px;
}
.yt-search {
  display: flex;
  flex: 0 1 420px;
  height: 38px;
  margin-left: auto;
}
.yt-search > span {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid #303030;
  border-right: 0;
  border-radius: 40px 0 0 40px;
  background: #121212;
  color: #888;
  font-size: 15px;
}
.yt-search i {
  display: grid;
  place-items: center;
  width: 62px;
  border: 1px solid #303030;
  border-radius: 0 40px 40px 0;
  background: #222;
}
.yt-mic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-right: auto;
  border-radius: 50%;
  background: #272727;
}
.yt-me {
  display: flex;
  align-items: center;
  gap: 18px;
}
.yt-create {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 14px 0 8px;
  border-radius: 18px;
  background: #272727;
  font-size: 14px;
  font-weight: 500;
}
.yt-me b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #6d4aa1;
  font-size: 14px;
  font-weight: 500;
}
.yt-main {
  display: flex;
  height: calc(100% - 56px);
}
.yt-rail {
  display: grid;
  align-content: start;
  gap: 0;
  width: 72px;
  padding: 4px 4px 0;
}
.yt-rail p {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 0;
  padding: 16px 0 14px;
  border-radius: 10px;
  font-size: 10px;
  color: #f1f1f1;
}
.yt-rail img {
  width: 24px;
  height: 24px;
}
.yt-stage {
  flex: 1;
  gap: 14px;
  padding: 0 0 16px;
  align-items: center;
}
.short {
  width: 274px;
  height: 488px;
  border-radius: 12px;
  background: #000;
}
.clip {
  background: #000;
}
.clip video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.clip video.on {
  opacity: 1;
}
.short-meta {
  gap: 8px;
  padding: 90px 14px 18px;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.7));
  font-size: 14px;
}
.av {
  width: 26px;
  height: 26px;
  background: #3a6ea5;
}
.short-meta .sub {
  padding: 6px 12px;
  font-size: 12px;
}
.short-meta p {
  font-size: 14px;
}
.short-bar {
  height: 2px;
}
.yt-actions {
  gap: 14px;
  padding-bottom: 4px;
}
.yt-actions i {
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  color: #f1f1f1;
}
.yt-actions em {
  font-style: normal;
}
.yt-arrows {
  display: grid;
  align-content: center;
  gap: 14px;
  padding-right: 22px;
}
.yt-arrows i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #272727;
  color: #f1f1f1;
}

/* the Dock: glass, real icons, a dot under each app that's open */
.dock {
  bottom: 7px;
  gap: 4px;
  padding: 5px 6px;
  border-radius: 22px;
  background: rgb(255 255 255 / 0.18);
  box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.45), 0 10px 30px rgb(0 0 0 / 0.18);
}
.dock i {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
}
.dock img {
  display: block;
  width: 100%;
  height: 100%;
}
.dock .run::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.85);
}
.dock b {
  height: 44px;
  margin: 0 4px;
  background: rgb(255 255 255 / 0.35);
}

/* Command-Tab */
.switcher {
  gap: 4px;
  padding: 14px;
  border-radius: 28px;
  background: rgb(36 36 40 / 0.72);
  box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.25), 0 24px 70px rgb(0 0 0 / 0.45);
}
.switcher figure {
  position: relative;
  margin: 0;
  padding: 10px 10px 30px;
  border-radius: 18px;
}
.switcher img {
  display: block;
  width: 96px;
  height: 96px;
}
.switcher .on {
  background: rgb(255 255 255 / 0.16);
}
.switcher figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}
.switcher figure:not(.on) {
  padding-bottom: 30px;
}

/* the iPhone's status bar */
.ip-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

/* the helper line sits in the recording, like subtitles */
.rec-view .cap {
  position: absolute;
  left: 50%;
  bottom: 12.5%;
  z-index: 4;
  width: max-content;
  max-width: min(74%, 640px);
  margin: 0;
  padding: 0.5em 0.95em 0.55em;
  transform: translateX(-50%);
  border-radius: 0.8em;
  background: rgb(12 12 14 / 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.3);
  color: #fff;
  font: 600 clamp(12.5px, 1.65vw, 19px) / 1.3 var(--sans);
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
  pointer-events: none;
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.45s var(--spring);
}
.rec-view .cap.out {
  opacity: 0;
  filter: blur(4px);
  transform: translate(-50%, 6px);
}
@media (max-width: 720px) {
  .rec-view .cap {
    bottom: 12px;
    max-width: calc(100% - 128px);
    padding: 0.45em 0.75em 0.5em;
  }
}

.xcode .tb-status {
  left: 61%;
}
.short {
  width: 264px;
  height: 470px;
}
.yt-actions {
  gap: 10px;
}
.yt-actions i {
  width: 44px;
  height: 44px;
}
.rec-view .cap {
  bottom: 3.5%;
}
.short-meta {
  gap: 6px;
  font-size: 13px;
}
.short-meta .sub {
  padding: 5px 10px;
  font-size: 11.5px;
}
@media (max-width: 720px) {
  .rec-view .cap {
    bottom: 8px;
    max-width: calc(100% - 60px);
    padding: 0.4em 0.7em 0.45em;
    border-radius: 0.7em;
    font-size: 11.5px;
  }
  .sound {
    right: 8px;
    bottom: 8px;
    padding: 6px;
  }
  .sound svg {
    width: 15px;
    height: 15px;
  }
}


/* ================= the film, finished ================= */

.wallpaper {
  background: #4a5ff0 url(/r/wall.webp) center / cover;
}
.rec-view {
  border-radius: 18px;
}
/* the helper line: big, clear subtitles inside the film */
.rec-view .cap {
  position: absolute;
  left: 50%;
  bottom: 4.5%;
  z-index: 4;
  width: max-content;
  max-width: min(82%, 760px);
  margin: 0;
  padding: 0.5em 0.95em 0.56em;
  translate: -50% 0;
  transform: none;
  border-radius: 0.7em;
  background: rgb(8 8 10 / 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 12px 34px rgb(0 0 0 / 0.35), inset 0 0 0 0.5px rgb(255 255 255 / 0.14);
  color: #fff;
  font: 650 clamp(15px, 2.05vw, 25px) / 1.25 var(--sans);
  letter-spacing: -0.015em;
  text-align: center;
  text-wrap: balance;
  pointer-events: none;
  transition: opacity 0.28s ease, filter 0.28s ease, translate 0.5s var(--spring);
}
.rec-view .cap.out {
  opacity: 0;
  filter: blur(4px);
  translate: -50% 8px;
  transform: none;
}
.sound {
  top: 14px;
  right: 14px;
  bottom: auto;
  padding: 9px 14px 9px 11px;
  font: 600 14px var(--sans);
}
.sound[aria-pressed="true"] {
  background: rgb(255 255 255 / 0.92);
  color: #000;
}
.sound[aria-pressed="true"] svg {
  stroke: #000;
}
.sound[aria-pressed="true"] .spk {
  fill: #000;
}
/* until the faces are in, the film waits on its first frame */
.rec-view::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  background: rgb(0 0 0 / 0.25);
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.faces .rec-view::after {
  opacity: 0;
}

/* the island's cards: a face, the words, and something on the right, so it sits centred */
.d-isl.wide {
  width: 430px;
}
.d-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 4px 26px 24px 20px;
}
.d-card .face {
  width: 70px;
  height: 70px;
}
.d-card .face.bust {
  width: 76px;
  height: auto;
  align-self: end;
  margin-bottom: -24px;
}
.d-end {
  display: grid;
  justify-items: end;
  gap: 2px;
  font-size: 13px;
  font-weight: 650;
  color: #8e8e93;
  white-space: nowrap;
}
.d-end b {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.d-end .t-green,
.d-isl .t-green {
  color: var(--green);
}
.d-end .t-amber {
  color: var(--amber);
}
.d-end .t-red,
.d-isl .t-red {
  color: var(--red);
}
.d-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(255 90 79 / 0.16);
  color: var(--red);
}
.d-icon .sym {
  width: 15px;
  height: 18px;
}
.d-card.full {
  grid-template-columns: auto minmax(0, 1fr);
}
.d-card.full .d-btns {
  grid-column: 1 / -1;
  margin-top: 4px;
}
.d-title {
  font-size: 21px;
}
.d-from {
  font-size: 13px;
}
.d-line {
  font-size: 14px;
}

/* chapters under the film */
.chapters {
  margin: 18px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}
.chapters li {
  opacity: 0.62;
}

/* ---------- how it works ---------- */

.how .wrap {
  display: grid;
  justify-items: center;
  text-align: center;
}
.how h2 {
  max-width: 15ch;
}
.states {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
  width: 100%;
  margin: clamp(36px, calc(6 * var(--vh)), 64px) 0 0;
  padding: 0;
  text-align: left;
}
.states li {
  display: grid;
  align-content: start;
  gap: 10px;
}
/* the top of a Mac's screen, with the notch hanging in it */
.scr {
  position: relative;
  height: 112px;
  margin-bottom: 10px;
  border-radius: 20px;
  background: #4a5ff0 url(/r/wall.webp) center 62% / cover;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.06), 0 18px 40px -22px rgb(60 20 0 / 0.5);
  overflow: hidden;
}
.mini {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  display: grid;
  grid-template-columns: 1fr 112px 1fr;
  place-items: center;
  width: 286px;
  height: 40px;
  border-radius: 0 0 17px 17px;
  background: #000;
  font-family: var(--round);
}
.mini .face {
  width: 30px;
  height: 30px;
}
.mini b {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.states p {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ---------- the friend ---------- */

.friend-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.friend-copy h2 {
  max-width: 13ch;
}

.iphone {
  --ph: min(calc(78 * var(--vh)), 680px);
  position: relative;
  justify-self: center;
  width: calc(var(--ph) * 0.4885);
  padding: calc(var(--ph) * 0.016);
  border-radius: calc(var(--ph) * 0.083);
  background: linear-gradient(145deg, #3a3a3e, #1a1a1c 40%, #2a2a2d);
  box-shadow: inset 0 0 0 1.5px #57575c, inset 0 0 0 4px #0c0c0d, 0 0 0 1px rgb(0 0 0 / 0.35),
    0 60px 110px -40px rgb(60 15 0 / 0.75);
}
.iphone::before,
.iphone::after {
  content: "";
  position: absolute;
  width: 4px;
  border-radius: 2px;
  background: #2b2b2e;
}
.iphone::before {
  left: -3px;
  top: 22%;
  height: 11%;
  box-shadow: 0 calc(var(--ph) * 0.14) 0 #2b2b2e;
}
.iphone::after {
  right: -3px;
  top: 28%;
  height: 15%;
}
.ip-view {
  position: relative;
  width: 100%;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border-radius: calc(var(--ph) * 0.068);
  background: #000;
}
.ip-screen {
  position: absolute;
  left: 0;
  top: 0;
  width: 390px;
  height: 844px;
  transform-origin: 0 0;
  overflow: hidden;
  background: #000;
  font-family: var(--sans);
  color: #fff;
}
.ip-bar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  padding: 6px 30px 0 50px;
  font-size: 17px;
  font-weight: 600;
}
.ip-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ip-island {
  position: absolute;
  top: 11px;
  left: 50%;
  z-index: 11;
  width: 124px;
  height: 36px;
  translate: -50% 0;
  border-radius: 20px;
  background: #000;
}
.ip-home {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 12;
  width: 136px;
  height: 5px;
  translate: -50% 0;
  border-radius: 3px;
  background: #fff;
}

/* the lock screen */
.ip-lock {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(0 0 0 / 0.25), transparent 40%, rgb(0 0 0 / 0.35)),
    #3b2bb8 url(/r/wall.webp) 58% center / auto 100%;
  transition: opacity 0.5s ease, scale 0.6s var(--out), filter 0.5s ease;
}
.ip-date,
.ip-clock {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
}
.ip-date {
  top: 78px;
  font-size: 21px;
  font-weight: 600;
  color: rgb(255 255 255 / 0.9);
}
.ip-clock {
  top: 100px;
  font-family: var(--round);
  font-size: 112px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgb(255 255 255 / 0.96);
}
.ip-push {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 300px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 52px;
  gap: 11px;
  align-items: center;
  padding: 13px 13px 13px 14px;
  border-radius: 26px;
  background: rgb(30 22 40 / 0.5);
  -webkit-backdrop-filter: blur(26px) saturate(1.8);
  backdrop-filter: blur(26px) saturate(1.8);
  box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.22), 0 14px 40px rgb(0 0 0 / 0.3);
  opacity: 0;
  translate: 0 60px;
  scale: 0.92;
  transition: opacity 0.35s ease, translate 0.7s var(--spring), scale 0.7s var(--spring);
}
.ip-push.on {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}
.ip-push.pressed {
  scale: 0.96;
  transition-duration: 0.15s;
}
.ip-app {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: url(/favicon.svg?v=3) center / cover;
}
.ip-push-text {
  display: grid;
  min-width: 0;
  font-size: 15px;
  line-height: 1.3;
}
.ip-push-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgb(255 255 255 / 0.62);
}
.ip-push-head b {
  font-weight: 500;
}
.ip-push-head em {
  font-style: normal;
}
.ip-push-text > b {
  margin-top: 1px;
  font-weight: 650;
}
.ip-push-text > span:last-child {
  color: rgb(255 255 255 / 0.85);
}
.ip-push-pic {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #0f0f0f url(/r/short-corgi.webp) center / 40% auto no-repeat;
  box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.2);
}
.ip-lock-btn {
  position: absolute;
  bottom: 44px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.32);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.ip-lock-btn.l {
  left: 46px;
}
.ip-lock-btn.r {
  right: 46px;
}
.s-flashlight-off-fill {
  --m: url(/r/sf-flashlight-off-fill.webp);
  width: 11.7px;
  height: 21px;
}
.s-camera-fill {
  --m: url(/r/sf-camera-fill.webp);
  width: 23.3px;
  height: 17.3px;
}
.s-checkmark {
  --m: url(/r/sf-checkmark.webp);
  width: 14px;
  height: 12.7px;
}

/* the friend's page */
.ip-page {
  position: absolute;
  inset: 0;
  padding: 66px 16px 0;
  background: #0b0b0c;
  font-family: var(--round);
  opacity: 0;
  scale: 0.9;
  translate: 0 50px;
  border-radius: 46px;
  transition: opacity 0.35s ease, scale 0.65s var(--spring), translate 0.65s var(--spring);
}
[data-scene="page"] .ip-page {
  opacity: 1;
  scale: 1;
  translate: 0 0;
}
[data-scene="page"] .ip-lock {
  opacity: 0;
  scale: 1.08;
  filter: blur(8px);
}
.ip-page p {
  margin: 0;
}
.ip-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 4px 4px 0;
}
.ip-name {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.ip-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px !important;
  padding: 7px 13px 7px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tone) 16%, transparent);
  color: var(--tone);
  font-size: 16px;
  font-weight: 700;
  transition: color 0.4s ease, background 0.4s ease;
}
.ip-state i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone) 22%, transparent);
}
.ip-me {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding-top: 4px;
}
.ip-me-notch {
  display: grid;
  place-items: center;
  width: 92px;
  height: 36px;
  border-radius: 0 0 15px 15px;
  background: #000;
  box-shadow: 0 0 0 1px #2a2a2e;
}
.ip-me-notch .face {
  width: 28px;
  height: 28px;
}
.ip-me small {
  font-size: 11.5px;
  font-weight: 600;
  color: #8e8e93;
}
.ip-today {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 16px 18px 16px 16px;
  border-radius: 28px;
  background: #19191c;
}
.ip-ring {
  position: relative;
  width: 148px;
}
.ip-ring svg {
  display: block;
  width: 100%;
  rotate: -90deg;
}
.ip-ring circle {
  fill: none;
  stroke-width: 13;
}
.ip-ring .track {
  stroke: #2a2a2e;
}
.ip-ring .fill {
  stroke: var(--green);
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 141.6;
  transition: stroke-dashoffset 1.2s var(--out);
}
.ip-ring span {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #8e8e93;
}
.ip-ring span b {
  font-size: 25px;
  font-weight: 800;
  color: #fff;
}
.ip-nums {
  display: grid;
  gap: 10px;
}
.ip-nums p {
  display: grid;
  font-size: 13px;
  font-weight: 600;
  color: #8e8e93;
}
.ip-nums b {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}
.t-green {
  color: var(--green);
}
.t-amber {
  color: var(--amber);
}
.t-red {
  color: var(--red);
}
.ip-strike {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border-radius: 24px;
  background: #19191c;
  box-shadow: inset 0 0 0 1px rgb(255 90 79 / 0.32);
  transition: opacity 0.5s ease, box-shadow 0.5s ease;
}
.ip-strike.old {
  opacity: 0.5;
  box-shadow: inset 0 0 0 1px #2a2a2e;
}
.ip-shot {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 14px;
  background: #0f0f0f;
  overflow: hidden;
}
.ip-shot i {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 30px;
  height: 52px;
  translate: -50% 0;
  border-radius: 4px;
  background: url(/r/short-corgi.webp) center / cover;
}
.ip-strike-text {
  display: grid;
  gap: 3px;
}
.ip-strike-text b {
  font-size: 17px;
  font-weight: 750;
  color: var(--red);
}
.ip-strike-text span {
  font-size: 14.5px;
  font-weight: 600;
  color: #a1a1a6;
}
.ip-answer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 16px 30px;
  background: linear-gradient(transparent, #0b0b0c 22%);
}
.ip-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.ip-chips span {
  flex: none;
  padding: 11px 15px;
  border-radius: 999px;
  background: #1c1c1f;
  box-shadow: inset 0 0 0 1px #2c2c30;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
}
.ip-talk {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 68px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  transition: background 0.3s ease, color 0.3s ease, scale 0.3s var(--spring);
}
.ip-mic {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--orange);
  transition: background 0.3s ease, scale 0.4s var(--spring);
}
.ip-mic svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.ip-mic rect {
  fill: #fff;
  stroke: none;
}
.ip-talk-text {
  font-variant-numeric: tabular-nums;
}
.ip-wave {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  height: 30px;
  padding-right: 14px;
}
.ip-wave i {
  width: 4px;
  border-radius: 2px;
  background: var(--red);
  animation: wave 0.8s ease-in-out infinite;
}
.ip-talk.talking {
  background: #1c1c1f;
  color: #fff;
  scale: 1.02;
}
.ip-talk.talking .ip-mic {
  background: var(--red);
  scale: 1.12;
}
.ip-talk.talking .ip-wave {
  display: flex;
}
.ip-toast {
  position: absolute;
  left: 50%;
  top: 62px;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 18px 7px 7px;
  border-radius: 999px;
  background: #1f1f23;
  box-shadow: inset 0 0 0 1px #34343a, 0 16px 40px rgb(0 0 0 / 0.55);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  translate: -50% -30px;
  scale: 0.9;
  transition: opacity 0.3s ease, translate 0.6s var(--spring), scale 0.6s var(--spring);
}
.ip-toast.on {
  opacity: 1;
  translate: -50% 0;
  scale: 1;
}
.ip-toast-notch {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px 0 6px;
  border-radius: 999px;
  background: #000;
}
.ip-toast-notch .face {
  width: 24px;
  height: 24px;
}
.ip-mini-wave {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 16px;
}
.ip-mini-wave i {
  width: 3px;
  border-radius: 2px;
  background: var(--green);
  animation: wave 0.7s ease-in-out infinite;
}
.ip-mini-wave i:nth-child(2n),
.ip-wave i:nth-child(2n) {
  animation-delay: -0.25s;
}
.ip-mini-wave i:nth-child(3n),
.ip-wave i:nth-child(3n) {
  animation-delay: -0.5s;
}
.iphone.buzz {
  animation: buzz 0.5s linear;
}
@keyframes buzz {
  10%,
  50%,
  90% {
    translate: -2px 0;
  }
  30%,
  70% {
    translate: 2px 0;
  }
}
.tap {
  position: absolute;
  z-index: 20;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.35);
  box-shadow: 0 0 0 1.5px rgb(255 255 255 / 0.55);
  opacity: 0;
  scale: 0.6;
  pointer-events: none;
  transition: opacity 0.2s ease, scale 0.3s ease;
}
.tap.on {
  opacity: 1;
  scale: 1;
}

/* ---------- what it sees ---------- */

.sees-in {
  display: grid;
  justify-items: center;
  text-align: center;
}
.sees h2 {
  max-width: 14ch;
}
.day {
  list-style: none;
  width: min(640px, 100%);
  margin: clamp(30px, calc(5 * var(--vh)), 52px) 0 0;
  padding: 6px 0;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 60px -34px rgb(90 40 10 / 0.45), 0 0 0 1px rgb(29 20 16 / 0.05);
  text-align: left;
}
.day li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  margin: 0 18px;
  padding: 14px 0;
}
.day li + li {
  border-top: 1px solid var(--hair);
}
.day img,
.lock-ico {
  width: 40px;
  height: 40px;
}
.day .yt-ico {
  padding: 9px 6px;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--hair);
}
.lock-ico {
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #ece6e2;
  color: #8a7f79;
}
.lock-ico .sym {
  width: 13px;
  height: 16px;
}
.day-what {
  display: grid;
  min-width: 0;
}
.day-what b {
  font-size: 17px;
  font-weight: 600;
}
.day-what small {
  overflow: hidden;
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.day-time {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.tag {
  min-width: 84px;
  padding: 6px 12px;
  border-radius: 999px;
  text-align: center;
  font-family: var(--round);
  font-size: 13.5px;
  font-weight: 700;
}
.tag.work {
  background: rgb(61 207 125 / 0.16);
  color: #138a4c;
}
.tag.waste {
  background: rgb(255 176 33 / 0.2);
  color: #a86500;
}
.tag.private {
  background: #ece6e2;
  color: #6f625b;
}
.sees-note {
  max-width: 620px;
  margin-top: clamp(24px, calc(4 * var(--vh)), 36px);
  font-size: clamp(16px, 1.6vw, 19px);
}

/* ---------- the price: one thing at a time as you scroll ---------- */

.price {
  position: relative;
  height: calc(300 * var(--vh));
  color: #fff;
  text-align: center;
}
.price-stick {
  position: sticky;
  top: 0;
  height: calc(100 * var(--vh));
  display: grid;
  place-items: center;
  padding: 60px 22px 40px;
}
.stop {
  position: absolute;
  left: 0;
  width: 1px;
  height: calc(100 * var(--vh));
  scroll-snap-align: start;
}
.stop[data-stage="0"] {
  top: 0;
}
.stop[data-stage="1"] {
  top: calc(100 * var(--vh));
}
.stop[data-stage="2"] {
  top: calc(200 * var(--vh));
}
.price-in {
  display: grid;
  justify-items: center;
}
.amount {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  font-size: clamp(120px, 21vw, 250px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.amount .was {
  position: relative;
  margin: 0.2em 0.18em 0 0;
  font-size: 0.36em;
  text-decoration: none;
  opacity: 0;
  transform: translate(var(--wx, 0), var(--wy, 0)) scale(var(--ws, 2.78));
  transition: transform 0.85s var(--spring), opacity 0.6s ease;
}
.amount .was::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -2%;
  top: 52%;
  height: 0.08em;
  border-radius: 1em;
  background: currentColor;
  scale: 0 1;
  transform-origin: left;
  transition: scale 0.45s var(--ease) 0.25s;
}
.amount .now {
  display: inline-block;
  padding: 0 0.04em;
  opacity: 0;
  scale: 0.7;
  filter: blur(14px);
  transition: opacity 0.5s ease 0.1s, scale 0.8s var(--spring) 0.1s, filter 0.6s ease 0.1s;
}
.p-12 .amount .was {
  opacity: 1;
}
.p-5 .amount .was {
  opacity: 0.6;
  transform: none;
}
.p-5 .amount .was::after {
  scale: 1 1;
}
.p-5 .amount .now {
  opacity: 1;
  scale: 1;
  filter: none;
}
.for,
.price-buy {
  opacity: 0;
  translate: 0 26px;
  filter: blur(8px);
  transition: opacity 0.6s ease, translate 0.8s var(--spring), filter 0.6s ease;
}
.for {
  margin: 22px 0 0;
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 500;
  letter-spacing: -0.025em;
}
.p-for .for,
.p-buy .price-buy {
  opacity: 1;
  translate: 0 0;
  filter: none;
}
.price-buy {
  display: grid;
  justify-items: center;
  margin-top: clamp(28px, calc(5 * var(--vh)), 44px);
}
.price .fine {
  max-width: 560px;
  margin-top: 20px;
  font-size: 14px;
}

/* ---------- questions and the footer ---------- */

.faq {
  justify-content: space-between;
  padding-bottom: 0;
}
.faq-in {
  display: grid;
  justify-items: center;
  max-width: 760px;
  margin: auto;
  text-align: center;
}
.qa {
  width: 100%;
  margin: clamp(26px, calc(4 * var(--vh)), 40px) 0 0;
  border-top: 1px solid var(--hair);
  text-align: left;
}
.qa details {
  border-bottom: 1px solid var(--hair);
}
.qa summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  list-style: none;
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 500;
  letter-spacing: -0.015em;
  cursor: pointer;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: "+";
  flex: none;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  color: var(--orange);
  transition: rotate 0.35s var(--spring);
}
.qa details[open] summary::after {
  rotate: 45deg;
}
.qa p {
  max-width: 620px;
  margin: -6px 0 18px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
}
.faq .ctas {
  margin-top: clamp(26px, calc(4 * var(--vh)), 40px);
}
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  width: 100%;
  max-width: 1180px;
  margin: 36px auto 0;
  padding: 24px 0 calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hair);
  font-size: 13px;
  color: var(--ink-2);
}
footer p {
  margin: 0;
}
footer .legal {
  display: flex;
  gap: 20px;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  color: var(--ink);
}

/* ---------- phones ---------- */

@media (max-width: 900px) {
  .friend-in {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 26px;
  }
  .friend-copy h2,
  .friend-copy .body {
    margin-left: auto;
    margin-right: auto;
  }
  .iphone {
    --ph: min(calc(52 * var(--vh)), 560px);
  }
}
@media (max-width: 760px) {
  .states {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 440px;
  }
  .states li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .scr {
    height: 60px;
    margin-bottom: 4px;
    border-radius: 16px;
  }
  .states {
    margin-top: 26px;
    gap: 18px;
  }
  .states h3 {
    font-size: 18px;
  }
  .states p {
    font-size: 15.5px;
  }
}
@media (max-width: 700px) {
  .isl {
    --wing: 86px;
    --gap: 112px;
    --bar: 38px;
  }
  .isl-wing .face {
    width: 28px;
    height: 28px;
  }
  .isl-word {
    font-size: 14px;
  }
  .screen {
    padding: 66px 18px 34px;
  }
  .hero {
    padding-top: calc(var(--big-h) + 18px);
  }
  .lead {
    font-size: 19px;
  }
  .ctas {
    gap: 16px 22px;
  }
  .film {
    padding: 12px 12px;
  }
  .player {
    width: 100%;
  }
  .rec-view {
    aspect-ratio: 4 / 5;
    border-radius: 14px;
  }
  .rec-view .cap {
    bottom: 12px;
    max-width: calc(100% - 28px);
    font-size: 15px;
  }
  .sound {
    top: 10px;
    right: 10px;
    padding: 7px;
  }
  .sound span {
    display: none;
  }
  .chapters span {
    display: none;
  }
  .day li {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 12px;
    margin: 0 14px;
    padding: 12px 0;
  }
  .day img,
  .lock-ico {
    width: 34px;
    height: 34px;
  }
  .day .yt-ico {
    padding: 8px 5px;
  }
  .day-time {
    display: none;
  }
  .tag {
    min-width: 0;
    font-size: 12.5px;
  }
  .buy.big {
    height: 64px;
    font-size: 18px;
  }
  footer {
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }
  .qa summary {
    padding: 14px 0;
    font-size: 16.5px;
  }
  .faq .ctas {
    margin-top: 22px;
  }
}
@media (max-width: 700px) and (max-height: 700px) and (hover: hover) {
  :root {
    --big-h: 132px;
  }
  .iphone {
    --ph: calc(46 * var(--vh));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* the film's sound switch: bottom right on a computer, top right on a phone */
@media (min-width: 701px) {
  .sound {
    top: auto;
    bottom: 14px;
  }
  .rec-view .cap {
    max-width: min(70%, 760px);
  }
}
/* the friend's page: today, as a short list */
.ip-list {
  margin-top: 12px;
  padding: 4px 14px;
  border-radius: 24px;
  background: #19191c;
}
.ip-list p {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 650;
}
.ip-list p + p {
  border-top: 1px solid #26262a;
}
.ip-list img,
.ip-list .ip-lock-ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.ip-list .ip-yt {
  padding: 8px 5px;
  background: #fff;
}
.ip-lock-ico {
  display: grid;
  place-items: center;
  background: #2a2a2e;
  color: #8e8e93;
}
.ip-lock-ico .sym {
  width: 10px;
  height: 12px;
}
.ip-list em {
  font-style: normal;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

/* the voice note's "sent" sits low, over the list, never over the name */
.ip-toast {
  top: auto;
  bottom: 176px;
}

/* a fine grain over the first screen, like printed paper */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.09;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* shadows stay inside their own screen */
.rec-view {
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.5), 0 0 0 9px #111, 0 0 0 10px rgb(255 255 255 / 0.12),
    0 28px 60px -34px rgb(70 20 0 / 0.7);
}
.iphone {
  box-shadow: inset 0 0 0 1.5px #57575c, inset 0 0 0 4px #0c0c0d, 0 0 0 1px rgb(0 0 0 / 0.35),
    0 34px 60px -38px rgb(60 15 0 / 0.8);
}
.friend-in {
  max-width: 1060px;
}
@media (max-width: 700px) {
  .rec-view {
    box-shadow: 0 0 0 1px rgb(0 0 0 / 0.5), 0 0 0 6px #111, 0 0 0 7px rgb(255 255 255 / 0.12),
      0 22px 40px -28px rgb(70 20 0 / 0.65);
  }
}

/* the film's own bar: the chapters, and the sound switch at the end of it */
.film-bar {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 16px;
}
.film-bar .chapters {
  flex: 1;
  margin: 0;
}
.film-bar .sound {
  position: static;
  flex: none;
  margin-top: -6px;
  background: rgb(0 0 0 / 0.22);
}
.film-bar .sound[aria-pressed="true"] {
  background: #fff;
}
@media (max-width: 700px) {
  .rec-view {
    aspect-ratio: 3 / 4;
  }
  .film-bar {
    gap: 12px;
    margin-top: 12px;
  }
  .film-bar .chapters {
    margin-top: 8px;
  }
}

/* the big notch on a phone: smaller face and words, so everything keeps its margin */
@media (max-width: 700px) {
  :root {
    --big-h: clamp(140px, calc(21 * var(--vh)), 172px);
  }
  .isl.big {
    border-radius: 0 0 38px 38px;
  }
  .isl-hero {
    gap: 12px;
    padding: 0 22px 0 12px;
  }
  .isl-hero .bust {
    height: calc(100% - 18px);
  }
  .isl-hero-from {
    font-size: 13px;
  }
  .isl-hero-word {
    font-size: 30px;
  }
  .isl-hero-line {
    font-size: 13px;
  }
}

/* a phone's toolbar comes and goes: each screen follows the window's real height, so every stop is
   exactly one screen with nothing of the next showing */
@supports (height: calc(100 * var(--vh))) {
  .screen {
    min-height: calc(100 * var(--vh));
  }
  .price {
    height: calc(300 * var(--vh));
  }
  .price-stick,
  .stop {
    height: calc(100 * var(--vh));
  }
  .stop[data-stage="1"] {
    top: calc(100 * var(--vh));
  }
  .stop[data-stage="2"] {
    top: calc(200 * var(--vh));
  }
}
@media (max-width: 900px) {
  .iphone {
    --ph: min(calc(50 * var(--vh)), 540px);
  }
}
@media (max-width: 700px) {
  .faq-in h2 {
    font-size: 32px;
  }
  .qa {
    margin-top: 18px;
  }
  footer {
    margin-top: 18px;
    padding-top: 18px;
  }
}

/* the big notch at half its first size (owner, 16 Oct): still a little wider than the small one, so it
   only ever shrinks into it */
:root {
  --big-w: 384px;
  --big-h: clamp(98px, calc(13 * var(--vh)), 120px);
}
.isl.big {
  border-radius: 0 0 30px 30px;
  box-shadow: 0 22px 54px rgb(70 18 0 / 0.38);
}
.isl-hero {
  gap: 14px;
  padding: 0 24px 0 12px;
}
.isl-hero .bust {
  height: calc(100% - 6px);
}
.isl-hero-from {
  font-size: 12.5px;
}
.isl-hero-word {
  margin-top: 1px !important;
  font-size: 31px;
}
.isl-hero-line {
  margin-top: 3px !important;
  font-size: 13px;
}
@media (max-width: 700px) {
  :root {
    --big-w: min(292px, calc(100vw - 20px));
    --big-h: 92px;
  }
  .isl.big {
    border-radius: 0 0 26px 26px;
  }
  .isl-hero {
    gap: 10px;
    padding: 0 18px 0 8px;
  }
  .isl-hero .bust {
    height: calc(100% - 6px);
  }
  .isl-hero-from,
  .isl-hero-line {
    font-size: 11px;
  }
  .isl-hero-word {
    font-size: 24px;
  }
}

/* ---------- the eyes under the notch ---------- */

.eyes {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* the words sit low, so the eyes have the space between them and the notch */
.hero {
  justify-content: flex-end;
  padding-bottom: clamp(76px, calc(11 * var(--vh)), 120px);
}
.hero::before {
  top: calc(var(--big-h) * 0.6);
  height: min(calc(56 * var(--vh)), 520px);
  background: radial-gradient(closest-side, rgb(255 222 196 / 0.34), rgb(255 200 160 / 0.1) 60%, transparent);
}

/* ---------- the friend's page, in the site's own look ---------- */

.ip-page {
  padding: 64px 22px 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
}
[data-scene="page"] .ip-bar {
  color: var(--ink);
  transition: color 0.3s ease 0.15s;
}
[data-scene="page"] .ip-home {
  background: var(--ink);
}
.ip-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}
.ip-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #138a4c;
}
.ip-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgb(61 207 125 / 0.2);
}
.ip-big {
  margin-top: 14px !important;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.ip-big b {
  font-weight: 600;
  transition: color 0.4s ease;
}
.ip-big b[data-tone="red"] {
  color: #d9372c;
}
.ip-big b[data-tone="green"] {
  color: #138a4c;
}
.ip-sub {
  margin-top: 12px !important;
  font-size: 17px;
  line-height: 1.38;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}
/* the proof: the one window that was in front at the strike */
.ip-proof {
  margin-top: 20px;
  padding: 9px 9px 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 44px -28px rgb(90 40 10 / 0.5), 0 0 0 1px rgb(29 20 16 / 0.05);
  transition: opacity 0.5s ease, filter 0.5s ease;
}
.ip-proof.old {
  opacity: 0.55;
  filter: grayscale(0.6);
}
.ip-window {
  overflow: hidden;
  border-radius: 16px;
  background: #0f0f0f;
}
.ip-win-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  background: #29282d;
}
.ip-win-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f57;
}
.ip-win-bar i:nth-child(2) {
  background: #febc2e;
}
.ip-win-bar i:nth-child(3) {
  background: #28c840;
}
.ip-win-bar span {
  margin: 0 auto;
  padding: 3px 34px;
  border-radius: 6px;
  background: rgb(255 255 255 / 0.08);
  color: #c9c9ce;
  font-size: 10.5px;
  font-weight: 500;
  translate: -12px 0;
}
.ip-win-body {
  display: grid;
  place-items: center;
  height: 148px;
}
.ip-short {
  width: 74px;
  height: 132px;
  border-radius: 8px;
  background: url(/r/short-corgi.webp) center / cover;
}
.ip-proof-tag {
  padding: 11px 6px 13px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.ip-proof-tag b {
  font-weight: 650;
  color: #d9372c;
}
.ip-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 22px;
}
.ip-stats p {
  display: grid;
  gap: 2px;
}
.ip-stats b {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.ip-stats span {
  font-size: 14px;
  color: var(--ink-2);
}
.ip-stats .t-work {
  color: #138a4c;
}
.ip-stats .t-waste {
  color: #b86f00;
}
.ip-progress {
  height: 6px;
  margin-top: 14px;
  border-radius: 3px;
  background: rgb(29 20 16 / 0.09);
  overflow: hidden;
}
.ip-progress i {
  display: block;
  width: 56.7%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 1.2s var(--out);
}
.ip-answer {
  padding: 18px 18px 30px;
  background: linear-gradient(rgb(255 244 236 / 0), var(--cream) 24%);
}
.ip-chips {
  gap: 8px;
  margin-bottom: 12px;
}
.ip-chips span {
  padding: 11px 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgb(29 20 16 / 0.1);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
}
/* the main button, the same black pill as the site's own */
.ip-talk {
  gap: 14px;
  height: 66px;
  padding: 0 10px;
  background: #000;
  color: #fff;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 16px 30px -14px rgb(60 20 0 / 0.5);
}
.ip-mic {
  width: 48px;
  height: 48px;
}
.ip-talk.talking {
  background: #000;
  color: #fff;
}
.ip-wave i {
  background: var(--orange);
}
.ip-toast {
  bottom: 168px;
  background: #000;
  box-shadow: 0 18px 40px -12px rgb(60 20 0 / 0.55);
  color: #fff;
  font-family: var(--sans);
}
.ip-toast-notch {
  background: #1c1c1e;
}
/* the phone's status bar on the friend's cream page */
[data-scene="page"] .ip-icons {
  color: var(--ink);
}
/* the proof picture, a little bigger so the page has no empty middle */
.ip-win-body {
  height: 196px;
}
.ip-short {
  width: 98px;
  height: 174px;
  border-radius: 10px;
}

/* Shorts: each clip waits below, slides up into view, and slides away above */
.clip video {
  opacity: 1;
  transform: translateY(100%);
}
.clip video.on {
  transform: none;
}
.clip video.up {
  transform: translateY(-100%);
}
.clip video.move {
  transition: transform 0.5s var(--ease);
}

/* ---------- latest: the first screen centred, every stop held, things arriving, the price ring ---------- */

.hero {
  justify-content: center;
  padding-bottom: 72px;
}
/* a flick never skips a screen: each one, and each step of the price, holds */
.screen,
.stop {
  scroll-snap-stop: always;
}
.price {
  height: calc(400 * var(--vh));
}
.stop[data-stage="3"] {
  top: calc(300 * var(--vh));
}
@supports (height: calc(100 * var(--vh))) {
  .price {
    height: calc(400 * var(--vh));
  }
  .stop[data-stage="3"] {
    top: calc(300 * var(--vh));
  }
}
/* the last step: a ring round the button, breathing slowly, so it can't be missed */
.price-buy .buy.big {
  transition: padding 0.55s var(--spring), transform 0.5s var(--spring), box-shadow 0.5s ease;
}
.p-ring .price-buy .buy.big {
  transform: scale(1.06);
  animation: ring-breathe 2.4s ease-in-out infinite;
}
@keyframes ring-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 3px #fff, 0 0 0 10px rgb(255 255 255 / 0.3), 0 22px 50px -12px rgb(60 20 0 / 0.6);
  }
  50% {
    box-shadow: 0 0 0 3px #fff, 0 0 0 18px rgb(255 255 255 / 0.12), 0 22px 50px -12px rgb(60 20 0 / 0.6);
  }
}
/* things arriving on their screen */
.arrive {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.7s ease calc(var(--i) * 70ms), translate 0.9s var(--out) calc(var(--i) * 70ms);
}
.seen .arrive {
  opacity: 1;
  translate: 0 0;
}
/* the answer's plus turns back as soon as it starts to close */
.qa details.closing summary::after {
  rotate: 0deg;
}
@media (prefers-reduced-motion: reduce) {
  .arrive {
    opacity: 1;
    translate: none;
  }
  .p-ring .price-buy .buy.big {
    animation: none;
    box-shadow: 0 0 0 3px #fff, 0 0 0 10px rgb(255 255 255 / 0.3);
  }
}
/* the first screen's words exactly in the middle: the same room above as below */
.hero {
  padding-top: calc(var(--big-h) + 16px);
  padding-bottom: calc(var(--big-h) + 16px);
}

/* ---------- free scrolling, with two places to settle ---------- */

html {
  scroll-snap-type: none;
}
/* the film: its screen pinned while the next two or three small scrolls pass */
.film {
  display: block;
  height: calc(145 * var(--vh));
  min-height: 0;
  padding: 0;
}
.film-stick {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100 * var(--vh));
  padding: 18px 16px 22px;
}
/* the price: pinned a little too, and it plays by itself */
.price {
  height: calc(130 * var(--vh));
}
@supports (height: calc(100 * var(--vh))) {
  .film {
    height: calc(145 * var(--vh));
  }
  .film-stick {
    height: calc(100 * var(--vh));
  }
  .price {
    height: calc(130 * var(--vh));
  }
}
@media (max-width: 700px) {
  .film-stick {
    padding: 12px 12px 16px;
  }
}
/* the sound switch: its own place under the film, clear of the frame */
.film-bar {
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}
.film-bar .sound {
  margin-top: 0;
  padding: 8px 14px 8px 11px;
  background: rgb(255 255 255 / 0.14);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.32);
}
.film-bar .sound:hover {
  background: rgb(255 255 255 / 0.22);
}
.film-bar .chapters i {
  margin-bottom: 7px;
}
@media (max-width: 700px) {
  .film-bar {
    gap: 14px;
    margin-top: 22px;
  }
  .film-bar .chapters {
    margin-top: 0;
  }
  .film-bar .sound {
    padding: 7px;
  }
}
/* the first screen: the words a little below the exact middle, where the eye reads it as centred */
.hero {
  padding-top: calc(var(--big-h) + 16px + calc(8 * var(--vh)));
  padding-bottom: calc(var(--big-h) + 16px);
}
.player {
  width: min(1180px, 100%, calc((calc(100 * var(--vh)) - 136px) * 1.6));
}
@media (max-width: 700px) {
  .player {
    width: 100%;
  }
}

/* ================= phones: calm, clean, one flow for the eye ================= */

/* stable heights: a phone's toolbar growing or shrinking never resizes a screen, so the page never
   moves under your finger */
.screen {
  min-height: calc(100 * var(--vh));
}
.film {
  height: calc(145 * var(--vh));
}
.film-stick,
.price-stick {
  height: calc(100 * var(--vh));
}
.price {
  height: calc(130 * var(--vh));
}
.film-end {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
/* on touch screens the browser holds the film and the price itself: it rests at the film's start and
   again at its end while it stays pinned, then lets you go; the price is a place it rests too */
@media (pointer: coarse) {
  html {
    scroll-snap-type: y proximity;
  }
  .screen,
  .stop {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
  .film {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .film-end {
    scroll-snap-align: end;
    scroll-snap-stop: always;
  }
  .price {
    scroll-snap-align: start;
  }
}
@media (max-width: 700px) {
  /* the small notch, a touch smaller */
  .isl {
    --wing: 78px;
    --gap: 100px;
    --bar: 36px;
  }
  .isl-wing .face {
    width: 26px;
    height: 26px;
  }
  .isl-word {
    font-size: 13.5px;
  }
  /* the big one: just the face and the word, nothing ticking */
  :root {
    --big-w: min(256px, calc(100vw - 40px));
    --big-h: 66px;
  }
  .isl.big {
    border-radius: 0 0 24px 24px;
    box-shadow: 0 16px 36px rgb(70 18 0 / 0.32);
  }
  .isl-hero {
    align-items: flex-end;
    gap: 12px;
    padding: 0 18px 0 10px;
  }
  .isl-hero .bust {
    height: calc(100% - 4px);
  }
  .isl-hero-text {
    align-self: center;
    padding-top: 2px;
  }
  .isl-hero-from {
    font-size: 11.5px;
  }
  .isl-hero-word {
    font-size: 23px;
  }
  .isl-hero-line {
    display: none;
  }
  /* the first screen: the name big, one line, one button */
  .hero {
    padding-top: calc(var(--big-h) + 28px);
    padding-bottom: 84px;
  }
  .hero h1 {
    font-size: clamp(56px, 17.4vw, 78px);
    line-height: 0.9;
    letter-spacing: -0.05em;
  }
  .hero .lead {
    max-width: 310px;
    margin-top: 20px;
    font-size: 17.5px;
    line-height: 1.38;
  }
  .hero .lead br {
    display: none;
  }
  .hero .ctas {
    margin-top: 30px;
  }
  .hero .more {
    display: none;
  }
  .hero .fine {
    max-width: 270px;
    margin: 16px auto 0;
    font-size: 13px;
    opacity: 0.85;
  }
  .hero::before {
    top: 10%;
    width: 150vw;
    height: calc(52 * var(--vh));
  }
  .next {
    bottom: max(22px, env(safe-area-inset-bottom));
    width: 40px;
    height: 40px;
    border-color: rgb(255 255 255 / 0.38);
  }
  /* more room around every part; no screen has to squeeze into one height any more */
  .screen:not(.film):not(.hero) {
    padding: 84px 22px 72px;
  }
  .how h2,
  .friend-copy h2,
  .sees h2,
  .faq h2 {
    font-size: 34px;
    line-height: 1.04;
  }
  .states {
    gap: 26px;
    margin-top: 34px;
  }
  .scr {
    height: 56px;
  }
  .states p {
    font-size: 15.5px;
  }
  .friend-in {
    gap: 30px;
  }
  .friend-copy .body {
    font-size: 17px;
  }
  .iphone {
    --ph: min(calc(66 * var(--vh)), 600px);
  }
  .day {
    margin-top: 30px;
  }
  .sees-note {
    font-size: 15.5px;
    line-height: 1.5;
  }
  .price .fine {
    max-width: 320px;
    font-size: 12.5px;
  }
}
/* on touch screens the price is exactly one screen, so the browser rests on it cleanly */
@media (pointer: coarse) {
  .price {
    height: calc(100 * var(--vh));
  }
}

/* ================= phones and tablets: plain, smooth scrolling ================= */

/* bars that fill by scaling, so nothing on the page is laid out again while they run */
.chapters i b,
.short-bar i {
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
}
.chapters li.done i b {
  transform: scaleX(1);
}
/* sound-wave bars that move by scaling, not by changing height */
.wave i,
.ip-wave i,
.ip-mini-wave i {
  height: 100%;
  animation-name: wave-scale;
}
@keyframes wave-scale {
  0%,
  100% {
    transform: scaleY(0.22);
  }
  50% {
    transform: scaleY(1);
  }
}
/* touch screens: no snapping at all, nothing pinned */
@media (pointer: coarse) {
  html {
    scroll-snap-type: none;
  }
  .film,
  .film-end,
  .price {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
}
@media (max-width: 700px), (pointer: coarse) {
  .film {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    min-height: calc(100 * var(--vh));
  }
  .film-stick {
    position: static;
    height: auto;
  }
  .price {
    height: auto;
    min-height: calc(100 * var(--vh));
  }
  .price-stick {
    position: static;
    height: auto;
    min-height: calc(100 * var(--vh));
  }
}
/* phones: no full-screen canvas behind everything; each part carries its own colour and a few faint
   dots at its edges, so colours change exactly where the parts meet and scroll with them */
@media (max-width: 700px) {
  html {
    background: linear-gradient(var(--orange) 50%, var(--cream) 50%);
  }
  .field {
    display: none;
  }
  main > section[data-theme="orange"] {
    background: radial-gradient(ellipse 62% 54% at 50% 50%, var(--orange) 55%, rgb(242 107 58 / 0) 100%),
      radial-gradient(circle, rgb(255 255 255 / 0.17) 1px, transparent 1.4px) 0 0 / 15px 15px, var(--orange);
  }
  main > section[data-theme="cream"] {
    background: radial-gradient(ellipse 62% 54% at 50% 50%, var(--cream) 55%, rgb(255 244 236 / 0) 100%),
      radial-gradient(circle, rgb(242 107 58 / 0.2) 1px, transparent 1.4px) 0 0 / 15px 15px, var(--cream);
  }
  /* no blend layers and no live blur: they are what makes a phone stutter while scrolling */
  .hero::after {
    display: none;
  }
  .dock,
  .switcher,
  .rec-view .cap,
  .ip-push,
  .ip-lock-btn,
  .scrim,
  .sound {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .rec-view .cap {
    background: rgb(8 8 10 / 0.9);
  }
  .ip-push {
    background: rgb(36 28 48 / 0.9);
  }
  .dock {
    background: rgb(255 255 255 / 0.3);
  }
  .switcher {
    background: rgb(36 36 40 / 0.94);
  }
  .scrim {
    background: rgb(30 10 0 / 0.45);
  }
}

/* ================= scrolling that never jumps (17 Oct 2026) =================
   🔴 The owner, on a phone: the page "skips" when the thumb comes down again. The cause: sizes that
   followed the window's LIVE height (100dvh, and rules switched on by max-height). Safari's bar
   slides in and out exactly when a new swipe starts, the live height changes by about 90px, every
   screen resized at once and the page jumped under the finger. Now every height is `svh`, the
   small screen height, which never changes while you scroll, and no rule here switches on the
   window's height on a touch screen. Smooth scrolling is only for a mouse or trackpad: on a touch
   screen the finger already moves the page. Do not bring back dvh, vh or a height media query. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* 🔴 NOTHING MAY WIDEN THE PAGE (17 Oct 2026). The price's big "$12" waits scaled up before it plays,
   and until then it reached 20px past the screen's edge: a phone laid the whole page out 410px wide,
   then snapped back to 390 when the price played, a wobble in every iPhone browser. Each part now
   clips whatever pokes out sideways. `clip` is not a scroll box, so the pinned film and price still
   stick, and nothing is cut top or bottom. */
main > section {
  overflow-x: clip;
}

/* ---------- phones: the first screen centred, with the eyes (17 Oct 2026) ----------
   The owner: on a phone the name did not sit in the middle, and the eyes should be there too, fainter
   than on a computer. The eyes, the name, the line and the button are one group, centred between the
   notch and the arrow at the bottom. The eyes' room above the name follows the screen's measured
   height (--vh), so a short phone gives them less room instead of pushing the button off the screen.
   The eyes are a canvas that landing.js puts at the top of this screen; it never changes the layout. */
@media (max-width: 700px) {
  .hero {
    isolation: isolate;
    justify-content: center;
    padding-top: calc(var(--big-h) + 10px);
    padding-bottom: calc(max(22px, env(safe-area-inset-bottom)) + 52px);
  }
  .hero h1 {
    margin-top: clamp(56px, min(24vw, calc(12 * var(--vh))), 108px);
  }
  .hero .eyes {
    bottom: auto;
  }
}

/* ================= the film and the price, made simple (17 Oct 2026, the owner) =================
   "No redirection": nothing moves the page by script any more (settle() is gone from landing.js).
   The film and the price simply stay on screen for a while as you scroll yourself: the film's hold is
   1.5 times what it was, the price's is as long. Phones keep plain scrolling (rules above). */
@media (min-width: 701px) and (pointer: fine) {
  .film {
    height: calc(170 * var(--vh));
  }
  .price {
    height: calc(170 * var(--vh));
  }
}

/* the pointer is moved by the script frame by frame; a CSS transition here made it trail behind, so
   clicks happened before it arrived. No transition: the arrow is where the click is. */
.pointer {
  transition: none;
}

/* when the film starts, the notch glows twice: that is where to look */
.d-isl.look {
  animation: notch-look 1.5s ease-out 0.3s 2;
}
@keyframes notch-look {
  0% {
    box-shadow: 0 0 0 0 rgb(255 255 255 / 0.8);
  }
  100% {
    box-shadow: 0 0 0 26px rgb(255 255 255 / 0);
  }
}

/* the island's cards: Aashi whole, in a square on the left, never cut and never over the buttons;
   bigger words, since a phone shows them small */
.d-isl.wide {
  width: 480px;
  border-radius: 0 0 34px 34px;
}
.d-card {
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 8px 26px 22px 18px;
}
.d-card.full {
  grid-template-columns: 84px minmax(0, 1fr);
}
.d-card .face {
  width: 84px;
  height: 84px;
  margin: 0;
  align-self: center;
}
.d-title {
  font-size: 24px;
}
.d-line {
  margin-top: 5px;
  font-size: 16px;
}
.d-from {
  font-size: 14.5px;
}
.d-row {
  margin-top: 6px;
  font-size: 16px;
}
.d-end {
  font-size: 14px;
}
.d-end b {
  font-size: 26px;
}
.d-card.full .d-btns {
  gap: 10px;
  margin-top: 2px;
}
.d-btns span {
  padding: 11px 0;
  border-radius: 12px;
  font-size: 15px;
}

/* a click in the Dock: the icon hops while the app opens. Not "jump": that is Xcode's path bar in the
   film, and its styles once squeezed the Safari icon thin with a line under it */
.dock i.hop {
  animation: dock-hop 0.95s cubic-bezier(0.3, 0.7, 0.4, 1);
}
@keyframes dock-hop {
  0%,
  100% {
    transform: translateY(0);
  }
  28% {
    transform: translateY(-24px);
  }
  52% {
    transform: translateY(0);
  }
  70% {
    transform: translateY(-9px);
  }
  86% {
    transform: translateY(0);
  }
}

/* the line under the picture: big and short, above the Dock so it never hides what is clicked */
.rec-view .cap {
  bottom: 13%;
  max-width: min(84%, 920px);
  padding: 0.42em 0.9em 0.48em;
  font-size: clamp(17px, 2.3vw, 30px);
  line-height: 1.22;
}
@media (max-width: 700px) {
  .rec-view .cap {
    bottom: 12%;
    max-width: calc(100% - 24px);
    font-size: 16.5px;
  }
}

/* the price, all at once: the struck-out full price and the pre-order price together, the chip that
   says why, what it buys and the button. It arrives as one piece; only the button's ring comes after. */
.amount .was {
  opacity: 0.6;
  transform: none;
  transition: none;
}
.amount .was::after {
  scale: 1 1;
  transition: none;
}
.amount .now {
  opacity: 1;
  scale: 1;
  filter: none;
  transition: none;
}
.for,
.price-buy {
  opacity: 1;
  translate: 0 0;
  filter: none;
  transition: none;
}
.price-in {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.7s ease, translate 0.9s var(--spring);
}
.price-in.p-12 {
  opacity: 1;
  translate: 0 0;
}
.pre-chip {
  display: inline-block;
  max-width: calc(100% - 8px);
  margin: 18px 0 0;
  padding: 8px 16px 9px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.95);
  color: #a3361a;
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 650;
  letter-spacing: -0.005em;
  box-shadow: 0 8px 24px -10px rgb(80 20 0 / 0.5);
}
.pre-chip::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 8px 0.12em 0;
  border-radius: 50%;
  background: #f26b3a;
  vertical-align: middle;
}
.price .for {
  margin-top: 16px;
}
@media (prefers-reduced-motion: reduce) {
  .price-in {
    opacity: 1;
    translate: none;
    transition: none;
  }
}

/* ================= the first screen is a MacBook's screen (17 Oct 2026, the owner chose "A") =================
   A black bezel the notch hangs from (its top meets the notch's black), the Mac's menu bar along the top
   with a live clock, and the Dock at the bottom with the app's own orange icon, lifted a little. All of it
   is drawn over the first screen only and takes no clicks. */
.hero {
  --bz: 16px;
}
.bezel {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.mbar {
  position: absolute;
  top: var(--bz);
  left: var(--bz);
  right: var(--bz);
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font: 500 14px/1 var(--sans);
  color: rgb(255 255 255 / 0.94);
  background: rgb(120 30 0 / 0.08);
}
.mbar span {
  display: flex;
  align-items: center;
  gap: 21px;
}
.mbar b {
  font-weight: 700;
}
.mbar .apple {
  width: 14px;
  height: 17px;
  margin-top: -2px;
  fill: #fff;
}
.mbar .sym {
  width: 17px;
  height: 15px;
}
.mbar .s-battery-75percent {
  width: 25px;
  height: 12px;
}
.ddock {
  position: absolute;
  left: 50%;
  bottom: calc(var(--bz) + 8px);
  translate: -50% 0;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 20px;
  background: rgb(255 255 255 / 0.2);
  box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.4), 0 10px 30px rgb(90 25 0 / 0.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
}
.ddock i {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
}
.ddock img {
  display: block;
  width: 100%;
  height: 100%;
}
.ddock .run::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.85);
}
.ddock b {
  align-self: center;
  width: 1px;
  height: 40px;
  background: rgb(255 255 255 / 0.35);
}
.ddock .me {
  transform: translateY(-6px);
}
.hero .next {
  bottom: calc(var(--bz) + 96px);
}

@media (max-width: 700px) {
  .hero {
    --bz: 9px;
  }

  .mbar {
    height: 30px;
    padding: 0 14px;
    font-size: 13px;
  }
  .mbar .wide-only,
  .ddock .wide-only {
    display: none;
  }
  .ddock {
    gap: 6px;
    padding: 6px 7px;
    border-radius: 17px;
  }
  .ddock i {
    width: 42px;
    height: 42px;
  }
  .ddock b {
    height: 32px;
  }
  .hero .next {
    bottom: calc(var(--bz) + 80px);
  }
}
/* phones draw no live blur (see above): the Dock is a plain light glass there */
@media (pointer: coarse) {
  .ddock {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgb(255 255 255 / 0.28);
  }
}

/* ================= one screen, all the way down (17 Oct 2026, the owner) =================
   "have it black so it feels continuous" and "the transition to the recording... smooth and seamless":
   the bezel is fixed to the window instead of drawn on the first screen, so it never slides away as a
   black bar; the page scrolls inside one MacBook screen and the film simply rises into it. Its top meets
   the notch. The page still bounces at its ends as every page does (the owner wants it natural); what
   shows in the bounce is the root's colour, so the root is black and the page's colour is the body's. */


@media (max-width: 700px) {

  .ddock i {
    width: 38px;
    height: 38px;
  }
}
/* the film stays on screen twice as long as you scroll past it (the owner) */
@media (min-width: 701px) and (pointer: fine) {
  .film {
    height: calc(240 * var(--vh));
  }
}

/* ---------- phones: the first screen is only the name, one line and "Pre-order" (17 Oct 2026, the owner) ----------
   No price beside the button, no small print under it, no "Watch it work": the price waits for its own
   screen. The bottom keeps room for the Dock and the arrow above it, so the arrow never meets the words. */
@media (max-width: 700px) {
  .hero .with-price,
  .hero .fine,
  .hero .more {
    display: none;
  }
  .hero {
    /* the bezel, the Dock (its icons, padding and gap) and the arrow, with air between */
    padding-bottom: calc(var(--bz) + 8px + 52px + 12px + 44px + 18px);
  }
  .hero .ctas {
    margin-top: 26px;
  }
  .hero .next {
    bottom: calc(var(--bz) + 8px + 52px + 12px);
  }
}

/* ================= the film on a phone: the same Mac screen, held while you scroll (17 Oct 2026) =================
   The owner: the recording should be "in the same format as resolution sizing of mac, just like shown on
   laptop", one orange screen tall, and held in place while scrolling, on phones too. So a phone shows the
   whole 16:10 Mac screen (the camera goes closer only on the notch and on the cover), the film's screen
   is exactly the locked screen height (--vh, never a live unit), and its stage is pinned with
   position: sticky while the reader scrolls on; no script ever moves the page. The section is orange all
   the way down, so nothing else shows under the stage while it is held. */
.rec .cap {
  position: absolute;
  left: 50%;
  bottom: 13%;
  z-index: 4;
  width: max-content;
  max-width: min(84%, 920px);
  margin: 0;
  padding: 0.42em 0.9em 0.48em;
  translate: -50% 0;
  border-radius: 0.7em;
  background: rgb(8 8 10 / 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 12px 34px rgb(0 0 0 / 0.35), inset 0 0 0 0.5px rgb(255 255 255 / 0.14);
  color: #fff;
  font: 650 clamp(17px, 2.3vw, 30px) / 1.22 var(--sans);
  letter-spacing: -0.015em;
  text-align: center;
  text-wrap: balance;
  pointer-events: none;
  transition: opacity 0.28s ease, filter 0.28s ease, translate 0.5s var(--spring);
}
.rec .cap.out {
  opacity: 0;
  filter: blur(4px);
  translate: -50% 8px;
}
@media (max-width: 700px) {
  .rec-view {
    aspect-ratio: 16 / 10;
    border-radius: 10px;
  }
  /* the line goes under the picture, big, so the little Mac screen stays clear */
  .rec .cap {
    position: static;
    width: auto;
    max-width: 100%;
    min-height: 2.5em;
    margin: 18px auto 0;
    padding: 0;
    translate: none;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    font-size: 19px;
  }
  .rec .cap.out {
    translate: 0 6px;
  }
}
@media (max-width: 700px) {
  .film-stick {
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* phones (the owner, later the same day): no long hold either; the film is one screen, like any part */
@media (max-width: 700px), (pointer: coarse) {
  .film {
    display: block;
    height: calc(100 * var(--vh));
    min-height: 0;
  }
  .film-stick {
    position: static;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }
}

/* ---------- the iPhone's own edges (17 Oct 2026) ----------
   The owner: on a phone, after a refresh, the menu bar with the Apple logo and the battery was hidden, the
   page looked "a little scrolled down", and pulling down showed it only until the page bounced back. The
   cause: the page asked to be drawn edge to edge (viewport-fit=cover), so Safari laid its top under the
   iPhone's own status bar. Now the page starts below the status bar (no viewport-fit=cover), the status
   bar is black like the bezel (theme-color), and everything at an edge also keeps clear of the iPhone's
   safe areas, in case a browser still draws under them (a page saved to the Home Screen does). */

.isl {
  top: env(safe-area-inset-top, 0px);
}
.mbar {
  top: calc(var(--bz) + env(safe-area-inset-top, 0px));
}
.ddock {
  bottom: calc(var(--bz) + 8px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 700px) {
  .hero {
    padding-top: calc(var(--big-h) + 10px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(var(--bz) + 8px + 52px + 12px + 44px + 18px + env(safe-area-inset-bottom, 0px));
  }
  .hero .next {
    bottom: calc(var(--bz) + 8px + 52px + 12px + env(safe-area-inset-bottom, 0px));
  }
}

/* ================= no bezel; the menu bar takes you round the page (17 Oct 2026, the owner) =================
   "remove the black bezel completely": the first screen is a Mac's screen without a frame, its menu bar
   at the very top and the Dock at the bottom, and the page's own colours meet the edges again (a bounce
   shows orange at the top and cream at the bottom, as the page itself is). The menu bar's menus are the
   page's parts and they work; menus that would run into the notch step aside, as on a Mac (landing.js,
   `fitMenus`). Phones show only the Apple logo and the battery up there. */
.hero {
  --bz: 0px;
}
.mbar {
  height: 32px;
  padding: 0 14px;
  background: rgb(120 30 0 / 0.1);
}
.mbar-menus {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.mbar-menus .apple {
  margin: -2px 10px 0 6px;
}
.mbar-more {
  position: absolute;
  top: 0;
  left: calc(50% + var(--big-w) / 2 + 18px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2px;
}
.mbar-menus a,
.mbar-more a {
  flex: none;
  padding: 5px 9px;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  pointer-events: auto;
  transition: background-color 0.15s ease;
}
.mbar-menus a:hover,
.mbar-menus a:focus-visible,
.mbar-more a:hover,
.mbar-more a:focus-visible {
  background: rgb(255 255 255 / 0.24);
  outline: none;
}
.mbar-menus .mbar-app {
  font-weight: 700;
}
.mbar-menus a[hidden],
.mbar-more a[hidden] {
  display: none;
}
@media (max-width: 700px) {
  .mbar-menus a,
  .mbar-more {
    display: none;
  }
}

/* ================= phones, 17 Oct 2026 night (the owner) =================
   No Dock on a phone: the first screen is the menu bar, the name, one line and the button, with the arrow
   at the bottom. The film's part is as tall as the phone itself (--full-h, set once by landing.js from the
   phone's screen), so it fills what you see with Chrome's or Safari's bars out or folded away; its stage
   stays in the middle. Above and below the page a phone shows orange at the top, cream at the bottom. */
@media (max-width: 700px) {
  .ddock {
    display: none;
  }
  .hero {
    padding-bottom: calc(22px + 44px + 18px + env(safe-area-inset-bottom, 0px));
  }
  .hero .next {
    bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  }
  html {
    background-color: var(--orange);
  }
  html.at-end {
    background-color: var(--cream);
  }
}
@media (max-width: 700px), (pointer: coarse) {
  .film {
    height: var(--full-h, calc(100 * var(--vh)));
    /* the arrow and "Watch it" put the film in the middle of what you see, not its top at the top */
    scroll-margin-top: calc((100 * var(--vh) - var(--full-h, calc(100 * var(--vh)))) / 2);
  }
  /* the price too (the owner): as tall as the phone, its words in the middle of what you see */
  .price,
  .price-stick {
    min-height: var(--full-h, calc(100 * var(--vh)));
  }
  .price {
    scroll-margin-top: calc((100 * var(--vh) - var(--full-h, calc(100 * var(--vh)))) / 2);
  }
}

/* ================= the price, cleaner (17 Oct 2026 night, the owner) =================
   "this area feels a little busy and cluttered and this is the thing that needs to convert": the chip only
   says until when (the struck-out price beside the big one already says what it becomes), and it is a
   quiet glass pill instead of a white one; the numbers keep air on both sides (priceLayout); even room
   between the lines; a lighter ring round the button on phones; two short lines of small print. */
.pre-chip {
  margin-top: 22px;
  padding: 7px 15px 8px;
  background: rgb(255 255 255 / 0.17);
  color: #fff;
  font-size: clamp(13.5px, 1.4vw, 16px);
  font-weight: 600;
  box-shadow: none;
}
.pre-chip::before {
  display: none;
}
.price .for {
  margin-top: 24px;
}
.price .fine {
  margin-top: 22px;
  line-height: 1.6;
  opacity: 0.8;
}
@media (max-width: 700px) {
  .price .for {
    margin-top: 20px;
    font-size: 22px;
  }
  .price-buy {
    margin-top: 30px;
  }
  .price-buy .buy.big {
    height: 60px;
    gap: 12px;
    padding: 0 28px 0 8px;
    font-size: 17.5px;
  }
  .price-buy .buy.big .face {
    width: 46px;
    height: 46px;
  }
  .p-ring .price-buy .buy.big {
    transform: none;
    animation-name: ring-soft;
  }
  .price .fine {
    max-width: 360px;
    margin-top: 20px;
    font-size: 12.5px;
  }
}
@keyframes ring-soft {
  0%,
  100% {
    box-shadow: 0 0 0 2px rgb(255 255 255 / 0.9), 0 0 0 7px rgb(255 255 255 / 0.16), 0 16px 36px -14px rgb(60 20 0 / 0.55);
  }
  50% {
    box-shadow: 0 0 0 2px rgb(255 255 255 / 0.9), 0 0 0 12px rgb(255 255 255 / 0.06), 0 16px 36px -14px rgb(60 20 0 / 0.55);
  }
}
@media (min-width: 701px) {
  .pre-chip {
    margin-top: 32px;
  }
}

/* what you get, as three plain sentences with a tick each (the owner: "crystal clear... no confusion"),
   then what Mac it needs and, abroad, which money the price is in */
.facts {
  display: grid;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  margin: 24px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 15.5px;
  line-height: 1.35;
}
.facts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.facts li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.22)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 18px 18px no-repeat;
}
.price .fine {
  margin-top: 18px;
}
@media (max-width: 700px) {
  .facts {
    margin-top: 22px;
    font-size: 14.5px;
  }
  .price .fine {
    margin-top: 16px;
  }
}
.price .fine {
  text-wrap: balance;
}
.price .fine a {
  white-space: nowrap;
}

/* ================= the black buttons, balanced (20 Oct 2026, the owner: "unnecessary extra margin from right") =================
   The face sits at the left end about as far from the edge as from the top, and the words end a matching
   distance from the right end (the round end makes a little more look equal), so neither side looks emptier.
   A button with no face has the same room on both sides. Hovering widens both ends alike. */
.buy {
  padding: 0 21px 0 9px;
}
.buy:hover {
  padding-right: 25px;
}
.buy.big {
  padding: 0 24px 0 10px;
}
.buy.big:hover {
  padding-right: 28px;
}
.buy:not(:has(.face)) {
  padding: 0 30px;
}
.buy:not(:has(.face)):hover {
  padding: 0 33px;
}
@media (max-width: 700px) {
  .price-buy .buy.big {
    padding: 0 21px 0 8px;
  }
}

/* ================= what hovering a black button does (20 Oct 2026, the owner: "why on hovering, it expands
   the button to right? ... add some icon on expanding") =================
   An arrow slides in after the words, and the button grows to make room for it, so the growing means
   "go". It takes no room while it is hidden: its width is 0 and it gives back the gap before it. A button
   with an icon of its own (download, unlock) does not grow: its icon moves a little instead. */
.buy:hover {
  padding-right: 21px;
}
.buy.big:hover {
  padding-right: 24px;
}
.buy:not(:has(.face)):hover {
  padding: 0 30px;
}
.buy::after {
  content: "";
  flex: none;
  width: 0;
  height: 15px;
  margin-left: -12px;
  opacity: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9.2M8.6 3.6 13 8l-4.4 4.4' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9.2M8.6 3.6 13 8l-4.4 4.4' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: width 0.45s var(--spring), margin-left 0.45s var(--spring), opacity 0.25s ease;
}
.buy.big::after {
  margin-left: -14px;
}
@media (hover: hover) and (pointer: fine) {
  .buy:hover::after {
    width: 15px;
    margin-left: -4px;
    opacity: 1;
  }
}
/* a button with its own icon: the icon, then the words, the same room at both ends, and no arrow */
.buy.icon {
  gap: 10px;
  padding: 0 26px 0 22px;
}
.buy.icon:hover {
  padding: 0 26px 0 22px;
}
.buy.icon::after {
  content: none;
}
.buy .ico {
  flex: none;
  width: 20px;
  height: 20px;
  background: currentColor;
  transition: transform 0.4s var(--spring);
}
.buy .ico.dl {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 3v9.5M5.8 8.6 10 12.8l4.2-4.2M4 16.5h12' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 3v9.5M5.8 8.6 10 12.8l4.2-4.2M4 16.5h12' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.buy .ico.key {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='7' cy='10' r='3.6' fill='none' stroke='%23000' stroke-width='2.1'/%3E%3Cpath d='M10.6 10H17M14.4 10v2.8M17 10v2' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='7' cy='10' r='3.6' fill='none' stroke='%23000' stroke-width='2.1'/%3E%3Cpath d='M10.6 10H17M14.4 10v2.8M17 10v2' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
@media (hover: hover) and (pointer: fine) {
  .buy:hover .ico.dl {
    transform: translateY(2px);
  }
  .buy:hover .ico.key {
    transform: rotate(-12deg);
  }
}
