/* Screen */
.is-screen {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: var(--header-h) 0 var(--footer-h);
  overflow: clip;
}
.is-screen > .c-wrap { position: relative; z-index: 3; }
.is-screen .intro { display: flex; flex-direction: column; align-items: center; gap: var(--gap); text-align: center; }
.is-screen .intro .title { max-width: 14ch; text-wrap: balance; }
.is-screen .intro .lead { max-width: 30rem; text-wrap: pretty; }
.is-screen .intro .btn { margin-top: calc(var(--gap) * 0.25); }
.is-screen .intro.is-left { align-items: flex-start; text-align: left; }
.pass { pointer-events: none; }
.pass :is(a, button, .coin, [tabindex], label) { pointer-events: auto; }
.letter { display: inline-grid; flex: none; place-items: center; width: 2em; height: 2em; border-radius: 0.5em; background: var(--slab); color: var(--ink); font-size: 0.75rem; font-weight: 650; line-height: 1; }
.globe { flex: none; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.4; opacity: 0.7; }

/* Hero */
section.hero .intro { gap: calc(var(--gap) * 0.85); }
section.hero .coin { margin-bottom: calc(var(--gap) * 0.5); }

/* Board */
section.board .sticker-board { position: absolute; inset: 0; z-index: 2; cursor: copy; }
section.board .sticker-board:focus-visible { outline-offset: -8px; }
section.board .intro .title { max-width: 12ch; }

/* Browser */
.browser {
  --chrome: color-mix(in srgb, var(--board) 70%, var(--slab));
  position: relative;
  width: min(100%, 72rem);
  margin: 0 auto;
  border-radius: 16px 16px 0 0;
  background: var(--band);
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
  font-size: clamp(0.75rem, 0.7rem + 0.15vw, 0.875rem);
  text-align: left;
  -webkit-user-select: none;
  user-select: none;
}
.browser .tabs { display: flex; align-items: flex-end; gap: 4px; height: 2.9em; padding: 0 0.75em; border-radius: 16px 16px 0 0; background: var(--chrome); }
.browser .lights { display: flex; align-self: center; gap: 0.5em; margin-right: 0.75em; }
.browser .lights i { width: 0.85em; height: 0.85em; border-radius: 50%; background: var(--ink-15); }
.browser .tab { display: inline-flex; align-items: center; gap: 0.6em; min-width: 0; max-width: 16em; height: 2.3em; padding: 0 0.9em; border-radius: 10px 10px 0 0; border: 0; background: none; color: var(--ink-60); font: inherit; white-space: nowrap; cursor: default; }
.browser .tab span { overflow: hidden; text-overflow: ellipsis; }
.browser .tab.is-active { background: var(--band); color: var(--ink); }
.browser button.tab { cursor: pointer; }
.browser .toolbar { display: flex; align-items: center; gap: 0.9em; height: 3.2em; padding: 0 0.9em; }
.browser .toolbar .icons { display: flex; gap: 0.9em; color: var(--ink-40); }
.browser .toolbar svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.browser .address { display: flex; flex: 1; align-items: center; gap: 0.6em; min-width: 0; height: 2.3em; padding: 0 1em; border-radius: var(--r-pill); background: var(--chrome); color: var(--ink-60); white-space: nowrap; overflow: hidden; }
.browser .ext { position: relative; display: flex; align-items: center; gap: 0.5em; color: var(--ink-40); }
.browser .cw { position: relative; display: grid; place-items: center; width: max(2.4em, 30px); height: max(2.4em, 30px); padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; transition: background-color var(--dur-fast) ease; }
.browser .cw .logo { width: 1.45em; height: 1.45em; --logo-ground: var(--band); }
.browser .cw .badge { position: absolute; right: -0.35em; bottom: -0.1em; min-width: 1.6em; height: 1.6em; padding: 0 0.4em; border-radius: var(--r-pill); background: #c5f82a; color: #0e0e0f; font-size: 0.68em; font-weight: 700; line-height: 1.6em; letter-spacing: -0.01em; text-align: center; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--band); }
.browser .cw.is-open, .browser .cw:focus-visible { background: var(--chrome); }
.browser .cw::after { content: ""; position: absolute; inset: -0.3em; border-radius: 50%; box-shadow: 0 0 0 2px var(--signal); opacity: 0; pointer-events: none; }
.browser .cw.is-calling::after { animation: cw-call 1.6s var(--ease-out) 3; }
@keyframes cw-call { 0% { opacity: 0.9; scale: 0.8; } 100% { opacity: 0; scale: 1.5; } }
@media (hover: hover) and (pointer: fine) {
  .browser .cw:hover { background: var(--chrome); }
}
.browser .bookmarks { display: flex; gap: 2px; height: 2.6em; margin: 0; padding: 0 0.6em; border-bottom: 1px solid var(--line); list-style: none; overflow: hidden; }
.browser .bm { display: inline-flex; flex: none; align-items: center; gap: 0.5em; padding: 0 0.6em; color: var(--ink-60); white-space: nowrap; }
.browser .bm b { color: var(--ink); font-weight: 650; }
.browser .bm.has-count { color: var(--ink); }
.browser .page { position: relative; height: clamp(16rem, 30vw, 30rem); overflow: hidden; }
.browser .page .shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.browser .page .sketch { display: flex; flex-direction: column; gap: 1.2em; padding: 2.5em 3em; }
.browser .page .sketch span { height: 0.9em; border-radius: var(--r-pill); background: var(--slab); }
.browser .page .sketch span:nth-child(1) { width: 34%; height: 2.2em; }
.browser .page .sketch span:nth-child(2) { width: 52%; }
.browser .page .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1em; margin-top: 1em; }
.browser .page .grid i { aspect-ratio: 4 / 3; border-radius: 12px; background: var(--slab); }
.browser .panel {
  position: absolute;
  top: 5.9em;
  right: 0.6em;
  z-index: 5;
  width: clamp(15rem, 12rem + 8vw, 22rem);
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -20px color-mix(in srgb, #000000 55%, transparent);
  transform-origin: calc(100% - 1.6em) 0;
  opacity: 0;
  scale: 0.92;
  translate: 0 -8px;
  visibility: hidden;
  transition: opacity 160ms ease, scale 200ms var(--ease-out), translate 200ms var(--ease-out), visibility 0s linear 200ms;
}
.browser .panel img { width: 100%; }
.browser.is-open .panel { opacity: 1; scale: 1; translate: 0 0; visibility: visible; transition: opacity 260ms var(--ease-out), scale 460ms var(--ease-pop), translate 460ms var(--ease-pop), visibility 0s; }
@media (prefers-reduced-motion: reduce) {
  .browser .panel, .browser.is-open .panel { transition: none; }
  .browser .cw.is-calling::after { animation: none; }
}

/* Browser hero */
section.window { flex-direction: column; align-items: stretch; justify-content: space-between; gap: var(--gap-l); padding-bottom: 0; }
section.window .intro .title { max-width: 16ch; }
section.window .frame { position: relative; z-index: 2; width: 100%; padding: 0 var(--pad-x); margin-bottom: calc(-1 * clamp(6rem, 12vw, 14rem)); }
section.window .browser .page { height: clamp(18rem, 30vw, 32rem); }

/* Split browser */
section.split .c-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: var(--gap-l); max-width: none; }
section.split .frame { position: relative; z-index: 2; margin-right: calc(-1 * var(--pad-x) - 8vw); margin-bottom: -14vh; }
section.split .browser { width: 100%; max-width: none; }
section.split .browser .page { height: clamp(18rem, 36vw, 40rem); }

/* Stickers browser */
section.stuck { flex-direction: column; align-items: stretch; gap: var(--gap-l); padding-bottom: 0; }
section.stuck .frame { position: relative; z-index: 1; padding: 0 var(--pad-x); margin-bottom: calc(-1 * clamp(6rem, 12vw, 14rem)); pointer-events: none; }
section.stuck .sticker-board { position: absolute; inset: 0; z-index: 2; cursor: copy; }
section.stuck > .c-wrap { z-index: 3; }

/* Screens */
section.screens .c-wrap { display: flex; flex-direction: column; align-items: center; gap: var(--gap-l); }
section.screens .deck { position: relative; width: min(100%, 46rem); aspect-ratio: 16 / 9; margin-bottom: -12vh; }
section.screens .card { position: absolute; inset: 0; overflow: hidden; padding: 0; border: 0; border-radius: 14px; background: var(--band); box-shadow: 0 0 0 1px var(--line), var(--shadow); cursor: pointer; transform-origin: 50% 100%; transition: transform 620ms var(--ease-pop), filter 300ms ease; }
section.screens .card img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
section.screens .card[data-slot="0"] { z-index: 4; transform: none; }
section.screens .card[data-slot="1"] { z-index: 3; transform: translateY(-5%) scale(0.94); filter: brightness(0.92); }
section.screens .card[data-slot="2"] { z-index: 2; transform: translateY(-10%) scale(0.88); filter: brightness(0.84); }
section.screens .card[data-slot="3"] { z-index: 1; transform: translateY(-15%) scale(0.82); filter: brightness(0.76); }
section.screens .deck.is-fanned .card[data-slot="0"] { transform: translateY(2%) rotate(0deg); }
section.screens .deck.is-fanned .card[data-slot="1"] { transform: translate(-24%, -6%) rotate(-7deg) scale(0.9); filter: none; }
section.screens .deck.is-fanned .card[data-slot="2"] { transform: translate(24%, -6%) rotate(7deg) scale(0.9); filter: none; }
section.screens .deck.is-fanned .card[data-slot="3"] { transform: translateY(-18%) scale(0.84); filter: none; }
section.screens .label { position: absolute; bottom: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: var(--r-pill); background: var(--board); color: var(--ink); }

/* Alerts */
section.alerts { align-items: stretch; }
section.alerts .c-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: end; gap: var(--gap-l); max-width: none; }
section.alerts .intro { align-self: end; padding-bottom: var(--gap); }
section.alerts .intro .title { max-width: 11ch; }
section.alerts .stack { position: relative; align-self: start; display: flex; flex-direction: column; gap: 10px; width: min(100%, 23rem); margin: var(--gap) 0 0 auto; padding: 0; list-style: none; }
section.alerts .note { display: flex; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: 18px; background: color-mix(in srgb, var(--band) 88%, transparent); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -24px color-mix(in srgb, #000000 60%, transparent); color: var(--ink); font: inherit; text-align: left; cursor: pointer; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); animation: note-in 620ms var(--ease-pop) both; }
@keyframes note-in { from { opacity: 0; translate: 40px 0; scale: 0.96; } }
section.alerts .note .app { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #0e0e0f; }
section.alerts .note .app .logo { width: 24px; height: 24px; color: #f2f2ef; --logo-ground: #0e0e0f; }
section.alerts .note .words { display: flex; flex: 1; flex-direction: column; min-width: 0; font-size: 0.8125rem; line-height: 1.35; }
section.alerts .note .top { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-60); font-size: 0.75rem; }
section.alerts .note b { font-weight: 600; }
section.alerts .note small { overflow: hidden; color: var(--ink-60); font-size: 0.8125rem; text-overflow: ellipsis; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  section.alerts .note { animation: none; }
}

/* Tilt */
section.tilt { align-items: stretch; }
section.tilt .word { position: absolute; top: calc(var(--header-h) + 2vh); left: var(--pad-x); right: var(--pad-x); z-index: 0; display: flex; justify-content: space-between; color: var(--slab); font-size: clamp(4rem, 21vw, 30rem); font-weight: 750; letter-spacing: -0.04em; line-height: 0.8; text-transform: uppercase; -webkit-user-select: none; user-select: none; }
section.tilt .c-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: var(--gap); max-width: none; }
section.tilt .card { grid-column: 2; grid-row: 1; align-self: center; width: clamp(15rem, 11rem + 10vw, 22rem); perspective: 1000px; }
section.tilt .card .inner { overflow: hidden; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 50px 90px -30px color-mix(in srgb, #000000 70%, transparent); transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg)) rotate(-2deg); transition: transform 700ms var(--ease-out); }
section.tilt .card img { width: 100%; }
section.tilt .info { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; gap: var(--gap); max-width: 24rem; padding-bottom: var(--gap); }
section.tilt .info .lead { color: var(--ink); text-transform: uppercase; font-weight: 500; line-height: 1.2; }
section.tilt .side { grid-column: 3; grid-row: 1; justify-self: end; max-width: 16rem; padding-bottom: var(--gap); text-align: right; }

/* Before after */
section.compare .c-wrap { display: flex; flex-direction: column; align-items: center; gap: var(--gap-l); }
section.compare .switcher { position: relative; display: inline-flex; font-size: clamp(0.875rem, 0.8rem + 0.3vw, 1.125rem); }
section.compare .switcher .toggle-switch { font-size: inherit; }
section.compare .strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; max-width: 100%; margin: 0; padding: 10px; border-radius: 18px; background: var(--band); box-shadow: 0 0 0 1px var(--line); list-style: none; font-size: clamp(0.875rem, 0.75rem + 0.45vw, 1.25rem); }
section.compare .bm { display: inline-flex; align-items: center; gap: 0.5em; height: 2.4em; padding: 0 0.8em; border-radius: 10px; color: var(--ink-60); white-space: nowrap; transition: background-color 300ms ease, color 300ms ease; }
section.compare .bm b { display: inline-block; overflow: hidden; max-width: 0; color: var(--ink); font-weight: 650; opacity: 0; transition: max-width 520ms var(--ease-pop), opacity 300ms ease; }
section.compare.is-with .bm.has-count { background: var(--slab); color: var(--ink); }
section.compare.is-with .bm.has-count b { max-width: 3em; opacity: 1; transition-delay: var(--d, 0ms); }

/* Chip */
section.chip .title { max-width: 16ch; }
section.chip .pill { display: inline-flex; align-items: center; gap: 0.22em; height: 1.08em; padding: 0 0.3em 0 0.14em; border: 0; border-radius: 0.24em; background: var(--slab); color: var(--ink); font: inherit; letter-spacing: inherit; line-height: 1; vertical-align: -0.14em; cursor: pointer; transition: scale var(--dur-fast) var(--ease-out); }
section.chip .pill:active { scale: 0.97; }
section.chip .pill .fav { display: grid; flex: none; place-items: center; width: 0.78em; height: 0.78em; border-radius: 0.18em; background: var(--band); }
section.chip .pill .fav svg { width: 0.5em; height: 0.5em; fill: none; stroke: currentColor; stroke-width: 1.4; }
section.chip .pill .name, section.chip .pill .count { display: inline-block; transition: opacity 260ms ease, filter 260ms ease, translate 260ms var(--ease-out); }
section.chip .pill .count { color: var(--signal); }
section.chip .pill.is-swap .name, section.chip .pill.is-swap .count { opacity: 0; filter: blur(6px); translate: 0 0.15em; }
section.chip .pill.is-seen .count { opacity: 0; }

/* Hub */
section.hub { padding: calc(var(--header-h) + var(--gap)) 0 calc(var(--footer-h) + var(--gap)); }
section.hub .top-wrap { display: flex; flex-direction: column; gap: 12px; margin-bottom: var(--gap-l); }
section.hub .group + .group { margin-top: var(--gap-l); }
section.hub .group > .meta { margin-bottom: 16px; }
section.hub .items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
section.hub .item a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; border-radius: var(--r-card); background: var(--band); text-decoration: none; transition: background-color var(--dur-base) var(--ease-out); }
section.hub .item .number { color: var(--ink-60); }
section.hub .item .title { font-size: var(--h3); }
@media (hover: hover) and (pointer: fine) {
  section.hub .item a:hover { background: var(--slab); }
}

/* Copy */
section.copy { padding: calc(var(--header-h) + var(--gap)) 0 calc(var(--footer-h) + var(--gap-l)); }
section.copy .c-wrap { max-width: calc(60rem + 2 * var(--pad-x)); }
section.copy .top-wrap { display: flex; flex-direction: column; gap: 12px; margin-bottom: var(--gap-l); }
section.copy .group { padding: var(--gap) 0; border-top: 1px solid var(--line); }
section.copy .group h2 { margin-bottom: 6px; font-size: var(--h3); }
section.copy .group > .small { margin-bottom: 16px; }
section.copy ol { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: option; }
section.copy li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 12px; padding: 12px 16px; border-radius: var(--r-inner); background: var(--band); counter-increment: option; font-size: var(--lead); line-height: 1.35; }
section.copy li::before { content: counter(option, upper-alpha); color: var(--ink-60); font-size: var(--meta); font-weight: 600; letter-spacing: 0.06em; line-height: 2; }
section.copy li .meta { display: block; margin-top: 4px; }

/* Styleguide */
section.styleguide { padding: calc(var(--header-h) + var(--gap)) 0 calc(var(--footer-h) + var(--gap)); }
section.styleguide .group { display: flex; flex-direction: column; gap: 20px; padding: var(--gap) 0; border-top: 1px solid var(--line); }
section.styleguide .swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 12px; }
section.styleguide .swatch { display: flex; flex-direction: column; gap: 8px; font-size: var(--small); }
section.styleguide .swatch span:first-child { height: 4.5rem; border-radius: var(--r-inner); box-shadow: inset 0 0 0 1px var(--line); }
section.styleguide .row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
section.styleguide .stickers { display: grid; grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr)); gap: 16px; }

/* Responsive */
@media (max-width: 1024px) {
  section.split .c-wrap { grid-template-columns: minmax(0, 1fr); }
  section.split .intro.is-left { align-items: center; text-align: center; }
  section.split .frame { margin: 0 calc(-1 * var(--pad-x) - 10vw) -12vh 0; }
  section.alerts .c-wrap { grid-template-columns: minmax(0, 1fr); align-items: start; }
  section.alerts .stack { order: 2; margin: 0 auto; }
  section.alerts .intro { align-self: start; padding-bottom: 0; }
}
@media (max-width: 767px) {
  .browser .toolbar .icons, .browser .tab:not(.is-active) { display: none; }
  .browser .page .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .browser .panel { right: 0.4em; width: min(17rem, calc(100% - 0.8em)); }
  section.tilt .c-wrap { grid-template-columns: minmax(0, 1fr); align-items: start; padding-top: 22vw; }
  section.tilt .card { grid-column: 1; grid-row: 1; justify-self: center; width: 13rem; }
  section.tilt .info { grid-column: 1; grid-row: 2; padding-bottom: 0; }
  section.tilt .side { display: none; }
  section.compare .bm:nth-child(n + 6) { display: none; }
  section.copy li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
/* Spin */
section.spin { align-items: stretch; padding-bottom: 0; }
section.spin .c-wrap { display: grid; grid-template-rows: auto minmax(0, 1fr); }
section.spin .word { position: relative; z-index: 0; display: flex; justify-content: space-between; font-size: clamp(4rem, 21vw, 30rem); font-weight: 750; letter-spacing: -0.04em; line-height: 0.8; text-transform: uppercase; color: var(--slab); -webkit-user-select: none; user-select: none; }
section.spin .stage { position: absolute; top: calc(var(--header-h) + 0.3 * clamp(4rem, 21vw, 30rem)); left: 50%; z-index: 2; --coin: clamp(11rem, 4rem + 22vw, 28rem); translate: -50% 0; }
section.spin .bottom-wrap { position: relative; z-index: 3; align-self: end; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--gap); padding-bottom: calc(var(--footer-h) + var(--gap) * 0.5); }
section.spin .info { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gap); max-width: 24rem; }
section.spin .info .lead { color: var(--ink); text-transform: uppercase; font-size: var(--lead); font-weight: 500; letter-spacing: 0; line-height: 1.2; }
section.spin .side { max-width: 16rem; text-align: right; }
section.spin .label { position: fixed; top: 0; left: 0; z-index: 30; padding: 4px 8px; background: var(--tag-bg, var(--lime)); color: var(--tag-ink, var(--on-lime)); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; pointer-events: none; opacity: 0; translate: var(--lx, 0) var(--ly, 0); transition: opacity var(--dur-fast) ease; }
section.spin .label.is-on { opacity: 1; }

/* Responsive */
@media (max-width: 767px) {
  section.spin .bottom-wrap { flex-direction: column; align-items: flex-start; }
  section.spin .side { display: none; }
  section.spin .stage { --coin: 13rem; }
}
@media (hover: none) {
  section.spin .label { display: none; }
}
/* Widget base */
.widget { font-size: 0.875rem; line-height: 1.4; letter-spacing: -0.01em; -webkit-user-select: none; user-select: none; }
.widget button { border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* Notify */
section.notify .intro { gap: calc(var(--gap) * 0.85); }
section.notify .widget { display: flex; flex-direction: column; align-items: center; width: min(100%, 21rem); height: 15.5rem; margin-top: var(--gap); }
section.notify .pill { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: var(--r-pill); background: var(--slab); color: var(--ink); font-weight: 500; transition: scale var(--dur-fast) var(--ease-out), translate 420ms var(--ease-pop); }
section.notify .pill:active { scale: 0.96; }
section.notify .bell { position: relative; display: grid; place-items: center; width: 16px; height: 16px; transform-origin: 50% 8%; }
section.notify .bell svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
section.notify .bell.is-ring { animation: bell-ring 600ms ease-out; }
@keyframes bell-ring { 0% { rotate: 0deg; } 20% { rotate: 14deg; } 40% { rotate: -11deg; } 60% { rotate: 7deg; } 80% { rotate: -4deg; } 100% { rotate: 0deg; } }
section.notify .bell i { position: absolute; top: -2px; right: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 2px var(--slab); transition: scale 300ms var(--ease-pop); }
section.notify .widget.is-done .bell i { scale: 0; }
section.notify .say { display: grid; font-variant-numeric: tabular-nums; white-space: nowrap; }
section.notify .say span { grid-area: 1 / 1; transition: opacity 220ms var(--ease-out), translate 220ms var(--ease-out), filter 220ms var(--ease-out); }
section.notify .say span.is-out { opacity: 0; translate: 0 -6px; filter: blur(3px); }
section.notify .say span.is-in { opacity: 0; translate: 0 6px; filter: blur(3px); }
section.notify .card { display: flex; flex-direction: column; gap: 2px; width: 100%; margin-top: 8px; padding: 6px; border-radius: var(--r-card); background: var(--slab); transform-origin: 50% 0; opacity: 0; scale: 0.94; translate: 0 -12px; visibility: hidden; transition: opacity 160ms ease 60ms, scale 160ms ease 60ms, translate 160ms ease 60ms, visibility 0s linear 220ms; }
section.notify .widget.is-open .card { opacity: 1; scale: 1; translate: 0 0; visibility: visible; transition: opacity 380ms var(--ease-out), scale 420ms var(--ease-pop), translate 420ms var(--ease-pop), visibility 0s; }
section.notify .row { display: flex; align-items: center; gap: 12px; width: 100%; height: 56px; padding: 0 12px 0 10px; border-radius: var(--r-inner); color: var(--ink); text-align: left; opacity: 0; translate: 0 8px; filter: blur(4px); transition: background-color var(--dur-fast) ease, scale var(--dur-fast) var(--ease-out), opacity 100ms ease, filter 100ms ease, translate 100ms ease; }
section.notify .widget.is-open .row { opacity: 1; translate: 0 0; filter: blur(0); transition: background-color var(--dur-fast) ease, scale var(--dur-fast) var(--ease-out), opacity 220ms var(--ease-out) var(--d), filter 220ms var(--ease-out) var(--d), translate 220ms var(--ease-out) var(--d); }
section.notify .row:active { scale: 0.98; }
section.notify .row .letter { width: 32px; height: 32px; border-radius: 50%; background: var(--band); }
section.notify .row .words { display: flex; flex: 1; flex-direction: column; min-width: 0; }
section.notify .row .words b { font-weight: 400; color: var(--ink-60); transition: color 220ms ease; }
section.notify .row.is-unread .words b { font-weight: 500; color: var(--ink); }
section.notify .row .words small { overflow: hidden; color: var(--ink-60); font-size: 0.8125rem; text-overflow: ellipsis; white-space: nowrap; }
section.notify .row .side { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 6px; height: 28px; }
section.notify .row time { color: var(--ink-60); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
section.notify .row .side i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); transition: scale 300ms var(--ease-pop); }
section.notify .row:not(.is-unread) .side i { scale: 0; }
@media (hover: hover) and (pointer: fine) {
  section.notify .row:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
}

/* Toasts */
section.toasts .widget { position: relative; width: min(100%, 22rem); height: 13.5rem; margin-top: var(--gap); }
section.toasts .stack { position: absolute; inset: 0 0 auto; display: block; height: 100%; margin: 0; padding: 0; list-style: none; outline-offset: 8px; border-radius: var(--r-card); }
section.toasts .toast { position: absolute; top: 4.5rem; left: 0; right: 0; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 14px 0 12px; border-radius: 18px; background: var(--slab); text-align: left; transform-origin: 50% 0; transition: translate 520ms var(--ease-pop), scale 520ms var(--ease-pop), opacity 300ms ease, background-color 300ms ease; }
section.toasts .toast:nth-child(1) { z-index: 3; }
section.toasts .toast:nth-child(2) { z-index: 2; translate: 0 -12px; scale: 0.94; background: color-mix(in srgb, var(--slab) 80%, var(--board)); }
section.toasts .toast:nth-child(3) { z-index: 1; translate: 0 -24px; scale: 0.88; background: color-mix(in srgb, var(--slab) 60%, var(--board)); }
section.toasts .toast:nth-child(n + 2) > * { opacity: 0; transition: opacity 200ms ease; }
section.toasts .widget.is-open .toast { scale: 1; background: var(--slab); }
section.toasts .widget.is-open .toast > * { opacity: 1; transition: opacity 300ms ease 120ms; }
section.toasts .widget.is-open .toast:nth-child(1) { translate: 0 -4.25rem; }
section.toasts .widget.is-open .toast:nth-child(2) { translate: 0 0; }
section.toasts .widget.is-open .toast:nth-child(3) { translate: 0 4.25rem; }
section.toasts .toast .letter { width: 36px; height: 36px; border-radius: 10px; background: var(--band); }
section.toasts .toast .words { display: flex; flex: 1; flex-direction: column; min-width: 0; }
section.toasts .toast .words b { font-weight: 500; }
section.toasts .toast .words small { overflow: hidden; color: var(--ink-60); font-size: 0.8125rem; text-overflow: ellipsis; white-space: nowrap; }
section.toasts .toast .count { color: var(--signal); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Responsive */
@media (max-width: 479px) {
  section.toasts .widget.is-open .toast:nth-child(1) { translate: 0 -4.125rem; }
  section.toasts .widget.is-open .toast:nth-child(3) { translate: 0 4.125rem; }
}

/* Browser extras */
.browser .tablist { display: contents; }
section.window.has-coin { --coin: clamp(4rem, 3rem + 3vw, 6rem); }
section.window.has-coin .intro { gap: calc(var(--gap) * 0.7); }
section.window, section.stuck { height: 100svh; min-height: 36rem; }
section.chip .title { font-size: min(var(--impact), 9.4vw); }
section.chip .pill { white-space: nowrap; }
@media (min-width: 1025px) {
  section.compare .strip { flex-wrap: nowrap; }
}

/* App popup */
.app-popup {
  --p-slab: #1a1a1a;
  --p-on: #efefef;
  --p-soft: color-mix(in srgb, var(--p-on) 80%, var(--p-slab));
  --p-mute: color-mix(in srgb, var(--p-on) 66%, var(--p-slab));
  --p-faint: color-mix(in srgb, var(--p-on) 60%, var(--p-slab));
  --p-line: color-mix(in srgb, var(--p-on) 9%, transparent);
  --p-wash: color-mix(in srgb, var(--p-on) 5%, var(--p-slab));
  --p-item: color-mix(in srgb, var(--p-on) 8%, var(--p-slab));
  display: flex;
  flex-direction: column;
  width: 380px;
  background: var(--p-slab);
  color: var(--p-on);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  text-align: left;
  zoom: var(--pop-zoom, 1);
}
:root[data-theme="light"] .app-popup { --p-slab: #ffffff; --p-on: #0e0e0f; --p-item: #ffffff; }
.app-popup .top { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; border-bottom: 1px solid var(--p-line); }
.app-popup .top .logo { width: 34px; height: 34px; margin: -2px 0 -2px -4px; color: var(--p-on); --logo-ground: var(--p-slab); }
.app-popup .top .info { flex: 1; min-width: 0; }
.app-popup .top .name { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; letter-spacing: -0.02em; }
.app-popup .top .beta { height: 18px; padding: 0 8px; background: #0e0e0f; box-shadow: var(--beta-ring); font-size: 11px; }
.app-popup .top .when { color: var(--p-mute); font-size: 12px; }
.app-popup .top .actions { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 8px; }
.app-popup .check { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--p-on); color: var(--p-slab); font-weight: 500; }
.app-popup .check svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.app-popup .link { display: inline-flex; align-items: center; gap: 2px; height: 24px; padding: 0 6px 0 8px; color: var(--p-mute); font-size: 12px; }
.app-popup .link svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-popup .list { display: flex; flex-direction: column; padding: 8px; }
.app-popup .site { border-radius: 12px; }
.app-popup .site.has-new { margin-bottom: 6px; padding-bottom: 4px; background: var(--p-wash); }
.app-popup .site .row { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 8px; }
.app-popup .site .row .globe { width: 16px; height: 16px; opacity: 0.8; }
.app-popup .site .row .label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-popup .site.has-new .row .label { font-weight: 500; }
.app-popup .site:not(.has-new) .row .label { color: var(--p-soft); }
.app-popup .site .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #0e0e0f; color: var(--lime); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
:root:not([data-theme="light"]) .app-popup .site .count { box-shadow: 0 0 0 1px color-mix(in srgb, var(--lime) 35%, transparent); }
.app-popup .site .tracked { color: var(--p-faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.app-popup .items { margin: 0; padding: 0 8px 4px 34px; list-style: none; }
.app-popup .item { display: flex; justify-content: space-between; gap: 8px; margin-left: -8px; padding: 6px 8px; border-radius: 8px; }
.app-popup .item:first-child { background: var(--p-item); }
:root[data-theme="light"] .app-popup .item:first-child { box-shadow: 0 0 0 1px var(--p-line); }
.app-popup .item .when { color: var(--p-faint); font-size: 12px; white-space: nowrap; }
.app-popup .divider { padding: 10px 8px 4px; color: var(--p-faint); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.app-popup .bottom { display: flex; justify-content: space-between; padding: 6px 8px; border-top: 1px solid var(--p-line); }
.app-popup .bottom .link { height: 30px; padding: 0 10px; font-size: 13px; }
.browser .panel { width: auto; --pop-zoom: 0.82; }
@media (min-width: 1440px) { .browser .panel { --pop-zoom: 0.95; } }
@media (max-width: 1024px) { .browser .panel { --pop-zoom: 0.76; } }

/* Lift */
.is-screen > .frame.has-lift {
  --win-h: min(calc(100svh - var(--header-h) - var(--footer-h) + 8px), 46rem);
  --peek: clamp(9rem, 28svh, 17rem);
  position: absolute;
  right: 0;
  bottom: calc(var(--footer-h) - 8px);
  left: 0;
  z-index: 2;
  height: var(--win-h);
  margin: 0;
  padding: 0 var(--pad-x);
  pointer-events: none;
  perspective: 1600px;
}
.is-screen > .frame.has-lift .browser {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  pointer-events: auto;
  translate: 0 calc(var(--win-h) - var(--peek) + var(--footer-h) - 8px);
  transition: translate 0.75s cubic-bezier(0.65, 0, 0.35, 1), transform 0.75s cubic-bezier(0.65, 0, 0.35, 1);
}
.is-screen > .frame.has-lift .browser .page { flex: 1; height: auto; }
.is-screen > .frame.has-lift.is-lifted { z-index: 4; }
.is-screen > .frame.has-lift.is-lifted .browser { translate: 0 0; transition: translate 1.05s cubic-bezier(0.16, 1, 0.3, 1), transform 1.05s cubic-bezier(0.16, 1, 0.3, 1); }
.is-screen > .frame.has-tilt .browser { transform-origin: 50% 100%; transform: rotateX(20deg) scale(0.95); }
.is-screen > .frame.has-tilt.is-lifted .browser { transform: none; }
section:has(> .frame.has-lift) { justify-content: flex-start; }
@media (prefers-reduced-motion: reduce) {
  .is-screen > .frame.has-lift .browser, .is-screen > .frame.has-lift.is-lifted .browser { transition: none; }
}

/* Expand */
.expand { position: absolute; top: -18px; right: -10px; z-index: 6; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: var(--r-pill); background: var(--ink); color: var(--board); font: inherit; font-size: var(--small); font-weight: 600; cursor: pointer; box-shadow: 0 14px 30px -14px color-mix(in srgb, #000000 70%, transparent); transition: scale var(--dur-fast) var(--ease-out); }
.expand:active { scale: 0.96; }
.expand svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.expand svg path { transition: translate 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .expand:hover svg .tr { translate: 1.5px -1.5px; }
  .expand:hover svg .bl { translate: -1.5px 1.5px; }
}

/* Preview dialog */
.preview .overlay { position: fixed; inset: 0; z-index: 60; background-color: rgba(10, 10, 10, 0); -webkit-backdrop-filter: blur(var(--blur, 0px)); backdrop-filter: blur(var(--blur, 0px)); pointer-events: none; }
.preview .modal { position: fixed; inset: 0; z-index: 61; display: flex; align-items: flex-end; justify-content: center; padding: 48px var(--pad-x) 0; visibility: hidden; opacity: 0; pointer-events: none; }
.preview.is-open .modal { pointer-events: auto; }
.preview .sheet { position: relative; width: min(100%, 76rem); max-height: calc(100svh - 64px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; border-radius: 20px 20px 0 0; background: var(--band); color: var(--ink); text-align: left; }
.preview .close { position: absolute; top: 16px; right: 16px; z-index: 7; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out); }
.preview .close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
@media (hover: hover) and (pointer: fine) {
  .preview .close:hover { background: var(--ink); color: var(--band); }
}
.preview .content-wrap { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); padding: clamp(20px, 2.8vw, 48px); }
.preview .content-wrap .h2 { max-width: min(100%, 14ch); padding-right: 56px; }
.preview .content-wrap .paragraph { max-width: 34rem; font-size: var(--lead); }
.preview .browser { width: 100%; max-width: none; border-radius: 16px; }
.preview .browser .tabs { border-radius: 16px 16px 0 0; }
.preview .browser .page { height: clamp(26rem, 46vw, 44rem); }
.preview .browser .panel { --pop-zoom: 1; }
.preview .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); }
.preview .stats .number { font-size: var(--h3); font-weight: 650; letter-spacing: -0.02em; line-height: 1; }
.preview .stats .small { margin-top: 8px; }
.preview .shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 24px); }
.preview .shots img { width: 100%; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.preview .outro { max-width: 32rem; margin: 0 auto 12px; color: var(--ink-60); text-align: center; }
@media (max-width: 767px) {
  .preview .browser .panel { --pop-zoom: 0.76; }
  .preview .stats, .preview .shots { grid-template-columns: minmax(0, 1fr); }
  .expand { top: -14px; right: 0; }
}

/* Tile */
section.feature .c-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: var(--gap-l); max-width: none; }
section.feature .tile { position: relative; display: flex; min-height: clamp(20rem, 30vw, 28rem); overflow: hidden; border-radius: var(--r-card); background: var(--band); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
section.feature .tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
section.feature .tile .copy { display: flex; flex: 1 1 42%; flex-direction: column; justify-content: space-between; gap: 8px; padding: 24px; }
section.feature .tile .copy .h3 { max-width: 10ch; }
section.feature .tile .media { position: relative; flex: 0 0 56%; margin: 80px 0 0; overflow: hidden; border-radius: 16px 0 0 0; box-shadow: 0 0 0 1px var(--line); }
section.feature .tile .media .browser { width: 46rem; max-width: none; margin: 0; font-size: 0.75rem; box-shadow: none; }
section.feature .tile .media .browser .panel { --pop-zoom: 0.7; }
section.feature .tile .toggle { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out); }
section.feature .tile .toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
section.feature .tile .toggle svg path { transition: translate 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  section.feature .tile:hover .toggle { background: var(--ink); color: var(--band); }
  section.feature .tile:hover .toggle .tr { translate: 1.75px -1.75px; }
  section.feature .tile:hover .toggle .bl { translate: -1.75px 1.75px; }
}
@media (max-width: 1024px) {
  section.feature .c-wrap { grid-template-columns: minmax(0, 1fr); }
  section.feature .intro.is-left { align-items: center; text-align: center; }
}
@media (max-width: 767px) {
  section.feature .tile { flex-direction: column-reverse; min-height: 0; }
  section.feature .tile .media { height: 12rem; margin: 0 0 0 16px; }
}

/* Not found */
section.not-found { min-height: calc(100svh - var(--footer-h)); padding-bottom: 0; }
section.not-found .sticker-board { position: absolute; inset: var(--header-h) 0 0; z-index: 2; cursor: copy; }
section.not-found .sticker-board:focus-visible { outline-offset: -8px; }
section.not-found [data-stickers-init] .sticker { font-size: min(clamp(4.8em, 3.2em + 7.2vw, 11.2em), 22svh); }
@media (max-height: 359px) {
  section.not-found .sticker-board { display: none; }
}

/* Privacy */
section.legal { padding: calc(var(--header-h) + var(--gap-l)) 0 calc(var(--footer-h) + var(--gap-l)); }
section.legal .c-wrap { max-width: calc(46rem + 2 * var(--pad-x)); }
section.legal .back { margin-bottom: var(--gap-l); }
section.legal .title { margin: var(--gap) 0 var(--gap); font-size: var(--h1); line-height: 0.92; }
section.legal .summary { font-size: var(--lead-l); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
section.legal .short { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: var(--gap-l) 0; padding: 0; list-style: none; }
section.legal .short li { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--r-inner); background: var(--band); }
section.legal .short b { font-size: var(--lead); font-weight: 600; }
section.legal .short span { color: var(--ink-60); font-size: var(--small); line-height: 1.4; }
section.legal .part { padding: var(--gap) 0; }
section.legal .part h2 { margin-bottom: 10px; font-size: var(--h3); }
section.legal .part .paragraph { font-size: var(--lead); line-height: 1.55; }
section.legal .part .paragraph p + p { margin-top: 0.8em; }
section.legal .part .paragraph ul { display: flex; flex-direction: column; gap: 0.6em; margin: 0; padding-left: 1.2em; }
section.legal .part .paragraph strong { color: var(--ink); font-weight: 600; }
@media (max-width: 767px) {
  section.legal .short { grid-template-columns: minmax(0, 1fr); }
}

/* Hub meta switch */
section.hub .options { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
section.hub .options button { min-height: 32px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: var(--band); color: var(--ink-60); font: inherit; font-size: var(--small); cursor: pointer; }
section.hub .options button[aria-pressed="true"] { background: var(--ink); color: var(--board); }

/* Peek */
.frame .open-pill { position: absolute; top: 42%; left: 50%; z-index: 6; translate: -50% -50%; }
.frame .open-pill .btn { --btn-padding: 1em 1.6em; }

/* Live popup */
section.live .c-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--gap-l); max-width: none; }
section.live .stage { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
section.live .bar { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: var(--r-pill); background: var(--band); box-shadow: 0 0 0 1px var(--line); color: var(--ink-60); font-size: var(--small); }
section.live .bar .cw { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--slab); }
section.live .bar .cw .logo { width: 22px; height: 22px; --logo-ground: var(--slab); }
section.live .bar .badge { position: absolute; right: -4px; bottom: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: var(--r-pill); background: #0e0e0f; color: var(--lime); font-size: 0.6875rem; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--band); transition: scale 300ms var(--ease-pop); }
section.live .bar .badge.is-empty { scale: 0; }
section.live .shell { overflow: hidden; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
section.live .app-popup { --pop-zoom: 1; }
@media (min-width: 1440px) { section.live .app-popup { --pop-zoom: 1.12; } }
@media (max-width: 767px) {
  section.live .c-wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  section.live .intro.is-left { align-items: center; text-align: center; }
  section.live .stage { align-items: center; }
}
.app-popup button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: inherit; cursor: pointer; }
.app-popup button.item { display: flex; width: calc(100% + 8px); transition: opacity 260ms ease, translate 260ms var(--ease-out), background-color var(--dur-fast) ease; }
.app-popup button.item.is-gone { opacity: 0; translate: 8px 0; }
.app-popup .site .count { transition: scale 300ms var(--ease-pop); }
.app-popup .site .count.is-bump { animation: count-bump 420ms var(--ease-pop); }
@keyframes count-bump { 0% { scale: 1; } 35% { scale: 1.25; } 100% { scale: 1; } }
.app-popup .check.is-busy svg { animation: spin 0.9s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.app-popup button.check, .app-popup button.link { transition: opacity var(--dur-fast) ease; }
@media (hover: hover) and (pointer: fine) {
  .app-popup button.item:hover { background: color-mix(in srgb, var(--p-on) 10%, var(--p-slab)); }
  .app-popup button.link:hover { color: var(--p-on); }
}
@media (prefers-reduced-motion: reduce) {
  .app-popup .check.is-busy svg, .app-popup .site .count.is-bump { animation: none; }
}

/* PiP */
.pip { position: absolute; right: var(--pad-x); bottom: calc(var(--footer-h) + 8px); z-index: 4; width: clamp(15rem, 12rem + 8vw, 22rem); overflow: hidden; border: 0; padding: 0; border-radius: 14px; background: var(--band); box-shadow: 0 0 0 1px var(--line), var(--shadow); color: var(--ink); text-align: left; cursor: pointer; }
.pip .media { height: clamp(8.5rem, 6rem + 6vw, 12rem); overflow: hidden; pointer-events: none; }
.pip .media .browser { width: 40rem; max-width: none; margin: 0; font-size: 0.6875rem; border-radius: 0; box-shadow: none; }
.pip .media .browser .panel { --pop-zoom: 0.62; }
.pip .bottom-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 14px; border-top: 1px solid var(--line); font-size: var(--small); font-weight: 500; }
.pip .bottom-wrap svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pip:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (max-width: 767px) {
  .pip { right: 50%; translate: 50% 0; width: min(18rem, calc(100% - 2 * var(--pad-x))); }
}

/* Groups */
section.toasts .toast.is-group .count { display: inline-grid; margin-left: auto; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: #0e0e0f; color: var(--lime); font-size: 0.75rem; }
section.toasts .more { margin-top: var(--gap); }

/* Compare browser */
section.compare.has-browser { flex-direction: column; align-items: stretch; gap: var(--gap); height: 100svh; min-height: 36rem; padding-bottom: 0; }
section.compare .browser .bm b { display: inline-block; overflow: hidden; max-width: 0; opacity: 0; vertical-align: bottom; transition: max-width 520ms var(--ease-pop), opacity 300ms ease; }
section.compare.is-with .browser .bm b { max-width: 3em; opacity: 1; transition-delay: var(--d, 0ms); }
section.compare .browser .badge { transition: scale 300ms var(--ease-pop); }
section.compare:not(.is-with) .browser .badge { scale: 0; }
.is-screen .intro .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: calc(var(--gap) * 0.25); }
.is-screen .intro.is-left .actions { justify-content: flex-start; }
section.alerts.has-browser { flex-direction: column; align-items: stretch; height: 100svh; min-height: 36rem; padding-bottom: 0; }
section.alerts.has-browser .c-wrap { align-items: start; }
section.alerts.has-browser .intro { align-self: start; padding-bottom: 0; }
section.alerts.has-browser .stack { z-index: 5; }
.btn .inner > svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.browser, .preview .content-wrap > * { min-width: 0; }
.preview .content-wrap { min-width: 0; }
.pip { width: clamp(13rem, 10rem + 6vw, 19rem); }
.pip .media { display: block; height: clamp(6.5rem, 4.5rem + 4vw, 9.5rem); }


/* Views */
.browser .view[hidden] { display: none; }
.browser .view { height: 100%; }
.browser .view .shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.browser .sketch .heading { font-size: clamp(1.25rem, 1rem + 1vw, 2.25rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.05; }
.browser .sketch .sub { color: var(--ink-60); }
.browser button.bm { border: 0; border-radius: 8px; background: none; font: inherit; cursor: pointer; transition: background-color var(--dur-fast) ease; }
@media (hover: hover) and (pointer: fine) {
  .browser button.bm:hover { background: var(--chrome); }
}
.browser .badge.is-empty { scale: 0; }
.browser .badge { transition: scale 300ms var(--ease-pop); }
.browser .tab-action { display: inline-flex; align-items: center; gap: 0.5em; align-self: center; height: 2.1em; margin-left: auto; padding: 0 0.9em; border: 0; border-radius: var(--r-pill); background: #0e0e0f; color: #f2f2ef; font: inherit; font-weight: 600; cursor: pointer; transition: scale var(--dur-fast) var(--ease-out); }
.browser .tab-action svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.browser .tab-action .logo { width: 1.3em; height: 1.3em; color: #f2f2ef; --logo-ground: #0e0e0f; }
.browser .tab-action:active { scale: 0.96; }
section.stuck > .c-wrap, section.board > .c-wrap { pointer-events: none; }

/* Brand chip */
.chip-open { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 8px 0 10px; border: 0; border-radius: var(--r-pill); background: #0e0e0f; color: #f2f2ef; font: inherit; font-size: var(--small); font-weight: 600; cursor: pointer; box-shadow: 0 0 0 1px color-mix(in srgb, #ffffff 10%, transparent), 0 24px 50px -20px color-mix(in srgb, #000000 70%, transparent); transition: scale var(--dur-fast) var(--ease-out), translate 500ms var(--ease-pop); }
.chip-open .logo { width: 30px; height: 30px; color: #f2f2ef; --logo-ground: #0e0e0f; }
.chip-open .new { display: inline-grid; place-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: var(--lime); color: #0e0e0f; font-size: 0.75rem; font-weight: 700; }
.chip-open .glyph { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, #ffffff 10%, transparent); }
.chip-open .glyph svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.chip-open .glyph svg path { transition: translate 400ms var(--ease-out); }
.chip-open:active { scale: 0.97; }
@media (hover: hover) and (pointer: fine) {
  .chip-open:hover { translate: 0 -3px; }
  .chip-open:hover .glyph .tr { translate: 1.5px -1.5px; }
  .chip-open:hover .glyph .bl { translate: -1.5px 1.5px; }
}
.frame .open-pill { position: absolute; top: clamp(5.5rem, 9vw, 8rem); left: 50%; z-index: 6; translate: -50% 0; }

/* Notification centre */
section.alerts .centre { align-self: start; display: flex; flex-direction: column; gap: 12px; width: min(100%, 24rem); margin: var(--gap) 0 0 auto; padding: 14px; border-radius: 24px; background: color-mix(in srgb, var(--band) 70%, transparent); box-shadow: 0 0 0 1px var(--line); }
section.alerts .centre .top-wrap { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 0; }
section.alerts .centre .stack { width: 100%; min-height: calc(3 * 68px + 2 * 10px); margin: 0; }
section.alerts .note .top [data-when] { font-variant-numeric: tabular-nums; }
section.alerts li.is-in .note { animation: note-in 620ms var(--ease-pop) both; }
section.alerts li.is-out .note { animation: note-out 380ms var(--ease-in-out) both; }
section.alerts .note { animation: none; }
@keyframes note-out { to { opacity: 0; translate: 0 12px; scale: 0.96; filter: blur(4px); } }
@media (max-width: 1024px) {
  section.alerts .centre { order: 2; margin: 0 auto; }
}

/* Compare mock */
section.compare .mock { width: min(100%, 64rem); overflow: hidden; border-radius: 18px; background: var(--band); box-shadow: 0 0 0 1px var(--line), var(--shadow); text-align: left; font-size: clamp(0.8125rem, 0.72rem + 0.3vw, 1rem); }
section.compare .mock .toolbar { display: flex; align-items: center; gap: 0.9em; height: 3.4em; padding: 0 0.9em; }
section.compare .mock .address { display: flex; flex: 1; align-items: center; gap: 0.6em; height: 2.4em; padding: 0 1em; overflow: hidden; border-radius: var(--r-pill); background: color-mix(in srgb, var(--board) 70%, var(--slab)); color: var(--ink-60); white-space: nowrap; }
section.compare .mock .cw { position: relative; display: grid; place-items: center; width: 2.4em; height: 2.4em; color: var(--ink); }
section.compare .mock .cw .logo { width: 1.5em; height: 1.5em; --logo-ground: var(--band); }
section.compare .mock .badge { position: absolute; right: -0.15em; bottom: 0; min-width: 1.5em; height: 1.5em; padding: 0 0.3em; border-radius: var(--r-pill); background: #0e0e0f; color: var(--lime); font-size: 0.72em; font-weight: 700; line-height: 1.5em; text-align: center; box-shadow: 0 0 0 2px var(--band); transition: scale 400ms var(--ease-pop) 300ms; }
section.compare:not(.is-with) .badge { scale: 0; transition-delay: 0ms; }
section.compare .mock .strip { flex-wrap: nowrap; justify-content: flex-start; max-width: none; padding: 0.4em 0.6em 0.6em; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--line); overflow: hidden; }
section.compare .mock .bm { flex: none; height: 2.3em; }
section.compare .switcher { padding: 10px 18px; border-radius: var(--r-pill); background: var(--band); box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 767px) {
  section.compare .mock .bm:nth-child(n + 5) { display: none; }
}

/* Chrome bar */
section.live .chrome-bar { display: flex; align-items: center; gap: 10px; width: calc(380px * var(--pop-zoom, 1)); padding: 6px 6px 6px 8px; border-radius: 14px; background: var(--band); box-shadow: 0 0 0 1px var(--line); color: var(--ink-40); font-size: var(--small); }
section.live .chrome-bar .address { display: flex; flex: 1; align-items: center; gap: 8px; min-width: 0; height: 32px; padding: 0 12px; overflow: hidden; border-radius: var(--r-pill); background: color-mix(in srgb, var(--board) 70%, var(--slab)); color: var(--ink-60); white-space: nowrap; }
section.live .chrome-bar svg:not(.logo):not(.globe) { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
section.live .chrome-bar .cw { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--board) 70%, var(--slab)); color: var(--ink); }
section.live .chrome-bar .cw .logo { width: 20px; height: 20px; --logo-ground: color-mix(in srgb, var(--board) 70%, var(--slab)); }
section.live .chrome-bar .badge { position: absolute; right: -4px; bottom: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: var(--r-pill); background: #0e0e0f; color: var(--lime); font-size: 0.6875rem; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--band); transition: scale 300ms var(--ease-pop); }
section.live .chrome-bar .badge.is-empty { scale: 0; }
section.live .shell { position: relative; }
section.live .shell::before { content: ""; position: absolute; top: -5px; right: 18px; width: 10px; height: 10px; background: var(--p-slab, #1a1a1a); rotate: 45deg; box-shadow: -1px -1px 0 var(--line); }
:root[data-theme="light"] section.live .shell::before { background: #ffffff; }

/* Groups */
section.toasts .widget.is-groups { height: 15rem; }
section.toasts .stack:not([role]) .toast { border: 0; color: var(--ink); font: inherit; cursor: pointer; }
section.toasts .toast .go { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--ink-60); opacity: 0; translate: -4px 0; transition: opacity 260ms ease, translate 260ms var(--ease-out); }
section.toasts .widget.is-open .toast .go { opacity: 1; translate: 0 0; }
section.toasts .widget.is-open .toast:hover { background: color-mix(in srgb, var(--ink) 8%, var(--slab)); }
section.toasts .see-all { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; margin-top: 8px; padding: 0 12px; border: 0; border-radius: var(--r-pill); background: none; color: var(--ink-60); font: inherit; font-size: var(--small); cursor: pointer; transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease; }
section.toasts .see-all svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: translate var(--dur-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  section.toasts .see-all:hover { color: var(--ink); background: var(--band); }
  section.toasts .see-all:hover svg { translate: 2px 0; }
}

/* Screens dialog */
.preview .screens-tabs { display: inline-flex; align-self: flex-start; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: var(--ink-15); }
.preview .screens-tabs button { min-height: 32px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink-60); font: inherit; font-size: var(--small); font-weight: 500; cursor: pointer; }
.preview .screens-tabs button[aria-selected="true"] { background: var(--board); color: var(--ink); box-shadow: 0 1px 3px color-mix(in srgb, #000000 18%, transparent); }
.preview .screen-view img { width: 100%; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.preview .screen-view[hidden] { display: none; }
section.screens .deck .card { cursor: zoom-in; }

/* About */
section.spin.about .stage { z-index: 4; }
section.spin.about .info .title { font-size: var(--h2); text-transform: none; }
section.spin.about .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 12rem)); gap: var(--gap); }
section.spin.about .facts p:first-child { color: var(--ink); }
section.spin .stage { z-index: 4; }

/* Accent samples */
section.styleguide .accents { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 12px; }
section.styleguide .accent { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; border-radius: var(--r-inner); background: #f2f2f2; color: #0e0e0f; }
section.styleguide .accent .small { color: color-mix(in srgb, #0e0e0f 62%, transparent); }
.sample-a { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: var(--r-pill); background: var(--lime); box-shadow: inset 0 0 0 1px #0e0e0f; color: #0e0e0f; font-weight: 600; }
.sample-b { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 22px; border-radius: var(--r-pill); background: #0e0e0f; color: #ffffff; font-weight: 600; }
.sample-b i { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: var(--r-pill); background: var(--lime); color: #0e0e0f; font-style: normal; font-size: 0.8125rem; }
.sample-c { font-size: var(--h3); font-weight: 650; letter-spacing: -0.02em; background: linear-gradient(transparent 55%, var(--lime) 55%, var(--lime) 90%, transparent 90%); }
.browser .bookmarks li { display: flex; flex: none; }
section.spin.about .info .lead { color: var(--ink-60); text-transform: none; font-weight: 400; line-height: 1.45; }
section.spin.about .info { max-width: 30rem; }

.app-popup .site .row button.label { align-self: stretch; display: flex; align-items: center; margin: -6px 0; padding: 6px 0; }
.app-popup button.link { min-height: 32px; }
.app-popup button.item { min-height: 32px; align-items: center; }
.chip-open, .browser .tab-action { white-space: nowrap; }
section.compare .mock .strip { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
@media (max-width: 767px) {
  .browser .tab-action > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  section.live .app-popup .divider, section.live .app-popup .site:not(.has-new) { display: none; }
  section.live .intro .lead { display: none; }
}
@media (max-width: 479px) {
  .chip-open .new { display: none; }
}

/* Lift polish */
.browser .page { border-radius: 0 0 16px 16px; }
.is-screen > .frame.has-lift { transition: z-index 0s linear 0.8s; }
.is-screen > .frame.has-lift.is-lifted { transition-delay: 0s; }
section:has(> .frame.has-lift) { --peek: clamp(9rem, 28svh, 17rem); justify-content: center; padding-top: calc(var(--header-h) + var(--gap) * 0.5); padding-bottom: calc(var(--peek) + var(--footer-h)); }
.is-screen > .frame.has-lift { --peek: inherit; }
body:has(.frame.has-lift) .site-footer { background: linear-gradient(to bottom, color-mix(in srgb, var(--board) 0%, transparent), var(--board) 70%); }
.browser .win-close { display: none; align-items: center; gap: 4px; align-self: center; margin-left: auto; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; }
.browser .win-close .circle svg { width: 0.8em; height: 0.8em; fill: none; stroke: currentColor; stroke-width: 1.4; }
.frame.has-lift.is-lifted .browser .win-close { display: inline-flex; }
@media (hover: hover) and (pointer: fine) {
}
.browser .win-close:focus-visible { outline: none; }
.browser .win-close:focus-visible .pill { box-shadow: 0 0 0 2px var(--focus); }
.is-screen > .frame.has-lift:not(.is-lifted) .browser { cursor: pointer; }
@media (max-width: 767px) {
  .site-header .free { display: none; }
}

/* Dialog scroll */
.preview .sheet { display: flex; flex-direction: column; overflow: hidden; }
.preview .sheet > .scroll { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }

.browser .win-close .inner { display: flex; align-items: center; gap: 4px; pointer-events: none; }
.browser .win-close .circle { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--slab); transition: background-color var(--dur-base) ease; }
.browser .win-close .pill { display: grid; place-items: center; height: 2.2em; padding: 0 0.9em; border-radius: 8px; background: var(--slab); transition: background-color var(--dur-base) ease; }
@media (hover: hover) and (pointer: fine) {
  .browser .win-close:hover .circle, .browser .win-close:hover .pill { background: color-mix(in srgb, var(--ink) 16%, var(--band)); }
}

/* Demo hints */
.preview .content-wrap { position: relative; }
.preview .content-wrap > .close-btn { top: clamp(12px, 1.6vw, 24px); right: clamp(12px, 1.6vw, 24px); }
.browser .hint { position: absolute; z-index: 7; display: inline-flex; align-items: center; gap: 8px; height: 2.4em; padding: 0 0.95em; border-radius: var(--r-pill); background: #0e0e0f; color: #f2f2ef; font-size: 0.875rem; font-weight: 600; white-space: nowrap; pointer-events: none; box-shadow: 0 12px 30px -12px color-mix(in srgb, #000000 70%, transparent); transition: opacity 300ms ease, translate 400ms var(--ease-out); }
.browser .hint::after { content: ""; position: absolute; width: 10px; height: 10px; background: inherit; rotate: 45deg; }
.browser .hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 color-mix(in srgb, var(--lime) 60%, transparent); animation: hint-dot 1.8s var(--ease-out) infinite; }
@keyframes hint-dot { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lime) 60%, transparent); } 100% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--lime) 0%, transparent); } }
.browser .hint-peek { top: -1.2em; left: 50%; translate: -50% 0; }
.browser .hint-peek::after { display: none; }
.browser .hint-peek .touch { display: none; }
@media (hover: none) {
  .browser .hint-peek .fine { display: none; }
  .browser .hint-peek .touch { display: inline; }
}
.browser .hint-cw { top: 3.35em; right: 3.9em; }
.browser .hint-cw::after { top: 50%; right: -4px; translate: 0 -50%; }
.browser .hint-bm { top: 9.1em; left: 1.4em; }
.browser .hint-bm::after { top: -4px; left: 1.4em; }
.browser .hint-cw, .browser .hint-bm { opacity: 0; animation: hint-float 2.4s var(--ease-in-out) infinite alternate; }
@keyframes hint-float { to { translate: 0 -3px; } }
.frame.has-lift.is-lifted .browser .hint-cw, .frame.has-lift.is-lifted .browser .hint-bm, .preview .browser .hint-cw, .preview .browser .hint-bm { opacity: 1; transition-delay: 0.5s; }
.frame.has-lift.is-lifted .browser .hint-peek, .preview .browser .hint-peek { opacity: 0; }
.browser.is-open .hint-cw, .browser.used-cw .hint-cw, .browser.used-bm .hint-bm, .browser.is-open .hint-bm { opacity: 0 !important; transition-delay: 0s !important; }
.browser button.bm, .browser .cw { cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  .browser .hint i, .browser .hint-cw, .browser .hint-bm { animation: none; }
}
@media (max-width: 767px) {
  .browser .hint { font-size: 0.75rem; }
  .browser .hint-cw { right: 3.4em; }
}

/* Tabs polish */
.preview .screens-tabs { gap: 4px; padding: 4px; background: color-mix(in srgb, var(--ink) 9%, transparent); }
.preview .screens-tabs button { min-height: 36px; padding: 0 16px; color: color-mix(in srgb, var(--ink) 78%, transparent); transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.preview .screens-tabs button[aria-selected="true"] { background: var(--board); color: var(--ink); }
.preview .screens-tabs button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.browser button.tab { transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.browser .tab:not(.is-active) { color: color-mix(in srgb, var(--ink) 72%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .preview .screens-tabs button[aria-selected="false"]:hover { background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); }
  .browser button.tab:not(.is-active):hover { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }
}
section.stuck [data-stickers-init] .sticker { font-size: clamp(4.8em, 3.2em + 7.2vw, 11.2em); }

/* Compare sizing */
section.compare .switcher { padding: 7px 14px; font-size: clamp(0.8125rem, 0.78rem + 0.1vw, 0.9375rem); }
section.compare .mock { width: min(100%, 54rem); font-size: clamp(0.75rem, 0.7rem + 0.12vw, 0.875rem); border-radius: 14px; }
section.compare .mock .toolbar { height: 3em; }
section.compare .mock .address { height: 2.2em; }
section.compare .mock .bm { height: 2.1em; padding: 0 0.7em; border-radius: 8px; }
section.compare .bm > span { display: inline-flex; align-items: center; }
section.compare .bm b { vertical-align: baseline; line-height: inherit; }
section.compare .c-wrap { gap: var(--gap); }

/* Demo affordances */
.browser .hint { background: var(--ink); color: var(--board); box-shadow: 0 14px 30px -12px color-mix(in srgb, #000000 60%, transparent); }
.browser .hint i { background: var(--board); animation: none; opacity: 0.6; }
.browser:has(.hint-bm) .sketch { padding-top: 4.6em; }
.browser .cw::after { box-shadow: 0 0 0 2px color-mix(in srgb, var(--ink) 55%, transparent); }
.frame.has-lift.is-lifted .browser:not(.used-cw):not(.is-open) .cw::after, .preview .browser:not(.used-cw):not(.is-open) .cw::after { animation: cw-call 1.8s var(--ease-out) infinite; }
.frame.has-lift.is-lifted .browser:not(.used-bm) button.bm.has-count, .preview .browser:not(.used-bm) button.bm.has-count { outline: 1px dashed color-mix(in srgb, var(--ink) 45%, transparent); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) {
  .frame.has-lift.is-lifted .browser .cw::after, .preview .browser .cw::after { animation: none !important; }
}
.preview .content-wrap > .h2 { padding-right: 140px; }
@media (max-width: 767px) {
  .preview .content-wrap { padding-top: 72px; }
  .preview .content-wrap > .h2 { padding-right: 0; }
}
section.spin.about .word { font-size: clamp(3.6rem, 18.5vw, 27rem); }
section.compare .bm b { margin-right: 0; transition: max-width 520ms var(--ease-pop), opacity 300ms ease, margin-right 520ms var(--ease-pop); }
section.compare.is-with .bm.has-count b { margin-right: 0.3em; }

/* How dialog */
.preview .how-bar { margin: 0; }
.preview .how-bar .strip { display: flex; gap: 4px; margin: 0; padding: 8px 10px; overflow: hidden; border-radius: 14px; background: var(--band); box-shadow: 0 0 0 1px var(--line); list-style: none; font-size: clamp(0.8125rem, 0.78rem + 0.1vw, 0.9375rem); }
.preview .how-bar .bm { display: inline-flex; flex: none; align-items: center; gap: 0.5em; height: 2.2em; padding: 0 0.7em; color: var(--ink-60); white-space: nowrap; }
.preview .how-bar .bm.has-count { color: var(--ink); }
.preview .how-bar .bm b { font-weight: 650; }
.preview .how-bar .globe { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.3; }
.preview .how-bar figcaption { margin-top: 10px; }
.preview .how-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.preview .how-steps .step { display: grid; align-content: start; gap: 6px; padding: clamp(18px, 1.8vw, 28px); border-radius: 18px; background: var(--band); box-shadow: 0 0 0 1px var(--line); }
.preview .how-steps .number { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: var(--lime); color: #0e0e0f; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; box-shadow: var(--btn-edge, none); }
.preview .how-steps .h6 { margin: 0; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.preview .how-steps .paragraph { margin: 0; }
@media (max-width: 767px) {
  .preview .how-steps { grid-template-columns: minmax(0, 1fr); }
}

.browser .toolbar .puzzle { stroke-width: 1.4; }
.preview .content-wrap > .bottom-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: clamp(16px, 1.6vw, 24px); border-top: 1px solid var(--line); }
.preview .bottom-wrap .credit { display: inline-flex; margin-left: auto; align-items: center; min-height: 24px; color: var(--ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .preview .bottom-wrap .credit:hover .underline::before { transform: scaleX(1) rotate(0.001deg); transform-origin: left center; }
}
.preview .bottom-wrap .credit:focus-visible { outline: none; }
.preview .bottom-wrap .credit:focus-visible .underline::before { transform: scaleX(1); transform-origin: left center; }

/* How minis */
.preview .mini { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 22rem; padding: 12px; border-radius: 16px; background: var(--board); box-shadow: 0 0 0 1px var(--line); font-size: 0.875rem; line-height: 1.3; text-align: left; pointer-events: none; -webkit-user-select: none; user-select: none; }
.preview .mini .globe { flex: none; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.3; opacity: 0.75; }
.preview .mini .row { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; border-radius: 10px; background: var(--band); }
.preview .mini .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.preview .mini .detail { padding: 0 4px; color: var(--ink-60); font-size: 0.8125rem; }
.preview .mini .switch { position: relative; flex: none; width: 32px; height: 19px; border-radius: 999px; background: var(--ink-15); }
.preview .mini .switch i { position: absolute; top: 2.5px; left: 2.5px; width: 14px; height: 14px; border-radius: 50%; background: var(--band); box-shadow: 0 1px 2px color-mix(in srgb, #000000 20%, transparent); transition: translate 380ms var(--ease-pop); }
.preview .mini .switch.is-on { background: var(--ink); }
.preview .mini .switch.is-on i { translate: 13px 0; }
.preview .mini .pill { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px 0 7px; border-radius: 999px; background: var(--lime); color: #0e0e0f; font-size: 0.75rem; font-weight: 650; box-shadow: var(--btn-edge, none); }
.preview .mini .pill svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.preview .mini .pills { display: flex; flex-wrap: wrap; gap: 6px; }
.preview .mini .pills span { display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: 999px; background: var(--band); color: var(--ink-60); font-weight: 500; }
.preview .mini .pills .is-on { background: var(--ink); color: var(--board); }
.preview .mini-count { flex-direction: row; align-items: center; gap: 10px; }
.preview .mini-count .bar { display: flex; flex: 1; min-width: 0; gap: 4px; overflow: hidden; padding: 4px; border-radius: 10px; background: var(--band); }
.preview .mini-count .bm { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 30px; padding: 0 8px; color: var(--ink-60); white-space: nowrap; }
.preview .mini-count .bm.has-count { color: var(--ink); }
.preview .mini-count .bm b { font-weight: 650; }
.preview .mini-count .ext { position: relative; display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--band); }
.preview .mini-count .ext .logo { width: 20px; height: 20px; color: var(--ink); --logo-ground: var(--band); }
.preview .mini-count .badge { position: absolute; right: -3px; bottom: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #c5f82a; color: #0e0e0f; font-size: 0.6875rem; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--board); }

/* How mockups */
.preview .how-rows { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.preview .how-rows .step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); align-items: center; gap: clamp(20px, 3vw, 48px); padding: clamp(18px, 2vw, 28px) 0; border-bottom: 1px solid var(--line); }
.preview .how-rows .copy { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 6px; }
.preview .how-rows .number { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: #0e0e0f; font-size: 13px; font-weight: 650; box-shadow: var(--btn-edge, none); }
.preview .how-rows .h6, .preview .how-columns .title, .preview .how-track .h6 { margin: 0; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.preview .how-rows .paragraph { margin: 0; }
.preview .how-rows .visual { display: flex; justify-content: flex-end; }
@media (max-width: 767px) {
  .preview .how-rows .step { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .preview .how-rows .visual { justify-content: flex-start; }
}

.preview:has(.how-rows) .content-wrap > .bottom-wrap { padding-top: clamp(16px, 2.4vw, 40px); border-top: 0; }

/* How modal responsive */
.preview .how-rows .paragraph { font-size: clamp(0.875rem, calc(0.75rem + 0.4vw), 1.125rem); }
@media (max-width: 767px) {
  .preview .content-wrap { gap: 22px; padding: 64px 20px 24px; }
  .preview .content-wrap > .close-btn { top: 16px; right: 16px; }
  .preview .close-btn .circle { width: 32px; height: 32px; }
  .preview .close-btn .pill { height: 32px; padding: 0 12px; font-size: 0.8125rem; }
  .preview .how-rows .step { gap: 14px; padding: 20px 0; }
  .preview .how-rows .copy { column-gap: 12px; }
  .preview .how-rows .number { width: 26px; height: 26px; font-size: 12px; }
  .preview .how-rows .visual { padding-left: 38px; }
  .preview .how-rows .visual .mini { max-width: none; }
  .preview .mini { padding: 10px; font-size: 0.8125rem; }
  .preview .mini .row { min-height: 34px; }
  .preview .mini .pills span { height: 28px; padding: 0 11px; }
}
@media (max-width: 400px) {
  .preview .content-wrap { padding-right: 16px; padding-left: 16px; }
  .preview .mini .pills { gap: 4px; }
  .preview .mini .pills span { height: 26px; padding: 0 9px; font-size: 0.75rem; }
}
@media (max-width: 340px) {
  .preview .how-rows .visual { padding-left: 0; }
}
@media (max-width: 767px) {
  .preview .content-wrap > .bottom-wrap { flex-direction: column; justify-content: center; gap: 6px; text-align: center; }
  .preview .bottom-wrap .credit { margin-left: 0; }
}
.preview .mini .fav, .preview .how-bar .fav { display: block; flex: none; width: 1.15em; height: 1.15em; }
