:root {
  --bg: #0a0a0c;
  --tile: rgba(16, 16, 19, .72);
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f3f2f0;
  --text-2: #a9a7a3;
  --text-3: #73716e;
  --accent: #ff9a3c;
  --accent-soft: #ffc88f;
  --ok: #23a559;
  --idle: #f0b232;
  --dnd: #f23f43;
  --off: #80848e;
  --blurple: #5865f2;
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font: .92em var(--mono); }
::selection { background: rgba(255, 154, 60, .3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.i { width: 16px; height: 16px; flex: none; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--accent); }

/* background: every layer is static or moved with transform, so it never repaints */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 215deg at 50% -10%, transparent 0deg, rgba(255, 154, 60, .09) 24deg, transparent 58deg, rgba(88, 101, 242, .08) 92deg, transparent 130deg),
    repeating-radial-gradient(circle at 50% -8%, rgba(255, 255, 255, .04) 0 1px, transparent 1px 140px);
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 18%, #000 20%, transparent 82%);
  mask-image: radial-gradient(ellipse 90% 85% at 50% 18%, #000 20%, transparent 82%);
}
.bg-glow {
  position: absolute;
  inset: -20% -15%;
  background:
    radial-gradient(40% 44% at 22% 24%, rgba(255, 145, 50, .22), transparent 68%),
    radial-gradient(36% 42% at 80% 18%, rgba(88, 101, 242, .19), transparent 68%),
    radial-gradient(32% 38% at 78% 78%, rgba(255, 168, 82, .11), transparent 70%),
    radial-gradient(34% 40% at 18% 82%, rgba(124, 92, 255, .12), transparent 70%);
  will-change: transform;
  animation: drift 28s ease-in-out infinite alternate;
}
@keyframes drift {
  50% { transform: translate3d(3%, 2%, 0) scale(1.05); }
  100% { transform: translate3d(-3%, 4%, 0) scale(1.02); }
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .16) 1px, transparent 0),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 92% 80% at 50% 30%, #000 30%, transparent 92%);
  mask-image: radial-gradient(ellipse 92% 80% at 50% 30%, #000 30%, transparent 92%);
}
.bg-spot {
  position: absolute;
  top: -340px;
  left: -340px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 154, 60, .11), rgba(88, 101, 242, .04) 55%, transparent);
  opacity: 0;
  transition: opacity .4s;
  will-change: transform;
}
.bg-spot.on { opacity: 1; }
.bg-noise {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* nav */
.nav {
  position: fixed;
  z-index: 10;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 5px;
  border-radius: 999px;
  background: rgba(16, 16, 19, .7);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 12px 32px -14px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 0 10px 0 6px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 26px; height: 26px; flex: none; border-radius: 50%; object-fit: cover; }
.tabs { display: flex; gap: 2px; flex-shrink: 0; }
.tabs a { padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-2); white-space: nowrap; transition: color .15s, background-color .15s; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--line); }
.cmd { display: flex; align-items: center; gap: 8px; flex-shrink: 0; height: 34px; padding: 0 6px 0 12px; border-radius: 999px; font-size: 13px; color: var(--text-2); white-space: nowrap; transition: color .15s, background-color .15s; }
.cmd:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  font: 500 11.5px/1 var(--mono);
  color: var(--text-2);
}

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .15s, border-color .15s, box-shadow .2s, filter .15s, transform .14s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary {
  color: #1f1000;
  background: linear-gradient(180deg, #ffb565, #ff9132);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 6px 20px -8px rgba(255, 140, 40, .7);
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 28px -8px rgba(255, 140, 40, .9); }
.btn-ghost { background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); }
.btn-discord { color: #fff; background: var(--blurple); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 6px 20px -8px rgba(88, 101, 242, .8); }
.btn-discord:hover { background: #6773f4; }
.go { transition: transform .2s var(--ease); }
a:hover .go, button:hover .go { transform: translateX(3px); }

/* tiles: frosted look without backdrop-filter, plus a light that follows the cursor */
.tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)), var(--tile);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 60px -36px rgba(0, 0, 0, .9);
}
.tile::before,
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; }
.tile::before { z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .055), transparent 45%); }
.tile::after {
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 176, 100, .55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.tile:hover::before, .tile.is-lit::after { opacity: 1; }
a.tile, button.tile { transition: border-color .2s, transform .22s var(--ease); }
a.tile:hover, button.tile:hover { border-color: var(--line-2); }
a.tile:active, button.tile:active { transform: scale(.99); }
@media (hover: hover) {
  a.tile:hover, button.tile:hover { transform: translateY(-2px); }
  a.tile:active, button.tile:active { transform: translateY(0) scale(.99); }
}

.tile-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.label { display: inline-flex; align-items: center; gap: 8px; font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.eyebrow { margin-bottom: 12px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font: 500 12px/1 var(--mono); color: var(--text-2); }
.feature .chip, .is-cmds .chip { color: var(--accent-soft); }
.arrow-circle { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text-2); transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s; }
a.tile:hover .arrow-circle { transform: rotate(-45deg); background: var(--text); border-color: var(--text); color: var(--bg); }

.dot { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--presence, var(--ok)); }
.dot.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* home */
.home { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 92px 20px 28px; }
.bento {
  width: 100%;
  max-width: 940px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "profile profile status status"
    "profile profile feature feature";
}
.js .bento > .tile { animation: rise .7s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.profile { grid-area: profile; padding: 28px; display: flex; flex-direction: column; }
.status { grid-area: status; }
.feature { grid-area: feature; }
.status, .feature { min-height: 180px; padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }

.who { display: flex; align-items: center; gap: 14px; }
.who-name { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.who-role { display: block; font: 13px var(--mono); color: var(--text-3); }
.avatar { position: relative; width: 70px; height: 70px; flex: none; display: grid; place-items: center; }
.avatar-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--accent), rgba(255, 154, 60, 0) 30%, rgba(255, 154, 60, 0) 70%, var(--accent)); animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.avatar img { position: relative; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #141417; border: 2px solid #0e0e11; }
.avatar img.is-fallback { object-fit: contain; padding: 8px; }
.presence { position: absolute; right: 0; bottom: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--presence, var(--ok)); border: 4px solid #121215; }
.profile h1 { margin-top: auto; padding-top: 40px; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.rotline { margin-top: 14px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.rot {
  display: inline-block;
  background: linear-gradient(90deg, #ffc27a, #ff9132);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity .3s, transform .3s var(--ease);
}
.rot.out { opacity: 0; transform: translateY(-40%); }
.rot.in { opacity: 0; transform: translateY(40%); transition: none; }
.bio { margin-top: 8px; max-width: 29em; color: var(--text-2); }
.profile .actions { margin-top: 26px; }

.live { display: inline-flex; align-items: center; gap: 7px; font: 500 11.5px/1 var(--mono); color: var(--text-3); }
.live .dot { width: 6px; height: 6px; --presence: var(--ok); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); font: 500 12px/1 var(--mono); color: var(--text-2); }
.status-pill .dot { width: 7px; height: 7px; }
.status-title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.status-sub { margin-top: 2px; font-size: 14px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.status-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-2); transition: color .15s; }
.status-link:hover { color: var(--text); }
.status-link b { font-weight: 600; color: var(--accent); }

.activity { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.activity.is-spotify { background: linear-gradient(135deg, rgba(29, 185, 84, .11), rgba(255, 255, 255, .025)); border-color: rgba(29, 185, 84, .24); }
.act-art { position: relative; width: 46px; height: 46px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 154, 60, .1); border: 1px solid rgba(255, 154, 60, .2); color: var(--accent-soft); }
.activity.is-spotify .act-art { background: rgba(29, 185, 84, .14); border-color: rgba(29, 185, 84, .3); color: #1ed760; }
.act-art > img:first-child { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }
.act-ic { width: 22px; height: 22px; }
.act-small { position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; border-radius: 50%; object-fit: cover; border: 2px solid #141418; background: #141418; }
.act-body { flex: 1; min-width: 0; }
.act-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.act-kicker { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-soft); }
.activity.is-spotify .act-kicker { color: #1ed760; }
.act-time { font: 500 11px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--text-3); white-space: nowrap; }
.act-name { margin-top: 4px; font-size: 14.5px; font-weight: 600; line-height: 1.25; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act-meta { margin-top: 2px; font-size: 12.5px; line-height: 1.3; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act-bar { margin-top: 7px; height: 3px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.act-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: #1ed760; transition: width .8s linear; }
.feature h2 { font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.feature p { margin-top: 4px; font-size: 14px; color: var(--text-2); }

.social { width: 100%; min-height: 136px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; text-align: left; }
.social-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); border: 1px solid color-mix(in srgb, var(--c) 26%, transparent); transition: background-color .25s, color .25s, box-shadow .25s; }
.social-ic svg { width: 21px; height: 21px; }
.social:hover .social-ic { background: var(--c); color: var(--on, #fff); box-shadow: 0 8px 24px -8px var(--c); }
.social .corner { position: absolute; top: 18px; right: 18px; color: var(--text-3); transition: color .2s, transform .3s var(--ease); }
.social:hover .corner { color: var(--text); transform: translate(2px, -2px); }
.social-txt b { display: block; font-size: 15px; font-weight: 600; }
.social-txt span { font: 12.5px var(--mono); color: var(--text-3); }
.home-foot { width: 100%; max-width: 940px; display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; padding: 0 4px; font-size: 13px; color: var(--text-3); }
.hint { display: inline-flex; align-items: center; gap: 6px; }

/* portfolio */
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

.hero { padding-top: 144px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font: 500 12.5px/1 var(--mono); color: var(--text-2); }
.hero h1 { max-width: 14ch; margin: 22px auto 20px; font-size: clamp(2.6rem, 6.8vw, 4.65rem); line-height: 1; letter-spacing: -.05em; font-weight: 600; text-wrap: balance; }
.lead { max-width: 36em; margin: 0 auto; font-size: 17px; color: var(--text-2); text-wrap: pretty; }
.lead + .lead { margin-top: 10px; }
.lead a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 154, 60, .6); text-underline-offset: 3px; transition: text-decoration-color .15s; }
.lead a:hover { text-decoration-color: var(--accent); }
.hero .actions { justify-content: center; margin-top: 30px; }
.stack { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; }
.stack .label { margin-right: 4px; }
.demo { max-width: 980px; margin: 72px auto 0; }

/* discord window */
.dc {
  --dc-bg: #313338;
  --dc-side: #2b2d31;
  --dc-rail: #1e1f22;
  --dc-panel: #232428;
  --dc-input: #383a40;
  --dc-text: #dbdee1;
  --dc-head: #f2f3f5;
  --dc-muted: #949ba4;
  --dc-icon: #b5bac1;
  --dc-faint: #80848e;
  --dc-link: #00a8fc;
  --dc-orange: #ff9a3c;
  --gutter: 72px;
  --av-x: 16px;
  display: flex;
  height: 580px;
  overflow: hidden;
  text-align: left;
  border-radius: 14px;
  background: var(--dc-bg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 44px 130px -40px rgba(0, 0, 0, .95), 0 0 90px -28px rgba(255, 154, 60, .3);
  color: var(--dc-text);
  font: 15.5px/1.375 "gg sans", var(--sans);
}
.dc svg { flex: none; }
.dc-rail, .dc-side, .dc-top, .dc-compose, .dc-btn, .dc-react, .dc-meta, .dc-reply, .dc-eph { -webkit-user-select: none; user-select: none; }

.dc-rail { flex: none; width: 72px; padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--dc-rail); }
.dc-guild { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--dc-bg); color: var(--dc-text); font-size: 16px; font-weight: 500; transition: border-radius .2s var(--ease), background-color .2s; }
.dc-guild:hover { border-radius: 16px; background: #404249; }
.dc-guild svg { width: 28px; height: 28px; }
.dc-guild img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.dc-guild.is-active { border-radius: 16px; background: linear-gradient(145deg, #28b463, #1a7f43); color: #fff; font-weight: 700; }
.dc-guild.is-active::before, .dc-guild.has-unread::before { content: ""; position: absolute; left: -12px; width: 4px; border-radius: 0 4px 4px 0; background: #fff; }
.dc-guild.is-active::before { height: 40px; }
.dc-guild.has-unread::before { height: 8px; }
.dc-add { color: var(--ok); }
.dc-add:hover { background: var(--ok); color: #fff; }
.dc-add svg { width: 24px; height: 24px; }
.dc-sep { width: 32px; height: 2px; border-radius: 1px; background: rgba(78, 80, 88, .48); }

.dc-side { flex: none; width: 240px; display: flex; flex-direction: column; background: var(--dc-side); }
.dc-server, .dc-top { position: relative; z-index: 1; flex: none; height: 48px; display: flex; align-items: center; box-shadow: 0 1px 0 rgba(2, 2, 2, .22), 0 1.5px 0 rgba(6, 6, 7, .06), 0 2px 0 rgba(2, 2, 2, .06); }
.dc-server { justify-content: space-between; padding: 0 16px; font-size: 15.5px; font-weight: 600; color: var(--dc-head); transition: background-color .15s; }
.dc-server:hover { background: rgba(255, 255, 255, .04); }
.dc-server svg { width: 18px; height: 18px; color: var(--dc-icon); }
.dc-channels { flex: 1; min-height: 0; padding: 0 8px; overflow: hidden; }
.dc-cat { display: flex; align-items: center; gap: 2px; padding: 18px 8px 4px 0; font-size: 11.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--dc-muted); }
.dc-cat svg { width: 12px; height: 12px; }
.dc-chan { display: flex; align-items: center; gap: 6px; height: 32px; margin: 2px 0; padding: 0 8px; border-radius: 5px; font-size: 15px; font-weight: 500; color: var(--dc-muted); transition: background-color .12s, color .12s; }
.dc-chan:hover { background: rgba(78, 80, 88, .35); color: var(--dc-text); }
.dc-chan svg { width: 19px; height: 19px; color: var(--dc-faint); }
.dc-chan.is-active { background: rgba(78, 80, 88, .62); color: #fff; }
.dc-chan.is-unread { position: relative; color: var(--dc-head); }
.dc-chan.is-unread::before { content: ""; position: absolute; left: -8px; width: 4px; height: 8px; border-radius: 0 4px 4px 0; background: #fff; }
.dc-user { flex: none; height: 52px; display: flex; align-items: center; gap: 8px; padding: 0 8px; background: var(--dc-panel); border-top: 1px solid rgba(255, 255, 255, .03); }
.dc-user-av { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--blurple); color: #fff; }
.dc-user-av svg { width: 20px; height: 20px; }
.dc-user-av::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); border: 3px solid var(--dc-panel); }
.dc-user-txt { min-width: 0; line-height: 16px; }
.dc-user-name { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--dc-head); }
.dc-user-sub { display: block; font-size: 12px; color: var(--dc-muted); }
.dc-gem { width: 14px; height: 14px; color: #ff73fa; }
.dc-user-tools { margin-left: auto; display: flex; color: var(--dc-icon); }
.dc-user-tools svg { width: 32px; height: 32px; padding: 6px; border-radius: 4px; transition: background-color .12s, color .12s; }
.dc-user-tools svg:hover { background: rgba(255, 255, 255, .07); color: var(--dc-head); }

.dc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dc-top { gap: 8px; padding: 0 16px; }
.dc-hash { width: 22px; height: 22px; color: var(--dc-faint); }
.dc-channel { font-size: 15.5px; font-weight: 600; color: var(--dc-head); white-space: nowrap; }
.dc-topic { min-width: 0; margin-left: 4px; padding-left: 12px; border-left: 1px solid #3f4147; font-size: 13.5px; color: var(--dc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-tools { margin-left: auto; display: flex; align-items: center; gap: 14px; color: var(--dc-icon); }
.dc-tools > svg { width: 22px; height: 22px; transition: color .12s; }
.dc-tools > svg:hover { color: var(--dc-head); }
.dc-search { display: flex; align-items: center; justify-content: space-between; width: 144px; height: 24px; padding: 0 6px 0 8px; border-radius: 4px; background: var(--dc-rail); font-size: 13.5px; color: var(--dc-faint); }
.dc-search svg { width: 15px; height: 15px; }

.dc-log { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .14) transparent; padding: 17px 0 22px; }
.dc-msg { position: relative; flex: none; min-height: 44px; margin-top: 16px; padding: 3px 44px 4px var(--gutter); transition: background-color .1s; }
.dc-msg:first-child { margin-top: auto; }
.dc-msg:hover { background: rgba(4, 4, 5, .1); }
.dc-msg.is-fresh { animation: dc-in .28s var(--ease); }
@keyframes dc-in { from { opacity: 0; transform: translateY(8px); } }
.dc-msg.is-mentioned { background: rgba(240, 178, 50, .1); box-shadow: inset 2px 0 0 #f0b232; }
.dc-msg.is-mentioned:hover { background: rgba(240, 178, 50, .07); }
.dc-msg.is-ephemeral { background: rgba(88, 101, 242, .08); box-shadow: inset 2px 0 0 #5865f2; }
.dc-msg.is-ephemeral:hover { background: rgba(88, 101, 242, .12); }
.js .dc-msg.is-pending { display: none; }
.dc-av { position: absolute; left: var(--av-x); top: 3px; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #0c1114; color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.dc-av img, .dc-foot-ic img { width: 100%; height: 100%; object-fit: cover; }
.has-reply .dc-av { top: 25px; }
.dc-reply { position: relative; display: flex; align-items: center; gap: 5px; height: 18px; margin-bottom: 4px; font-size: 13.5px; line-height: 18px; color: var(--dc-muted); white-space: nowrap; }
.dc-reply::before { content: ""; position: absolute; top: 50%; bottom: -4px; left: calc(var(--av-x) + 19px - var(--gutter)); right: calc(100% + 4px); border: 2px solid #4e5058; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.dc-mini { width: 16px; height: 16px; border-radius: 50%; background: var(--dc-rail); object-fit: cover; }
.dc-role { font-weight: 600; color: #ff9a3c; }
.dc-cmd { padding: 0 4px; border-radius: 3px; background: rgba(0, 168, 252, .12); font-weight: 500; color: var(--dc-link); }
.dc-meta { display: flex; align-items: center; flex-wrap: wrap; line-height: 22px; }
.dc-name { font-size: 15.5px; font-weight: 600; color: #ff9a3c; }
.dc-app { display: inline-flex; align-items: center; gap: 2px; height: 16px; margin-left: 5px; padding: 0 5px 0 3px; border-radius: 3px; background: var(--blurple); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .02em; }
.dc-app svg { width: 11px; height: 11px; }
.dc-meta time { margin-left: 6px; font-size: 12px; color: var(--dc-muted); }
.dc-ping { margin: 2px 0 4px; font-size: 14.5px; line-height: 20px; }
.dc-text { margin-top: 2px; font-size: 15px; line-height: 21px; }

.dc-embed { max-width: 452px; margin-top: 3px; padding: 10px 16px 14px 14px; border-radius: 6px; border-left: 4px solid #23a559; background: #2b2d31; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); }
.dc-embed.is-green { border-left-color: #2ecc71; }
.dc-embed.is-orange { border-left-color: var(--dc-orange); }
.dc-embed.is-red { border-left-color: #ed4245; }
.dc-embed-title { font-size: 15.5px; font-weight: 700; line-height: 22px; color: var(--dc-head); }
.dc-embed-desc { margin-top: 6px; font-size: 14px; line-height: 19px; color: var(--dc-text); }
.dc-embed-note { margin-top: 10px; font-size: 14px; line-height: 18px; color: var(--dc-head); }
.dc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; font-size: 14px; line-height: 18px; }
.dc-fields b { display: block; margin-bottom: 2px; font-weight: 600; color: var(--dc-head); }
.dc-mention { padding: 1px 4px; border-radius: 4px; background: rgba(88, 101, 242, .3); color: #c9cdfb; font-weight: 500; }
.dc-mention.is-booster { background: rgba(244, 127, 255, .16); color: #f47fff; }
.dc-chan-mention { padding: 1px 5px; border-radius: 4px; background: rgba(88, 101, 242, .24); color: #c9cdfb; font-weight: 500; white-space: nowrap; }
.dc-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; font-weight: 500; line-height: 16px; color: var(--dc-muted); }
.dc-foot-ic { width: 18px; height: 18px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #0c1114; }

.dc-reacts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.dc-react { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px; border-radius: 8px; background: #2b2d31; border: 1px solid rgba(255, 255, 255, .07); font-size: 13.5px; color: var(--dc-text); transition: background-color .15s, border-color .15s, transform .12s; }
.dc-react:hover { background: #35373c; border-color: rgba(255, 255, 255, .16); }
.dc-react:active { transform: scale(.94); }
.dc-react.is-on { background: rgba(88, 101, 242, .22); border-color: rgba(88, 101, 242, .85); color: #dee0fc; }
.dc-react b { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }

.dc-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0; margin-top: 4px; }
.dc-btn { min-width: 60px; height: 34px; padding: 2px 16px; border-radius: 8px; color: #fff; font-size: 14px; font-weight: 600; line-height: 16px; transition: background-color .17s, filter .15s, transform .12s; }
.dc-btn:active { transform: scale(.97); }
.dc-btn.is-green { background: #248046; }
.dc-btn.is-green:hover { background: #1a6334; }
.dc-btn.is-orange { color: #1f1000; background: linear-gradient(180deg, #ffb463, #ff9132); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 14px -4px rgba(255, 145, 50, .55); }
.dc-btn.is-orange:hover { filter: brightness(1.06); }
.dc-btn.is-grey { background: #4e5058; }
.dc-btn.is-grey:hover { background: #6d6f78; }

.dc-codeblock { position: relative; max-width: 360px; margin-top: 6px; border-radius: 4px; background: #2b2d31; border: 1px solid #1e1f22; }
.dc-codeblock pre { margin: 0; padding: 8px 36px 8px 10px; font: 14px/1.4 var(--mono); color: var(--dc-text); overflow-x: auto; }
.dc-codeblock code { font: inherit; }
.dc-code-copy { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 4px; display: grid; place-items: center; color: var(--dc-muted); opacity: .75; transition: opacity .15s, color .15s, background-color .15s; }
.dc-codeblock:hover .dc-code-copy, .dc-code-copy:focus-visible { opacity: 1; }
.dc-code-copy:hover { color: var(--dc-head); background: rgba(255, 255, 255, .08); }
.dc-code-copy:active { transform: scale(.94); }
.dc-code-copy .i { width: 14px; height: 14px; }

.dc-eph { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12px; line-height: 16px; color: var(--dc-muted); }
.dc-eph svg { width: 16px; height: 16px; }
.dc-eph button { color: var(--dc-link); }
.dc-eph button:hover { text-decoration: underline; }

.dc-compose { flex: none; padding: 0 16px; }
.dc-input { display: flex; align-items: center; min-height: 44px; border-radius: 8px; background: var(--dc-input); cursor: not-allowed; }
.dc-attach { flex: none; width: 56px; height: 44px; display: grid; place-items: center; color: var(--dc-icon); opacity: .5; }
.dc-attach svg { width: 24px; height: 24px; }
.dc-input-text { min-width: 0; padding: 11px 16px 11px 0; font-size: 16px; line-height: 22px; color: #6d6f78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-typing { height: 24px; display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--dc-text); visibility: hidden; }
.dc-typing.on { visibility: visible; }
.dc-typing b { font-weight: 700; color: var(--dc-head); }
.dc-dots { display: flex; gap: 3px; padding: 0 3px; }
.dc-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--dc-text); opacity: .3; }
.dc-typing.on .dc-dots i { animation: dc-dot 1.2s ease-in-out infinite; }
.dc-dots i:nth-child(2) { animation-delay: .15s; }
.dc-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dc-dot { 30% { opacity: 1; transform: translateY(-2px); } 60%, 100% { opacity: .3; transform: none; } }

.demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; margin-top: 18px; font-size: 13px; color: var(--text-3); }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.seg button { height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-2); transition: background-color .15s, color .15s; }
.seg button[aria-pressed="true"] { background: rgba(255, 255, 255, .1); color: var(--text); }
.replay { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-2); transition: color .15s; }
.replay:hover { color: var(--text); }
.replay .i { width: 14px; height: 14px; }

/* sections */
.section { padding-top: 120px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 600; }
.section-sub { max-width: 36em; margin-top: 12px; color: var(--text-2); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--text-2); white-space: nowrap; transition: color .15s; }
.text-link:hover { color: var(--text); }
.text-link .i { width: 14px; height: 14px; }

.case { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 36px; padding: 34px; }
.case h3 { margin: 16px 0 10px; font-size: 30px; line-height: 1.15; letter-spacing: -.035em; font-weight: 600; }
.case-desc { color: var(--text-2); }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; margin: 26px 0 24px; }
.feats li { display: flex; gap: 12px; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.feats b { display: block; margin-bottom: 1px; font-size: 14px; font-weight: 600; color: var(--text); }
.feat-ic { width: 32px; height: 32px; flex: none; border-radius: 9px; display: grid; place-items: center; color: var(--accent); background: rgba(255, 154, 60, .08); border: 1px solid rgba(255, 154, 60, .2); }
.feat-ic svg { width: 17px; height: 17px; }
.case .actions { margin-top: 26px; }

.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.shots .shot:first-child { grid-column: 1 / -1; }
.shots.is-small { margin-top: 14px; }
.shots.is-small .shot:first-child { grid-column: auto; }
.shots.is-stack { grid-template-columns: 1fr; }
.shots.is-stack .shot { aspect-ratio: auto; background: #361538; }
.shots.is-stack .shot img { height: auto; object-fit: contain; }
.shots.is-stack .shot.is-tall img { max-height: 360px; margin: 0 auto; }
.shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .35); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.shot:not(.empty) { cursor: zoom-in; }
.shot:not(.empty):hover img { transform: scale(1.035); }
.shot.empty { border: 1px dashed rgba(255, 255, 255, .16); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .015) 0 10px, rgba(255, 255, 255, .035) 10px 20px); }
.shot.empty img { display: none; }
.shot.empty::after { content: attr(data-file); position: absolute; inset: 0; display: grid; place-items: center; font: 12px var(--mono); color: var(--text-3); }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.card { padding: 28px; display: flex; flex-direction: column; }
.card h3 { margin: 14px 0 8px; font-size: 22px; letter-spacing: -.03em; font-weight: 600; }
.card > p:not(.chips) { color: var(--text-2); }
.card > p.quote { margin-bottom: 8px; font: italic 400 23px/1.3 var(--serif); color: var(--text); }
.card > .text-link { align-self: flex-start; margin-top: auto; padding-top: 22px; }
.card-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: auto; padding-top: 22px; }
.text-link.is-accent { color: var(--accent-soft); }
.text-link.is-accent:hover { color: var(--accent); }
.prompt { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; margin-top: 20px; padding: 14px 14px 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.prompt-label { grid-column: 1 / -1; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.prompt-text { min-height: 2.9em; font-size: 14px; line-height: 1.45; }
.prompt-text::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
.prompt-text.is-typing::after { animation: none; opacity: 1; }
@keyframes blink { 50% { opacity: 0; } }
.prompt-go { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #1f1000; background: linear-gradient(180deg, #ffb565, #ff9132); transition: transform .2s var(--ease), filter .2s; }
.prompt-go.is-pulse { transform: scale(.9); filter: brightness(1.15); }
.mods { display: grid; gap: 8px; margin-top: 16px; }
.mods a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 14px; transition: border-color .15s, background-color .15s; }
.mods a:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .06); }
.mod-info { display: flex; flex-direction: column; min-width: 0; }
.mod-info b { font-weight: 600; color: var(--text); line-height: 1.3; }
.mod-info small { font-size: 12.5px; color: var(--text-3); line-height: 1.3; }
.mod-meta { display: inline-flex; align-items: center; gap: 8px; flex: none; font: 12px var(--mono); color: var(--text-3); }
.mod-status { padding: 3px 7px; border-radius: 999px; font: 500 10.5px/1 var(--mono); letter-spacing: .02em; }
.mod-status.is-dev { color: var(--accent-soft); background: rgba(255, 154, 60, .12); border: 1px solid rgba(255, 154, 60, .25); }
.mod-status.is-paused { color: var(--text-2); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }

.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.price { padding: 28px; display: flex; flex-direction: column; }
.price.is-main { background: linear-gradient(180deg, rgba(255, 154, 60, .1), rgba(255, 154, 60, .012) 55%), var(--tile); border-color: rgba(255, 154, 60, .3); }
.price-ic { width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; display: grid; place-items: center; color: var(--accent-soft); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.price-ic svg { width: 20px; height: 20px; }
.price h3 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.price > p { margin-top: 4px; font-size: 14px; color: var(--text-2); }
.price .amount { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.amount small { font: 12.5px var(--mono); color: var(--text-3); }
.amount b { font-size: 40px; font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.incl { display: grid; gap: 10px; margin: 18px 0 26px; font-size: 14px; color: var(--text-2); }
.incl li { position: relative; padding-left: 24px; }
.incl li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 10px; height: 5px; border-left: 1.7px solid var(--accent); border-bottom: 1.7px solid var(--accent); transform: rotate(-45deg); }
.price .btn { margin-top: auto; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; }
.steps li { display: flex; flex-direction: column; padding: 22px 24px; }
.steps li + li { border-left: 1px solid var(--line); }
.step-n { margin-bottom: 10px; font: 500 12px/1 var(--mono); color: var(--accent); }
.steps b { font-weight: 600; letter-spacing: -.01em; }
.steps li > span:last-child { margin-top: 2px; font-size: 13.5px; color: var(--text-2); }

.guarantees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.guarantees li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
.guarantees b { display: block; margin-bottom: 1px; font-size: 14.5px; font-weight: 600; color: var(--text); }

.contact { margin-top: 120px; padding: 64px 28px; text-align: center; background: radial-gradient(60% 120% at 50% 0%, rgba(255, 154, 60, .14), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)), var(--tile); }
.contact h2 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 600; text-wrap: balance; }
.contact p:not(.eyebrow) { max-width: 30em; margin: 14px auto 0; color: var(--text-2); }
.contact .actions { justify-content: center; margin-top: 30px; }
.socials { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); color: var(--text-2); transition: color .2s, background-color .2s, border-color .2s; }
.socials a:hover { color: var(--on, #fff); background: var(--c); border-color: var(--c); }
.socials svg { width: 19px; height: 19px; }

.site-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }

/* 404 */
.nf { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 96px 20px 40px; }
.nf-card { width: 100%; max-width: 520px; padding: 44px 32px; text-align: center; }
.nf h1 { font-size: clamp(2.2rem, 7vw, 3.1rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 600; }
.nf p:not(.eyebrow) { margin-top: 12px; color: var(--text-2); }
.nf .actions { justify-content: center; margin-top: 28px; }

/* command menu */
.palette { position: fixed; inset: 0; z-index: 30; display: none; align-items: flex-start; justify-content: center; padding: 14vh 16px 16px; background: rgba(5, 5, 7, .6); }
.palette.open { display: flex; animation: fade .15s ease-out; }
@keyframes fade { from { opacity: 0; } }
.pal { width: min(560px, 100%); overflow: hidden; border-radius: 18px; background: #131316; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .05); animation: pop .2s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.pal-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pal-slash { font: 500 18px var(--mono); color: var(--accent); }
.pal-head input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 16px var(--sans); }
.pal-head input::placeholder { color: var(--text-3); }
.pal-title { padding: 12px 18px 4px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.pal-list { max-height: min(52vh, 380px); overflow: auto; padding: 4px 6px 6px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .14) transparent; }
.pal-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; cursor: pointer; }
.pal-item[aria-selected="true"] { background: rgba(255, 255, 255, .06); }
.pal-ic { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--text-2); }
.pal-ic svg { width: 17px; height: 17px; }
.pal-item[aria-selected="true"] .pal-ic { color: var(--accent); }
.pal-name { display: block; font: 500 14px/1.35 var(--mono); }
.pal-desc { display: block; font-size: 13px; line-height: 1.35; color: var(--text-3); }
.pal-tag { margin-left: auto; font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.pal-empty { padding: 26px; text-align: center; font-size: 14px; color: var(--text-3); }
.pal-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.pal-foot span { display: inline-flex; align-items: center; gap: 6px; }

.toast {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  padding: 10px 16px 10px 14px;
  border-radius: 999px;
  background: rgba(22, 22, 26, .96);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 44px -12px rgba(0, 0, 0, .7);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* screenshot lightbox */
.lightbox { position: fixed; inset: 0; z-index: 35; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: rgba(5, 5, 7, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: zoom-out; }
.lightbox.open { display: flex; animation: fade .15s ease-out; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 80vh; border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 32px 90px -20px rgba(0, 0, 0, .9); animation: pop .2s var(--ease); cursor: default; }
.lightbox-cap { font-size: 13.5px; color: var(--text-2); text-align: center; }

@media (max-width: 1020px) {
  .dc-side, .dc-search { display: none; }
}
@media (max-width: 880px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "profile profile" "status status" "feature feature"; }
  .profile h1 { padding-top: 30px; }
  .case, .prices, .cards, .guarantees { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .brand { padding: 0 6px 0 4px; gap: 6px; }
  .tabs a { padding: 6px 11px; }
  .cmd { padding: 0 6px; gap: 0; }
  .cmd-label { display: none; }

  .home { justify-content: flex-start; padding: 80px 14px 24px; }
  .bento { gap: 10px; }
  .profile { padding: 22px; }
  .profile h1 { font-size: 2.4rem; }
  .rotline { font-size: 18px; }
  .profile .actions .btn { flex: 1; }
  .status, .feature { min-height: 0; padding: 20px; }
  .social { min-height: 116px; padding: 16px; }
  .social .corner { top: 16px; right: 16px; }
  .home-foot { justify-content: center; }

  .wrap { padding: 0 14px; }
  .hero { padding-top: 112px; }
  .lead { font-size: 16px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .demo { margin-top: 48px; }
  .dc { --gutter: 60px; --av-x: 12px; height: 560px; border-radius: 10px; }
  .dc-rail, .dc-topic, .dc-tools > svg:not(:last-of-type) { display: none; }
  .dc-msg { padding-right: 12px; }
  .dc-fields { grid-template-columns: 1fr 1fr; }
  .dc-compose { padding: 0 12px; }
  .dc-attach { width: 48px; }
  .dc-input-text { padding: 10px 12px 10px 0; font-size: 14px; line-height: 20px; white-space: normal; }

  .section { padding-top: 88px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .case { padding: 22px; gap: 26px; }
  .case h3 { font-size: 26px; }
  .feats { grid-template-columns: 1fr; }
  .case .actions .btn { flex: 1 1 100%; }
  .card, .price { padding: 22px; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .contact { margin-top: 88px; padding: 46px 20px; }
  .contact .actions .btn { flex: 1 1 100%; }
  .site-foot { justify-content: center; }
}
@media (hover: none) {
  .cmd, .hint { display: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
