:root {
  --bg: #110a0a;
  --panel: #1b1213;
  --panel2: #231718;
  --line: rgba(255, 244, 230, .09);
  --line2: rgba(255, 244, 230, .16);
  --text: #fff4e6;
  --muted: rgba(255, 244, 230, .66);
  --peach: #ffb266;
  --orange: #ee7048;
  --rose: #cd3e48;
  --star: #ffc094;
  --ink: #1f0d0b;
  --hl: #c2412f;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  overflow-x: clip;
  color-scheme: dark;
  background: var(--bg);
  scroll-padding-top: 76px;
  scrollbar-color: #45302f var(--bg);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font: 400 1rem/1.6 var(--sans);
  color: var(--text);
  background:
    radial-gradient(120% 55% at 50% -8%, rgba(205, 62, 72, .24), transparent 62%),
    var(--bg);
  overflow-x: clip;
  caret-color: var(--orange);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: rgba(238, 112, 72, .5); color: #fff; }
:focus-visible { outline: 2px solid var(--star); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(1120px, 100% - 2 * var(--gut)); margin-inline: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-color: rgba(255, 244, 230, .35); }
a:hover { text-decoration-color: currentColor; }
p { margin: 0; }
code { font: .9em var(--mono); }

h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 760;
  letter-spacing: -.028em;
  line-height: 1.08;
}
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.012em; line-height: 1.3; }
.lead { color: var(--muted); font-size: 1.125rem; max-width: 62ch; }
section { padding: clamp(52px, 7vw, 88px) 0; }
.head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.head.mid { justify-items: center; text-align: center; }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 10, 10, .74);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--line);
}
.top .in { display: flex; align-items: center; gap: 22px; padding-block: 6px; }
.mark { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; letter-spacing: -.01em; text-decoration: none; }
.mark img { width: 38px; height: 38px; margin-left: -4px; display: block; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.top nav a:not(.btn) { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: .94rem; text-decoration: none; transition: color .2s, background .2s; }
.top nav a:not(.btn):hover { color: var(--text); background: rgba(255, 244, 230, .06); }
.top .btn { margin-left: 8px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: 600 1rem/1 var(--sans);
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.primary {
  color: var(--ink);
  background: linear-gradient(180deg, var(--peach), var(--orange));
  border-color: rgba(255, 226, 196, .4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 12px 28px -8px rgba(238, 112, 72, .55), 0 3px 6px rgba(0, 0, 0, .45);
}
.btn.primary:hover { transform: translateY(-1px); background: linear-gradient(180deg, #ffc27f, #f47c55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 16px 34px -8px rgba(238, 112, 72, .7), 0 3px 6px rgba(0, 0, 0, .45); }
.btn.ghost {
  color: var(--text);
  background: rgba(255, 244, 230, .06);
  border-color: var(--line2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 24px -10px rgba(0, 0, 0, .7);
}
.btn.ghost:hover { transform: translateY(-1px); background: rgba(255, 244, 230, .1); border-color: rgba(255, 244, 230, .26); }
.btn:active { transform: translateY(0); }
.btn.sm { min-height: 36px; padding: 0 16px; border-radius: 10px; font-size: .9rem; }
.btn.sm svg { width: 16px; height: 16px; }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow-x: clip; text-align: center; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -60px;
  width: 1200px;
  height: 860px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(238, 112, 72, .46), rgba(205, 62, 72, .22) 48%, transparent 74%);
  pointer-events: none;
  animation: breathe 10s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .72; transform: translateX(-50%) scale(1.05); } }
/* The PNG keeps about 10% transparent margin, so 160px shows a 128px icon. */
.app { display: block; width: 160px; height: 160px; margin: 0 auto 26px; filter: drop-shadow(0 0 64px rgba(238, 112, 72, .6)) drop-shadow(0 26px 40px rgba(205, 62, 72, .5)) drop-shadow(0 4px 10px rgba(0, 0, 0, .55)); animation: land 1.1s var(--ease) both; }
@keyframes land { from { opacity: 0; transform: translateY(14px) scale(.92); filter: blur(6px) drop-shadow(0 0 64px rgba(238, 112, 72, .6)); } }
h1 {
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.02;
  max-width: 14em;
  margin-inline: auto;
}
h1 .grad {
  display: block;
  background: linear-gradient(100deg, var(--star), var(--peach) 48%, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .08em;
}
.hero .lead { margin: 26px auto 34px; max-width: 46ch; font-size: clamp(1.05rem, 1.7vw, 1.25rem); text-wrap: pretty; }
.meta { margin-top: 26px; color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; text-wrap: balance; }

/* Demo */
.demo { padding-top: clamp(16px, 3vw, 32px); }
.dbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 14px; }
.dnote { color: var(--muted); font-size: .9rem; }
.dnote b { color: var(--text); font-weight: 600; }
.sw {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px 0 10px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: rgba(255, 244, 230, .05);
  color: var(--text);
  font: 500 .9rem/1 var(--sans);
  cursor: pointer;
}
.sw:hover { background: rgba(255, 244, 230, .09); }
.sw .tr { position: relative; width: 38px; height: 22px; border-radius: 99px; background: rgba(255, 244, 230, .22); transition: background .3s var(--ease); }
.sw .tr i { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .5); transition: transform .3s var(--ease); }
.sw[aria-checked="true"] .tr { background: var(--hl); }
.sw[aria-checked="true"] .tr i { transform: translateX(16px); }
.sw b { font-weight: 650; }

.desk {
  position: relative;
  height: 420px;
  overflow: hidden;
  border: 1px solid var(--line2);
  border-radius: 20px;
  background: #3a1234;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .85), 0 10px 30px -8px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .4);
  font: 400 13px/22px var(--sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.005em;
}
.wall {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 74% at 2% 0%, rgba(255, 190, 120, .95), transparent 64%),
    radial-gradient(58% 52% at 60% 30%, rgba(238, 112, 72, .5), transparent 72%),
    radial-gradient(70% 60% at 96% 100%, rgba(58, 16, 64, .85), transparent 70%),
    linear-gradient(172deg, #f0784a 0%, #dc4f52 30%, #b12f52 56%, #7a1c48 78%, #3a1234 100%);
}
.wall svg { position: absolute; right: -6%; bottom: -46%; width: 70%; fill: var(--star); opacity: .22; transform: rotate(-14deg); -webkit-mask-image: linear-gradient(200deg, #000 15%, transparent 80%); mask-image: linear-gradient(200deg, #000 15%, transparent 80%); }
.bar {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  padding: 0 8px 0 14px;
  color: #fff4e6;
  background: rgba(28, 14, 16, .74);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: 0 .5px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(0, 0, 0, .3);
}
.bar-l, .bar-r { display: flex; align-items: center; height: 24px; }
.bar-l span, .bar-l b { padding: 0 9px; }
.bar-l b { font-weight: 700; }
.bar-r { gap: 2px; }
.bar-r > svg { width: 16px; height: 16px; margin: 0 5px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.clock { padding: 0 8px; white-space: nowrap; }
.si-wrap { position: relative; }
.si, .relaunch {
  display: block;
  height: 22px;
  margin: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 5px;
  background: none;
  color: inherit;
  font: inherit;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  cursor: default;
  transition: opacity .3s;
}
.si:hover, .si.on { background: rgba(255, 255, 255, .2); }
.si.off { opacity: .68; }
.si.flash { animation: flash .9s var(--ease); }
@keyframes flash { 0% { background: rgba(255, 178, 102, .85); } 100% { background: rgba(255, 178, 102, 0); } }
#si:not(.seen)::after { content: ""; position: absolute; inset: 0 0; border-radius: 5px; pointer-events: none; animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 244, 230, .5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 244, 230, 0); } }
.relaunch { padding: 0 12px; background: rgba(255, 244, 230, .18); font-weight: 600; cursor: pointer; }
.relaunch:hover { background: rgba(255, 244, 230, .28); }
.si:focus-visible, .relaunch:focus-visible { outline-offset: 1px; }
.tip {
  position: absolute;
  z-index: 25;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--text);
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, .5);
  pointer-events: none;
}
.tip::before { content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; background: var(--text); rotate: 45deg; translate: -50% 0; }

.menu {
  position: absolute;
  top: 26px;
  z-index: 40;
  width: max-content;
  min-width: 300px;
  max-width: calc(100% - 12px);
  padding: 5px;
  border: .5px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  background: rgba(40, 22, 25, .82);
  backdrop-filter: blur(36px) saturate(1.8);
  -webkit-backdrop-filter: blur(36px) saturate(1.8);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .6), 0 18px 40px -6px rgba(0, 0, 0, .6), 0 5px 12px rgba(0, 0, 0, .35);
  color: #fff4e6;
  outline: 0;
  animation: pop .16s var(--ease);
}
.menu.sub { min-width: 168px; z-index: 45; background: rgba(46, 26, 29, .96); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.985); } }
.mi {
  display: flex;
  align-items: center;
  width: 100%;
  height: 22px;
  margin: 0;
  padding: 0 10px 0 3px;
  border: 0;
  border-radius: 5px;
  background: none;
  color: inherit;
  font: inherit;
  font-variant-numeric: tabular-nums;
  text-align: left;
  white-space: nowrap;
  cursor: default;
  outline: 0;
}
.mi[aria-disabled="true"] { color: rgba(255, 244, 230, .68); }
.mi.lit[aria-disabled="true"] { color: #fff4e6; }
.mi:not([aria-disabled="true"]):focus, .mi[aria-expanded="true"] { background: var(--hl); color: #fff; }
.mi .ck { display: grid; place-items: center; flex: none; width: 20px; }
.mi .ck svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mi .t { flex: 1; padding-right: 22px; }
.mi .sc { color: rgba(255, 244, 230, .68); letter-spacing: .06em; }
.mi:focus .sc { color: #fff; }
.mi .chev { width: 8px; height: 10px; margin-right: 2px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sep { height: 1px; margin: 5px 10px; background: rgba(255, 255, 255, .14); }

.about {
  position: absolute;
  z-index: 60;
  left: 50%;
  top: calc(50% + 12px);
  translate: -50% -50%;
  max-width: calc(100% - 20px);
  border: .5px solid rgba(255, 244, 230, .22);
  border-radius: 12px;
  background: rgba(43, 24, 27, .94);
  backdrop-filter: blur(36px) saturate(1.8);
  -webkit-backdrop-filter: blur(36px) saturate(1.8);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .6), 0 30px 70px -10px rgba(0, 0, 0, .7), 0 8px 20px rgba(0, 0, 0, .4);
  color: var(--text);
  outline: 0;
  animation: pop .18s var(--ease);
}
.about .tb { display: flex; align-items: center; height: 28px; padding-left: 8px; }
.about .cl { position: relative; width: 24px; height: 24px; margin: 0; padding: 0; border: 0; background: none; cursor: default; }
.about .cl::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .25); }
.about .cl:focus-visible { outline-offset: -1px; border-radius: 50%; }
.about .ab { display: flex; align-items: center; gap: 24px; padding: 0 32px 20px; }
.about img { display: block; flex: none; width: 96px; height: 96px; }
.about .tx { display: grid; gap: 8px; justify-items: center; text-align: center; }
.about h3 { font: 700 22px/1.2 var(--sans); letter-spacing: 0; }
.about p { margin: 0; }
.about a { color: var(--peach); text-decoration: none; }
.about a:hover { text-decoration: underline; }

.legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 28px; margin: 30px 0 0; padding: 0; }
.legend div { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: baseline; }
.legend dt { grid-row: span 2; font: 800 2rem/1 var(--sans); color: var(--orange); letter-spacing: -.02em; }
.legend dd { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.legend dd:first-of-type { color: var(--text); font-weight: 650; font-size: 1rem; }

/* L */
.l .in { display: grid; grid-template-columns: 1fr minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.l .lead, .how .lead { margin-top: 14px; }
.sliders { display: grid; gap: 24px; margin-top: 34px; }
.slider .lab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; }
.slider .lab span { color: var(--orange); font-variant-numeric: tabular-nums; font-weight: 700; }
input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: 4px 0 0; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--rose), var(--orange)) left / var(--p, 50%) 100% no-repeat, rgba(255, 244, 230, .16); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: rgba(255, 244, 230, .16); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--rose), var(--orange)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border: 0; border-radius: 50%; background: var(--text); box-shadow: 0 3px 8px rgba(0, 0, 0, .55), 0 0 0 4px rgba(238, 112, 72, .3); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--text); box-shadow: 0 3px 8px rgba(0, 0, 0, .55), 0 0 0 4px rgba(238, 112, 72, .3); }
input[type="range"]:focus-visible { outline: 0; }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--star); outline-offset: 4px; }
input[type="range"]:focus-visible::-moz-range-thumb { outline: 2px solid var(--star); outline-offset: 4px; }
.card {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 244, 230, .05), 0 28px 50px -26px rgba(0, 0, 0, .8), 0 5px 14px -3px rgba(0, 0, 0, .45);
}
.lout { position: relative; isolation: isolate; overflow: hidden; padding: clamp(28px, 4vw, 44px); text-align: center; }
.lout::before { content: ""; position: absolute; z-index: -1; inset: -30% -10% auto; height: 90%; background: radial-gradient(closest-side, rgba(238, 112, 72, .3), transparent 75%); }
.lnum { font: 800 clamp(4.2rem, 10vw, 7rem)/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.lnum small { font-size: .5em; margin-right: .18em; color: var(--orange); letter-spacing: -.02em; }
.lwork { margin: 18px auto 0; max-width: 34ch; color: var(--muted); text-wrap: balance; min-height: 3.2em; }

/* Features */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.feat li:nth-child(1), .feat li:nth-child(4), .feat li:nth-child(5) { grid-column: span 2; }
.feat li { display: flex; flex-direction: column; padding: 24px; }
.feat p { margin-top: 8px; color: var(--muted); max-width: 52ch; text-wrap: pretty; }
/* A miniature of the demo: same wall, bar, status item and menu, so each preview quotes the real UI. */
.frag {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 120px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, .34);
  box-shadow: inset 0 1px 6px rgba(0, 0, 0, .35);
  font: 400 14px/22px var(--sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.005em;
}
.frag > :not(.wall) { position: relative; }
.frag .bar { width: 100%; padding: 0 8px; border-radius: 8px; justify-content: flex-end; }
.frag .menu { top: auto; width: max-content; min-width: 0; max-width: 100%; animation: none; }
.frag .mi { height: 22px; }
.frag .mi .t { padding-right: 6px; }
.frag.screen { align-items: stretch; justify-content: flex-start; padding: 0; }
.frag.screen .bar { border-radius: 0; }
.frag.mono { font: 400 .9rem/1.7 var(--mono); color: #f4e6d4; }
.frag.flags { flex-direction: row; flex-wrap: wrap; align-content: center; }
.frag code { font-size: 1em; padding: 3px 10px; border-radius: 6px; background: rgba(255, 244, 230, .09); color: var(--star); }

/* How */
.how .in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.steps { display: grid; gap: 26px; margin: 34px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding-left: 52px; counter-increment: s; }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(238, 112, 72, .5);
  border-radius: 50%;
  background: rgba(238, 112, 72, .12);
  color: var(--star);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.steps p { color: var(--muted); }
.steps b { color: var(--text); font-weight: 650; }
.code { margin: 0; overflow: hidden; }
.code figcaption { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.code figcaption i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 244, 230, .16); box-shadow: 16px 0 0 rgba(255, 244, 230, .16), 32px 0 0 rgba(255, 244, 230, .16); margin-right: 32px; }
.code pre { margin: 0; padding: 16px 18px; overflow-x: auto; font: 400 .8rem/1.7 var(--mono); color: #f4e6d4; tab-size: 2; }
.code pre + pre { border-top: 1px solid var(--line); }
.code .lbl { display: block; margin-bottom: 4px; color: var(--muted); font: 600 .7rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.k { color: var(--star); }
.s { color: #e8c98f; }
.n { color: #9fd0a8; }
.d { color: rgba(255, 244, 230, .6); }

/* Install */
.install .in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.req { padding: 28px; }
.req h3 { margin-bottom: 14px; }
.req ul { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; color: var(--muted); }
.req li { position: relative; padding-left: 26px; }
.req li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); rotate: -45deg; }
.req .btn { width: 100%; }

/* Help */
.hdesk {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(16px, 4vw, 40px);
  border: 1px solid var(--line2);
  border-radius: 20px;
  background: #3a1234;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .85), 0 10px 30px -8px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .4);
  font: 400 14px/22px var(--sans);
  letter-spacing: -.005em;
}
.hgrid { position: relative; }
/* No backdrop-filter here: it would make this menu the containing block for the absolutely placed answer. */
.hmenu.menu { position: static; top: auto; width: 100%; max-width: 400px; min-width: 0; animation: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hmenu summary.mi { height: auto; min-height: 34px; padding-block: 6px; white-space: normal; list-style: none; cursor: pointer; }
.hmenu summary::-webkit-details-marker { display: none; }
.hmenu summary:hover { background: rgba(255, 244, 230, .12); }
.hmenu details[open] > summary { background: var(--hl); color: #fff; }
.hmenu summary.dim { color: rgba(255, 244, 230, .68); }
.hmenu details[open] > summary.dim { color: #fff; }
.hmenu summary .t { padding-right: 6px; }
.ans { margin: 2px 4px 6px 23px; padding: 12px 14px; border-radius: 8px; background: rgba(255, 244, 230, .08); color: var(--text); font-size: 14.5px; line-height: 1.6; letter-spacing: 0; }
.ans code { padding: 1px 6px; border-radius: 5px; background: rgba(255, 244, 230, .12); font-size: .9em; }
@media (min-width: 900px) {
  .hgrid { min-height: 280px; }
  .hmenu.menu { width: 400px; }
  .hmenu details[open] .ans {
    position: absolute;
    top: 0;
    left: 424px;
    right: 0;
    margin: 0;
    padding: 24px 28px;
    border: .5px solid rgba(255, 244, 230, .22);
    border-radius: 12px;
    background: rgba(34, 17, 20, .92);
    backdrop-filter: blur(30px) saturate(1.6);
    -webkit-backdrop-filter: blur(30px) saturate(1.6);
    box-shadow: 0 0 0 .5px rgba(0, 0, 0, .6), 0 18px 40px -6px rgba(0, 0, 0, .6);
    font-size: 16px;
  }
  .hmenu details[open] > summary::after {
    content: "";
    width: 8px;
    height: 12px;
    flex: none;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 10'%3E%3Cpath d='M2 1.5L6 5l-4 3.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 10'%3E%3Cpath d='M2 1.5L6 5l-4 3.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}

/* Close */
.close { position: relative; isolation: isolate; overflow-x: clip; text-align: center; }
.close::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 4%; width: 900px; height: 100%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(238, 112, 72, .28), transparent 72%); pointer-events: none; }
.close .app { width: 110px; height: 110px; margin: 0 auto 20px; animation: none; }
.close h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 30px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: .9rem; text-align: center; }
footer p + p { margin-top: 8px; font-size: .85rem; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; }

/* 404 */
.nf { text-align: center; padding: clamp(64px, 16vh, 140px) 0; position: relative; isolation: isolate; }
.nf::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 4%; width: 900px; height: 640px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(238, 112, 72, .32), transparent 72%); pointer-events: none; }
.nf .frag { width: min(400px, 100%); min-height: 120px; margin: 0 auto 36px; }
.nf h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.nf .lead { margin: 20px auto 32px; }

/* Responsive */
@media (max-width: 900px) {
  .feat { grid-template-columns: repeat(2, 1fr); }
  .feat li:nth-child(n) { grid-column: auto; }
  .l .in, .how .in, .install .in { grid-template-columns: minmax(0, 1fr); }
  .legend { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .top nav a.nl { display: none; }
  .top .mark span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 600px) {
  .feat { grid-template-columns: 1fr; }
  .bar-l, .clock { display: none; }
  .bar { justify-content: flex-end; }
  .frag { padding: 12px; }
  .frag.screen { padding: 0; }
  .frag .bar-r > svg { display: none; }
  .desk { height: 500px; }
  .about .ab { gap: 16px; padding: 0 20px 18px; }
  .about img { width: 80px; height: 80px; }
  .mi { height: 28px; }
  .sep { margin: 6px 10px; }
  .menu { min-width: 0; width: calc(100% - 12px); }
  .menu.sub { width: 200px; min-width: 0; }
  .btns .btn { width: 100%; }
}
@media (max-width: 380px) {
  .mi .t { padding-right: 8px; }
  .menu, .mi { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
