@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/onest-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/onest-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/onest-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(fonts/unbounded-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(fonts/unbounded-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f4f4f5;
  --bg-3: #e9e9ec;
  --line: #e4e4e7;
  --line-strong: #cfcfd3;
  --text: #111214;
  --text-2: #45464b;
  --text-3: #66676d;
  --brand: #ffc21a;
  --brand-hover: #ffcd45;
  --on-brand: #111214;
  --icon-accent: #b98100;
  --danger: #e5484d;
  --ok: #1a9d4b;
  --warn: #d97706;
  --link: #111214;
  --focus: #111214;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 8px 24px rgb(0 0 0 / 0.08);
  --wrap: 78rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111214;
    --bg-2: #1a1b1d;
    --bg-3: #242528;
    --line: #2a2b2e;
    --line-strong: #3a3b3f;
    --text: #f2f2f3;
    --text-2: #b3b4b8;
    --text-3: #8d8e93;
    --icon-accent: #ffc21a;
    --link: #f2f2f3;
    --focus: #ffc21a;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px rgb(0 0 0 / 0.45);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111214;
  --bg-2: #1a1b1d;
  --bg-3: #242528;
  --line: #2a2b2e;
  --line-strong: #3a3b3f;
  --text: #f2f2f3;
  --text-2: #b3b4b8;
  --text-3: #8d8e93;
  --icon-accent: #ffc21a;
  --link: #f2f2f3;
  --focus: #ffc21a;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px rgb(0 0 0 / 0.45);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (min-width: 2200px) { html { font-size: 20px; } }
@media (min-width: 3200px) { html { font-size: 26px; } :root { --wrap: 84rem; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: 'Unbounded', 'Onest', sans-serif; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

code, kbd {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 0.875em;
  white-space: nowrap;
}
code { background: var(--bg-2); border: 1px solid var(--line); border-radius: 5px; padding: 0.05em 0.35em; }
kbd {
  display: inline-block;
  min-width: 1.6em;
  text-align: center;
  padding: 0.1em 0.4em;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.8125em;
}

.icon { width: 1.25em; height: 1.25em; flex: none; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 720px) { .wrap { padding: 0 2rem; } }

.skip { position: absolute; left: 1rem; top: -3rem; background: var(--brand); color: var(--on-brand); padding: 0.5rem 0.75rem; border-radius: 6px; z-index: 30; }
.skip:focus { top: 0.5rem; }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; height: 4rem; }

.brand { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--text-3); margin-right: auto; flex: none; }
.brand-logo { height: 1.5rem; width: auto; }
.brand-for { font-size: 0.875rem; line-height: 1; padding-top: 0.2rem; }
.brand-fp { height: 0.875rem; width: auto; margin-top: 0.15rem; }
.on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .on-light { display: none; }
  :root:not([data-theme="light"]) .on-dark { display: block; }
}
:root[data-theme="dark"] .on-light { display: none; }
:root[data-theme="dark"] .on-dark { display: block; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

.header-tools { display: flex; align-items: center; gap: 0.25rem; }
.gh-link { display: inline-flex; align-items: center; gap: 0.5rem; height: 2.5rem; padding: 0 0.75rem; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.9375rem; transition: transform 0.2s var(--ease); }
.gh-link:hover { transform: translateY(-1px); }
.gh-link .icon { width: 1.125rem; height: 1.125rem; }

.icon-btn { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 8px; background: none; color: var(--text-2); cursor: pointer; }
.icon-btn:hover { color: var(--text); background: var(--bg-2); }
.icon-btn .icon { width: 1.25rem; height: 1.25rem; }
.theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: block; }
}
:root[data-theme="dark"] .theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-moon { display: block; }

.menu { display: none; position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 0.5rem); width: 15rem; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; padding: 0.5rem; display: grid; box-shadow: var(--shadow); }
.menu-panel a { padding: 0.625rem 0.75rem; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; display: flex; align-items: center; gap: 0.625rem; }
.menu-panel a:hover { background: var(--bg-2); }
.menu-panel .icon { color: var(--text-3); }
.menu[open] .i-menu { display: none; }
.menu:not([open]) .i-x { display: none; }

@media (max-width: 899px) {
  .nav { display: none; }
  .menu { display: block; }
  .gh-link span { display: none; }
  .gh-link { width: 2.5rem; padding: 0; justify-content: center; border: 0; }
}
@media (max-width: 380px) { .brand-for, .brand-fp { display: none; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.25rem; height: 1.25rem; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-secondary { background: var(--bg); color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--bg-2); }
.btn-dark { background: #111214; color: #fff; }
.btn-dark:hover { background: #26272a; }
.btn-sm { min-height: 2.5rem; padding: 0.5rem 0.875rem; font-size: 0.9375rem; border-radius: 8px; }

.label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.label .icon { width: 1rem; height: 1rem; color: var(--icon-accent); }
.test-tag { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; font-weight: 600; color: var(--text-3); border: 1px dashed var(--line-strong); border-radius: 6px; padding: 0.125rem 0.5rem; white-space: nowrap; }

/* hero */
.hero { padding: 3.5rem 0 4rem; overflow: hidden; }
.hero-text { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) {
  .hero { padding: 4.5rem 0 4rem; }
  .hero-text { grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); gap: 3.5rem; align-items: start; }
}
.hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem); line-height: 1.02; letter-spacing: -0.03em; }
.hero h1 .for { display: block; color: var(--text-3); font-size: 0.56em; letter-spacing: -0.01em; margin-top: 0.3em; }
@media (min-width: 2200px) { .hero h1 { font-size: 4.75rem; } }
.hero .lead { font-size: 1.1875rem; color: var(--text-2); max-width: 36rem; }
@media (min-width: 1024px) { .hero-side { padding-top: 0.5rem; } }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.repo-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; margin-top: 1.25rem; font-size: 0.9375rem; color: var(--text-3); }
.repo-line a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text); font-weight: 600; text-decoration: none; }
.repo-line a:hover { text-decoration: underline; }
.repo-line .icon { width: 1.25rem; height: 1.25rem; }
.browsers { list-style: none; margin: 1.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; font-size: 0.875rem; color: var(--text-2); }
.browsers li { display: inline-flex; align-items: center; gap: 0.5rem; }
.browsers img { width: 1.5rem; height: 1.5rem; }
@media (max-width: 599px) {
  .hero { padding: 1.75rem 0 2.5rem; }
  .hero .lead { font-size: 1.0625rem; }
  .actions .btn { width: 100%; }
  .actions { margin-top: 1.5rem; }
  .browsers { display: grid; grid-template-columns: 1fr 1fr; }
}

.stage { position: relative; margin-top: 3rem; padding-bottom: 3rem; }
.stage-block-wrap { position: absolute; left: 10%; right: 0; top: 3rem; bottom: 0; }
.stage-block { width: 100%; height: 100%; background: var(--brand); border-radius: 28px; }
.stage-frame { position: relative; width: 76%; }
.stage-card { position: absolute; right: 2%; bottom: 0; width: 31%; }
.stage .test-tag { margin-left: auto; }
.layer { will-change: transform; }
.dc-feed.dc-feed-mini { min-height: 0; padding: 0.875rem; }
.dc-feed-mini .dc-box { padding: 0.75rem 0.875rem; font-size: 0.875rem; }
.dc-feed-mini .dc-h { font-size: 1rem; }
@media (max-width: 759px) {
  .stage { margin-top: 2rem; padding-bottom: 1.5rem; }
  .stage-block-wrap { left: 14%; right: -1rem; top: 2rem; }
  .stage-frame { width: 96%; }
  .stage-card { position: relative; right: auto; bottom: auto; width: 92%; margin: -24px 0 0 auto; }
}

/* browser frame */
.browser { background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 0.8125rem; color: var(--text-3); min-width: 0; }
.browser-bar img { width: 1rem; height: 1rem; flex: none; }
.browser-url { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 0.125rem 0.75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-shot { display: block; background: #fff; overflow: hidden; }
.browser-shot img { width: 100%; transition: transform 0.6s var(--ease); }

/* sections */
.section { padding: 6rem 0; }
@media (max-width: 599px) { .section { padding: 4rem 0; } }
.section-head { display: grid; gap: 1.25rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .section-head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem; align-items: end; } }
.section-head h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.025em; margin-top: 0.75rem; }
.section-head p { font-size: 1.125rem; color: var(--text-2); max-width: 36rem; }

/* bento */
.bento { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.cell { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; min-width: 0; transition: transform 0.35s var(--ease); }
.cell:hover { transform: translateY(-3px); }
.cell:hover .browser-shot img { transform: scale(1.015); }
.cell h3 { display: flex; align-items: center; gap: 0.625rem; font-size: 1.3125rem; font-weight: 700; letter-spacing: -0.01em; }
.cell h3 .icon { width: 1.5rem; height: 1.5rem; color: var(--icon-accent); }
.cell-text { color: var(--text-2); }
.cell-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; }
.cell-more { margin-top: auto; font-size: 0.9375rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.375rem; text-decoration: none; color: var(--text); }
.cell-more:hover { text-decoration: underline; }
.cell-more .icon { width: 1rem; height: 1rem; transition: transform 0.2s var(--ease); }
.cell-more:hover .icon { transform: translateX(3px); }
@media (min-width: 760px) {
  .span-2 { grid-column: span 2; }
  .span-3 { grid-column: span 3; }
  .span-4 { grid-column: span 4; }
  .span-6 { grid-column: span 6; }
}
@media (min-width: 760px) and (max-width: 1023px) {
  .span-2, .span-4 { grid-column: span 3; }
  .md-full { grid-column: span 6; }
}
.cell-dark { background: #111214; border-color: #111214; color: #f2f2f3; }
.cell-dark .cell-text { color: #b3b4b8; }
.cell-dark h3 .icon { color: var(--brand); }

/* mock: sales filters */
.sales { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sales-top { display: grid; gap: 0.625rem; padding: 0.875rem; border-bottom: 1px solid var(--line); }
.sales-search { width: 100%; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg); padding: 0.5rem 0.75rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.chip { border: 1px solid var(--line-strong); background: var(--bg); color: var(--text-2); border-radius: 999px; padding: 0.25rem 0.75rem; font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: transform 0.15s var(--ease); }
.chip:hover { transform: translateY(-1px); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip .n { font-weight: 500; opacity: 0.75; margin-left: 0.25rem; }
.sales-sum { display: flex; justify-content: space-between; gap: 1rem; padding: 0.625rem 0.875rem; font-size: 0.875rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.sales-rows { list-style: none; margin: 0; padding: 0; max-height: 19rem; overflow: auto; }
.sales-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.125rem 1rem; padding: 0.625rem 0.875rem; border-bottom: 1px solid var(--line); font-size: 0.875rem; animation: row-in 0.35s var(--ease) both; }
.sales-rows li:last-child { border-bottom: 0; }
.sales-rows .t { font-weight: 600; }
.sales-rows .m { color: var(--text-3); font-size: 0.8125rem; }
.sales-rows .p { font-weight: 700; text-align: right; }
.sales-rows .s { font-size: 0.8125rem; font-weight: 600; text-align: right; }
.s-open { color: var(--danger); }
.s-open-new { color: var(--warn); }
.s-closed { color: var(--ok); }
.s-refund { color: var(--text-3); }
.sales-empty { padding: 1.5rem 0.875rem; color: var(--text-3); font-size: 0.9375rem; }
@keyframes row-in { from { opacity: 0; transform: translate3d(0, 6px, 0); } to { opacity: 1; transform: none; } }

/* mock: autoraise */
.raise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
.raise li { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 0.875rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.5rem; min-width: 0; }
.raise-top { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.875rem; }
.raise-top b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.raise-top span { color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.raise-top .done { color: var(--ok); font-weight: 600; }
.bar { height: 6px; border-radius: 3px; background: var(--bg-3); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); transform-origin: left; transform: scaleX(0); transition: transform 1s linear; }

/* mock: palette */
.palette { background: var(--bg); border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.palette-in { display: flex; align-items: center; gap: 0.5rem; padding: 0.625rem 0.75rem; border-bottom: 1px solid var(--line); }
.palette-in .icon { color: var(--text-3); width: 1.125rem; height: 1.125rem; }
.palette-in input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 0.9375rem; }
.palette ul { list-style: none; margin: 0; padding: 0.375rem; display: grid; gap: 0.125rem; min-height: 9.5rem; align-content: start; }
.palette li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.4rem 0.625rem; border-radius: 8px; font-size: 0.875rem; }
.palette li span { color: var(--text-3); font-size: 0.8125rem; white-space: nowrap; }
.palette li:first-child { background: var(--bg-2); }

/* calculator */
.calc { display: grid; gap: 0.875rem; }
.calc-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 0.75rem; }
.field { display: grid; gap: 0.3rem; font-size: 0.8125rem; font-weight: 600; color: var(--text-2); }
.field input, .field select { width: 100%; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg); padding: 0.5rem 0.625rem; font-size: 1rem; font-weight: 500; color: var(--text); }
.calc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 0.75rem; }
.stat { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 0.875rem; }
.stat span { display: block; font-size: 0.8125rem; color: var(--text-3); }
.stat b { display: block; font-size: 1.375rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.stat-accent { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.stat-accent span { color: #3b3200; }
.note { font-size: 0.8125rem; color: var(--text-3); }

/* data strip */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem 2rem; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts b { display: block; font-size: 1.0625rem; margin-bottom: 0.25rem; }
.facts li { color: #b3b4b8; }
.facts .hosts { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.5rem; }
.host { display: inline-flex; align-items: center; gap: 0.375rem; background: #242528; border-radius: 6px; padding: 0.125rem 0.5rem; font-size: 0.8125rem; color: #f2f2f3; }
.host img, .host svg { width: 0.875rem; height: 0.875rem; }
.cell-dark a { color: #f2f2f3; }
.cell-dark code { background: #242528; border-color: #3a3b3f; }

/* install band */
.band { background: var(--brand); color: #111214; }
.band .label { color: #3b3200; }
.band .label .icon { color: #111214; }
.band .section-head p { color: #2b2500; }
.band a { color: #111214; }
.band code { background: rgb(255 255 255 / 0.55); border-color: rgb(0 0 0 / 0.12); color: #111214; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { counter-increment: s; background: #fff; border-radius: 20px; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; color: #111214; transition: transform 0.35s var(--ease); }
.step:hover { transform: translateY(-3px); }
.step::before { content: counter(s); font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 2.5rem; line-height: 1; color: #111214; }
.step p { color: #45464b; }
.step h3 { font-size: 1.125rem; font-weight: 700; }
.addr { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.375rem; }
.addr li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; min-width: 0; }
.addr img { width: 1.25rem; height: 1.25rem; flex: none; }
.addr code { background: #f4f4f5; border-color: #e4e4e7; overflow: hidden; text-overflow: ellipsis; }
.band-note { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; font-size: 0.9375rem; color: #2b2500; }
.band-note a { font-weight: 600; }

/* bot */
.surface { background: var(--bg-2); }
.bot-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .bot-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; } }
.cmds { display: grid; gap: 0.5rem; }
.cmd { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.125rem 0.875rem; align-items: baseline; text-align: left; width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 1rem; cursor: pointer; transition: transform 0.2s var(--ease), border-color 0.2s; }
.cmd:hover { transform: translateX(3px); }
.cmd b { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 0.9375rem; }
.cmd span { color: var(--text-2); font-size: 0.9375rem; }
.cmd[aria-pressed="true"] { border-color: var(--text); box-shadow: inset 3px 0 0 var(--brand); }
.bot-cta { margin-top: 1.5rem; display: grid; gap: 0.75rem; justify-items: start; }
.bot-cta p { font-size: 0.9375rem; color: var(--text-3); }

.dc-window { background: #313338; border-radius: 14px; overflow: hidden; color: #dbdee1; box-shadow: var(--shadow); font-family: 'Onest', 'gg sans', system-ui, sans-serif; }
.dc-chan { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; border-bottom: 1px solid #26272b; color: #f2f3f5; font-weight: 600; font-size: 0.9375rem; }
.dc-chan .icon { color: #80848e; width: 1.125rem; height: 1.125rem; }
.dc-chan .test-tag { margin-left: auto; color: #b5bac1; border-color: #4e5058; }
.dc-feed { padding: 1rem 1rem 1.25rem; min-height: 26rem; }
.dc-reply { display: flex; align-items: center; gap: 0.375rem; padding-left: 3.25rem; margin-bottom: 0.25rem; font-size: 0.8125rem; color: #949ba4; position: relative; }
.dc-reply::before { content: ""; position: absolute; left: 1.25rem; top: 0.55rem; width: 1.75rem; height: 0.6rem; border-left: 2px solid #4e5058; border-top: 2px solid #4e5058; border-top-left-radius: 6px; }
.dc-reply b { color: #f2f3f5; font-weight: 500; }
.dc-cmd { color: #00a8fc; }
.dc-msg { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0.75rem; }
.dc-avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; }
.dc-body { min-width: 0; }
.dc-name { display: flex; align-items: center; flex-wrap: wrap; gap: 0.375rem; font-size: 0.9375rem; }
.dc-name b { color: #f2f3f5; font-weight: 600; }
.dc-app { background: #5865f2; color: #fff; font-size: 0.625rem; font-weight: 600; padding: 0.1rem 0.3rem; border-radius: 3px; letter-spacing: 0.02em; }
.dc-time { color: #949ba4; font-size: 0.75rem; }
.dc-box { margin-top: 0.375rem; background: #2b2d31; border: 1px solid #3f4147; border-left: 4px solid #ffc21a; border-radius: 8px; padding: 1rem; max-width: 34rem; font-size: 0.9375rem; line-height: 1.375; }
.dc-box.danger { border-left-color: #f23f43; }
.dc-box hr { border: 0; border-top: 1px solid #3f4147; margin: 0.75rem 0; }
.dc-sec { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: start; }
.dc-thumb { width: 4rem; height: 4rem; border-radius: 8px; object-fit: cover; }
.dc-h { color: #f2f3f5; font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.dc-s { color: #949ba4; font-size: 0.8125rem; margin-top: 0.125rem; }
.dc-l { margin-top: 0.25rem; }
.dc-l:first-child, hr + .dc-l { margin-top: 0; }
.dc-l b, .dc-box strong { color: #f2f3f5; font-weight: 700; }
.dc-l img, .dc-btn img, .dc-h img { display: inline-block; width: 1.25rem; height: 1.25rem; vertical-align: -0.3rem; margin-right: 0.3rem; }
.dc-a { color: #00a8fc; font-weight: 700; }
.dc-q { border-left: 4px solid #4e5058; padding-left: 0.625rem; color: #dbdee1; }
.dc-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.875rem 0 0.25rem; }
.dc-btn { display: inline-flex; align-items: center; background: #4e5058; color: #fff; border-radius: 8px; padding: 0.375rem 0.875rem; font-size: 0.875rem; font-weight: 500; }
.dc-btn .icon { width: 0.875rem; height: 0.875rem; margin-left: 0.375rem; }
.dc-btn.primary { background: #5865f2; }
.dc-btn.danger { background: #da373c; }
.dc-select { margin-top: 0.5rem; display: flex; justify-content: space-between; align-items: center; background: #1e1f22; border: 1px solid #1e1f22; border-radius: 8px; padding: 0.5rem 0.75rem; font-size: 0.875rem; color: #dbdee1; }
.dc-select .icon { width: 1rem; height: 1rem; color: #b5bac1; transform: rotate(90deg); }
.dc-in { animation: dc-in 0.45s var(--ease) both; }
@keyframes dc-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
.dc-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.625rem; padding: 0.875rem 1rem; background: #2b2d31; border-top: 1px solid #26272b; }
.dc-controls .field { color: #b5bac1; }
.dc-controls input, .dc-controls select { background: #1e1f22; border-color: #1e1f22; color: #f2f3f5; }

/* scam check */
.scam { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 1024px) { .scam { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: start; } }
.scam h3 { font-size: 1.5rem; font-family: 'Unbounded', sans-serif; font-weight: 600; letter-spacing: -0.015em; display: flex; align-items: center; gap: 0.625rem; }
.scam h3 .icon { color: var(--danger); }
.scam > div > p { margin-top: 0.75rem; color: var(--text-2); }
.scam-form { display: grid; gap: 0.75rem; }
.scam-form textarea { width: 100%; min-height: 6rem; resize: vertical; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg); padding: 0.75rem 0.875rem; font-size: 1rem; }
.scam-examples { display: flex; flex-wrap: wrap; gap: 0.375rem; align-items: center; font-size: 0.8125rem; color: var(--text-3); }
.verdict { border-radius: 14px; padding: 1rem 1.125rem; border: 1px solid var(--line); background: var(--bg); display: grid; gap: 0.375rem; animation: dc-in 0.35s var(--ease) both; }
.verdict b { display: flex; align-items: center; gap: 0.5rem; }
.verdict ul { margin: 0; padding-left: 1.25rem; color: var(--text-2); }
.verdict.bad { border-color: var(--danger); box-shadow: inset 4px 0 0 var(--danger); }
.verdict.bad b { color: var(--danger); }
.verdict.good b { color: var(--ok); }
.verdict.good { box-shadow: inset 4px 0 0 var(--ok); }

/* docs teaser */
.docs-links { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.doc-link { display: grid; gap: 0.375rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--text); background: var(--bg); transition: transform 0.3s var(--ease); }
.doc-link:hover { transform: translateY(-3px); }
.doc-link b { display: flex; align-items: center; gap: 0.5rem; font-size: 1.0625rem; }
.doc-link b .icon { color: var(--icon-accent); }
.doc-link span { color: var(--text-2); font-size: 0.9375rem; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 4rem; color: var(--text-3); font-size: 0.9375rem; }
.footer-top { display: grid; gap: 2rem; }
@media (min-width: 900px) { .footer-top { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.footer-links a { color: var(--text-2); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--text); }
.footer-links .icon { width: 1.125rem; height: 1.125rem; }
.legal-note { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 0.75rem; max-width: 52rem; }
.legal-note p { display: flex; gap: 0.75rem; align-items: flex-start; }
.legal-note img { height: 0.875rem; width: auto; margin-top: 0.3rem; flex: none; }

/* legal documents */
.doc { padding: 3rem 0 4.5rem; }
.doc > .wrap { max-width: 44rem; }
.doc h1 { font-size: clamp(1.375rem, 0.9rem + 2vw, 2.5rem); hyphens: auto; overflow-wrap: break-word; }
.meta { margin-top: 0.75rem; color: var(--text-3); }
.intro { margin-top: 1.5rem; color: var(--text-2); display: grid; gap: 0.75rem; }
.toc { margin: 2rem 0 0; padding: 1rem 1.25rem; list-style: none; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 0.375rem; }
.toc a { text-decoration: none; color: var(--text-2); }
.toc a:hover { color: var(--text); text-decoration: underline; }
.back { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--text-2); text-decoration: none; margin-bottom: 1.5rem; }
.back:hover { color: var(--text); }
.prose h2 { font-size: 1.375rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.prose h3 { font-size: 1.125rem; font-weight: 600; margin-top: 2.25rem; }
.prose p, .prose ul:not([class]), .prose ol:not([class]), .prose .table-wrap, .prose .callout, .prose .widget { margin: 0.875rem 0 0; }
.prose p, .prose li { color: var(--text-2); }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.25rem; display: grid; gap: 0.375rem; }
.prose ul:not([class]) { list-style: none; padding-left: 0; }
.prose ul:not([class]) > li { position: relative; padding-left: 1.125rem; }
.prose ul:not([class]) > li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.375rem; height: 0.375rem; background: var(--brand); border-radius: 1px; }
.prose b, .prose strong { color: var(--text); font-weight: 600; }
.prose code { white-space: normal; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.625rem 1.25rem 0.625rem 0; border-bottom: 1px solid var(--line); }
.prose th { color: var(--text); font-weight: 600; }
.prose td { color: var(--text-2); }
.prose td code { background: none; border: 0; padding: 0; white-space: nowrap; }
.callout { border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; padding: 0.875rem 1rem; background: var(--bg-2); color: var(--text-2); }
.callout.warn { border-left-color: var(--warn); }
.callout b:first-child { color: var(--text); }
.widget { border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem; background: var(--bg-2); }
.widget-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; align-items: center; margin-bottom: 1rem; }
.widget-head b { font-size: 1rem; }

/* docs layout */
.docs { padding: 2rem 0 4.5rem; }
.docs > .wrap { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .docs > .wrap { grid-template-columns: 16rem minmax(0, 1fr); gap: 3.5rem; } }
.docs-side { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 1024px) { .docs-side { position: sticky; top: 5rem; max-height: calc(100vh - 6rem); overflow: auto; padding-right: 0.25rem; } }
.docs-search { position: relative; }
.docs-search input { width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); padding: 0.625rem 0.75rem 0.625rem 2.375rem; font-size: 0.9375rem; }
.docs-search > .icon { position: absolute; left: 0.75rem; top: 0.7rem; width: 1.125rem; height: 1.125rem; color: var(--text-3); pointer-events: none; }
.search-results { list-style: none; margin: 0.5rem 0 0; padding: 0.375rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); display: grid; gap: 0.125rem; box-shadow: var(--shadow); }
.search-results[hidden] { display: none; }
.search-results a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.125rem; padding: 0.5rem 0.625rem; border-radius: 8px; text-decoration: none; color: var(--text); font-size: 0.9375rem; font-weight: 600; }
.search-results a span { font-weight: 400; font-size: 0.8125rem; color: var(--text-3); }
.search-results a:hover, .search-results a:focus-visible { background: var(--bg-2); }
.search-results mark { background: var(--brand); color: #111214; border-radius: 2px; padding: 0 0.1em; }
.search-empty { padding: 0.5rem 0.625rem; color: var(--text-3); font-size: 0.875rem; }
.side-group b { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); margin-bottom: 0.375rem; }
.side-group b .icon { width: 1rem; height: 1rem; }
.side-group ul { list-style: none; margin: 0; padding: 0; display: grid; }
.side-group a { display: block; padding: 0.3rem 0.625rem; border-radius: 8px; color: var(--text-2); text-decoration: none; font-size: 0.9375rem; border-left: 2px solid transparent; }
.side-group a:hover { color: var(--text); background: var(--bg-2); }
.side-group a[aria-current="page"] { color: var(--text); font-weight: 600; background: var(--bg-2); border-left-color: var(--brand); border-radius: 0 8px 8px 0; }
.docs-nav-toggle { display: none; }
@media (max-width: 1023px) {
  .docs-nav { border: 1px solid var(--line); border-radius: 12px; }
  .docs-nav summary { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; font-weight: 600; cursor: pointer; list-style: none; }
  .docs-nav summary::-webkit-details-marker { display: none; }
  .docs-nav[open] summary .icon { transform: rotate(90deg); }
  .docs-nav .side-groups { padding: 0 0.75rem 1rem; display: grid; gap: 1.25rem; }
}
@media (min-width: 1024px) {
  .docs-nav summary { display: none; }
  .docs-nav .side-groups { display: grid; gap: 1.25rem; }
}
.docs-main { min-width: 0; max-width: 46rem; }
.crumbs { font-size: 0.875rem; color: var(--text-3); display: flex; gap: 0.375rem; align-items: center; flex-wrap: wrap; }
.crumbs .icon { width: 0.875rem; height: 0.875rem; }
.docs-main h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); margin-top: 0.75rem; letter-spacing: -0.02em; }
.docs-main .lead { margin-top: 1rem; font-size: 1.125rem; color: var(--text-2); }
.pager { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pager a { display: grid; gap: 0.125rem; padding: 0.875rem 1rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 600; transition: transform 0.25s var(--ease); }
.pager a:hover { transform: translateY(-2px); }
.pager a span { font-size: 0.8125rem; color: var(--text-3); font-weight: 500; }
.pager .next { text-align: right; grid-column: 2; }

/* motion */
.js-motion [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }
.js-motion .enter-t { animation: enter-t 0.5s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes enter-t { from { transform: translate3d(0, 14px, 0); } to { transform: none; } }
.js-motion .enter-vis { animation: enter-vis 0.6s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes enter-vis { from { transform: translate3d(0, 36px, 0); } to { transform: none; } }
.js-motion .enter-vis-x { animation: enter-vis-x 0.6s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes enter-vis-x { from { transform: translate3d(40px, 0, 0); } to { transform: none; } }
.js-motion .enter-block { animation: enter-block 0.6s var(--ease) both; animation-delay: 150ms; transform-origin: 60% 60%; }
@keyframes enter-block { 0% { opacity: 0; transform: scale(0.94); } 25% { opacity: 1; } 100% { opacity: 1; transform: none; } }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; animation-timing-function: ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.browser-name { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.browser-name img { width: 1.25rem; height: 1.25rem; }
.code-block { margin: 0.875rem 0 0; padding: 0.875rem 1rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 0.875rem; line-height: 1.6; overflow-x: auto; color: var(--text); white-space: pre; }
.mark-row img { height: 1.75rem; width: auto; }
.prose .mark-row { margin-top: 1.25rem; }
.docs-main .bot-grid { grid-template-columns: minmax(0, 1fr); }
.docs-main .cmds { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.docs-main .widget .sales, .docs-main .widget .palette { box-shadow: none; }
.docs-main figure.browser { margin-top: 1.5rem; }
.docs-main > .raise, .docs-main > .widget { margin-top: 1.5rem; }
.prose .btn { color: var(--on-brand); text-decoration: none; }

@media (max-width: 599px) {
  .site-header .wrap { gap: 0.5rem; }
  .brand { gap: 0.375rem; min-width: 0; }
  .brand-logo { height: 1.25rem; }
  .brand-for { font-size: 0.8125rem; }
  .brand-fp { height: 0.75rem; }
  .header-tools { gap: 0; }
}

.band .btn-dark { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cell-dark { background: #0a0a0b; border-color: var(--line-strong); } }
:root[data-theme="dark"] .cell-dark { background: #0a0a0b; border-color: var(--line-strong); }
.docs-main .cmd { grid-template-columns: minmax(0, 1fr); }

/* round 1 review */
:root { --danger: #c9302c; --warn: #b45309; --ok: #15803d; --loss: #d92d20; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --danger: #e5484d; --warn: #f59e0b; --ok: #22a355; --loss: #f04747; } }
:root[data-theme="dark"] { --danger: #e5484d; --warn: #f59e0b; --ok: #22a355; --loss: #f04747; }

.test-tag { border: 0; padding: 0; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text-3); }
.dc-chan .test-tag { color: #949ba4; }

.brand-fp { height: 0.8rem; }
.menu-panel { top: calc(100% + 1.25rem); }

.section { padding: 4rem 0; }
.band, .surface { padding: 6rem 0; margin: 4rem 0; }
@media (max-width: 599px) {
  .section { padding: 2.5rem 0; }
  .band, .surface { padding: 3.5rem 0; margin: 2.5rem 0; }
}
.section-head h2 { margin-top: 0; }
.section-head { margin-bottom: 2.5rem; }

/* bento */
@media (min-width: 1024px) {
  .cell-sales { grid-column: span 4; grid-row: span 2; }
  .cell-raise, .cell-palette { grid-column: span 2; }
}
@media (min-width: 760px) and (max-width: 1023px) {
  .cell-sales { grid-column: span 6; }
  .cell-raise, .cell-palette { grid-column: span 3; }
}
.cell > .browser { margin-top: auto; }
.cell-wide { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) {
  .cell-wide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.5rem; align-items: start; }
  .cell-wide-text { display: flex; flex-direction: column; gap: 1rem; height: 100%; }
}
.cell-wide-text { display: flex; flex-direction: column; gap: 1rem; }
.raise-top b { white-space: normal; overflow: visible; }
.browser-bar .test-tag { flex: none; }
@media (max-width: 599px) { .browser-bar .test-tag { display: none; } }

/* sales */
.sales-rows { max-height: none; overflow: visible; }
.sales-rows .m { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sales-more { display: block; width: 100%; padding: 0.625rem; border: 0; border-top: 1px solid var(--line); background: var(--bg-2); color: var(--text); font-weight: 600; font-size: 0.875rem; cursor: pointer; }
.sales-more:hover { background: var(--bg-3); }

/* palette */
.palette li:first-child { background: none; }
.palette li.active { background: var(--bg-2); }
.palette li:last-child:not([data-q]) { color: var(--text-3); }

/* calculator */
.stat { display: flex; flex-direction: column; gap: 0.375rem; }
.stat b { margin-top: auto; }
.stat.loss b { color: var(--loss); }
@media (max-width: 599px) {
  .calc-fields { grid-template-columns: 1fr; }
  .calc-fields .field { grid-template-columns: minmax(0, 1fr) 8rem; align-items: center; }
  .calc-out { grid-template-columns: 1fr; }
  .stat { flex-direction: row; justify-content: space-between; align-items: center; }
  .stat b { margin-top: 0; font-size: 1.125rem; }
}

/* bot sandbox */
.bot-grid { gap: 2rem; }
@media (min-width: 1024px) {
  .bot-side { position: sticky; top: 88px; }
  .dc-sandbox { display: flex; flex-direction: column; height: 44rem; }
  .dc-sandbox .dc-feed { flex: 1; min-height: 0; overflow-y: auto; }
}
.dc-sandbox .dc-feed { min-height: 30rem; }
.bot-cta { margin-top: 1.5rem; }
.cmd { grid-template-columns: 5.25rem minmax(0, 1fr); border: 1px solid var(--line); }
.cmd:hover { transform: none; background: var(--bg-3); }
.cmd[aria-pressed="true"] { border-color: var(--line); background: var(--bg-3); box-shadow: inset 4px 0 0 var(--brand); }
.dc-reply { flex-wrap: nowrap; min-width: 0; white-space: nowrap; }
.dc-cmd { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-btn { cursor: default; }
button.dc-btn { border: 0; font: inherit; font-size: 0.875rem; font-weight: 500; cursor: pointer; }
button.dc-btn:hover { background: #4752c4; }
.dc-controls .field-wide { grid-column: 1 / -1; }
.dc-live { width: 100%; margin-top: 0.5rem; background: #1e1f22; border: 1px solid #1e1f22; border-radius: 8px; padding: 0.5rem 0.75rem; font-size: 0.875rem; color: #dbdee1; cursor: pointer; }
.dc-note { margin-top: 0.5rem; font-size: 0.8125rem; color: #949ba4; }
.docs-main .bot-grid { grid-template-columns: minmax(0, 1fr); }
.docs-main .bot-side { position: static; }
.docs-main .cmds { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.docs-main .cmd { display: inline-flex; width: auto; padding: 0.375rem 0.75rem; border-radius: 999px; }
.docs-main .cmd span { display: none; }
.docs-main .bot-cta { display: none; }
.docs-main .dc-sandbox { height: 40rem; display: flex; flex-direction: column; }
.docs-main .dc-sandbox .dc-feed { flex: 1; min-height: 0; overflow-y: auto; }
.prose .dc-window b, .prose .dc-window strong { color: #f2f3f5; }
.prose .dc-window p, .prose .dc-window li { color: #dbdee1; }
.prose .dc-window code { background: #1e1f22; border-color: #1e1f22; color: #dbdee1; }

/* scam */
.verdict[hidden] { display: none; }

/* footer */
.legal-note { max-width: none; }
.legal-note p { max-width: 52rem; }

/* docs */
.docs-side { padding: 2px; }
.docs-search input:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-color: var(--brand); }
.docs-main { max-width: 60rem; }
.docs-main > p, .docs-main > ul, .docs-main > ol, .docs-main > h2, .docs-main > h3, .docs-main > .callout, .docs-main > .lead { max-width: 42rem; }

.section-head.solo { grid-template-columns: minmax(0, 1fr); }
.section-head.solo h2 { max-width: 62rem; }

.band + .surface, .surface + .band { margin-top: 0; }
.search-results a b { font-weight: 600; }
.cell-wide-text .cell-more { margin-top: 0; }
@media (min-width: 1024px) { .cell-wide-text { height: auto; } }
@media (max-width: 599px) {
  .cell-head { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
}
.docs-main > h2 { max-width: none; }
.docs-main .cmd[aria-pressed="true"], .cmds-chips .cmd[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); box-shadow: none; }
@media (max-width: 1023px) {
  .bot-grid { display: flex; flex-direction: column; gap: 1rem; }
  .bot-side { display: contents; }
  .bot-side .cmds { order: 1; display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .bot-side .cmd { display: inline-flex; width: auto; padding: 0.375rem 0.875rem; border-radius: 999px; }
  .bot-side .cmd span { display: none; }
  .bot-side .cmd[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); box-shadow: none; }
  .bot-grid .dc-sandbox { order: 2; }
  .bot-side .bot-cta { order: 3; margin-top: 0.5rem; }
}
.c-discord { color: #5865f2; }
#install { margin-bottom: 0; }
.bot-grid > *, .dc-sandbox { min-width: 0; }
.dc-sandbox { width: 100%; }
.cmd[aria-pressed="true"] b, .cmd[aria-pressed="true"] span { color: inherit; }
@media (min-width: 1024px) { .docs-search { position: sticky; top: 0; z-index: 2; background: var(--bg); padding-bottom: 0.5rem; } }
@media (min-width: 1024px) { .docs-search { top: -2px; padding-top: 4px; margin-top: -2px; } .docs-side { padding-top: 0; } }
