@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url('/fonts/GoogleSansFlex-Variable.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/fonts/JetBrainsMono-Variable.woff2') format('woff2');
}

:root {
  --bg:        #0a0c0d;
  --panel:     #101416;
  --panel-2:   #161b1e;
  --line:      #1e2529;
  --line-firm: #2c363b;

  --ink:       #d5dee2;
  --ink-soft:  #6b7a80;
  --ink-faint: #4a575c;

  --accent:      #a8241f;
  --accent-hi:   #c93a32;
  --accent-dim:  #471110;
  --ok:         #3ddc97;
  --ok-dim:     #1b4d38;

  --radius: 0px;
  --radius-sm: 0px;
  --maxw: 1080px;

  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: clamp(14.5px, 0.28vw + 13.7px, 16px);
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Google Sans Flex', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-variation-settings: "GRAD" 0, "ROND" 0, "slnt" 0, "wdth" 92, "wght" 450;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100dvh;
}

.mono {
  font-family: var(--mono);
  font-variation-settings: normal;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.6rem; }
.dot { color: var(--accent); }
[hidden] { display: none !important; }

a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

#site-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .85rem 1.6rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--mono);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .1em;
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}
.wordmark .dot { margin-left: -.1em; }

.bar-nav { display: flex; align-items: center; gap: 1.5rem; }
.bar-nav a {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .08em;
  color: var(--ink-soft);
  text-decoration: none;
  padding: .2rem 0;
}
.bar-nav a:hover { color: var(--ink); }
.bar-nav a.here { color: var(--ink); }

.bar-actions { display: flex; align-items: center; gap: .6rem; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .6rem 1.05rem;
  border: 1px solid var(--line-firm);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .14s ease, background .14s ease, color .14s ease;
}
.btn:hover { border-color: var(--ink-soft); }
.btn:disabled { opacity: .4; cursor: not-allowed; }

.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.btn-primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); }

.btn-ghost { border-color: var(--line-firm); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-soft); background: var(--panel-2); }

.btn-quiet { border-color: transparent; color: var(--ink-soft); padding: .4rem .6rem; }
.btn-quiet:hover { color: var(--ink); background: var(--panel-2); }
.btn-quiet.on { color: var(--accent); }

.btn-danger { border-color: var(--accent-dim); color: var(--accent); }
.btn-danger:hover { background: var(--accent-dim); color: #fff; }

.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.btn-accent:hover { background: var(--accent-hi); }

.btn-big { padding: .85rem 1.5rem; font-size: .75rem; }
.btn-block { display: flex; width: 100%; }

.btn .spin { display: none; font-family: var(--mono); }
.btn.busy .lbl { visibility: hidden; }
.btn.busy .spin {
  display: block;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.btn.busy .spin::after {
  content: "\2588";
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
      transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

.page-head { padding: 2.4rem 0 1.4rem; }

.page-head .mono { display: block; margin-bottom: .7rem; }
.page-head .mono::before { content: "/ "; color: var(--accent); }

h1.big {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: .92;
  letter-spacing: -.04em;
  text-transform: uppercase;
  font-variation-settings: "GRAD" 0, "ROND" 0, "slnt" 0, "wdth" 84, "wght" 800;
  max-width: 16ch;
}

h2.sec {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  font-variation-settings: "GRAD" 0, "ROND" 0, "wdth" 86, "wght" 780;
}

.lede {
  margin-top: 1rem;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: .98rem;
  font-variation-settings: "wght" 440;
}
.lede em { font-style: normal; color: var(--ink); }

.section-label {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 2.4rem 0 1rem;
}
.section-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.muted { color: var(--ink-soft); }
.tiny { font-size: .82rem; }
.opt { color: var(--ink-faint); font-size: .82em; }

.quote {
  margin: 0 0 1rem;
  padding-left: .9rem;
  border-left: 2px solid var(--line-firm);
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.6;
}

/* A card is a panel: a form, a box of detail, a sign-in. Plain by
   default, because most of them hold something you are filling in. */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.8rem 1.5rem;
}
.card h3 {
  margin: 0 0 .6rem;
  font-size: 1.3rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-variation-settings: "GRAD" 0, "ROND" 0, "wdth" 92, "wght" 700;
}
.card p { color: var(--ink-soft); font-size: .9rem; }
.card p + p { margin-top: .7rem; }

.card .num {
  display: block;
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--accent);
}
/* Only when something sits above it does the heading need the room. */
.card .num + h3 { margin-top: 1.5rem; }

/* A tile is a card you can point at. It lifts and shows an edge, which a
   panel holding a form has no business doing. */
.card.tile {
  position: relative;
  padding: 2rem 1.6rem 2.2rem;
  transition: background .14s ease, border-color .14s ease, transform .14s ease;
}
.card.tile::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .18s cubic-bezier(.16, 1, .3, 1);
}
.card.tile:hover {
  background: var(--panel-2);
  border-color: var(--line-firm);
  transform: translateY(-2px);
}
.card.tile:hover::before { transform: scaleY(1); }

/* A card carries its own border, so the grid separates rather than welds. */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }

/* ── Bands ──
   A full-width section with a rule across the top. Breaks a page into
   parts you can feel, which is most of what the landing page is doing.
*/

.band {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  background: var(--bg);
  padding: 4rem 0 4.5rem;
  border-top: 1px solid var(--line);
}

.band-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 3rem;
  margin-bottom: 2.4rem;
}
.band-head h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: .9;
  letter-spacing: -.04em;
  text-transform: uppercase;
  font-variation-settings: "GRAD" 0, "ROND" 0, "slnt" 0, "wdth" 84, "wght" 800;
}
.band-head p { color: var(--ink-soft); font-size: .95rem; max-width: 46ch; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.2rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }

.empty {
  border: 1px dashed var(--line-firm);
  padding: 2.2rem 1.4rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: .9rem;
}
.empty strong { display: block; color: var(--ink); margin-bottom: .3rem; font-size: 1rem; }

.panel-dark {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  padding: 2.2rem 2rem;
  margin: 3rem 0 2rem;
}
.panel-dark .mono { color: var(--accent); }
.panel-dark h2 {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  max-width: 20ch;
  margin-top: .6rem;
  font-variation-settings: "GRAD" 0, "ROND" 0, "wdth" 88, "wght" 760;
}
.foot-links { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.6rem; }
.email-link { font-family: var(--mono); font-size: .74rem; color: var(--ink-soft); text-decoration: none; }
.email-link:hover { color: var(--accent); }
.foot-note {
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .06em;
  color: var(--ink-faint);
}
.foot-note a:hover { color: var(--ink); }

.field { margin-bottom: 1rem; }
.field label {
  display: block;
  margin-bottom: .35rem;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.input {
  width: 100%;
  padding: .65rem .8rem;
  background: var(--bg);
  border: 1px solid var(--line-firm);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: inherit;
  font-size: .92rem;
  font-variation-settings: "wght" 450;
}
.input:focus { outline: none; border-color: var(--accent); }
.input::placeholder { color: var(--ink-faint); }
textarea.input { min-height: 6rem; resize: vertical; line-height: 1.55; }
select.input {
  appearance: none;
  font-family: var(--mono);
  font-size: .76rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
                    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) 55%, calc(100% - .8rem) 55%;
  background-size: .3rem .3rem, .3rem .3rem;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

.hint {
  margin-top: .4rem;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--ink-faint);
}

.check { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--ink-soft); }
.check input { accent-color: var(--accent); }

.note {
  font-family: var(--mono);
  font-size: .72rem;
  line-height: 1.5;
  letter-spacing: .02em;
}
.note:empty { display: none; }
.note-bad, .note:not(.note-ok):not(:empty) {
  border-left: 2px solid var(--accent);
  background: rgba(255, 75, 62, .07);
  color: var(--accent);
  padding: .6rem .8rem;
  margin-bottom: .9rem;
}
.note-ok {
  border-left: 2px solid var(--ok);
  background: rgba(61, 220, 151, .07);
  color: var(--ok);
  padding: .6rem .8rem;
  margin-bottom: .9rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2rem .45rem;
  border: 1px solid var(--line-firm);
  color: var(--ink-soft);
  white-space: nowrap;
}
.tag-accent { border-color: var(--accent-dim); color: var(--accent); }
.tag-ok { border-color: var(--ok-dim); color: var(--ok); }
.tag-solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }

/* Products are cards in the same sense the landing's are: separate
   objects that lift, rather than cells in one welded sheet. */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
}

.product {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.6rem 1.4rem 1.5rem;
  transition: background .14s ease, border-color .14s ease, transform .14s ease;
}
.product:hover {
  background: var(--panel-2);
  border-color: var(--line-firm);
  transform: translateY(-2px);
}
.product > a { color: inherit; text-decoration: none; display: block; }
.product h3 {
  font-size: 1.15rem;
  margin: .9rem 0 .45rem;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-variation-settings: "GRAD" 0, "ROND" 0, "wdth" 92, "wght" 720;
}
.product .desc {
  color: var(--ink-soft);
  font-size: .88rem;
  line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.product-foot {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px dashed var(--line-firm);
}

.price {
  margin-right: auto;
  display: flex;
  align-items: baseline;
  gap: .45rem;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.price b { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.price .was { color: var(--ink-faint); text-decoration: line-through; font-size: .82rem; }
.price .per { color: var(--ink-soft); font-size: .72rem; }

.pdp { display: grid; grid-template-columns: 1fr 21rem; gap: 2.5rem; align-items: start; }
.pdp-desc {
  white-space: pre-line;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 60ch;
}

.buy-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  padding: 1.3rem;
  position: sticky;
  top: 1.2rem;
}
.buy-box .price { margin-bottom: 1rem; }
.buy-box .price b { font-size: 1.5rem; }

.spec { margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.spec div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .35rem 0;
  font-family: var(--mono);
  font-size: .7rem;
}
.spec dt { color: var(--ink-faint); letter-spacing: .06em; text-transform: uppercase; }
.spec dd { color: var(--ink); text-align: right; }

@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; gap: 1.6rem; }
  .buy-box { position: static; }
}

.rows { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.rows:empty { display: none; }

.rowcard {
  background: var(--panel);
  padding: 1.1rem 1.25rem;
  border-left: 2px solid transparent;
}
.rowcard-head { display: flex; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.rowcard-head h4 {
  font-size: 1.02rem;
  font-variation-settings: "GRAD" 0, "ROND" 0, "wdth" 92, "wght" 700;
}
.rowcard .meta {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--ink-faint);
  margin-top: .2rem;
  letter-spacing: .04em;
}
.rowcard .right { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin-left: auto; }
.rowcard .acts { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }

.rowcard-link { display: block; text-decoration: none; color: inherit; transition: background .14s ease; }
.rowcard-link:hover { background: var(--panel-2); }
.rowcard-link .rowcard-head { margin: 0; }
.rowcard.is-unread { border-left-color: var(--accent); }

.answers { margin-top: .9rem; display: grid; gap: .3rem; }
.answers div { display: flex; gap: .6rem; font-size: .88rem; }
.answers dt {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-faint);
  min-width: 9rem;
  padding-top: .15rem;
}
.answers dd { color: var(--ink-soft); }

.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.4rem;
  overflow-x: auto;
}
.tabs button {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .65rem .95rem;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
}
.tabs button:hover { color: var(--ink); }
.tabs button.on { color: var(--accent); border-bottom-color: var(--accent); }

.pane { display: none; }
.pane.on { display: block; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: .86rem;
  background: var(--panel);
}
table.data th {
  text-align: left;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: .65rem .85rem;
  border-bottom: 1px solid var(--line-firm);
  white-space: nowrap;
}
table.data td { padding: .75rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: var(--panel-2); }
table.data .num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
table.data .acts { white-space: nowrap; text-align: right; }
table.data .row-unread td { border-left: 2px solid var(--accent); }
table.data .row-unread td:not(:first-child) { border-left: 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 1.6rem;
}
.stat { background: var(--panel); padding: 1rem 1.1rem; }
.stat .n {
  font-family: var(--mono);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat .k {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: .25rem;
}

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 7, .8);
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}
.modal { width: 100%; max-width: 34rem; }
.modal-box {
  background: var(--panel);
  border: 1px solid var(--line-firm);
  max-height: 88dvh;
  overflow-y: auto;
}
.modal-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.2rem;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--panel);
}
.modal-head h3 {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-right: auto;
}
.modal-head button {
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.modal-head button:hover { color: var(--accent); }
.modal .body { padding: 1.2rem; }
.modal .foot { padding: 1rem 1.2rem; border-top: 1px solid var(--line); }

.chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.2rem;
}

.chat { display: grid; grid-template-columns: 1fr 17.5rem; gap: 1.4rem; align-items: start; }
.chat-main { min-width: 0; }

.chat-log {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  max-height: 58vh;
  overflow-y: auto;
  padding: 1.1rem;
  background: var(--panel);
  border: 1px solid var(--line);
}

.msg { max-width: 34rem; }
.msg-mine { margin-left: auto; }

.msg-body {
  white-space: pre-line;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-firm);
  padding: .65rem .85rem;
  font-size: .92rem;
  line-height: 1.55;
}
.msg-mine .msg-body { border-left-color: var(--accent); }

.msg-meta {
  margin-top: .25rem;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.msg-mine .msg-meta { text-align: right; }

.msg-system {
  align-self: center;
  text-align: center;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .06em;
  color: var(--ink-faint);
  padding: .25rem 0;
}
.msg-system .when { opacity: .55; margin-left: .4rem; }

.msg-offer {
  align-self: center;
  display: flex;
  align-items: baseline;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--line-firm);
  border-top: 2px solid var(--accent);
  padding: .7rem 1.1rem;
  font-size: .84rem;
  color: var(--ink-soft);
}
.msg-offer .fig {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.msg-offer .when {
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--ink-faint);
  width: 100%;
  text-align: center;
}

.chat-write { display: flex; gap: .6rem; align-items: flex-end; margin-top: .8rem; }
.chat-write textarea { resize: vertical; min-height: 3.4rem; }
.chat-write .btn { flex: none; }

.chat-side {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.2rem;
  position: sticky;
  top: 1.2rem;
}
.chat-side .section-label { margin: 0 0 .6rem; }
.chat-side .section-label:not(:first-child) { margin-top: 1.4rem; }
.chat-side .price { margin-bottom: .8rem; }
.chat-side .price b { font-size: 1.3rem; }

@media (max-width: 860px) {
  .chat { grid-template-columns: 1fr; }
  .chat-side { position: static; }
}

.notes {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  width: 19rem;
  max-width: calc(100vw - 2.2rem);
  max-height: calc(100dvh - 2.2rem);
  overflow-y: auto;
}

.note-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .8rem 2rem .8rem .9rem;
  background: var(--panel-2);
  border: 1px solid var(--line-firm);
  border-left: 2px solid var(--accent);
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .5);
}
.note-card:hover { background: var(--panel); border-color: var(--ink-faint); border-left-color: var(--accent); }

.note-top {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .92rem;
  font-variation-settings: "wght" 700;
}
.note-body {
  font-size: .82rem;
  line-height: 1.4;
  color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.note-foot {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.note-x {
  position: absolute;
  top: .35rem;
  right: .35rem;
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink-faint);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}
.note-x:hover { color: var(--accent); }

@media (max-width: 560px) { .notes { left: 1.1rem; width: auto; } }

#toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translate(-50%, 1.2rem);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  padding: .6rem 1rem;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
#toast.on { opacity: 1; transform: translate(-50%, 0); }

#site-footer { padding-bottom: 3rem; }

@media (max-width: 720px) {
  #site-header { gap: 1rem; padding: .75rem 1.1rem; }
  .container { padding: 0 1.1rem; }
  .bar-nav { gap: 1rem; }
  .hide-sm { display: none; }
  .panel-dark { padding: 1.6rem 1.3rem; }
  .answers div { flex-direction: column; gap: .1rem; }
  .answers dt { min-width: 0; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: none; }
}

.product, .rowcard, .card, .stat, .sd-row, .sd-step, .note-card, table.data tbody tr {
  animation: rise .32s cubic-bezier(.16, 1, .3, 1) both;
}
.product:nth-child(1), .rowcard:nth-child(1), .card:nth-child(1), .stat:nth-child(1),
.sd-row:nth-child(1), .sd-step:nth-child(1), table.data tbody tr:nth-child(1) { animation-delay: 0ms; }
.product:nth-child(2), .rowcard:nth-child(2), .card:nth-child(2), .stat:nth-child(2),
.sd-row:nth-child(2), .sd-step:nth-child(2), table.data tbody tr:nth-child(2) { animation-delay: 45ms; }
.product:nth-child(3), .rowcard:nth-child(3), .card:nth-child(3), .stat:nth-child(3),
.sd-row:nth-child(3), .sd-step:nth-child(3), table.data tbody tr:nth-child(3) { animation-delay: 90ms; }
.product:nth-child(4), .rowcard:nth-child(4), .card:nth-child(4), .stat:nth-child(4),
.sd-row:nth-child(4), .sd-step:nth-child(4), table.data tbody tr:nth-child(4) { animation-delay: 135ms; }
.product:nth-child(5), .rowcard:nth-child(5), .card:nth-child(5), .stat:nth-child(5),
.sd-row:nth-child(5), .sd-step:nth-child(5), table.data tbody tr:nth-child(5) { animation-delay: 180ms; }
.product:nth-child(n+6), .rowcard:nth-child(n+6), .card:nth-child(n+6), .stat:nth-child(n+6),
.sd-row:nth-child(n+6), .sd-step:nth-child(n+6), table.data tbody tr:nth-child(n+6) { animation-delay: 215ms; }

.page-head .mono { animation: rise .3s cubic-bezier(.16, 1, .3, 1) both; }
.page-head h1    { animation: rise .36s cubic-bezier(.16, 1, .3, 1) 50ms both; }
.page-head .lede { animation: rise .36s cubic-bezier(.16, 1, .3, 1) 110ms both; }

.chat-log .msg, .chat-log .msg-system, .chat-log .msg-offer { animation: none; }

.caret {
  display: inline-block;
  width: .3em;
  height: .72em;
  margin-left: .22em;
  background: var(--accent);
  vertical-align: baseline;
  animation: blink 1.1s steps(2, start) infinite;
}

.product, .sd-row {
  position: relative;
  transition: background .14s ease;
}
.product::before, .sd-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .18s cubic-bezier(.16, 1, .3, 1);
}
.product:hover::before, .sd-row:hover::before { transform: scaleY(1); }
.sd-row:hover { background: var(--panel-2); }

.rowcard { transition: background .14s ease, border-color .18s ease; }
.rowcard-link:hover { border-left-color: var(--line-firm); }
.rowcard-link.is-unread:hover { border-left-color: var(--accent); }

.btn:not(.btn-primary):not(.btn-accent) {
  background-image: linear-gradient(var(--panel-2), var(--panel-2));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  transition: border-color .14s ease, color .14s ease,
              background-size .2s cubic-bezier(.16, 1, .3, 1);
}
.btn:not(.btn-primary):not(.btn-accent):hover { background-size: 100% 100%; }

table.data tbody tr { transition: background .12s ease; }
table.data tbody tr:hover td:first-child { box-shadow: inset 2px 0 0 var(--accent); }

.filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.4rem;
}
.filter-bar .tabs { border-bottom: 0; margin-bottom: 0; min-width: 0; flex: 1; }
.filter-bar #count { flex: none; white-space: nowrap; }

.filters { display: flex; flex-wrap: wrap; gap: .4rem; }

.tabs { scrollbar-width: none; -ms-overflow-style: none; }
.tabs::-webkit-scrollbar { display: none; }
