:root {
  color-scheme: light;
  --page: #f7f7f5;
  --surface: #eaeae7;
  --ink: #141413;
  --muted: #575752;
  --accent: #222221;
  --accent-hover: #393936;
  --line: #deded9;
  --line-strong: #b9b9b1;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 2px solid #65655e; outline-offset: 4px; }
h1, h2, p, figure { margin: 0; }
svg { display: block; width: 1em; height: 1em; }
.symbol-library { position: absolute; width: 0; height: 0; }
.layout { width: min(100% - 96px, 1112px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#demo, #expressions, #early-access { scroll-margin-top: 20px; }

.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); }
.navigation { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav-buddy { position: absolute; bottom: -.5px; left: 50%; width: clamp(78px, 8vw, 104px); aspect-ratio: 120 / 48; transform: translate(-50%, 50%); overflow: hidden; border-radius: 999px; background: #000; }
.nav-buddy canvas { display: block; width: 100%; height: 100%; }
.wordmark { display: inline-flex; align-items: center; justify-self: start; gap: 9px; width: fit-content; font-size: 21px; font-weight: 730; letter-spacing: -.055em; }
.brand-face { display: inline-flex; align-items: center; justify-content: center; gap: 3.3px; width: 31px; height: 17px; border-radius: 100px; background: #000; }
.brand-face::before, .brand-face::after { content: ""; width: 3.2px; height: 4.2px; border-radius: 100px; background: #fff2de; box-shadow: 0 0 2px #ffdcad70; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 650; line-height: 1.3; white-space: nowrap; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-small { min-height: 38px; padding-inline: 16px; }
.button-outline { background: transparent; border-color: var(--line-strong); color: var(--accent); }
.button-outline:hover { background: var(--surface); border-color: var(--muted); }

.hero { position: relative; overflow: hidden; text-align: center; background: radial-gradient(ellipse 58% 54% at 50% 82%, var(--surface), #efefec 57%, transparent 100%); }
.hero-copy { padding-block: clamp(42px, 5.2vw, 72px) 0; position: relative; z-index: 1; }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 720; letter-spacing: .125em; text-transform: uppercase; line-height: 1.5; }
h1, h2 { font-weight: 680; letter-spacing: -.062em; word-spacing: .045em; line-height: .99; }
h1 { font-size: clamp(3.5rem, 7vw, 5.6rem); text-wrap: balance; }
h1 em, h2 em { display: inline-block; color: var(--accent); font-family: var(--serif); font-weight: 400; letter-spacing: -.064em; padding: 0 .13em .065em .035em; }
.hero-description { max-width: 610px; margin: 12px auto 0; color: var(--muted); font-size: 1.08rem; line-height: 1.53; text-wrap: balance; }
.hero-reaction-panel {
  --reaction-radius: 17px;
  --reaction-fill: #fff8;
  position: relative;
  width: min(100%, 650px);
  margin: clamp(17px, 2.2vw, 26px) auto 0;
}
.hero-reactions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 12px 0 5px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--reaction-radius) var(--reaction-radius) 0 0;
  background: var(--reaction-fill);
  list-style: none;
}
.hero-reactions li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-content: center; gap: 10px; padding: 3px 14px; text-align: left; }
.hero-reactions li + li { border-inline-start: 1px solid var(--line); }
.hero-reaction-icon { display: block; width: 28px; height: 28px; }
.hero-reaction-copy { display: grid; gap: 3px; line-height: 1.25; }
.hero-reaction-cue { color: var(--muted); font-size: .75rem; font-weight: 560; }
.hero-reaction-result { color: var(--ink); font-size: .83rem; font-weight: 650; text-wrap: balance; }
.hero-reaction-more {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: var(--reaction-radius) auto;
  color: var(--ink);
  font-size: .8rem;
  line-height: 1.4;
}
.hero-reaction-more::before, .hero-reaction-more::after {
  content: "";
  grid-row: 1;
  border-bottom: 1px solid var(--line);
  background: var(--reaction-fill);
}
.hero-reaction-more::before { grid-column: 1; border-inline-start: 1px solid var(--line); border-end-start-radius: var(--reaction-radius); }
.hero-reaction-more::after { grid-column: 3; border-inline-end: 1px solid var(--line); border-end-end-radius: var(--reaction-radius); }
.hero-reaction-more strong {
  position: relative;
  grid-area: 1 / 2 / span 2;
  padding: calc(var(--reaction-radius) - .7em - 1px) 12px 5px;
  border-radius: 0 0 10px 10px;
  background: var(--reaction-fill);
  font-weight: 650;
}
@supports (text-box: trim-both cap alphabetic) and (height: 1cap) {
  .hero-reaction-more strong {
    padding-block-start: calc(var(--reaction-radius) - .5cap - .5px);
    text-box: trim-both cap alphabetic;
  }
}
.hero-reaction-more strong::after {
  content: "";
  position: absolute;
  inset: calc(var(--reaction-radius) - 1px) 0 0;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: inherit;
}
.hero-customization { max-width: 540px; margin: clamp(21px, 2.1vw, 26px) auto 0; color: var(--muted); font-size: .9rem; line-height: 1.45; text-wrap: balance; }
.demo-invite {
  display: inline-flex;
  align-items: center;
  gap: .48em;
  min-height: 50px;
  margin-top: 7px;
  padding: 4px 7px;
  border-radius: 6px;
  color: var(--ink);
  font-size: clamp(1.36rem, 2.65vw, 1.85rem);
  font-weight: 680;
  letter-spacing: -.045em;
  line-height: 1.15;
}
.demo-invite-arrow { width: 1em; height: 1em; }
@media (prefers-reduced-motion: no-preference) {
  .demo-invite-arrow { animation: demo-arrow-nudge .95s ease-in-out .45s 3; }
  @keyframes demo-arrow-nudge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
  }
}

.hero-demo { margin: 22px auto 0; padding-bottom: 45px; }
.device { width: min(925px, 100% - 100px); margin: auto; position: relative; container-type: inline-size; }
.device::before { content: ""; position: absolute; z-index: 0; height: 6%; bottom: -2%; left: 1%; right: 1%; background: var(--accent); opacity: .23; border-radius: 50%; filter: blur(13px); }
.lid { padding: 2.15cqw 1.05cqw 2.2cqw; width: 81%; margin: auto; position: relative; z-index: 1; border-radius: 2.35cqw 2.35cqw .25cqw .25cqw; border: 1px solid #353536; background: linear-gradient(146deg, #242424 0%, #0b0b0b 23%, #080808 82%, #242424 100%); box-shadow: 0 0 0 1px #a7a7aa, inset 0 1px 1px #d8d8dba6, 0 21px 60px #14141324; }
.bezel-camera { position: absolute; top: 1.075cqw; left: 50%; width: .62cqw; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 41% 39%, #536072, #202936 29%, #14151a 55%, #24242a 70%, #0d0d10 100%); box-shadow: 0 0 0 1px #ffffff0d; }
.bezel-wordmark { position: absolute; bottom: 1.1cqw; left: 50%; transform: translate(-50%, 50%); color: #acaab0; font-size: .9cqw; line-height: 1; font-weight: 450; white-space: nowrap; }
/* The 2019 16-inch Retina display uses a 1792 × 1120 logical desktop. */
.display {
  --display-point: calc(100cqw / 1792);
  --demo-text: clamp(10px, 1.85cqw, 14px);
  --demo-small-text: clamp(9px, 1.65cqw, 12px);
  --demo-large-text: clamp(12px, 2.35cqw, 18px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 10;
  container-type: inline-size;
  border-radius: .15cqw;
  background: #cecfcb;
}
.demo-screen { position: absolute; inset: 0; transform-origin: top left; background: #cecfcb url("/assets/wallpaper.png") center / cover no-repeat; }
.display::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; box-shadow: inset 0 0 16px #1414131c; }
.menu-bar { position: absolute; z-index: 2; inset: 0 0 auto; height: calc(37 * var(--display-point)); display: flex; align-items: center; justify-content: space-between; padding: 0 1.4cqw; background: #f7f7f549; color: var(--accent); font-size: .87cqw; white-space: nowrap; }
.menu-items { display: flex; align-items: center; gap: 1.1cqw; }
.menu-items strong { font-weight: 750; }
.menu-items svg { width: 1.15cqw; height: 1.15cqw; }
.menu-items .battery { width: 1.6cqw; }
.hero-island {
  position: absolute;
  z-index: 3;
  width: var(--island-width, calc(120 * var(--display-point)));
  aspect-ratio: 120 / 48;
  top: var(--island-center, calc(37 * var(--display-point)));
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  border-radius: 999px;
  background: #000;
}
.hero-noochi { display: block; width: 100%; height: 100%; }
.device-base { position: relative; z-index: 2; margin-top: -1px; height: 3.15cqw; }
.base-edge { height: 50%; border-radius: 1px 1px 0 0; background: linear-gradient(90deg, #7f8083, #d9d9dd 2%, #bfc0c4 7%, #e8e8ec 20%, #d3d4d7 49%, #dedee2 80%, #adadb3 96%, #828388); box-shadow: inset 0 1px 0 #ffffffb0; }
.base-edge::after { content: ""; display: block; position: absolute; width: 14%; height: 38%; top: 0; left: 43%; border-radius: 0 0 1cqw 1cqw; background: linear-gradient(#77787c, #b9babd 85%); box-shadow: inset 1px 0 2px #7c7d81, inset -1px 0 2px #7c7d81; }
.base-lip { height: 50%; border-radius: 0 0 5% 5% / 0 0 100% 100%; background: linear-gradient(#bfc0c4, #939498 65%, #3e3f42); }
.demo-start {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: clamp(6px, 1.5cqw, 11px);
  padding: 5px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #fff;
  transform: translate(-50%, -50%);
}
.demo-start-icon {
  display: grid;
  place-items: center;
  width: clamp(50px, 13cqw, 88px);
  aspect-ratio: 1;
  border: 1px solid #ffffff60;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 8px 24px #14141345, inset 0 1px 0 #ffffff25;
  transition: background .18s ease, transform .18s ease;
}
.demo-start-icon svg { width: 50%; height: auto; }
.demo-start-label { padding: 4px 9px; border-radius: 999px; background: var(--accent); font-size: clamp(12px, 2.3cqw, 15px); font-weight: 650; white-space: nowrap; }
.demo-start:hover .demo-start-icon { background: var(--accent-hover); transform: translateY(-2px); }
.demo-start:active .demo-start-icon { transform: scale(.96); }
.demo-start:is([data-playback="playing"], [data-playback="paused"]) { inset: 0; align-content: center; padding: 0; border-radius: 0; transform: none; }
.demo-start:is([data-playback="playing"], [data-playback="paused"]):focus-visible { outline-offset: -4px; }
.demo-start[data-playback="playing"] > span { display: none; }
.demo-controls { display: grid; place-items: center; min-height: 36px; margin-top: 13px; }
.demo-restart { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 36px; border: 0; border-radius: 99px; padding: 0 12px; background: transparent; color: var(--accent); font-size: 14px; }
.demo-start[hidden], .demo-restart[hidden] { display: none; }
.demo-restart:hover { background: var(--surface); }
.demo-restart svg { width: 15px; height: 15px; }

.demo-desktop {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  font-size: var(--demo-text);
}
.demo-dock {
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(8px, 2.5cqw, 18px);
  padding: clamp(4px, 1.15cqw, 9px) clamp(9px, 2.6cqw, 19px);
  border-radius: clamp(7px, 2.1cqw, 15px);
  border: 1px solid #ffffff8a;
  background: #f7f7f57d;
  box-shadow: 0 2px 9px #14141319;
}
.demo-dock-app { display: grid; place-items: center; gap: 2px; min-width: 29px; font-size: var(--demo-small-text); font-weight: 650; }
.demo-dock-app :is(svg, img) { display: block; width: clamp(16px, 4.5cqw, 34px); height: auto; }
.demo-kindle-icon { aspect-ratio: 1; border-radius: 22%; }
.demo-netflix-icon { aspect-ratio: 1; padding: clamp(3px, .8cqw, 6px); border-radius: 22%; background: #141414; object-fit: contain; }
.demo-dock-app.is-clicked :is(svg, img), .demo-music-play.is-clicked, .demo-kindle-next.is-clicked, .demo-netflix-play.is-clicked { scale: .91; }

.demo-window {
  position: absolute;
  top: 45.5%;
  left: 50%;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(72cqw, 455px);
  aspect-ratio: 1.85;
  overflow: hidden;
  border: 1px solid #ffffff7e;
  border-radius: clamp(7px, 1.8cqw, 13px);
  background: #fcfaf7;
  box-shadow: 0 10px 30px #14141336;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity .32s ease;
}
.demo-window.is-visible { opacity: 1; }
.demo-window-bar { display: grid; place-items: center; position: relative; min-height: clamp(22px, 4.6cqw, 34px); font-size: var(--demo-small-text); font-weight: 650; border-bottom: 1px solid #14141313; }
.demo-window-lights { position: absolute; left: clamp(6px, 1.7cqw, 12px); display: flex; gap: clamp(2px, .65cqw, 5px); }
.demo-window-lights i { width: clamp(4px, 1.25cqw, 9px); aspect-ratio: 1; border-radius: 50%; background: #ee7778; }
.demo-window-lights i:nth-child(2) { background: #edc069; }
.demo-window-lights i:nth-child(3) { background: #80bb90; }
.demo-code {
  --code-ui-size: clamp(7px, 1.7cqw, 11px);
  --code-divider: #ffffff13;
  --code-accent: #8ab7df;
  --code-editor: #1e1e1e;
  --code-muted: #b8b8b3;
  grid-template-rows: auto minmax(0, 1fr) auto;
  color: #e5e5e1;
  background: var(--code-editor);
  border-color: #ffffff40;
}
.demo-code .demo-window-bar { background: #292929; border-color: var(--code-divider); }
.demo-code-title {
  min-width: 38%;
  max-width: 62%;
  overflow: hidden;
  padding: 1px clamp(5px, 1.5cqw, 11px);
  border: 1px solid #ffffff19;
  border-radius: 5px;
  background: #ffffff08;
  font-size: var(--code-ui-size);
  font-weight: 530;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-code-body { min-height: 0; display: grid; grid-template-columns: clamp(16px, 4.65cqw, 35px) 26% minmax(0, 1fr); overflow: hidden; text-align: left; }
.demo-code-activity { display: grid; align-content: start; background: #232323; border-right: 1px solid var(--code-divider); }
.demo-code-activity span { display: grid; place-items: center; aspect-ratio: 1; color: var(--code-muted); }
.demo-code-activity .is-active { color: #f7f7f5; box-shadow: inset 2px 0 var(--code-accent); background: #ffffff07; }
.demo-code-activity svg, .demo-code-status svg { width: 57%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.demo-code-files { display: grid; align-content: start; min-width: 0; color: var(--code-muted); background: #252525; border-right: 1px solid var(--code-divider); font-size: var(--code-ui-size); }
.demo-code-files > * { overflow: hidden; padding: .27em clamp(3px, 1.1cqw, 9px); text-overflow: ellipsis; white-space: nowrap; }
.demo-code-explorer { padding-block: .6em; text-transform: uppercase; letter-spacing: .045em; }
.demo-code-explorer span { float: right; color: #a1a19a; }
.demo-code-project { color: #dfdfdb; text-transform: uppercase; font-size: .94em; }
.demo-code-file { padding-inline-start: 1.35em; }
.demo-code-file.is-current { padding-inline-start: 1.75em; color: #f2f2ef; background: #363635; }
.demo-code-editor { display: grid; grid-template-rows: auto auto minmax(0, 1fr); min-width: 0; }
.demo-code-tabs { display: flex; min-width: 0; overflow: hidden; background: #252525; border-bottom: 1px solid var(--code-divider); }
.demo-code-tab, .demo-code-breadcrumb { display: flex; align-items: center; gap: .5em; font-size: var(--code-ui-size); white-space: nowrap; }
.demo-code-tab { padding: .53em .85em; color: var(--code-muted); border-right: 1px solid var(--code-divider); }
.demo-code-tab.is-current { color: #f2f2ef; background: var(--code-editor); box-shadow: inset 0 2px var(--code-accent); }
.demo-code-tab-close { margin-left: .35em; color: var(--code-muted); }
.demo-code-breadcrumb { padding: .37em .85em; color: var(--code-muted); }
.demo-code-js, .demo-code-markdown { font-size: .83em; font-weight: 700; }
.demo-code-js { color: #e3c875; }
.demo-code-markdown { color: #9eb9e1; }
.demo-code-buffer { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: clamp(4px, 1.5cqw, 11px); padding: clamp(3px, 1.05cqw, 8px) clamp(5px, 1.3cqw, 10px); overflow: hidden; font: clamp(8px, 1.8cqw, 13px)/1.45 ui-monospace, Menlo, monospace; }
.demo-code-lines { text-align: right; color: #a0a09a; }
.demo-code-text { min-width: 0; margin: 0; white-space: pre; font: inherit; color: #ddd; }
.demo-code-text code { font: inherit; }
.demo-code-keyword { color: var(--code-accent); }
.demo-code-function { color: #e6cd91; }
.demo-code-string { color: #a8d6b0; }
.demo-code-status { display: flex; justify-content: space-between; gap: .6em; padding: .38em .75em; min-width: 0; border-top: 1px solid var(--code-divider); color: #deded9; background: #303030; font-size: var(--code-ui-size); line-height: 1; white-space: nowrap; }
.demo-code-status > span { display: flex; align-items: center; gap: .75em; }
.demo-code-status svg { width: 1em; }
.demo-music { color: #f5fbf6; background: #19211d; border-color: #ffffff35; }
.demo-music .demo-window-bar { background: #25302a; border-color: #ffffff14; }
.demo-music-body { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; text-align: left; }
.demo-music-main { display: grid; grid-template-columns: 37% minmax(0, 1fr); min-height: 0; overflow: hidden; }
.demo-music-library, .demo-music-queue { padding: clamp(4px, 1.75cqw, 13px); min-width: 0; }
.demo-music-library { background: #171d1a; border-right: 1px solid #ffffff0e; }
.demo-music-queue { background: linear-gradient(145deg, #293b32, #1b2520 64%); }
.demo-music-label { display: block; color: #a5b3aa; font-size: clamp(8px, 1.6cqw, 11px); font-weight: 650; line-height: 1.1; }
.demo-playlists, .demo-songs { display: grid; gap: clamp(1px, .6cqw, 4px); margin: clamp(3px, 1cqw, 7px) 0 0; padding: 0; list-style: none; }
.demo-playlists li, .demo-songs li { display: grid; align-items: center; gap: clamp(3px, 1cqw, 7px); border-radius: 4px; color: #a5b3aa; font-size: var(--demo-small-text); line-height: 1.15; }
.demo-playlists li { grid-template-columns: auto minmax(0, 1fr); padding: clamp(1px, .55cqw, 4px) clamp(2px, .8cqw, 6px); }
.demo-playlists .is-selected { background: #2c3a31; color: #f3faf5; }
.demo-cover { display: block; width: clamp(9px, 3.4cqw, 25px); aspect-ratio: 1; border-radius: 3px; }
.demo-cover-focus { background: linear-gradient(150deg, #a0b898 0 29%, #648b76 29% 63%, #3b5e4a 63%); }
.demo-cover-slow { background: linear-gradient(135deg, #a99584 0 44%, #665c4b 44% 69%, #4e4a3d 69%); }
.demo-cover-night { background: linear-gradient(155deg, #8397b2 0 31%, #57647d 31% 65%, #3b455e 65%); }
.demo-playlists li:not(.is-selected) .demo-cover { opacity: .68; }
.demo-queue-heading strong { display: block; margin-top: 1px; font-size: var(--demo-large-text); line-height: 1.15; }
.demo-songs li { grid-template-columns: 1.1em minmax(0, 1fr) auto; min-height: clamp(12px, 3.95cqw, 29px); padding-inline: clamp(3px, .9cqw, 7px); }
.demo-songs .is-current { background: #ffffff0c; color: #f3faf5; }
.demo-music.is-playing .demo-songs .is-current { background: #314a3b; color: #bcf5cf; }
.demo-song-index, .demo-song-length { color: inherit; opacity: .72; }
.demo-playlists li > span:last-child, .demo-songs li > span:nth-child(2), .demo-track > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-player { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(4px, 1.1cqw, 8px); padding: clamp(3px, .9cqw, 7px) clamp(6px, 1.9cqw, 14px); border-top: 1px solid #ffffff14; background: #222d26; }
.demo-listening-track { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(4px, 1.1cqw, 8px); }
.demo-listening-track .demo-cover { width: clamp(12px, 4.1cqw, 30px); }
.demo-track { display: grid; gap: 1px; min-width: 0; color: #a5b3aa; font-size: var(--demo-small-text); line-height: 1.15; }
.demo-track strong { color: #fff; }
.demo-music-play { display: grid; place-items: center; width: clamp(19px, 4.6cqw, 34px); aspect-ratio: 1; border-radius: 50%; background: #1ed760; color: #102017; }
.demo-music-play svg { grid-area: 1 / 1; width: 65%; height: auto; }
.demo-music:not(.is-playing) .demo-pause-icon, .demo-music.is-playing .demo-play-icon { opacity: 0; }
.demo-track-progress { position: absolute; inset: auto 0 0; height: 2px; background: #ffffff21; }
.demo-track-progress::after { content: ""; display: block; width: 100%; height: 100%; transform: scaleX(var(--progress, 0)); transform-origin: left; background: #1ed760; }

.demo-notes .demo-window-bar { background: #f4ead0; }
.demo-note { padding: clamp(8px, 2.55cqw, 18px); color: #51432c; text-align: left; }
.demo-note strong { color: #332c20; font-size: var(--demo-large-text); }
.demo-note-text { margin-top: 3px; min-height: 2.65em; line-height: 1.3; }
.demo-caret { display: inline-block; width: 1px; height: .9em; margin-left: 1px; vertical-align: -.08em; background: #8a631b; opacity: 0; }
.is-typing > .demo-caret { opacity: 1; }
.demo-code-text .demo-caret { background: #deded9; }

.demo-kindle .demo-window-bar { background: #f0ece3; }
.demo-kindle-reader { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; color: #382f24; background: #fcf7ec; }
.demo-kindle-viewport { position: relative; overflow: hidden; }
.demo-kindle-pages { display: flex; width: 100%; height: 100%; }
.demo-kindle-page { flex: 0 0 100%; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: clamp(2px, .75cqw, 6px); padding: clamp(5px, 2.6cqw, 19px) clamp(19px, 8.4cqw, 64px); background: #fcf7ec; text-align: left; }
.demo-kindle-page + .demo-kindle-page { box-shadow: -2px 0 6px #49382229; }
.demo-kindle-chapter { color: #776751; font-size: var(--demo-small-text); font-weight: 600; }
.demo-kindle-page strong { font-family: var(--serif); font-size: clamp(12px, 3.2cqw, 23px); font-weight: 600; line-height: 1.12; }
.demo-kindle-page p { font-family: var(--serif); font-size: clamp(9px, 2.15cqw, 16px); line-height: 1.4; }
.demo-kindle-next { position: absolute; right: clamp(2px, 1.45cqw, 10px); top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: clamp(15px, 3.6cqw, 26px); aspect-ratio: 1; border-radius: 50%; background: #ece1cc; color: #624f34; }
.demo-kindle-next svg { width: 75%; height: auto; }
.demo-kindle-footer { display: flex; justify-content: space-between; padding: clamp(2px, .85cqw, 6px) clamp(6px, 2cqw, 14px); border-top: 1px solid #e8ddcb; color: #776751; font-size: var(--demo-small-text); line-height: 1.15; }

.demo-netflix { color: #fff6f0; background: #171717; border-color: #ffffff45; }
.demo-netflix .demo-window-bar { background: #191919; border-color: #ffffff18; }
.demo-netflix-title { display: inline-flex; align-items: center; gap: .45em; }
.demo-netflix-title img { width: auto; height: 1.05em; }
.demo-netflix-frame { position: relative; overflow: hidden; min-height: clamp(52px, 18cqw, 132px); isolation: isolate; background: #465053; }
.demo-netflix-landscape { position: absolute; z-index: -1; inset: 0 -7%; background: radial-gradient(circle at 68% 42%, #ffe2b1 0 8%, transparent 8.5%), linear-gradient(#35434d 12%, #b7866c 66%, #f7b88d); transform: translateX(calc(-5% * var(--progress, 0))); }
.demo-netflix-landscape::before, .demo-netflix-landscape span { content: ""; position: absolute; inset: 0; }
.demo-netflix-landscape::before { background: #566063; clip-path: polygon(0 100%, 0 58%, 18% 46%, 35% 68%, 61% 55%, 77% 72%, 100% 49%, 100% 100%); }
.demo-netflix-landscape span { background: linear-gradient(#424a4b, #23282a); clip-path: polygon(0 100%, 0 76%, 21% 70%, 39% 84%, 54% 73%, 81% 85%, 100% 73%, 100% 100%); }
.demo-netflix-frame > strong { position: absolute; bottom: 4px; left: 6px; font-size: var(--demo-small-text); }
.demo-netflix-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: clamp(19px, 5cqw, 38px); aspect-ratio: 1; border-radius: 50%; background: #222221d9; color: #fff6f0; transition: opacity .2s ease; }
.demo-netflix-play svg { width: 66%; height: auto; }
.demo-netflix.is-playing .demo-netflix-play { opacity: 0; }
.demo-netflix .demo-track-progress::after { background: #e50914; }

.demo-reaction {
  position: absolute;
  z-index: 2;
  top: calc(var(--island-bottom, 61 * var(--display-point)) + clamp(5px, 1.2cqw, 10px));
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 1px;
  width: max-content;
  max-width: 94%;
  padding: clamp(4px, 1cqw, 7px) clamp(8px, 1.7cqw, 13px);
  border: 1px solid #ffffff9a;
  border-radius: clamp(6px, 1.4cqw, 10px);
  background: #f7f7f5f5;
  box-shadow: 0 4px 13px #14141316;
  color: var(--muted);
  font-size: var(--demo-text);
  line-height: 1.25;
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}
.demo-reaction.is-visible { opacity: 1; }
.demo-reaction strong { color: var(--ink); }
.demo-pointer { position: absolute; z-index: 3; inset: 0 auto auto 0; opacity: 0; }
.demo-pointer.is-visible { opacity: 1; }
.demo-pointer svg { position: relative; width: clamp(11px, 2.5cqw, 19px); height: auto; margin-left: -1px; }
.demo-click { position: absolute; left: 0; top: 0; width: clamp(12px, 3.5cqw, 26px); aspect-ratio: 1; border: 1.5px solid var(--accent); border-radius: 50%; opacity: 0; }

@container (max-width: 320px) {
  .demo-reaction { padding-block: 3px; }
  .demo-window { top: 11.5%; width: 80cqw; transform: translateX(-50%); }
  .demo-window-bar { min-height: 19px; }
  .demo-code-buffer { padding-block: 3px; font-size: clamp(7px, 2.65cqw, 8px); line-height: 1.3; }
  .demo-music-queue .demo-music-label, .demo-song-length { display: none; }
  .demo-track { font-size: 8px; }
  .demo-note { padding: 5px 8px; }
  .demo-note-text { min-height: 2.4em; margin-top: 2px; line-height: 1.2; }
  .demo-kindle-page .demo-kindle-detail { display: none; }
  .demo-dock { bottom: 2%; padding-block: 3px; }
  .demo-dock-app { min-width: 0; }
  .demo-dock-app :is(svg, img) { width: clamp(14px, 5.5cqw, 19px); }
  .demo-dock-app > span { display: none; }
}

@container (max-width: 260px) {
  .demo-code-editor { grid-template-rows: auto minmax(0, 1fr); }
  .demo-code-breadcrumb, .demo-code-tab-secondary, .demo-code-status > span > span:nth-child(2) { display: none; }
  .demo-music-library, .demo-music-queue { padding: 3px; }
  .demo-playlists, .demo-songs { gap: 1px; margin-top: 2px; }
  .demo-playlists li { padding-block: .5px; }
  .demo-songs li { min-height: 10px; }
}

.expressions { padding-block: clamp(34px, 5vw, 62px); text-align: center; }
.expressions h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); text-wrap: balance; }
.expression-hint { margin-top: 8px; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.expression-group { max-width: 864px; margin: clamp(24px, 4.4vw, 44px) auto 0; }
.expression-group h3 { margin: 0 0 11px; color: var(--ink); font-size: clamp(1.02rem, 2.15vw, 1.23rem); font-weight: 640; letter-spacing: -.028em; text-align: left; }
.expression-grid {
  --expression-gap: clamp(8px, 1.5vw, 14px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--expression-gap);
}
.expression-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.expression-card {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  min-width: 0;
  padding: clamp(13px, 2vw, 18px) clamp(9px, 1.5vw, 14px);
  background: #fff9;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: .875rem;
  text-align: center;
  transition: background .18s ease, border-color .18s ease;
}
.expression-card:is(:active, :focus-visible) { background: #fff; border-color: var(--line-strong); }
@media (hover: hover) {
  .expression-card:hover { background: #fff; border-color: var(--line-strong); }
}
.expression-island { width: min(120px, 100%); aspect-ratio: 120 / 48; margin-bottom: 6px; border-radius: 999px; overflow: hidden; background: #000; }
.expression-activities { scroll-margin-top: 24px; }
.expression-activities .expression-island { width: min(156px, 100%); }
.expression-island canvas { display: block; width: 100%; height: 100%; }
.expression-name { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink); font-weight: 640; line-height: 1.2; }
.expression-icon { flex: none; width: 16px; height: 16px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.expression-battery { flex: none; width: 22px; height: auto; }
.battery-high { color: #268050; }
.battery-mid { color: #996a13; }
.battery-low { color: #be4555; }
.battery-charging { color: var(--accent); }
.expression-description { max-width: 23ch; color: var(--muted); font-size: .81rem; line-height: 1.4; text-wrap: pretty; }
.expression-outro { margin: clamp(37px, 6vw, 68px) auto 0; color: var(--ink); font-size: clamp(2rem, 5.45vw, 4.1rem); font-weight: 680; line-height: 1.04; letter-spacing: -.064em; text-wrap: balance; }
.expression-outro em { color: var(--accent); font-family: var(--serif); font-weight: 400; }

.early-access {
  --on-dark-muted: #ccccc5;
  background: radial-gradient(ellipse at 52% 105%, #363633, transparent 70%), var(--accent);
  color: var(--page);
  text-align: center;
  padding-block: clamp(64px, 8.25vw, 110px);
}
.early-access h2 { font-size: clamp(3.1rem, 5.55vw, 5.4rem); margin-top: 16px; }
.early-access .eyebrow, .early-access h2 em { color: var(--on-dark-muted); }
.early-access :focus-visible { outline-color: var(--page); }
.access-layout > p:not(.eyebrow, .form-note) { color: var(--on-dark-muted); font-size: 1.06rem; line-height: 1.59; margin-top: 13px; }
.waitlist { display: flex; gap: 8px; width: min(100%, 502px); margin: 26px auto 0; }
.email-field { display: flex; align-items: center; min-width: 0; flex: 1; position: relative; color: var(--on-dark-muted); }
.email-field svg { pointer-events: none; position: absolute; width: 18px; height: 18px; left: 16px; }
.email-field input { width: 100%; min-height: 50px; border: 1px solid #86867e; border-radius: 999px; background: #ffffff0a; color: var(--page); padding: 0 16px 0 43px; }
.email-field input::placeholder { color: var(--on-dark-muted); }
.button-light { background: var(--surface); color: var(--ink); border-color: var(--surface); }
.button-light:hover { background: #fff; border-color: #fff; }
.form-note { font-size: 13px; color: var(--on-dark-muted); line-height: 1.45; margin-top: 12px; min-height: 2.9em; }
.form-note[data-state="success"] { color: #daf2dc; }
.form-note[data-state="error"] { color: #ffd2d6; }

.site-footer { border-top: 1px solid var(--line); }
.footer-layout { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 85px; }
.footer-link { color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: .2em; }
.footer-link:hover { color: var(--ink); }

.privacy-page { max-width: 648px; padding-block: clamp(32px, 6vw, 72px) clamp(64px, 9vw, 112px); }
.privacy-header { margin-bottom: clamp(36px, 6vw, 56px); }
.privacy-header h1 { margin-top: clamp(28px, 5vw, 48px); font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1.08; }
.privacy-page > section { padding-top: clamp(22px, 4vw, 32px); border-top: 1px solid var(--line); }
.privacy-page > section + section { margin-top: clamp(32px, 5vw, 48px); }
.privacy-page h2 { margin-bottom: 16px; font-size: clamp(1.375rem, 3vw, 1.75rem); letter-spacing: -.03em; line-height: 1.25; }
.privacy-page p { color: var(--muted); font-size: 1.0625rem; line-height: 1.75; }
.privacy-header p { margin-top: 12px; font-size: 1.125rem; }
.privacy-page p + p { margin-top: 16px; }
.privacy-page p a { text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }

@media (max-width: 800px) {
  .layout { width: calc(100% - 56px); }
  .device { width: calc(100% - 56px); }
}
@media (max-width: 620px) {
  .layout { width: calc(100% - 36px); }
  .site-header { padding-bottom: 6px; }
  .navigation { height: 62px; }
  .hero-copy { padding-top: 43px; }
  .hero-copy h1 { font-size: clamp(2.5rem, 11.6vw, 4rem); }
  .hero-description { font-size: 1rem; max-width: 320px; }
  .hero-reaction-panel { max-width: 432px; }
  .hero-reactions li { grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; gap: 6px; padding: 3px 6px; text-align: center; }
  .hero-reaction-icon { width: 22px; height: 22px; }
  .hero-reaction-cue { font-size: .72rem; }
  .hero-reaction-result { font-size: .75rem; }
  .hero-demo { margin-top: 22px; padding-bottom: 30px; }
  .device { width: calc(100% - 18px); }
  .menu-items { gap: 1.45cqw; }
  .menu-items span:nth-child(n+4):not(.menu-status span) { display: none; }
  .expression-group { max-width: 430px; }
  .expression-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expression-card:last-child:nth-child(odd) { grid-column: span 2; justify-self: center; width: calc((100% - var(--expression-gap)) / 2); }
  .early-access h2 { max-width: 340px; margin-inline: auto; text-wrap: balance; }
  .footer-layout { min-height: 69px; }
}
@media (max-width: 400px) {
  .waitlist { display: grid; }
  .waitlist .button { width: 100%; }
  .brand-face { width: 27px; height: 15px; }
  .wordmark { gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
