/* Layout concept: "Panes". The page is a desktop. Every section is a workspace with its own hue,
   every demo is a pane with a title bar, and the one signature mark is the snap seam: a lit hairline
   that appears where two panes meet. */
:root {
  --bg: #eceef2;
  --bg-2: #e3e6ec;
  --surface: #ffffff;
  --ink: #12141a;
  --muted: #596072;
  --line: rgba(18, 20, 26, 0.11);
  --win: #ffffff;
  --win-bar: #f5f6f9;
  --skel: #e6e9ef;
  --skel-2: #d9dde6;
  --shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 18px 50px -18px rgba(22, 28, 45, 0.35), 0 2px 6px rgba(22, 28, 45, 0.08);
  --dev: #3454e6;
  --design: #e0533c;
  --admin: #178a66;
  --ws: var(--dev);
  --dev-soft: #dfe5fd;
  --design-soft: #fbe1dc;
  --admin-soft: #d6f0e6;
  --ok: #178a66;
  --f-display: 'Bricolage Grotesque', 'Vazirmatn', ui-sans-serif, system-ui, sans-serif;
  --f-body: 'Geist', 'Vazirmatn', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --r-pane: 14px;
  --r-ctl: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0c0e13;
    --bg-2: #11141b;
    --surface: #161a23;
    --ink: #eef0f6;
    --muted: #9aa2b5;
    --line: rgba(238, 240, 246, 0.1);
    --win: #1a1e28;
    --win-bar: #20252f;
    --skel: #272c38;
    --skel-2: #313746;
    --shadow:
      0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 24px 60px -20px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.3);
    --dev: #6f8bff;
    --design: #ff7a5f;
    --admin: #3cc59a;
    --dev-soft: #1d2550;
    --design-soft: #43221b;
    --admin-soft: #12392d;
    --ok: #3cc59a;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0c0e13;
  --bg-2: #11141b;
  --surface: #161a23;
  --ink: #eef0f6;
  --muted: #9aa2b5;
  --line: rgba(238, 240, 246, 0.1);
  --win: #1a1e28;
  --win-bar: #20252f;
  --skel: #272c38;
  --skel-2: #313746;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 24px 60px -20px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.3);
  --dev: #6f8bff;
  --design: #ff7a5f;
  --admin: #3cc59a;
  --dev-soft: #1d2550;
  --design-soft: #43221b;
  --admin-soft: #12392d;
  --ok: #3cc59a;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.8s;
}
[dir='rtl'] body,
body[dir='rtl'] {
  line-height: 1.85;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--ws);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.mono {
  font-family: var(--f-mono);
  font-size: 0.82em;
  letter-spacing: 0.01em;
}
h1,
h2,
h3 {
  font-family: var(--f-display);
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 700;
}
[dir='rtl'] h1,
[dir='rtl'] h2,
[dir='rtl'] h3 {
  letter-spacing: 0;
}
p {
  margin: 0;
}

/* ---------- top bar ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg);
}
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.brand svg {
  width: 28px;
  height: 28px;
  flex: none;
}
.mark-a {
  fill: var(--ws);
  transition: fill 0.8s;
}
.mark-b {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
}
.nav {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 8px;
}
.nav a:hover {
  color: var(--ink);
  background: var(--line);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--r-ctl);
  padding: 11px 18px;
  font: 500 15px/1 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.15s,
    background-color 0.8s,
    box-shadow 0.2s;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--ws);
  color: #fff;
  box-shadow: 0 8px 24px -10px var(--ws);
}
.btn-primary:hover {
  box-shadow: 0 10px 30px -8px var(--ws);
}
.btn-quiet {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}
.btn-sm {
  padding: 8px 14px;
  font-size: 14px;
}

/* ---------- hero ---------- */
.hero {
  padding-block: 64px 40px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 13px/1 var(--f-mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
[dir='rtl'] .eyebrow {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--f-body);
  font-size: 14px;
}
.eyebrow i {
  width: 22px;
  height: 2px;
  background: var(--ws);
  border-radius: 2px;
  transition: background-color 0.8s;
}
.hero h1 {
  font-size: clamp(40px, 6.6vw, 84px);
  line-height: 0.98;
  margin-top: 18px;
  font-weight: 750;
  max-width: 14ch;
}
[dir='rtl'] .hero h1 {
  line-height: 1.25;
  font-weight: 800;
  max-width: 16ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--ws);
  transition: color 0.8s;
}
.hero .lede {
  margin-top: 22px;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 60ch;
}
.hero .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  align-items: center;
}
.hero .meta {
  font-size: 13px;
  color: var(--muted);
}
.hero-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}
@media (max-width: 900px) {
  .hero-head {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ---------- stage (the live desktop) ---------- */
.stage-wrap {
  position: relative;
}
.stage {
  container-type: inline-size;
  position: relative;
  width: 100%;
  aspect-ratio: 16/9.4;
  border-radius: 18px;
  overflow: hidden;
  background: #1b2340;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  isolation: isolate;
  direction: ltr;
}
@media (max-width: 600px) {
  .stage {
    aspect-ratio: 4/3.6;
  }
}
.wall {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.wall.on {
  opacity: 1;
}
.wall-dev {
  background:
    radial-gradient(70% 90% at 15% 10%, #5a78ff 0%, transparent 60%),
    radial-gradient(60% 80% at 90% 90%, #21c3d9 0%, transparent 55%), linear-gradient(135deg, #1a2a8a, #0d1440);
}
.wall-design {
  background:
    radial-gradient(70% 80% at 85% 15%, #ff9a6b 0%, transparent 60%),
    radial-gradient(60% 80% at 10% 90%, #ff5fa2 0%, transparent 60%), linear-gradient(135deg, #7a2140, #2a0f2a);
}
.wall-admin {
  background:
    radial-gradient(70% 90% at 20% 85%, #46e0a5 0%, transparent 55%),
    radial-gradient(60% 70% at 85% 15%, #d8f06a 0%, transparent 55%), linear-gradient(135deg, #0f5a48, #0a2a24);
}
.wall::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.2px);
  background-size: 2.2cqw 2.2cqw;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 70%);
}
.desk {
  position: absolute;
  inset: 0 0 9.5% 0;
  transition:
    transform 0.7s cubic-bezier(0.6, 0, 0.2, 1),
    opacity 0.5s;
}
.desk.out {
  transform: translateX(-8%);
  opacity: 0;
}
.desk.in {
  transform: translateX(8%);
  opacity: 0;
  transition: none;
}
.dicon {
  position: absolute;
  left: 2.2cqw;
  width: 7.2cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5cqw;
  color: #fff;
  font: 500 max(8px, 1.05cqw)/1.2 var(--f-body);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  border-radius: 0.8cqw;
  padding: 0.5cqw 0;
}
.dicon img {
  width: 4.2cqw;
  height: 4.2cqw;
  border-radius: 1cqw;
  filter: drop-shadow(0 0.3cqw 0.6cqw rgba(0, 0, 0, 0.35));
}
.dicon.hit {
  background: rgba(255, 255, 255, 0.18);
}
.win {
  position: absolute;
  border-radius: 1cqw;
  background: var(--win);
  box-shadow:
    0 2cqw 4cqw -1.5cqw rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    left 0.65s cubic-bezier(0.3, 0.9, 0.2, 1),
    top 0.65s cubic-bezier(0.3, 0.9, 0.2, 1),
    width 0.65s cubic-bezier(0.3, 0.9, 0.2, 1),
    height 0.65s cubic-bezier(0.3, 0.9, 0.2, 1),
    opacity 0.35s,
    transform 0.55s cubic-bezier(0.3, 1.1, 0.3, 1);
}
.win.hide {
  opacity: 0;
  transform: scale(0.25);
}
.win.drag {
  transition: none;
}
.win.focus {
  z-index: 5;
}
.wbar {
  height: 2.9cqw;
  min-height: 16px;
  display: flex;
  align-items: center;
  gap: 0.7cqw;
  padding: 0 1cqw;
  background: var(--win-bar);
  border-bottom: 1px solid var(--line);
  flex: none;
  color: var(--ink);
  font: 600 max(7px, 1.05cqw)/1 var(--f-body);
  white-space: nowrap;
}
.wbar img {
  width: 1.6cqw;
  height: 1.6cqw;
  min-width: 10px;
  min-height: 10px;
  border-radius: 0.35cqw;
}
.wbar .acct {
  font: 500 max(6px, 0.85cqw)/1 var(--f-body);
  padding: 0.3cqw 0.7cqw;
  border-radius: 99px;
  background: var(--dev-soft);
  color: var(--dev);
}
.wbar .acct.b {
  background: var(--design-soft);
  color: var(--design);
}
.wbar .acct.c {
  background: var(--admin-soft);
  color: var(--admin);
}
.wbar .ctl {
  margin-left: auto;
  display: flex;
  gap: 1cqw;
  opacity: 0.55;
}
.wbar .ctl b {
  width: 0.9cqw;
  height: 0.9cqw;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  display: block;
}
.wbar .ctl b:first-child {
  border-width: 0 0 1.5px 0;
  border-radius: 0;
}
.wbody {
  flex: 1;
  padding: 1.1cqw;
  display: flex;
  flex-direction: column;
  gap: 0.7cqw;
  min-height: 0;
  overflow: hidden;
}
.sk {
  background: var(--skel);
  border-radius: 0.4cqw;
  height: 0.9cqw;
  flex: none;
}
.sk.t {
  height: 1.3cqw;
  width: 45%;
  background: var(--skel-2);
}
.sk.w80 {
  width: 80%;
}
.sk.w60 {
  width: 60%;
}
.sk.w40 {
  width: 40%;
}
.sk.w90 {
  width: 90%;
}
.bub {
  align-self: flex-start;
  background: var(--skel);
  border-radius: 1cqw;
  padding: 0.8cqw;
  width: 62%;
  display: flex;
  flex-direction: column;
  gap: 0.45cqw;
}
.bub.me {
  align-self: flex-end;
  background: color-mix(in srgb, var(--app, #888) 22%, var(--skel));
}
.bub i {
  display: block;
  height: 0.6cqw;
  border-radius: 0.3cqw;
  background: var(--skel-2);
}
.rows {
  display: flex;
  flex-direction: column;
  gap: 0.55cqw;
}
.row {
  display: flex;
  align-items: center;
  gap: 0.7cqw;
}
.row .dot {
  width: 1cqw;
  height: 1cqw;
  border-radius: 50%;
  background: var(--app, #888);
  opacity: 0.8;
  flex: none;
}
.row .sk {
  flex: 1;
}
.canvas {
  flex: 1;
  border-radius: 0.6cqw;
  background:
    repeating-linear-gradient(0deg, transparent 0 1.6cqw, var(--line) 1.6cqw calc(1.6cqw + 1px)),
    repeating-linear-gradient(90deg, transparent 0 1.6cqw, var(--line) 1.6cqw calc(1.6cqw + 1px));
  position: relative;
}
.canvas s {
  position: absolute;
  border-radius: 0.6cqw;
  background: var(--app, #888);
  opacity: 0.85;
}
.board {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7cqw;
}
.board div {
  background: var(--skel);
  border-radius: 0.6cqw;
  padding: 0.6cqw;
  display: flex;
  flex-direction: column;
  gap: 0.5cqw;
}
.board div i {
  display: block;
  height: 2.2cqw;
  border-radius: 0.4cqw;
  background: var(--win);
}
.ghost {
  position: absolute;
  border-radius: 1.2cqw;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 0 0 0.5cqw rgba(255, 255, 255, 0.08),
    0 0 3cqw rgba(255, 255, 255, 0.35) inset;
  opacity: 0;
  transition:
    opacity 0.25s,
    left 0.4s,
    top 0.4s,
    width 0.4s,
    height 0.4s;
  pointer-events: none;
  z-index: 3;
}
.ghost.on {
  opacity: 1;
}
.seam {
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, transparent, #fff, transparent);
  box-shadow: 0 0 12px 2px rgba(255, 255, 255, 0.8);
  opacity: 0;
  z-index: 8;
  transition: opacity 0.4s;
  pointer-events: none;
}
.seam.on {
  opacity: 1;
  animation: seam 1.4s ease-out forwards;
}
@keyframes seam {
  0% {
    opacity: 0;
    transform: scaleY(0.2);
  }
  25% {
    opacity: 1;
    transform: scaleY(1);
  }
  100% {
    opacity: 0;
    transform: scaleY(1);
  }
}
.dock {
  position: absolute;
  left: 50%;
  bottom: 1.3cqw;
  transform: translateX(-50%);
  height: 6.6%;
  min-height: 22px;
  display: flex;
  align-items: center;
  gap: 0.8cqw;
  padding: 0 1cqw;
  border-radius: 1.6cqw;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 9;
}
.wschip {
  display: flex;
  align-items: center;
  gap: 0.5cqw;
  color: #fff;
  font: 500 max(7px, 1.05cqw)/1 var(--f-body);
  padding: 0.6cqw 0.9cqw;
  border-radius: 1cqw;
  white-space: nowrap;
  transition: background 0.3s;
}
.wschip i {
  width: 0.9cqw;
  height: 0.9cqw;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}
.wschip.on {
  background: rgba(255, 255, 255, 0.26);
}
.wschip.on i {
  opacity: 1;
  box-shadow: 0 0 0.8cqw currentColor;
}
.wschip.press {
  transform: scale(0.92);
}
.dsep {
  width: 1px;
  height: 55%;
  background: rgba(255, 255, 255, 0.3);
}
.dapps {
  display: flex;
  gap: 0.6cqw;
}
.dapps img {
  width: 2.6cqw;
  height: 2.6cqw;
  min-width: 14px;
  min-height: 14px;
  border-radius: 0.6cqw;
  transition:
    transform 0.4s cubic-bezier(0.3, 1.4, 0.4, 1),
    opacity 0.3s;
}
.dapps img.new {
  transform: translateY(60%) scale(0.4);
  opacity: 0;
}
.cursor {
  position: absolute;
  width: 2.3cqw;
  min-width: 13px;
  z-index: 20;
  left: 60%;
  top: 60%;
  transition:
    left 0.6s cubic-bezier(0.5, 0, 0.2, 1),
    top 0.6s cubic-bezier(0.5, 0, 0.2, 1);
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
}
.cursor.fast {
  transition:
    left 0.5s linear,
    top 0.5s linear;
}
.click {
  position: absolute;
  width: 5cqw;
  height: 5cqw;
  margin: -2.5cqw 0 0 -2.5cqw;
  border-radius: 50%;
  border: 2px solid #fff;
  z-index: 19;
  opacity: 0;
  pointer-events: none;
}
.click.go {
  animation: ripple 0.5s ease-out;
}
@keyframes ripple {
  from {
    opacity: 0.9;
    transform: scale(0.2);
  }
  to {
    opacity: 0;
    transform: scale(1);
  }
}
.toast {
  position: absolute;
  right: 2cqw;
  top: 2cqw;
  z-index: 12;
  background: rgba(15, 18, 28, 0.72);
  color: #fff;
  font: 500 max(8px, 1.1cqw)/1.2 var(--f-body);
  padding: 1cqw 1.4cqw;
  border-radius: 1cqw;
  display: flex;
  align-items: center;
  gap: 0.8cqw;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(-30%);
  transition:
    opacity 0.3s,
    transform 0.4s;
}
.toast.on {
  opacity: 1;
  transform: none;
}
.toast svg {
  width: 1.6cqw;
  height: 1.6cqw;
  min-width: 10px;
}
.steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition:
    color 0.3s,
    border-color 0.3s;
}
[dir='rtl'] .step {
  padding: 8px 10px 8px 14px;
}
.step b {
  font: 500 11px/1 var(--f-mono);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--line);
  color: var(--muted);
  transition:
    background 0.3s,
    color 0.3s;
}
.step.on {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--ws) 45%, transparent);
}
.step.on b {
  background: var(--ws);
  color: #fff;
}
.step .bar {
  width: 0;
  height: 2px;
  background: var(--ws);
  border-radius: 2px;
}
.replay {
  margin-inline-start: auto;
  font-size: 13px;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- app strip ---------- */
.strip {
  padding-block: 26px 8px;
}
.strip p {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.marquee {
  overflow: hidden;
  margin-top: 14px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  direction: ltr;
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marq 40s linear infinite;
  padding-block: 6px;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  transition: transform 0.2s;
}
.marquee img:hover {
  transform: translateY(-3px) scale(1.08);
}
@keyframes marq {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- feature scenes ---------- */
.scene {
  padding-block: 88px;
  position: relative;
}
.scene + .scene {
  border-top: 1px solid var(--line);
}
.scene-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.scene.flip .scene-copy {
  order: 2;
}
@media (max-width: 900px) {
  .scene-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .scene.flip .scene-copy {
    order: 0;
  }
  .scene {
    padding-block: 64px;
  }
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 13px/1 var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c);
}
[dir='rtl'] .kicker {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
}
.kicker svg {
  width: 18px;
  height: 18px;
}
.scene h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.04;
  margin-top: 14px;
}
[dir='rtl'] .scene h2 {
  line-height: 1.35;
}
.scene-copy p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  max-width: 52ch;
}
.facts {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}
.facts li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}
.facts li::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.6em;
  border-radius: 2px;
  background: var(--c);
  transform: rotate(45deg);
}
.scene[data-ws='dev'] {
  --c: var(--dev);
  --cs: var(--dev-soft);
}
.scene[data-ws='design'] {
  --c: var(--design);
  --cs: var(--design-soft);
}
.scene[data-ws='admin'] {
  --c: var(--admin);
  --cs: var(--admin-soft);
}
.pane {
  position: relative;
  border-radius: var(--r-pane);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  container-type: inline-size;
}
.pane-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font: 500 12px/1 var(--f-mono);
  color: var(--muted);
  background: var(--win-bar);
  direction: ltr;
}
.pane-bar .lit {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px var(--c);
}
.pane-bar span:last-child {
  margin-left: auto;
}
.pane-body {
  position: relative;
  padding: 22px;
  min-height: 340px;
  direction: ltr;
}

/* S1 workspaces */
.fan {
  position: relative;
  height: 340px;
}
.wscard {
  position: absolute;
  inset: 8% 10% 14% 10%;
  border-radius: 14px;
  overflow: hidden;
  transition:
    transform 0.9s cubic-bezier(0.3, 0.9, 0.2, 1),
    opacity 0.9s,
    filter 0.9s;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
  container-type: inline-size;
}
.wscard .wall {
  opacity: 1;
}
.wscard .lbl {
  position: absolute;
  left: 4cqw;
  bottom: 4cqw;
  color: #fff;
  font: 700 6cqw/1 var(--f-display);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.wscard .lbl small {
  display: block;
  font: 500 2.6cqw/1.3 var(--f-body);
  opacity: 0.85;
  margin-top: 1.4cqw;
  letter-spacing: 0;
}
.mini {
  position: absolute;
  border-radius: 2cqw;
  background: var(--win);
  box-shadow: 0 2cqw 4cqw -1cqw rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.mini .mb {
  height: 6cqw;
  background: var(--win-bar);
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  padding: 0 2cqw;
  border-bottom: 1px solid var(--line);
}
.mini .mb img {
  width: 3.4cqw;
  height: 3.4cqw;
  border-radius: 0.8cqw;
}
.mini .mb i {
  height: 1.4cqw;
  width: 30%;
  border-radius: 1cqw;
  background: var(--skel-2);
}
.mini .mbody {
  padding: 2cqw;
  display: flex;
  flex-direction: column;
  gap: 1.4cqw;
}
.mini .mbody i {
  display: block;
  height: 1.6cqw;
  border-radius: 1cqw;
  background: var(--skel);
}
.p0 {
  transform: translate(0, 0) scale(1);
  z-index: 3;
}
.p1 {
  transform: translate(6%, -9%) scale(0.9);
  z-index: 2;
  filter: brightness(0.8) saturate(0.8);
}
.p2 {
  transform: translate(12%, -18%) scale(0.8);
  z-index: 1;
  filter: brightness(0.6) saturate(0.6);
}
.p-out {
  transform: translate(-30%, 6%) scale(1.02) rotate(-3deg);
  opacity: 0;
  z-index: 4;
}

/* S2 layouts */
.tpl-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.tpl {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  padding: 7px 12px 7px 8px;
  font: 500 13px/1 var(--f-body);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s;
}
.tpl svg {
  width: 26px;
  height: 18px;
}
.tpl svg rect {
  fill: var(--skel-2);
  transition: fill 0.25s;
}
.tpl[aria-pressed='true'] {
  color: var(--ink);
  border-color: var(--c);
  background: var(--cs);
}
.tpl[aria-pressed='true'] svg rect {
  fill: var(--c);
}
.lay {
  position: relative;
  aspect-ratio: 16/9.5;
  border-radius: 12px;
  overflow: hidden;
  container-type: inline-size;
}
.lay .wall {
  opacity: 1;
}
.lay .win {
  transition:
    left 0.6s cubic-bezier(0.3, 1, 0.25, 1),
    top 0.6s cubic-bezier(0.3, 1, 0.25, 1),
    width 0.6s cubic-bezier(0.3, 1, 0.25, 1),
    height 0.6s cubic-bezier(0.3, 1, 0.25, 1),
    opacity 0.4s,
    transform 0.5s;
}
.lay .wbar {
  height: 5cqw;
  font-size: 2.2cqw;
}
.lay .wbar img {
  width: 3cqw;
  height: 3cqw;
  border-radius: 0.7cqw;
}
.lay .wbody {
  padding: 2cqw;
  gap: 1.4cqw;
}
.lay .sk {
  height: 1.6cqw;
  border-radius: 1cqw;
}
.lay .sk.t {
  height: 2.2cqw;
}

/* S3 accounts */
.acc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.acc-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font: 700 14px/1 var(--f-display);
  flex: none;
}
.acc-card b {
  display: block;
  font-size: 14px;
}
.acc-card small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.wires {
  position: relative;
  height: 56px;
}
.wires svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.wire {
  fill: none;
  stroke-width: 2;
  stroke-dasharray: 5 7;
  opacity: 0.7;
}
.play .wire {
  animation: flow 1.2s linear infinite;
}
@keyframes flow {
  to {
    stroke-dashoffset: -24;
  }
}
.twin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  container-type: inline-size;
}
.twin .win {
  position: relative;
  height: 190px;
  border-radius: 12px;
  box-shadow:
    0 10px 30px -14px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--line);
}
.twin .wbar {
  height: 32px;
  font-size: 12px;
  gap: 8px;
  padding: 0 10px;
}
.twin .wbar img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}
.twin .wbar .acct {
  font-size: 11px;
  padding: 3px 8px;
}
.twin .wbody {
  padding: 12px;
  gap: 8px;
}
.twin .row .dot {
  width: 10px;
  height: 10px;
}
.twin .sk {
  height: 8px;
  border-radius: 4px;
}
.signed {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  align-items: center;
}
.sapp {
  position: relative;
  width: 40px;
  height: 40px;
}
.sapp img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  filter: grayscale(1);
  opacity: 0.45;
  transition:
    filter 0.5s,
    opacity 0.5s;
}
.sapp::after {
  content: '';
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ok);
  border: 2px solid var(--surface);
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.4, 1);
}
.sapp.on img {
  filter: none;
  opacity: 1;
}
.sapp.on::after {
  transform: scale(1);
}
.signed-lbl {
  font-size: 13px;
  color: var(--muted);
  margin-inline-start: 6px;
}

/* S4 storage */
.map {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items: center;
  gap: 0;
}
.map-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wsrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
}
.wsrow i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  flex: none;
}
.prov {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px dashed var(--line);
  font-size: 14px;
  color: var(--ink);
}
.prov svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--muted);
}
.prov small {
  margin-left: auto;
  font: 500 11px/1 var(--f-mono);
  color: var(--muted);
}
.map svg.links {
  width: 70px;
  height: 100%;
  overflow: visible;
}
.files {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
  position: relative;
}
.fwin {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.fwin .wbar {
  height: 32px;
  font-size: 12px;
  gap: 8px;
  padding: 0 10px;
  background: var(--win-bar);
}
.fwin .wbar img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}
.fwin .wbar svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.flist {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 118px;
}
.frow {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 400 12px/1.2 var(--f-mono);
  color: var(--muted);
  padding: 5px 6px;
  border-radius: 6px;
}
.frow svg {
  width: 14px;
  height: 14px;
  flex: none;
}
.frow.sel {
  background: var(--cs);
  color: var(--ink);
}
.drop {
  margin: 10px;
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  min-height: 98px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  font: 500 12px/1 var(--f-mono);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
  padding: 7px 10px;
  border-radius: 8px;
  left: 12%;
  top: 62%;
  opacity: 0;
  pointer-events: none;
}
.chip svg {
  width: 14px;
  height: 14px;
}
.play .chip {
  animation: carry 4.6s cubic-bezier(0.5, 0, 0.3, 1) infinite;
}
.play .drop {
  animation: dropglow 4.6s infinite;
}
@keyframes carry {
  0%,
  12% {
    opacity: 0;
    transform: translate(0, 0) scale(0.9);
  }
  20% {
    opacity: 1;
    transform: translate(0, -6px) scale(1);
  }
  55% {
    opacity: 1;
    transform: translate(calc(var(--dx)), -10px) rotate(-3deg);
  }
  68% {
    opacity: 1;
    transform: translate(calc(var(--dx)), 0) scale(0.95);
  }
  78%,
  100% {
    opacity: 0;
    transform: translate(calc(var(--dx)), 0) scale(0.7);
  }
}
@keyframes dropglow {
  0%,
  45% {
    border-color: var(--line);
    background: transparent;
  }
  55%,
  70% {
    border-color: var(--c);
    background: var(--cs);
  }
  85%,
  100% {
    border-color: var(--line);
    background: transparent;
  }
}
.drop .got {
  opacity: 0;
  font: 500 12px/1 var(--f-mono);
  color: var(--ink);
  display: flex;
  gap: 6px;
  align-items: center;
}
.play .drop .got {
  animation: got 4.6s infinite;
}
.play .drop .wait {
  animation: wait 4.6s infinite;
}
@keyframes got {
  0%,
  68% {
    opacity: 0;
  }
  74%,
  92% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes wait {
  0%,
  64% {
    opacity: 1;
  }
  68%,
  94% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.drop > * {
  grid-area: 1/1;
}

/* S5 links */
.rule {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  padding: 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.rule .tok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 500;
}
.rule .tok img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}
.rule .kw {
  font: 500 12px/1 var(--f-mono);
  color: var(--c);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.flowline {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
  margin: 30px 0 24px;
}
.node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.node img {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.5);
  background: var(--surface);
}
.pipe {
  height: 2px;
  background: linear-gradient(90deg, var(--line), var(--c), var(--line));
  position: relative;
  margin-inline: 14px;
  margin-bottom: 26px;
}
.pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--c);
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--c) 22%, transparent),
    0 0 18px var(--c);
  opacity: 0;
}
.play .pulse {
  animation: travel 3.4s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}
@keyframes travel {
  0%,
  18% {
    left: 0;
    opacity: 0;
  }
  24% {
    opacity: 1;
  }
  62% {
    left: calc(100% - 12px);
    opacity: 1;
  }
  70%,
  100% {
    left: calc(100% - 12px);
    opacity: 0;
  }
}
.cards2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mcard {
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 12px;
  background: var(--bg);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 84px;
}
.mcard .h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.mcard .h img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}
.mcard .m {
  font: 400 12px/1.3 var(--f-mono);
  color: var(--muted);
}
.play .mcard.src {
  animation: popin 3.4s infinite;
}
.play .mcard.dst {
  animation: popdst 3.4s infinite;
}
@keyframes popin {
  0% {
    opacity: 0.25;
    transform: translateY(6px);
  }
  10%,
  90% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0.25;
  }
}
@keyframes popdst {
  0%,
  62% {
    opacity: 0.25;
    transform: translateY(6px);
  }
  70%,
  92% {
    opacity: 1;
    transform: none;
    box-shadow: 0 0 0 2px var(--c);
  }
  100% {
    opacity: 0.25;
  }
}
.runs {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font: 400 12px/1.2 var(--f-mono);
  color: var(--muted);
}
.runs div {
  display: flex;
  gap: 12px;
}
.runs b {
  color: var(--ok);
  font-weight: 500;
}

/* S6 assistant */
.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 300px;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 12px/1 var(--f-body);
  padding: 6px 10px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
}
.pill .d {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
}
.msg {
  max-width: 86%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.msg.u {
  align-self: flex-end;
  background: var(--c);
  color: #fff;
  border-bottom-right-radius: 4px;
  min-height: 42px;
}
.msg.a {
  align-self: flex-start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.calls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 400 12px/1 var(--f-mono);
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.call img {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}
.call.on {
  opacity: 1;
  transform: none;
}
.call.done::after {
  content: '✓';
  color: var(--ok);
  font-weight: 700;
}
.approve {
  border-radius: 12px;
  border: 1px solid var(--c);
  background: var(--cs);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.approve.on {
  opacity: 1;
  transform: none;
}
.approve img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}
.approve .q {
  flex: 1;
  min-width: 150px;
}
.approve .q small {
  display: block;
  color: var(--muted);
}
.approve .ab {
  font: 500 12px/1 var(--f-body);
  padding: 8px 12px;
  border-radius: 8px;
  border: 0;
  background: var(--c);
  color: #fff;
}
.approve .ab.q2 {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.approve .ab.pressed {
  transform: scale(0.94);
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: currentColor;
  vertical-align: -2px;
  margin-left: 1px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.amsg {
  opacity: 0;
  transition: opacity 0.4s;
}
.amsg.on {
  opacity: 1;
}

/* S7 everywhere */
.devices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
  position: relative;
}
.dev {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.screen {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 10px;
  border: 6px solid #1b1e26;
  overflow: hidden;
  position: relative;
  container-type: inline-size;
  background: #000;
}
.screen .wall {
  opacity: 1;
}
.base {
  width: 118%;
  height: 10px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(#c9cdd6, #9aa0ad);
}
.dev small {
  font: 500 12px/1 var(--f-mono);
  color: var(--muted);
}
.screen .mini {
  transition:
    opacity 0.5s,
    transform 0.5s cubic-bezier(0.3, 1.3, 0.4, 1);
}
.screen.b .mini {
  opacity: 0;
  transform: scale(0.85);
}
.screen.b .mini.on {
  opacity: 1;
  transform: none;
}
.arc {
  position: absolute;
  left: 25%;
  right: 25%;
  top: -34px;
  height: 60px;
  pointer-events: none;
}
.arc svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.arc path {
  fill: none;
  stroke: var(--c);
  stroke-width: 2;
  stroke-dasharray: 4 6;
  opacity: 0.6;
}
.arc circle {
  fill: var(--c);
}
.syncbar {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font: 400 12px/1.3 var(--f-mono);
  color: var(--muted);
  flex-wrap: wrap;
}
.syncbar b {
  color: var(--ink);
  font-weight: 500;
}
.prog {
  flex: 1;
  min-width: 120px;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.prog i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--c);
  border-radius: 4px;
}

/* small cards (library, browser) */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 820px) {
  .duo {
    grid-template-columns: 1fr;
  }
}
.duo .pane-body {
  min-height: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  direction: inherit;
}
.duo h3 {
  font-size: 26px;
  line-height: 1.15;
}
.duo p {
  color: var(--muted);
  font-size: 15px;
}
.tcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
  direction: ltr;
}
.tcard {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  cursor: default;
}
.tcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.5);
}
.tcard .tw {
  height: 62px;
  position: relative;
}
.tcard .tw .wall {
  opacity: 1;
}
.tcard .ti {
  display: flex;
  gap: 4px;
  position: absolute;
  left: 8px;
  bottom: 8px;
}
.tcard .ti img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.tcard .tt {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
}
.tcard .tt small {
  display: block;
  font: 400 11px/1.3 var(--f-mono);
  color: var(--muted);
  margin-top: 2px;
}
.bwin {
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
  direction: ltr;
}
.tabs-row {
  display: flex;
  gap: 4px;
  padding: 8px 8px 0;
  background: var(--win-bar);
}
.btab {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 8px 8px 0 0;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  max-width: 150px;
}
.btab.on {
  background: var(--bg);
  color: var(--ink);
}
.btab img {
  width: 13px;
  height: 13px;
  border-radius: 3px;
}
.btab svg {
  width: 13px;
  height: 13px;
}
.addr {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  font: 400 12px/1 var(--f-mono);
  color: var(--muted);
}
.addr svg {
  width: 12px;
  height: 12px;
}
.bbody {
  padding: 4px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bbody .sk {
  height: 9px;
  border-radius: 5px;
}

/* ---------- details ---------- */
.details {
  padding-block: 96px;
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.details h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
}
.details .sub {
  color: var(--muted);
  margin-top: 12px;
  font-size: 17px;
  max-width: 60ch;
}
.dtabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.dtab {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font: 500 14px/1 var(--f-body);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dtab i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--line);
  transform: rotate(45deg);
}
.dtab[aria-selected='true'] {
  color: var(--ink);
  border-color: var(--ink);
}
.dtab[aria-selected='true'] i {
  background: var(--ws);
}
.dpanel {
  margin-top: 18px;
  border-radius: var(--r-pane);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 760px) {
  .spec {
    grid-template-columns: 1fr;
  }
}
.spec div {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.spec div:nth-child(odd) {
  border-inline-end: 1px solid var(--line);
}
@media (max-width: 760px) {
  .spec div:nth-child(odd) {
    border-inline-end: 0;
  }
}
.spec b {
  font-size: 15px;
  font-weight: 600;
}
.spec span {
  color: var(--muted);
  font-size: 14px;
}
.spec code {
  font-family: var(--f-mono);
  font-size: 0.88em;
  background: var(--bg);
  padding: 1px 6px;
  border-radius: 5px;
  direction: ltr;
  unicode-bidi: isolate;
}

/* ---------- privacy + cta ---------- */
.trust {
  padding-block: 96px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 820px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}
.tcell {
  padding: 24px;
  border-radius: var(--r-pane);
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tcell svg {
  width: 28px;
  height: 28px;
  color: var(--ws);
}
.tcell b {
  font-size: 17px;
  font-family: var(--f-display);
}
.tcell span {
  color: var(--muted);
  font-size: 15px;
}
.trust h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
  max-width: 20ch;
}
.cta {
  padding-block: 40px 110px;
}
.cta-box {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  color: #fff;
  padding: 64px 40px;
  isolation: isolate;
}
@media (max-width: 600px) {
  .cta-box {
    padding: 44px 22px;
  }
}
.cta-box .wall {
  opacity: 1;
  z-index: -1;
}
.cta-box .wall.on {
  opacity: 1;
}
.cta-box h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  max-width: 14ch;
}
[dir='rtl'] .cta-box h2 {
  line-height: 1.3;
}
.cta-box p {
  margin-top: 16px;
  max-width: 52ch;
  opacity: 0.9;
  font-size: 17px;
}
.form {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
  max-width: 520px;
}
.form input {
  flex: 1;
  min-width: 200px;
  border-radius: var(--r-ctl);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
}
.form input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}
.form input:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.form button {
  border: 0;
  border-radius: var(--r-ctl);
  background: #fff;
  color: #12141a;
  font: 600 15px/1 var(--f-body);
  padding: 12px 20px;
  cursor: pointer;
}
.form-msg {
  margin-top: 12px;
  font-size: 14px;
  min-height: 1.5em;
  opacity: 0.95;
}

[dir='rtl'] .dev small,
[dir='rtl'] .syncbar span:first-child {
  font-family: var(--f-body);
  letter-spacing: 0;
}
/* sync: what travels */
.travel {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  direction: inherit;
}
.tl {
  display: block;
  font: 500 11px/1 var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}
[dir='rtl'] .tl {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--f-body);
  font-size: 12px;
}
.tchips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tchips span {
  font-size: 12.5px;
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--cs);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.tchips span.lit {
  box-shadow: 0 0 0 2px var(--c);
  transform: translateY(-2px);
}
.tchips.stay span {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--muted);
}

/* share */
.share {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 14px;
  direction: inherit;
}
@media (max-width: 560px) {
  .share {
    grid-template-columns: 1fr;
  }
}
.sdlg {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: transform 0.3s;
}
.sdlg .sh b {
  font-size: 14px;
}
.fld small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}
.fld .in {
  display: block;
  font-size: 13px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.seg {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px;
  font-size: 12px;
}
.seg span {
  flex: 1;
  text-align: center;
  padding: 5px;
  border-radius: 6px;
  color: var(--muted);
}
.seg span.on {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.incl {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.incl span {
  font-size: 11.5px;
  padding: 4px 8px 4px 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.incl span::before {
  font-weight: 700;
  font-size: 11px;
}
.incl .y {
  background: var(--admin-soft);
  color: var(--admin);
}
.incl .y::before {
  content: '✓';
}
.incl .n {
  background: transparent;
  color: var(--muted);
  border: 1px dashed var(--line);
  text-decoration: line-through;
}
.incl .n::before {
  content: '✕';
  text-decoration: none;
}
.incl span.h {
  opacity: 0;
  transform: translateY(4px);
}
.pub {
  align-self: flex-start;
  border: 0;
  border-radius: 8px;
  background: var(--c);
  color: #fff;
  font: 600 13px/1 var(--f-body);
  padding: 9px 16px;
  transition: transform 0.15s;
}
.pub.pressed {
  transform: scale(0.93);
}
.libg {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.lsearch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.lsearch svg {
  width: 13px;
  height: 13px;
}
.libg .tcards {
  grid-template-columns: 1fr 1fr;
  margin-top: 0;
}
.tcard.newc {
  box-shadow:
    0 0 0 2px var(--c),
    0 14px 30px -14px var(--c);
  transform: scale(1);
}
.tcard.newc.h {
  opacity: 0;
  transform: scale(0.6) translateY(-30px);
}
.tcard {
  transition:
    transform 0.5s cubic-bezier(0.3, 1.3, 0.4, 1),
    opacity 0.4s,
    box-shadow 0.3s;
}
.tcard .add {
  display: block;
  margin: 0 10px 10px;
  font: 600 11px/1 var(--f-body);
  text-align: center;
  padding: 6px;
  border-radius: 6px;
  background: var(--c);
  color: #fff;
  transition: transform 0.15s;
}
.tcard .add.pressed {
  transform: scale(0.92);
}
.added {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  padding: 9px 11px;
  border-radius: 9px;
  background: var(--admin-soft);
  color: var(--ink);
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.added svg {
  flex: none;
  margin-top: 3px;
}
.added.h {
  opacity: 0;
  transform: translateY(6px);
}

/* launcher */
.ql {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  direction: ltr;
}
.qin {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.qin svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.qin kbd {
  margin-left: auto;
  font: 500 11px/1 var(--f-mono);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 6px;
}
.qres {
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 118px;
}
.qr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 13px;
}
.qr img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}
.qr .sw {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  flex: none;
}
.qr .ci {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font: 600 12px/1 var(--f-mono);
  color: var(--muted);
}
.qr small {
  margin-left: auto;
  font: 400 11px/1 var(--f-mono);
  color: var(--muted);
}
.qr.on {
  background: var(--cs);
}

/* also inside */
.more h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  margin-top: 12px;
  max-width: 22ch;
}
.mgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}
@media (max-width: 980px) {
  .mgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .mgrid {
    grid-template-columns: 1fr;
  }
}
.mtile {
  border-radius: var(--r-pane);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.mtile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--c) 40%, transparent);
}
.mtile svg {
  width: 26px;
  height: 26px;
  color: var(--c);
  transition: transform 0.4s cubic-bezier(0.3, 1.5, 0.4, 1);
}
.mtile:hover svg {
  transform: rotate(-8deg) scale(1.12);
}
.mtile b {
  font-family: var(--f-display);
  font-size: 17px;
}
.mtile span {
  color: var(--muted);
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  .marquee-track {
    animation: none;
  }
}

/* ---------- site chrome (multi-page) ---------- */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus {
  top: calc(env(safe-area-inset-top, 0px) + 8px);
}
.nav a[aria-current='page'] {
  color: var(--ink);
  background: var(--line);
}
.nav .lang-link {
  border: 1px solid var(--line);
  margin-inline-start: 6px;
}
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  place-items: center;
}
.menu-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}
@media (max-width: 860px) {
  .menu-btn {
    display: grid;
  }
  .top .btn-sm {
    margin-inline-start: auto;
  }
  .nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    gap: 2px;
    padding: 10px max(20px, env(safe-area-inset-left, 0px)) 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.35);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    font-size: 16px;
    padding: 10px 12px;
  }
  .nav .lang-link {
    margin: 6px 0 0;
    align-self: flex-start;
  }
}
@media (max-width: 400px) {
  .top .btn-sm {
    display: none;
  }
  .menu-btn {
    margin-inline-start: auto;
  }
}
.foot {
  border-top: 1px solid var(--line);
  padding-block: 48px 28px;
  color: var(--muted);
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}
@media (max-width: 760px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1/-1;
  }
}
.foot-grid > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.foot-grid b {
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 4px;
}
.foot-grid a {
  color: var(--muted);
  text-decoration: none;
}
.foot-grid a:hover {
  color: var(--ink);
}
.foot .brand {
  font-size: 19px;
  color: var(--ink);
}
.foot-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.more-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  color: var(--c);
  font-weight: 500;
  text-decoration: none;
  font-size: 15px;
}
.more-link span {
  transition: transform 0.2s;
}
.more-link:hover span {
  transform: translateX(4px);
}
[dir='rtl'] .more-link span,
[dir='rtl'] .next span,
[dir='rtl'] .fcard em span {
  display: inline-block;
  transform: scaleX(-1);
}
[dir='rtl'] .more-link:hover span {
  transform: scaleX(-1) translateX(4px);
}
.cta-fine {
  font-size: 13px !important;
  opacity: 0.8 !important;
  margin-top: 10px !important;
}
.cta-fine a {
  color: #fff;
}

/* ---------- inner pages ---------- */
.phead {
  padding-block: 72px 32px;
}
.phead h1 {
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.02;
  margin-top: 16px;
  max-width: 18ch;
  font-weight: 750;
}
[dir='rtl'] .phead h1 {
  line-height: 1.3;
}
.phead .lede {
  margin-top: 20px;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 62ch;
}
.phead .lede a {
  color: var(--ws);
}
.band {
  padding-block: 40px 56px;
}
.band h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  margin-bottom: 20px;
}
.band h2 a {
  text-decoration: none;
}
.band h2 a:hover {
  color: var(--ws);
}
.band[data-ws='dev'],
.feature-stage[data-ws='dev'],
.fcard[data-ws='dev'] {
  --c: var(--dev);
  --cs: var(--dev-soft);
}
.band[data-ws='design'],
.feature-stage[data-ws='design'],
.fcard[data-ws='design'] {
  --c: var(--design);
  --cs: var(--design-soft);
}
.band[data-ws='admin'],
.feature-stage[data-ws='admin'],
.fcard[data-ws='admin'] {
  --c: var(--admin);
  --cs: var(--admin-soft);
}
.narrow {
  max-width: 820px;
}
.muted {
  color: var(--muted);
}
.feature-stage {
  padding-block: 8px 40px;
}
.stage-grid {
  display: grid;
  gap: 24px;
}
.stage-grid-1 {
  max-width: 860px;
}
.stage-grid-2 {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) {
  .stage-grid-2 {
    grid-template-columns: 1fr;
  }
}
.stage-grid .pane-body > .kicker {
  display: none;
}
.steps3 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: s;
}
@media (max-width: 820px) {
  .steps3 {
    grid-template-columns: 1fr;
  }
}
.steps3 li {
  counter-increment: s;
  padding: 22px;
  border-radius: var(--r-pane);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.steps3 li::before {
  content: counter(s);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c);
  color: #fff;
  font: 600 13px/1 var(--f-mono);
}
.steps3 b {
  font-family: var(--f-display);
  font-size: 19px;
}
.steps3 span {
  color: var(--muted);
  font-size: 15px;
}
.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font: 400 20px/1 var(--f-mono);
  color: var(--muted);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details > div {
  padding: 0 18px 18px;
  color: var(--muted);
}
.faq a,
.ask a,
.prose a {
  color: var(--ws);
}
.ask {
  margin-top: 12px;
  color: var(--muted);
}
.next-feature {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 24px;
}
.next-feature a {
  color: var(--muted);
  text-decoration: none;
}
.next-feature .next {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}
.next-feature .next small {
  font: 500 12px/1 var(--f-mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.fgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1000px) {
  .fgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .fgrid {
    grid-template-columns: 1fr;
  }
}
.fcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: var(--r-pane);
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.fcard::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--c);
  transform: scaleX(0.15);
  transform-origin: left;
  transition: transform 0.4s;
}
[dir='rtl'] .fcard::before {
  transform-origin: right;
}
.fcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--c) 40%, transparent);
}
.fcard:hover::before {
  transform: scaleX(1);
}
.fcard svg {
  width: 26px;
  height: 26px;
  color: var(--c);
}
.fcard b {
  font-family: var(--f-display);
  font-size: 20px;
}
.fcard span {
  color: var(--muted);
  font-size: 14.5px;
  flex: 1;
}
.fcard em {
  font-style: normal;
  color: var(--c);
  font-size: 14px;
  font-weight: 500;
}
.platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 820px;
}
@media (max-width: 600px) {
  .platforms {
    grid-template-columns: 1fr;
  }
}
.plat {
  padding: 26px;
  border-radius: var(--r-pane);
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0.7;
}
.plat.on {
  opacity: 1;
  border-color: color-mix(in srgb, var(--ws) 45%, transparent);
  box-shadow: var(--shadow);
}
.plat > svg {
  width: 30px;
  height: 30px;
  color: var(--ws);
}
.plat > b {
  font-family: var(--f-display);
  font-size: 22px;
}
.plat > span {
  color: var(--muted);
}
.badge {
  align-self: flex-start;
  font-style: normal;
  font: 500 12px/1 var(--f-body);
  padding: 6px 10px;
  border-radius: 99px;
  background: var(--ws);
  color: #fff;
  margin-top: 6px;
}
.dl-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.dl-btn svg {
  width: 18px;
  height: 18px;
  color: currentColor;
}
.dl-btn.is-off {
  background: var(--line);
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}
.dl-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  margin: 10px 0 0;
  font-size: 14px;
}
.dl-meta dt {
  color: var(--muted);
}
.dl-meta dd {
  margin: 0;
}
.dl-hash {
  font: 12px/1.5 var(--f-mono);
  overflow-wrap: anywhere;
}
.dl-note {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.badge.quiet {
  background: var(--line);
  color: var(--muted);
}
.big-contact {
  font-family: var(--f-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
}
.big-contact a {
  text-decoration: none;
  color: var(--ws);
}
.legal-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .toc {
    display: none;
  }
}
.toc {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 84px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}
.toc a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
}
.toc a:hover {
  background: var(--line);
  color: var(--ink);
}
.prose {
  max-width: 70ch;
}
.prose h2 {
  font-size: 24px;
  margin: 36px 0 12px;
  scroll-margin-top: 90px;
}
.prose p,
.prose li {
  color: var(--muted);
  font-size: 16px;
}
.prose p + p {
  margin-top: 12px;
}
.prose ul {
  padding-inline-start: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nf {
  text-align: center;
}
.nf h1,
.nf .lede {
  margin-inline: auto;
}
.nf .ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.nf-win {
  width: min(360px, 100%);
  margin: 0 auto 28px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
  animation: nfdrop 0.9s cubic-bezier(0.3, 1.4, 0.4, 1) both;
}
.nf-bar {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  padding: 10px 12px;
  background: var(--win-bar);
  border-bottom: 1px solid var(--line);
}
.nf-bar i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 1.5px solid var(--muted);
}
.nf-body {
  font: 800 88px/1 var(--f-display);
  padding: 30px 0 34px;
  color: var(--ws);
  letter-spacing: -0.04em;
}
@keyframes nfdrop {
  from {
    transform: translateY(-24px) scale(0.94);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
