/* Nimbrung site: layout, type scale and sections. Reads tokens.css and glass.css. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched stand-in while Inter loads, so the swap barely moves the text */
@font-face {
  font-family: "Inter fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 107.06%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}

:root {
  --plum-1: #4a2342;
  --plum-2: #1c1226;
  --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
  --section-gap: 96px;
  --wrap: min(1120px, 100% - 40px);
  --fs-display: clamp(2.75rem, 1.6rem + 5.4vw, 5.5rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 2.2vw, 3rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (min-width: 1024px) { :root { --section-gap: 160px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--nb-ground); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--nb-ground);
  color: var(--lg-ink);
  font-family: "Inter", "Inter fallback", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  font-optical-sizing: auto;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
:where(h1, h2, h3, p, ul, ol, figure, dl, dd, blockquote) { margin: 0; padding: 0; }
:where(ul, ol) { list-style: none; }
:where(button) { font: inherit; color: inherit; margin: 0; cursor: pointer; border: 0; background: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
code, kbd { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.88em; }
::selection { background: color-mix(in oklab, var(--nb-accent) 45%, transparent); color: var(--lg-ink); }
:focus-visible { outline: 2px solid var(--nb-accent); outline-offset: 2px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: var(--lg-radius-full);
  background: var(--nb-accent-fill);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap { width: var(--wrap); margin-inline: auto; }
@media (max-width: 479px) { .wrap { width: calc(100% - 2 * var(--gutter)); } }

/* ===== Type ===== */
h1, .display {
  font-size: var(--fs-display);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h2 {
  font-size: var(--fs-h2);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h3 { font-size: 17px; line-height: 22px; font-weight: 650; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.45; font-weight: 450; color: var(--lg-ink-muted); max-width: 60ch; text-wrap: pretty; }
.small { font-size: 13px; line-height: 18px; color: var(--lg-ink-muted); }
.eyebrow { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lg-ink-muted); }
.prose { max-width: 60ch; }
.prose > * + * { margin-top: 1em; }
.prose p { text-wrap: pretty; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 4px;
  font-weight: 600;
  color: var(--lg-ink);
  text-decoration: underline;
  text-decoration-color: rgb(var(--nb-fg) / 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.text-link:hover { text-decoration-color: currentColor; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 17px; }

/* ===== Top bar: the one sticky glass capsule ===== */
.topbar-wrap {
  position: fixed;
  z-index: 50;
  top: max(10px, env(safe-area-inset-top));
  left: 0;
  right: 0;
  pointer-events: none;
}
.topbar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 56px;
  padding: 0 6px 0 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
}
.brand svg { width: 28px; height: 28px; }
.topbar .glass-btn { min-height: 44px; height: 44px; padding: 0 18px; font-size: 15px; }

/* ===== Sections ===== */
.section { padding-block: var(--section-gap) 0; }
.section-head { display: grid; gap: 16px; max-width: 60ch; }
.section-head + * { margin-top: 40px; }

/* ===== Hero ===== */
.hero { position: relative; isolation: isolate; padding: calc(96px + env(safe-area-inset-top)) 0 56px; overflow: clip; }
.hero-ambient { z-index: -1; }
/* The glow sits under the mock, away from the text: the copy reads on near-ground */
.hero-ambient::before { inset: 10% -30% -10% -30%; }
.hero-ambient::after {
  background:
    linear-gradient(180deg, rgb(var(--nb-shade) / 0.94) 0%, rgb(var(--nb-shade) / 0.82) 34%, rgb(var(--nb-shade) / 0.5) 62%, rgb(var(--nb-shade) / 0.55) 82%, var(--nb-ground) 100%);
}
.hero-grid { display: grid; gap: 48px; }
.hero-copy { display: grid; gap: 20px; align-content: start; }
.hero-copy h1 { margin-top: -4px; max-width: 11ch; }
.name-line { font-size: 15px; line-height: 22px; color: var(--lg-ink-muted); }
.name-line i { font-style: italic; font-weight: 600; color: var(--lg-ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 6px; }
.status { font-size: 13px; line-height: 18px; color: var(--lg-ink-muted); margin-top: -8px; }
.hero-visual { position: relative; display: grid; justify-items: center; }

/* The TV frame shows only on wide screens */
.tv { display: none; }

@media (min-width: 1024px) {
  .hero { padding-top: 140px; }
  .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
  .hero-copy { grid-column: 1 / span 6; padding-bottom: 72px; }
  /* Side by side: the copy's half stays near the ground, the glow lives behind the visual */
  .hero-ambient::before { inset: -20% -20% -20% 30%; }
  .hero-ambient::after {
    background:
      linear-gradient(180deg, transparent 78%, var(--nb-ground) 100%),
      linear-gradient(90deg, rgb(var(--nb-shade) / 0.94) 0%, rgb(var(--nb-shade) / 0.9) 42%, rgb(var(--nb-shade) / 0.5) 64%, rgb(var(--nb-shade) / 0.55) 100%);
  }
  .hero-visual { grid-column: 7 / span 6; display: block; min-height: 600px; }
  .tv { display: block; position: absolute; top: 24px; right: 0; width: 86%; }
  .hero-visual .phone { position: absolute; left: 0; bottom: 0; --s: 0.66; }
  /* No room capture yet (JS found it missing): the phone alone, full size */
  .hero-visual:has(.tv.is-missing) { display: grid; place-items: center; min-height: 0; }
  .hero-visual:has(.tv.is-missing) .phone { position: relative; --s: 0.86; }
}

/* ===== Phone mock: the guest Queue, in HTML ===== */
/* --s scales the 390px-wide screen; the frame keeps its outer size in step. */
.phone {
  --s: 0.86;
  --h: 721px;
  position: relative;
  width: calc(390px * var(--s));
  height: calc(var(--h) * var(--s));
  border-radius: calc(46px * var(--s));
  box-shadow: 0 0 0 1px rgb(var(--nb-fg) / 0.14), 0 0 0 calc(7px * var(--s)) light-dark(#e4e1e7, #1b1b20), 0 0 0 calc(8px * var(--s)) rgb(var(--nb-fg) / 0.12), var(--lg-shadow-high);
  overflow: hidden;
  background: var(--nb-ground);
  flex: none;
}
@media (max-width: 359px) { .phone { --s: 0.78; } }
.mock {
  position: absolute;
  top: 0;
  left: 0;
  width: 390px;
  height: var(--h);
  transform: scale(var(--s));
  transform-origin: 0 0;
  font-size: 15px;
  line-height: 20px;
  isolation: isolate;
}
.mock .ambient { z-index: -1; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 48px; padding: 4px 20px 0; }
.mock-room { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mock-room b { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; }
.code-tag { flex: none; padding: 2px 8px; border-radius: 999px; background: rgb(var(--nb-fg) / 0.12); font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0.14em; }
.mock-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--lg-ink-muted); }
.mock-meta span { display: inline-flex; align-items: center; gap: 4px; }
.mock-np { position: relative; display: grid; gap: 14px; padding: 6px 16px 0; }
.mock-art { width: 250px; height: 250px; margin-inline: auto; border-radius: 22px; box-shadow: 0 28px 60px -20px rgb(0 0 0 / 0.75); }
.mock-title { display: flex; align-items: center; gap: 4px; padding: 0 4px; }
.mock-title > div { flex: 1; min-width: 0; }
.mock-title .song { font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -0.02em; }
.mock-title .artist { font-size: 17px; line-height: 24px; font-weight: 500; color: var(--lg-ink-muted); }
.mock-title .by { padding-top: 2px; font-size: 13px; line-height: 18px; color: var(--lg-ink-muted); }
.mock-progress { display: grid; gap: 6px; padding: 0 4px; }
.mock-progress .progress { height: 6px; }
.mock-progress .progress > i { width: 53%; }
.mock-times { display: flex; justify-content: space-between; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--lg-ink-muted); }
.mock-live { display: grid; gap: 6px; padding: 8px 16px 0; }
.mock-reacts { display: flex; justify-content: space-between; }
.mock-reacts .react { transition: transform var(--lg-duration-fast) var(--lg-easing-spring); }
/* The mock is scaled down: a larger invisible hit area keeps each reaction near 44px to the finger */
.mock-reacts .react { position: relative; }
.mock-reacts .react::before { content: ""; position: absolute; inset: -12px -9px; }
.mock-reacts .react:active { transform: scale(0.88); }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.skip-pill { height: 36px; min-height: 36px; padding: 0 12px; gap: 6px; font-size: 13px; }
.mock-chat { display: flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 4px; font-size: 13px; }
.mock-chat .trunc { flex: 1; }
.mock-chat b { font-weight: 600; }
.mock-next { padding: 20px 16px 0; }
.mock-next-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px 4px; }
.mock-next-head h3, .mock-next-head b { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -0.01em; }
.mock-next-head span { font-size: 12px; color: var(--lg-ink-muted); }
.mock-next .row-sub { white-space: nowrap; }
.mock-dur { font-size: 13px; color: var(--lg-ink-muted); padding-right: 4px; }
.mock-dock { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 0 16px 22px; }
.mock-dock .edge-bottom { height: 150px; }
.mock-dock-row { position: relative; z-index: 5; display: flex; gap: 10px; }
.mock-dock-row .is-primary { flex: 1; height: 60px; font-size: 17px; border-radius: 999px; }

/* Reactions: the floats (JS) and three still ones (no JS, or Reduce Motion) */
.mock-stage { position: absolute; inset: 0; z-index: 6; pointer-events: none; overflow: hidden; }
.float-reaction { left: 0; top: 0; will-change: transform, opacity; }
.float-reaction > span { background: rgb(var(--nb-shade) / 0.86); box-shadow: inset 0 0 0 1px rgb(var(--nb-fg) / 0.16); }
.still { position: absolute; }
.still-1 { left: 70px; top: 150px; }
.still-2 { left: 262px; top: 96px; }
.still-3 { left: 196px; top: 200px; }
.motion .still { display: none; }

/* ===== Feature rows (.row from the app, not cards) ===== */
.rows { display: grid; column-gap: 40px; margin: 0; padding: 0; list-style: none; }
.rows .row { align-items: flex-start; min-height: 0; padding: 14px 0; gap: 16px; }
.rows .row + .row::after { left: 64px; }
.tile {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgb(var(--nb-fg) / 0.07);
  box-shadow: inset 0 0 0 1px rgb(var(--nb-fg) / 0.1);
  font-size: 24px;
  line-height: 1;
}
.rows .row-text { gap: 3px; padding-top: 2px; }
.rows h3 { font-size: 17px; line-height: 22px; }
.rows p { font-size: 15px; line-height: 21px; color: var(--lg-ink-muted); text-wrap: pretty; }
@media (min-width: 768px) {
  .rows.two { grid-template-columns: 1fr 1fr; }
  /* The second item in each column has the separator, not the first of the right column */
  .rows.two .row:nth-child(2)::after { display: none; }
  .rows.two .row:nth-child(n + 3)::after { display: block; }
}

/* ===== Screenshots: plain frames on the ground ===== */
.shot { display: grid; gap: 12px; margin: 0; }
.shot-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--lg-radius-lg);
  box-shadow: 0 0 0 1px rgb(var(--nb-fg) / 0.1), var(--lg-shadow-high);
  /* Until a capture is in place, the frame shows the ground and a quiet glow of its song's colours */
  --frame-bg:
    radial-gradient(70% 50% at 30% 20%, color-mix(in oklab, var(--g1, #ff6a55) 22%, transparent), transparent 70%),
    radial-gradient(70% 55% at 80% 85%, color-mix(in oklab, var(--g2, #3b2477) 28%, transparent), transparent 72%),
    var(--nb-ground);
  background: var(--frame-bg);
}
.shot-phone .shot-frame { border-radius: 34px; }
/* The frame holds the shape, so a missing or late image never moves anything */
.shot-frame { aspect-ratio: 1440 / 900; }
.shot-phone .shot-frame { aspect-ratio: 390 / 844; }
.setup-shot .shot-frame { aspect-ratio: 780 / 560; }
.menubar-shot .shot-frame { aspect-ratio: 340 / 460; }
.shot-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  /* A missing capture shows no alt text or broken icon: the frame stays a frame */
  color: transparent;
  font-size: 0;
}
.shot-frame img::after { content: ""; position: absolute; inset: 0; background: var(--frame-bg); }
/* With JS, a capture that isn't there yet takes its frame with it */
.shot.is-missing { display: none; }
.phones:not(:has(> .shot:not(.is-missing))),
.room-shots:not(:has(> .shot:not(.is-missing))),
.mac-shots:not(:has(> .shot:not(.is-missing))) { display: none; }
.shot figcaption { font-size: 13px; line-height: 18px; color: var(--lg-ink-muted); max-width: 46ch; }
.g-lampu { --g1: #2ec4b6; --g2: #1b4e8c; }
.g-neon { --g1: #ff4fa3; --g2: #8f3dd9; }
.g-kopi { --g1: #f0a24a; --g2: #a5531f; }
.g-pulang { --g1: #c8e67a; --g2: #3f8a5a; }

.tv .shot-frame { border-radius: 20px; }

/* A row of phone captures: swipes on a phone, sits in one line on a wide screen */
.phones {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(64vw, 250px);
  gap: 20px;
  margin-top: 56px;
  padding: 12px var(--gutter) 28px;
  margin-inline: calc(-1 * var(--gutter));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
}
.phones > .shot { scroll-snap-align: start; }
@media (min-width: 1024px) {
  .phones { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-inline: 0; padding-inline: 0; overflow: visible; }
}

/* ===== Two-up: text beside a capture ===== */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .split > :first-child { grid-column: 1 / span 5; }
  .split > :last-child { grid-column: 7 / span 6; }
  .split.flip > :first-child { grid-column: 8 / span 5; order: 2; }
  .split.flip > :last-child { grid-column: 1 / span 6; order: 1; }
  .split:has(> .shot.is-missing) > :first-child { grid-column: 1 / span 8; }
}
.split .shot-phone { width: min(300px, 100%); }
/* The recap is a full-page capture: show its top, phone-shaped */
.host-shot { margin-top: 48px; }
@media (min-width: 1024px) { .split .shot-phone { justify-self: center; } }

.room-shots { display: grid; gap: 24px; margin-top: 48px; }
@media (min-width: 1024px) {
  .room-shots { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .room-shots > :first-child { grid-column: 1 / span 8; }
  .room-shots > :last-child { grid-column: 9 / span 4; }
}

/* ===== How it works ===== */
.how-grid { display: grid; gap: 48px; margin-top: 40px; align-items: start; }
.steps { counter-reset: step; display: grid; gap: 32px; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 6px; }
.steps > li::before {
  content: counter(step);
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(var(--nb-fg) / 0.07);
  box-shadow: inset 0 0 0 1px rgb(var(--nb-fg) / 0.14);
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 20px; line-height: 26px; padding-top: 9px; }
.steps p { color: var(--lg-ink-muted); max-width: 52ch; text-wrap: pretty; }
@media (min-width: 1024px) {
  .how-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .how-grid > .steps { grid-column: 1 / span 6; }
  .how-grid > .moment { grid-column: 8 / span 5; }
}

/* ===== Moment 2: the QR turns into the join screen ===== */
.moment { display: grid; gap: 14px; margin: 0; }
.moment-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 24px;
  justify-items: center;
  align-items: center;
  padding: 32px 20px;
  border-radius: var(--lg-radius-lg);
  box-shadow: 0 0 0 1px rgb(var(--nb-fg) / 0.1), var(--lg-shadow-high);
}
.moment-stage .ambient { z-index: -1; }
.qr-tile { width: 216px; padding: 14px; border-radius: 20px; background: #fff; box-shadow: 0 18px 40px -18px rgb(0 0 0 / 0.6); }
.qr-svg { width: 100%; height: auto; fill: #111114; }
.qr-ring rect { transform-box: fill-box; transform-origin: center; }
.join-card { width: min(100%, 300px); display: grid; gap: 14px; padding: 22px 18px 18px; border-radius: 28px; }
.join-card .invited { font-size: 13px; color: var(--lg-ink-muted); }
.join-card .room-name { font-size: 26px; line-height: 30px; font-weight: 700; letter-spacing: -0.025em; }
.join-card .legend { font-size: 12px; font-weight: 600; color: var(--lg-ink-muted); padding: 0 2px; }
.faces { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.faces span { display: grid; place-items: center; height: 38px; border-radius: 12px; background: rgb(var(--nb-fg) / 0.08); font-size: 20px; line-height: 1; }
.faces .taken { opacity: 0.3; }
.faces .picked { background: rgb(var(--nb-fg) / 0.16); box-shadow: inset 0 0 0 2px rgb(var(--nb-fg) / 0.85); }
.join-card .field-inset { height: 46px; font-size: 16px; color: var(--lg-ink); }
.join-card .is-primary { height: 50px; font-size: 16px; border-radius: 999px; }
.join-card .code-line { text-align: center; font-size: 12px; color: var(--lg-ink-muted); }
.join-card .code-line b { font-weight: 600; letter-spacing: 0.15em; color: var(--lg-ink); }
.moment figcaption { font-size: 13px; line-height: 18px; color: var(--lg-ink-muted); }
.qr-again { display: none; justify-self: start; min-height: 44px; }

@media (min-width: 640px) {
  .moment-stage { grid-template-columns: auto auto; justify-content: center; }
}
@media (min-width: 1024px) {
  .moment-stage { grid-template-columns: 1fr; }
}
/* With JS and motion: both in one place, the card waits for its turn */
.motion .moment-stage { grid-template-columns: 1fr; min-height: 470px; }
.motion .moment-stage > .qr-tile, .motion .moment-stage > .join-card { grid-area: 1 / 1; }
.motion .join-card { opacity: 0; visibility: hidden; }
.motion .qr-ring rect { transition: transform 600ms var(--lg-easing-spring), opacity 600ms ease-out; }
.motion .qr-r1 rect { transition-delay: 60ms; }
.motion .qr-r2 rect { transition-delay: 120ms; }
.motion .qr-r3 rect { transition-delay: 180ms; }
.motion .qr-r4 rect { transition-delay: 240ms; }
.motion .qr-r5 rect { transition-delay: 300ms; }
.motion .qr-tile { transition: opacity var(--lg-duration-fast) ease-out; }
.motion .is-joined .qr-ring rect { transform: scale(0); opacity: 0; }
.motion .is-joined .qr-tile { opacity: 0; transition-delay: 640ms; }
.motion .is-joined .join-card { visibility: visible; animation: glass-enter var(--lg-duration-normal) var(--lg-easing-spring) 700ms both; }
.motion .is-played .qr-again { display: inline-flex; }

/* ===== Mac ===== */
.setup-steps { counter-reset: step; display: grid; gap: 14px; margin-top: 24px; max-width: 60ch; }
.setup-steps li { counter-increment: step; position: relative; padding-left: 40px; color: var(--lg-ink-muted); }
.setup-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgb(var(--nb-fg) / 0.3);
  font-size: 13px;
  font-weight: 700;
  color: var(--lg-ink);
}
.setup-steps b { color: var(--lg-ink); font-weight: 650; }
.mac-shots { display: grid; gap: 24px; margin-top: 48px; align-items: start; }
@media (min-width: 1024px) {
  .mac-shots { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .mac-shots > :first-child { grid-column: 1 / span 8; }
  .mac-shots > :last-child { grid-column: 9 / span 4; }
}
.mac-shots .shot-frame { border-radius: 16px; }
.menubar-shot { max-width: 340px; }
.h3-block { margin-top: 56px; display: grid; gap: 12px; max-width: 60ch; }
.h3-block h3 { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.02em; }
.h3-block p { color: var(--lg-ink-muted); }

/* ===== Plain lists: needs, privacy ===== */
.plain-list { display: grid; gap: 0; max-width: 68ch; margin-top: 32px; }
.plain-list li { position: relative; padding: 18px 0; color: var(--lg-ink-muted); text-wrap: pretty; }
.plain-list li + li { box-shadow: inset 0 1px 0 var(--nb-separator); }
.plain-list b { color: var(--lg-ink); font-weight: 650; }
.plain-list code { color: var(--lg-ink); background: rgb(var(--nb-fg) / 0.07); padding: 1px 5px; border-radius: 6px; white-space: nowrap; }

/* ===== Closing band: the icon's plum ===== */
.closing { margin-top: var(--section-gap); padding: 0 0 var(--section-gap); }
.band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  gap: 20px;
  justify-items: start;
  padding: 56px 28px;
  border-radius: 34px;
  background: linear-gradient(160deg, var(--plum-1), var(--plum-2));
  color: #f5f5f7;
  box-shadow: var(--lg-shadow-high);
}
.band::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -20%;
  bottom: -40%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 106 85 / 0.35), rgb(195 51 142 / 0.18) 55%, transparent);
}
.band h2 { color: #fff; }
.band p { max-width: 46ch; font-size: var(--fs-lead); line-height: 1.45; color: rgb(245 240 248 / 0.84); }
.band .jar { width: 64px; height: 64px; }
@media (min-width: 1024px) { .band { padding: 88px 80px; } }

/* ===== Footer ===== */
.site-footer { padding: 40px 0 calc(48px + env(safe-area-inset-bottom)); box-shadow: inset 0 1px 0 var(--nb-separator); }
.site-footer .wrap { display: grid; gap: 14px; }
.site-footer p { font-size: 13px; line-height: 19px; color: var(--lg-ink-muted); max-width: 72ch; }
.site-footer a { color: var(--lg-ink); text-underline-offset: 3px; }

/* ===== 404 ===== */
.lost { min-height: 100vh; display: grid; align-content: center; gap: 20px; padding: 120px 0 80px; position: relative; isolation: isolate; }
.lost .ambient { z-index: -1; }
.lost .ambient::after { background: linear-gradient(180deg, rgb(var(--nb-shade) / 0.9), rgb(var(--nb-shade) / 0.7) 60%, rgb(var(--nb-shade) / 0.95)); }
.lost-copy { display: grid; gap: 20px; justify-items: start; }
.lost p { max-width: 40ch; }

/* ===== Reduce Motion: nothing moves; opacity only ===== */
@media (prefers-reduced-motion: reduce) {
  .glass-btn, .btn-plain, .mock-reacts .react { transition: none; }
  .mock-reacts .react:active { transform: none; }
}
/* Increase Contrast / Reduce Transparency: plain grounds, stronger lines */
@media (prefers-contrast: more), (prefers-contrast: high), (prefers-reduced-transparency: reduce) {
  .hero-ambient::before { opacity: 0.25; }
  .mock .edge-bottom { display: none; }
  .float-reaction > span { background: var(--nb-ground); box-shadow: inset 0 0 0 1px var(--lg-border-control); }
  .text-link { text-decoration-color: currentColor; }
}
.band .text-link { color: #fff; text-decoration-color: rgb(255 255 255 / 0.5); }
