/* vaho. One family, one black shape, one warm accent. */

@font-face {
  font-family: "Mona Sans";
  src: url("fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
}

:root {
  --fog: #e8edee;
  --paper: #f5f6f3;
  --white: #fff;
  --ink: #0f1112;
  --mute: #566063;
  --line: rgba(15, 17, 18, .14);
  --ember: #ff5a26;
  --tint: #f2a65a;
  --gut: clamp(20px, 5.5vw, 80px);
  --max: 1280px;
  --spring: linear(0, .02 1.2%, .09 3%, .36 7.6%, .68 12.6%, .88 17%, 1 21.6%, 1.05 26%, 1.06 30%, 1.045 36%, 1.01 46%, .995 56%, 1 72%, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --sans: "Mona Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --notch-h: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 420 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; }
img { max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }

/* ── Type ─────────────────────────────────────────────────────────────── */

h1, h2, .display {
  font-weight: 480;
  font-stretch: 112%;
  letter-spacing: -.038em;
  line-height: .98;
  text-wrap: balance;
}
.display { font-size: clamp(40px, 6.1vw, 92px); }
.lead { font-size: clamp(19px, 1.65vw, 23px); line-height: 1.42; letter-spacing: -.012em; }
.tagline { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 520; color: rgba(255, 255, 255, .62); }
.pro {
  display: inline-block; vertical-align: middle;
  padding: 3px 8px 3px; border-radius: 999px;
  background: var(--ember); color: var(--ink);
  font-size: 12px; font-weight: 620; font-stretch: 100%; letter-spacing: 0; line-height: 1.2;
}

.pro[hidden] { display: none; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; }
.will-rise .w > span { transform: translateY(112%); transition: transform 1.15s var(--out); transition-delay: calc(var(--i) * 46ms); }
.will-rise.in .w > span { transform: none; }

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 540; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .5s var(--spring), background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px) scale(1.015); }
.btn:active { transform: scale(.97); transition-duration: .12s; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2a2e30; }
.btn--line { border: 1.5px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--ember { background: var(--ember); color: var(--ink); }
.btn--ember:hover { background: #ff7346; }
.btn--big { min-height: 64px; padding: 0 34px; font-size: 19px; }
.btn--big svg { width: 24px; height: 24px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Top bar ──────────────────────────────────────────────────────────── */

.bar {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  height: 52px; padding: 0 clamp(16px, 2.2vw, 30px);
  color: var(--ink); transition: color .35s; pointer-events: none;
}
.bar > * { pointer-events: auto; }
.bar[data-tone="dark"] { color: #fff; }
.bar__brand { display: block; padding: 6px 0; transition: transform .5s var(--spring); }
.bar__brand:hover { transform: scale(1.06); }
.bar__brand svg { width: 68px; height: auto; overflow: visible; fill: none; stroke: currentColor; stroke-width: 38; stroke-linecap: round; stroke-linejoin: round; }
.bar__side { display: flex; align-items: center; gap: 16px; }
.bar__dl {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 15px; border-radius: 999px;
  background: currentColor; font-size: 14px; font-weight: 560;
  transition: transform .5s var(--spring);
}
.bar__dl:hover { transform: scale(1.05); }
.bar[data-tone="light"] .bar__dl, .bar[data-tone="ember"] .bar__dl { background: var(--ink); color: #fff; }
.bar[data-tone="dark"] .bar__dl { background: #fff; color: var(--ink); }
.lang { display: flex; gap: 2px; font-size: 13px; font-weight: 560; }
.lang button { min-width: 30px; min-height: 30px; border-radius: 8px; opacity: .46; transition: opacity .2s; }
.lang button:hover, .lang button[aria-pressed="true"] { opacity: 1; }

/* ── The notch ────────────────────────────────────────────────────────── */

.notch {
  --w: 190px; --h: var(--notch-h); --r: 11px;
  position: fixed; top: 0; left: 50%; z-index: 50;
  width: min(var(--w), 100vw - 12px); height: var(--h);
  transform: translateX(-50%);
  background: #000; color: #fff;
  border-radius: 0 0 var(--r) var(--r);
  transition: width .68s var(--spring), height .68s var(--spring), border-radius .5s var(--out);
}
.notch::before, .notch::after {
  content: ""; position: absolute; top: 0; width: 10px; height: 10px;
  background: radial-gradient(circle at 0 100%, transparent 9.5px, #000 10px);
}
.notch::before { right: 100%; }
.notch::after { left: 100%; transform: scaleX(-1); }

.notch[data-panel="nav"] { --w: 560px; --h: 150px; --r: 26px; }
.notch[data-panel="media"] { --w: 520px; --h: 186px; --r: 30px; }
.notch[data-panel="files"] { --w: 560px; --h: 164px; --r: 28px; }
.notch[data-panel="alerts"] { --w: 470px; --h: 306px; --r: 30px; }
.notch[data-panel="calendar"] { --w: 470px; --h: 232px; --r: 30px; }
.notch[data-panel="themes"] { --w: 690px; --h: 196px; --r: 30px; }
.notch[data-panel="desktops"] { --w: 760px; --h: 158px; --r: 28px; }
.notch[data-panel="lock"] { --w: 900px; --h: 124px; --r: 28px; }
.notch[data-panel="tip"] { --w: 480px; --h: 104px; --r: 24px; }

.notch__hit { position: absolute; inset: 0 0 auto; height: var(--notch-h); z-index: 3; border-radius: 0 0 11px 11px; }
.notch__panels { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.np {
  position: absolute; top: 0; left: 50%;
  width: min(var(--pw, 100%), 100vw - 12px); height: 100%;
  padding: 40px 22px 18px;
  transform: translate(-50%, -10px) scale(.97); transform-origin: 50% 0;
  opacity: 0; visibility: hidden;
  transition: opacity .16s, transform .3s, visibility 0s .16s;
}
.notch[data-panel="nav"] .np-nav, .notch[data-panel="media"] .np-media, .notch[data-panel="files"] .np-files,
.notch[data-panel="alerts"] .np-alerts, .notch[data-panel="calendar"] .np-cal, .notch[data-panel="themes"] .np-themes,
.notch[data-panel="desktops"] .np-desks, .notch[data-panel="lock"] .np-lock, .notch[data-panel="tip"] .np-tip {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity .34s .14s, transform .62s .08s var(--spring), visibility 0s;
}

.np-nav { --pw: 560px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding-top: 38px; }
.np-nav a { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 13px; font-weight: 520; color: rgba(255, 255, 255, .78); transition: color .2s; }
.np-nav i {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: #1f2122; transition: background-color .2s, transform .5s var(--spring);
}
.np-nav svg { width: 23px; height: 23px; color: #fff; }
.np-nav a:hover { color: #fff; }
.np-nav a:hover i { background: var(--ember); transform: scale(1.07); }
.np-nav a:hover svg { color: var(--ink); }

.np-media { --pw: 520px; display: flex; gap: 18px; align-items: center; padding-top: 40px; }
.np-media__art { width: 118px; height: 118px; flex: none; border-radius: 16px; object-fit: cover; }
.np-media__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.np-media__head { display: flex; justify-content: space-between; align-items: center; }
.np-media__head b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.np-media__head span { font-size: 14px; color: rgba(255, 255, 255, .56); }
.viz { display: flex; align-items: center; gap: 3px; height: 26px; }
.viz i { width: 3.5px; height: 100%; border-radius: 2px; background: var(--tint); transform: scaleY(.3); animation: viz 1s ease-in-out infinite alternate; }
.viz i:nth-child(2) { animation-duration: .72s; animation-delay: -.2s; }
.viz i:nth-child(3) { animation-duration: 1.18s; animation-delay: -.5s; }
.viz i:nth-child(4) { animation-duration: .84s; animation-delay: -.34s; }
.viz i:nth-child(5) { animation-duration: 1.04s; animation-delay: -.7s; }
@keyframes viz { to { transform: scaleY(1); } }
.np-media__track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.np-media__track i { display: block; height: 100%; background: #fff; border-radius: 2px; transform-origin: 0 50%; animation: track 48s linear infinite; }
@keyframes track { from { transform: scaleX(.18); } to { transform: scaleX(1); } }
.notch.is-paused .viz i, .notch.is-paused .np-media__track i { animation-play-state: paused; }
.np-media__ctl { display: flex; justify-content: center; gap: 22px; }
.np-media__ctl button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; transition: background-color .2s, transform .4s var(--spring); }
.np-media__ctl button:hover { background: #242627; }
.np-media__ctl button:active { transform: scale(.88); }
.np-media__ctl svg { width: 22px; height: 22px; }

.np-files { --pw: 560px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.file { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-width: 0; border-radius: 15px; background: #17191a; padding: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.file span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file__ic { display: grid; place-items: center; width: 44px; height: 52px; border-radius: 7px; font-size: 11px; font-weight: 700; color: #fff; }
.file__ic--pdf { background: #e2483d; }
.file__ic--img { background: #2f8fe0; }
.file__ic--zip { background: #8a8f92; }
.file--drop { background: none; border: 1.5px dashed rgba(255, 255, 255, .3); }
.file--drop b { font-size: 28px; font-weight: 300; line-height: 1; }
.notch[data-panel="files"] .file { animation: drop .8s var(--spring) both; }
.notch[data-panel="files"] .file:nth-child(2) { animation-delay: .1s; }
.notch[data-panel="files"] .file:nth-child(3) { animation-delay: .2s; }
.notch[data-panel="files"] .file:nth-child(4) { animation-delay: .3s; }
@keyframes drop { from { opacity: 0; transform: translateY(-26px) scale(.86); } }

.np-alerts { --pw: 470px; display: flex; flex-direction: column; gap: 7px; }
.alert { display: flex; align-items: center; gap: 11px; padding: 8px 11px; border-radius: 14px; background: #17191a; }
.alert img { width: 34px; height: 34px; flex: none; }
.alert > div { flex: 1; min-width: 0; }
.alert b { display: block; font-size: 14px; font-weight: 620; line-height: 1.25; }
.alert p { font-size: 13.5px; line-height: 1.3; color: rgba(255, 255, 255, .68); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alert time { font-size: 12px; color: rgba(255, 255, 255, .46); }
.notch[data-panel="alerts"] .alert { animation: drop .8s var(--spring) both; }
.notch[data-panel="alerts"] .alert:nth-child(1) { animation-delay: .24s; }
.notch[data-panel="alerts"] .alert:nth-child(2) { animation-delay: .12s; }
.alert__reply input {
  width: 100%; height: 38px; padding: 0 14px; border: 0; border-radius: 12px;
  background: #242627; color: #fff; font-size: 14px; outline-offset: 1px;
}
.alert__reply input::placeholder { color: rgba(255, 255, 255, .52); }

.np-cal { --pw: 470px; display: flex; flex-direction: column; gap: 3px; }
.cal { display: flex; align-items: center; gap: 15px; min-height: 54px; padding: 0 12px; border-radius: 13px; }
.cal:first-child { background: #17191a; }
.cal time { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--tint); }
.cal > div { flex: 1; min-width: 0; }
.cal b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }
.cal span { font-size: 13px; color: rgba(255, 255, 255, .56); }
.cal__join { font-style: normal; padding: 6px 15px; border-radius: 999px; background: #fff; color: #000; font-size: 13px; font-weight: 620; }
.notch[data-panel="calendar"] .cal { animation: drop .8s var(--spring) both; }
.notch[data-panel="calendar"] .cal:nth-child(2) { animation-delay: .09s; }
.notch[data-panel="calendar"] .cal:nth-child(3) { animation-delay: .18s; }

.np-themes { --pw: 690px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding-top: 40px; }
.np-themes button { position: relative; overflow: hidden; border-radius: 13px; min-height: 44px; transition: transform .5s var(--spring); }
.np-themes img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--out); }
.np-themes span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 7px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72));
  color: #fff; font-size: 12px; font-weight: 640; text-align: left;
}
.np-themes button::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 #fff; transition: box-shadow .25s; }
.np-themes button:hover { transform: translateY(-2px); }
.np-themes button:hover img { transform: scale(1.06); }
.np-themes button.is-on::after { box-shadow: inset 0 0 0 2.5px #fff; }

.np-desks { --pw: 760px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; padding-top: 40px; }
.np-desks button { position: relative; overflow: hidden; border-radius: 11px; opacity: .56; transition: opacity .25s, transform .5s var(--spring); }
.np-desks img { width: 100%; height: 100%; object-fit: cover; }
.np-desks i { position: absolute; border-radius: 3px; background: rgba(16, 18, 20, .78); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .34); }
.np-desks .w1 { left: 22%; top: 26%; width: 36%; height: 44%; }
.np-desks .w2 { right: 12%; bottom: 14%; width: 24%; height: 34%; }
.np-desks span { position: absolute; left: 7px; top: 4px; font-size: 12px; font-weight: 680; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.np-desks button.is-on { opacity: 1; transform: scale(1.05); box-shadow: 0 0 0 2px #fff; }

.np-lock { --pw: 900px; display: grid; grid-template-columns: 1.3fr 1.5fr .7fr .9fr; gap: 22px; align-items: center; padding-top: 40px; }
.lk { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lk > span { font-size: 12.5px; color: rgba(255, 255, 255, .54); }
.lk > b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk--media { flex-direction: row; align-items: center; gap: 11px; }
.lk--media img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.lk--media b { display: block; font-size: 15px; font-weight: 600; }
.lk--media span { font-size: 13px; color: rgba(255, 255, 255, .56); }
.lk--alerts > div { display: flex; align-items: center; gap: 4px; }
.lk--alerts img { width: 24px; height: 24px; }
.lk--alerts em { font-style: normal; font-size: 13px; font-weight: 640; margin-right: 6px; }

.np-tip { --pw: 480px; display: flex; align-items: center; gap: 14px; padding: 38px 22px 12px; }
.np-tip img { width: 44px; height: 44px; flex: none; }
.np-tip b { display: block; font-size: 15px; font-weight: 620; line-height: 1.2; }
.np-tip span { display: block; font-size: 13px; line-height: 1.3; color: rgba(255, 255, 255, .66); }

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--fog); }
.hero__wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__fog { position: absolute; inset: 0; background: rgba(232, 237, 238, .84); }
.glass { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .9s; }
.glass.is-ready { opacity: 1; }

.hero__copy {
  position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(26px, 5vh, 52px);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end;
  max-width: var(--max); margin-inline: auto;
}
.hero h1 { font-size: clamp(42px, min(6.5vw, 11.2vh), 100px); animation: lift 1.5s .15s var(--out) both; }
.hero__side { display: flex; flex-direction: column; gap: 18px; animation: lift 1.5s .3s var(--out) both; }
.hero__lead { font-size: clamp(17px, 1.34vw, 19px); line-height: 1.42; letter-spacing: -.008em; }
.hero__meta { font-size: 14px; color: #39424a; }
@keyframes lift { from { opacity: 0; transform: translateY(26px); } }

.hero__hint {
  position: absolute; left: 50%; top: 58px; display: flex; align-items: center; gap: 8px;
  transform: translateX(-50%); font-size: 13px; font-weight: 540; color: #2a3236;
  transition: opacity .5s; pointer-events: none;
  animation: hintIn 1s 3.6s var(--out) both;
}
.hero__hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); animation: pulse 1.8s ease-in-out infinite; }
.hero__hint.is-done { opacity: 0; }
@keyframes hintIn { from { opacity: 0; } }
@keyframes pulse { 50% { transform: scale(1.7); opacity: .45; } }

/* ── Black slabs: the notch's shape, turned over, carry the copy ──────── */

.slab {
  position: absolute; left: max(var(--gut), (100% - var(--max)) / 2); bottom: 0; z-index: 2;
  width: min(600px, 100% - 2 * var(--gut));
  padding: clamp(26px, 2.6vw, 38px) clamp(24px, 2.8vw, 40px) clamp(28px, 3vw, 42px);
  background: #000; color: #fff;
  border-radius: 30px 30px 0 0;
}
.slab::before, .slab::after {
  content: ""; position: absolute; bottom: 0; width: 18px; height: 18px;
  background: radial-gradient(circle at 0 0, transparent 17.5px, #000 18px);
}
.slab::before { right: 100%; }
.slab::after { left: 100%; transform: scaleX(-1); }
.slab h2 { margin: 10px 0 12px; font-size: clamp(30px, 3.3vw, 46px); line-height: 1.02; }
.slab p { color: rgba(255, 255, 255, .74); font-size: 17px; line-height: 1.46; }

/* ── Modes scene ──────────────────────────────────────────────────────── */

.scene { height: 460vh; background: #000; }
.scene__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.scene__walls img, .wall__layers img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.scene__walls img { opacity: 0; transform: scale(1.05); transition: opacity .9s, transform 1.8s var(--out); }
.scene__walls img.is-on { opacity: 1; transform: none; }
.chapters { display: grid; }
.chapter {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .26s, transform .4s, visibility 0s .26s;
}
.chapter.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .55s .12s, transform .9s .12s var(--out), visibility 0s; }
.ticks { display: flex; gap: 6px; margin-top: 22px; }
.ticks i { position: relative; flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.ticks i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(var(--f, 0)); transform-origin: 0 50%; }

/* ── Store and Dock ───────────────────────────────────────────────────── */

.store { min-height: 100svh; padding: clamp(110px, 15vh, 170px) 0 clamp(80px, 11vh, 120px); background: var(--paper); }
.dock {
  display: flex; justify-content: space-between; align-items: flex-end;
  height: 128px; margin-top: clamp(40px, 7vh, 72px); padding: 0 8px 12px;
  border-bottom: 1px solid var(--line);
}
.dock > div { flex: 1 1 0; min-width: 0; display: flex; justify-content: center; }
.dock button {
  --s: 1; width: 100%; max-width: 60px; border-radius: 14px;
  transform: translateX(var(--x, 0px)) scale(var(--s)); transform-origin: 50% 100%;
  transition: transform .22s var(--out);
}
.dock img { width: 100%; height: auto; pointer-events: none; }
.dock-info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-height: 64px; margin-top: 24px; }
.dock-info b { font-size: clamp(24px, 2.3vw, 32px); font-weight: 520; font-stretch: 110%; letter-spacing: -.028em; }
.dock-info .pro { align-self: center; }
.dock-info p { flex-basis: 100%; color: var(--mute); font-size: 18px; }
.store__foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 96px); margin-top: clamp(36px, 6vh, 64px); align-items: start; }
.store__count { font-size: 18px; line-height: 1.42; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s; }
.chips li:hover { background: var(--ink); color: #fff; }

/* ── Full-screen walls ────────────────────────────────────────────────── */

.wall { position: relative; height: 100svh; min-height: 720px; overflow: hidden; background: #000; }
.wall__layers { position: absolute; inset: 0; }
.wall--desk .wall__layers img { opacity: 0; transition: opacity .42s; }
.wall--desk .wall__layers img.is-on { opacity: 1; }
.wall__now { margin-top: 18px; font-size: 15px !important; }
.wall__now b { color: #fff; font-weight: 620; }
.wall__now em { margin-left: 8px; font-style: normal; color: rgba(255, 255, 255, .5); }
.desk-list { display: grid; gap: 4px; margin-top: 14px; font-size: 16px; color: rgba(255, 255, 255, .74); }
.desk-list b { color: #fff; font-weight: 620; }
.pad {
  --x: 0; position: absolute; right: clamp(24px, 2.8vw, 40px); top: clamp(26px, 2.6vw, 38px);
  width: 112px; height: 64px; border-radius: 11px; background: #1b1d1e;
}
.pad i {
  position: absolute; top: 24px; left: calc(10px + var(--x) * 54px);
  width: 13px; height: 13px; border-radius: 50%; background: #fff;
  transition: left .6s var(--spring);
}
.pad i:nth-child(2) { margin-left: 16px; margin-top: -5px; }
.pad i:nth-child(3) { margin-left: 32px; }

/* ── Lock ─────────────────────────────────────────────────────────────── */

.lock {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 100svh; padding: 170px var(--gut) clamp(40px, 7vh, 72px);
  background: #0c0d0e; color: #fff; overflow: hidden;
}
.lock__clock { text-align: center; }
.lock__clock time {
  display: block; font-size: clamp(110px, 25vw, 380px); font-weight: 200; font-stretch: 125%;
  line-height: .9; letter-spacing: -.055em; font-variant-numeric: tabular-nums;
}
.lock__clock span { display: block; margin-top: 16px; font-size: clamp(17px, 1.6vw, 22px); color: rgba(255, 255, 255, .66); }
.lock__clock span::first-letter { text-transform: uppercase; }
.lock__copy {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 18px clamp(32px, 6vw, 96px); align-items: end;
  width: 100%; max-width: var(--max); margin: 48px auto 0;
}
.lock__copy h2 { font-size: clamp(34px, 4.4vw, 64px); }
.lock__copy p { color: rgba(255, 255, 255, .72); font-size: 18px; line-height: 1.45; }

/* ── Build ────────────────────────────────────────────────────────────── */

.build { padding: clamp(120px, 17vh, 180px) 0 clamp(90px, 13vh, 140px); background: var(--fog); }
.build__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(36px, 6vw, 96px); margin-top: clamp(40px, 7vh, 72px); align-items: start; }
.build__text { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.facts { display: grid; gap: 14px; width: 100%; }
.facts > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; font-size: 16px; }
.facts dd { color: #3e474a; font-size: 16px; line-height: 1.42; overflow-wrap: anywhere; }

.editor { overflow: hidden; border-radius: 22px; background: #0c0e0f; color: #e8ecec; }
.editor__bar { display: flex; align-items: center; gap: 7px; height: 46px; padding: 0 18px; border-bottom: 1px solid #222628; font-size: 13px; }
.editor__bar i { width: 11px; height: 11px; border-radius: 50%; background: #34393b; }
.editor__bar span { margin-left: 10px; color: #a7b0b2; font-family: var(--mono); }
.editor__bar em { margin-left: auto; font-style: normal; font-weight: 600; color: var(--ember); }
.editor__code { padding: 22px 24px; font: 15px/1.75 var(--mono); white-space: pre; overflow-x: auto; }
.editor .k { color: #9fb6c2; }
.editor .s { color: #ffc6ab; }
.editor .p { color: #6f7a7d; }
.editor input {
  padding: 0 1px; border: 0; border-radius: 3px; outline: 0;
  background: rgba(255, 90, 38, .2); color: #fff; font: inherit;
  box-shadow: 0 1px 0 var(--ember); transition: background-color .2s;
}
.editor input:focus { background: rgba(255, 90, 38, .42); }
.editor input.is-bad { box-shadow: 0 1px 0 #ff3b3b; color: #ff9d9d; }
.editor__preview { display: flex; justify-content: center; padding: 0 20px 28px; }
.mini-notch {
  --mode: var(--ember);
  display: flex; align-items: center; gap: 13px; width: min(340px, 100%);
  padding: 15px 20px; border-radius: 0 0 22px 22px;
  background: #000; box-shadow: 0 0 0 1px #24282a;
}
.mini-notch__dot { width: 11px; height: 11px; flex: none; border-radius: 50%; background: var(--mode); animation: pulse 1.8s ease-in-out infinite; }
.mini-notch > div { flex: 1; min-width: 0; }
.mini-notch b { display: block; font-size: 15px; font-weight: 620; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-notch div span { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-notch__time { font-size: 19px; font-weight: 560; font-variant-numeric: tabular-nums; color: var(--mode); }

/* ── Discord ──────────────────────────────────────────────────────────── */

.commune { padding: clamp(110px, 16vh, 170px) 0 clamp(70px, 10vh, 110px); background: var(--ember); color: var(--ink); }
.commune h2 { font-size: clamp(46px, 8.6vw, 132px); line-height: .94; letter-spacing: -.045em; max-width: 12ch; }
.commune__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px; margin-top: clamp(40px, 7vh, 72px); }
.commune__row p { max-width: 34em; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; font-weight: 460; }

/* ── Pricing ──────────────────────────────────────────────────────────── */

.pricing { padding: clamp(90px, 13vh, 140px) 0 clamp(100px, 14vh, 150px); background: var(--paper); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 7vh, 72px); }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 48px); border-radius: 30px; background: var(--white); }
.plan h3 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 10px 0 26px; }
.plan__price b { font-size: clamp(50px, 5.6vw, 80px); font-weight: 470; font-stretch: 112%; letter-spacing: -.045em; line-height: 1; }
.plan__price span { color: var(--mute); font-size: 16px; }
.plan ul { flex: 1; display: grid; align-content: start; margin-bottom: 30px; }
.plan li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.35; }
.plan .btn { width: 100%; }
.plan__note { margin-top: 14px; font-size: 14px; line-height: 1.4; text-align: center; color: rgba(255, 255, 255, .66); }
.plan--pro { background: #000; color: #fff; }
.plan--pro .plan__price span { color: rgba(255, 255, 255, .62); }
.plan--pro li { border-color: rgba(255, 255, 255, .17); }
.plan__notch { position: absolute; top: 0; left: 50%; width: 112px; height: 18px; transform: translateX(-50%); background: var(--paper); border-radius: 0 0 11px 11px; }

/* ── Close and footer ─────────────────────────────────────────────────── */

.close { background: var(--ink); color: #fff; }
.close__glass { position: relative; height: 88svh; min-height: 560px; overflow: hidden; color: var(--ink); background: var(--fog); }
.close__copy {
  position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(36px, 8vh, 72px);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px;
  max-width: var(--max); margin-inline: auto;
}
.close__copy h2 { font-size: clamp(44px, 7vw, 108px); }
.foot { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; padding: 56px 0 30px; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.foot h3 { margin-bottom: 10px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .56); }
.foot__cols a { display: block; width: fit-content; padding: 5px 0; font-size: 16px; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 3px) / 0 1px no-repeat; transition: background-size .35s var(--out); }
.foot__cols a:hover { background-size: 100% 1px; }
.foot__apps a { display: flex; align-items: center; gap: 8px; }
.foot__apps img { width: 20px; height: 20px; border-radius: 5px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 14px; color: rgba(255, 255, 255, .6); }
.foot__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.foot__badges img { width: auto; height: 42px; }

/* ── Secondary pages ──────────────────────────────────────────────────── */

.page .bar { transition: color .35s, background-color .25s, box-shadow .25s; }
.page .bar.is-stuck { background: var(--paper); box-shadow: 0 1px 0 var(--line); }

.doc-hero, .thanks-hero { position: relative; overflow: hidden; background: var(--fog); }
.doc-hero { display: flex; align-items: flex-end; min-height: min(68svh, 640px); padding: 128px 0 clamp(36px, 6vh, 60px); }
.doc-hero__copy { position: relative; z-index: 2; }
.doc-hero h1 { max-width: 15ch; font-size: clamp(42px, 6.4vw, 96px); }
.doc-hero p { max-width: 42em; margin-top: 22px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.42; letter-spacing: -.01em; }
.doc-back { display: inline-block; margin-bottom: 20px; padding: 4px 0; font-size: 15px; font-weight: 540; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--out); }
.doc-back:hover { background-size: 0 1px; background-position: 100% 100%; }

.doc { display: grid; grid-template-columns: 232px minmax(0, 760px); justify-content: space-between; gap: 48px; padding: clamp(56px, 9vh, 96px) 0 clamp(80px, 12vh, 130px); }
.doc[hidden] { display: none; }
.doc__toc { position: sticky; top: 84px; align-self: start; max-height: calc(100svh - 110px); overflow: auto; }
.doc__toc a { position: relative; display: block; padding: 6px 0 6px 16px; color: var(--mute); font-size: 15px; line-height: 1.3; transition: color .2s; }
.doc__toc a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--ember); transform: scale(0); transition: transform .45s var(--spring); }
.doc__toc a:hover, .doc__toc a.is-on { color: var(--ink); }
.doc__toc a.is-on { font-weight: 560; }
.doc__toc a.is-on::before { transform: scale(1); }

.doc__body { min-width: 0; font-size: 18px; line-height: 1.62; color: #272d30; }
.doc__body > :first-child { margin-top: 0; }
.doc__body h2 { margin: 72px 0 18px; scroll-margin-top: 84px; color: var(--ink); font-size: clamp(30px, 3vw, 42px); line-height: 1.04; }
.doc__body h3 { margin: 38px 0 8px; scroll-margin-top: 84px; color: var(--ink); font-size: 21px; font-weight: 580; letter-spacing: -.015em; line-height: 1.25; }
.doc__body p { margin-top: 14px; }
.doc__body ul, .doc__body ol { margin-top: 14px; padding-left: 22px; }
.doc__body ul { list-style: disc; }
.doc__body ol { list-style: decimal; }
.doc__body li { margin-top: 8px; padding-left: 4px; }
.doc__body li::marker { color: var(--ember); font-weight: 600; }
.doc__body b { color: var(--ink); font-weight: 600; }
.doc__body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 1.5px; text-underline-offset: 3px; overflow-wrap: anywhere; transition: text-decoration-color .2s; }
.doc__body a:hover { text-decoration-color: var(--ink); }
.doc__body code { padding: .12em .34em; border-radius: 5px; background: rgba(15, 17, 18, .07); color: var(--ink); font: .86em/1.4 var(--mono); overflow-wrap: anywhere; }
.doc__body pre { margin: 20px 0 0; padding: 22px 24px; overflow-x: auto; border-radius: 18px; background: #0c0e0f; color: #e8ecec; }
.doc__body pre code { padding: 0; background: none; color: inherit; font-size: 14px; line-height: 1.7; overflow-wrap: normal; }
.doc__body blockquote { margin: 24px 0 0; padding: 22px 26px; border-radius: 20px; background: #000; color: rgba(255, 255, 255, .82); }
.doc__body blockquote p { margin: 0; }
.doc__body blockquote b { color: #fff; }
.doc__body blockquote code { background: rgba(255, 255, 255, .14); color: #fff; }
.table-wrap { margin-top: 20px; overflow-x: auto; }
.doc__body table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.doc__body th { padding: 0 16px 10px 0; color: var(--mute); font-size: 14px; font-weight: 520; text-align: left; white-space: nowrap; }
.doc__body td { padding: 12px 16px 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.doc__body td:first-child { min-width: 118px; }
.doc__body .updated { color: var(--mute); font-size: 15px; }
.doc__body .summary { margin-top: 20px; padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: var(--white); }
.doc__body .summary h2 { margin: 0; font-size: clamp(24px, 2.2vw, 30px); }
.doc__body dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; margin-top: 16px; font-size: 17px; }
.doc__body dt { color: var(--ink); font-weight: 600; }

.thanks-hero { height: min(100svh, 880px); min-height: 620px; }
.thanks-hero__copy {
  position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(30px, 6vh, 56px);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end;
  max-width: var(--max); margin-inline: auto;
}
.thanks-hero h1 { font-size: clamp(40px, min(6vw, 10vh), 92px); }
.thanks-hero p { font-size: clamp(17px, 1.34vw, 19px); line-height: 1.42; }
.order { display: flex; flex-wrap: wrap; gap: 2px 8px; margin-top: 12px; color: #39424a; font-size: 14px !important; }
.order[hidden] { display: none; }
.order code { font: 13px/1.5 var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.thanks { padding: clamp(56px, 9vh, 96px) 0 clamp(70px, 10vh, 110px); }
.steps li { display: grid; grid-template-columns: clamp(64px, 11vw, 168px) minmax(0, 720px); gap: 16px; padding: clamp(26px, 3.6vw, 44px) 0; border-top: 1px solid var(--line); }
.steps__n { font-size: clamp(44px, 5.4vw, 78px); font-weight: 300; font-stretch: 120%; letter-spacing: -.05em; line-height: .9; color: var(--ember); }
.steps h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.04; }
.steps p { margin-top: 12px; color: #2b3134; font-size: 18px; line-height: 1.55; }
.steps b { color: var(--ink); font-weight: 620; }
.steps .btn { margin-top: 20px; }
.steps .steps__fine { color: var(--mute); font-size: 15px; }
.thanks__more { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--mute); font-size: 15px; }
.thanks__more span { margin-right: auto; }
.thanks__more a { padding: 4px 0; color: var(--ink); font-weight: 520; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.thanks__more a:hover { text-decoration-color: var(--ember); }

.page-foot { background: var(--ink); color: #fff; }
.page-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding: 30px 0; font-size: 14px; }
.page-foot__brand svg { width: 62px; height: auto; overflow: visible; fill: none; stroke: currentColor; stroke-width: 38; stroke-linecap: round; stroke-linejoin: round; }
.page-foot nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; }
.page-foot nav a { padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 3px) / 0 1px no-repeat; transition: background-size .35s var(--out); }
.page-foot nav a:hover { background-size: 100% 1px; }
.page-foot .wrap > span { color: rgba(255, 255, 255, .6); }

/* ── Narrower screens ─────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .notch[data-panel="lock"] { --w: 680px; --h: 196px; }
  .lock { padding-top: 250px; }
  .np-lock { grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .dock { flex-wrap: wrap; height: auto; justify-content: flex-start; gap: 12px 0; }
  .dock > div { flex: 0 0 10%; }
  .dock button { max-width: 52px; }
}

@media (max-width: 980px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .doc__toc { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 8px; }
  .doc__toc ul { display: contents; }
  .doc__toc li { display: block; }
  .doc__toc a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
  .doc__toc a::before { display: none; }
}

@media (max-width: 820px) {
  .thanks-hero__copy { grid-template-columns: minmax(0, 1fr); }
  .hero__copy, .store__foot, .build__grid, .lock__copy { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(40px, 9.6vw, 72px); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slab { left: 12px; width: calc(100% - 24px); }
  .wall { min-height: 760px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  :root { --notch-h: 28px; }
  .notch { --w: 128px; }
  .bar { height: 46px; padding: 0 14px; }
  .bar .lang { display: none; }
  .bar__brand svg { width: 58px; }
  .bar__dl { min-height: 32px; padding: 0 13px; font-size: 13px; }

  .notch[data-panel="nav"] { --w: 378px; --h: 222px; }
  .np-nav { grid-template-columns: repeat(3, 1fr); row-gap: 8px; padding: 34px 10px 10px; }
  .np-nav i { width: 46px; height: 46px; }
  .notch[data-panel="media"] { --w: 378px; --h: 164px; }
  .np-media { gap: 13px; padding: 34px 14px 12px; }
  .np-media__art { width: 92px; height: 92px; }
  .np-media__ctl { gap: 10px; }
  .notch[data-panel="files"] { --w: 378px; --h: 136px; }
  .np-files { gap: 6px; padding: 34px 10px 10px; }
  .file { font-size: 11px; padding: 4px; }
  .file__ic { width: 34px; height: 40px; font-size: 10px; }
  .notch[data-panel="alerts"] { --w: 378px; --h: 290px; }
  .np-alerts { padding: 34px 10px 10px; }
  .notch[data-panel="calendar"] { --w: 378px; --h: 216px; }
  .np-cal { padding: 34px 8px 8px; }
  .notch[data-panel="themes"] { --w: 378px; --h: 246px; }
  .np-themes { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; padding: 34px 10px 10px; }
  .notch[data-panel="desktops"] { --w: 378px; --h: 112px; }
  .np-desks { gap: 5px; padding: 34px 8px 10px; }
  .np-desks span { font-size: 11px; left: 5px; }
  .notch[data-panel="lock"] { --w: 378px; --h: 196px; }
  .np-lock { padding: 34px 14px 10px; }
  .lk > b { white-space: normal; font-size: 14px; line-height: 1.2; }
  .notch[data-panel="tip"] { --w: 378px; --h: 104px; }
  .np-tip { padding: 32px 14px 10px; }

  .hero { min-height: 600px; }
  .hero__copy { gap: 16px; bottom: 20px; }
  .hero__lead { font-size: 16px; }
  .hero__side { gap: 13px; }
  .hero__hint { top: 40px; }
  .cta { width: 100%; }
  .cta .btn { flex: 1 1 100%; }
  .hero .btn { min-height: 46px; }
  .hero .cta { flex-wrap: nowrap; }
  .hero .cta .btn { flex: 1 1 0; padding: 0 12px; font-size: 15px; }

  .slab { padding: 22px 20px 24px; border-radius: 24px 24px 0 0; }
  .slab h2 { font-size: 28px; }
  .slab p { font-size: 15.5px; }
  .pad { display: none; }
  .wall__now em { display: block; margin: 2px 0 0; }

  .dock > div { flex: 0 0 20%; }
  .dock button { max-width: 50px; }
  .dock-info { min-height: 92px; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .editor__code { font-size: 13px; padding: 18px 16px; }
  .btn--big { width: 100%; }
  .close__copy .cta .btn { flex: 1 1 100%; }
  .lock { padding-top: 250px; }
  .doc-hero { padding-top: 100px; }
  .doc__body { font-size: 17px; }
  .doc__body dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .doc__body dd { margin-bottom: 8px; }
  .doc__body pre { margin-inline: -8px; padding: 18px 16px; }
  .thanks__more span { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .will-rise .w > span { transform: none; }
  .scene { height: auto; }
  .scene__stage { position: relative; height: auto; min-height: 100svh; padding-top: 240px; }
  .scene__slab { position: relative; left: auto; margin: 0 var(--gut); width: auto; border-radius: 30px; margin-bottom: 40px; }
  .chapters { gap: 28px; }
  .chapter { grid-area: auto; opacity: 1; visibility: visible; transform: none; }
  .ticks, .scene__slab::before, .scene__slab::after { display: none; }
}
