/* B.Meet.B — "carbon-copy bill book meets stock ticker".
   Carbon-blue ink is the brand; the pink duplicate copy marks Highlighted; the yellow triplicate copy
   marks Flash. Mobile first → tablet (640) → desktop (1024). */

@font-face { font-family: Hind; font-weight: 400; font-display: swap; src: url(/fonts/hind-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Hind; font-weight: 500; font-display: swap; src: url(/fonts/hind-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Hind; font-weight: 600; font-display: swap; src: url(/fonts/hind-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Hind; font-weight: 700; font-display: swap; src: url(/fonts/hind-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Hind; font-weight: 400 500; font-display: swap; src: url(/fonts/hind-devanagari-400-normal.woff2) format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: Hind; font-weight: 600 700; font-display: swap; src: url(/fonts/hind-devanagari-600-normal.woff2) format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: Archivo; font-weight: 100 900; font-display: swap; src: url(/fonts/archivo-latin-wght-normal.woff2) format('woff2-variations'); }

:root {
  --paper: #F3F4F8;
  --surface: #FFFFFF;
  --surface-2: #EBEDF4;
  --surface-3: #E1E4EE;
  --line: #DADDE8;
  --line-strong: #C3C7D8;
  --ink: #141833;
  --ink-2: #474C6B;
  --ink-3: #6E7392;
  --brand: #2E3DA0;
  --brand-strong: #22307F;
  --brand-ink: #FFFFFF;
  --brand-soft: #E5E8FA;
  --pink: #F8DCE6;
  --pink-ink: #9A1F4F;
  --yellow: #FCEFB4;
  --yellow-ink: #6B4F00;
  --up: #0B7D55;
  --up-soft: #DDF3EA;
  --down: #B83227;
  --down-soft: #FBE3E0;
  --warn: #9A6100;
  --warn-soft: #FDF0D5;
  --wa: #128C7E;
  --shadow-1: 0 1px 2px rgba(20, 24, 51, .06), 0 1px 1px rgba(20, 24, 51, .04);
  --shadow-2: 0 6px 24px -8px rgba(20, 24, 51, .22), 0 2px 6px rgba(20, 24, 51, .06);
  --radius: 14px;
  --radius-sm: 10px;
  --display: Archivo, "Segoe UI", system-ui, sans-serif;
  --body: Hind, "Segoe UI", system-ui, -apple-system, sans-serif;
  --top-h: 56px;
  --tabs-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0D0F1E; --surface: #151934; --surface-2: #1C2142; --surface-3: #242A52; --line: #293058; --line-strong: #3A4270;
    --ink: #E8EAF7; --ink-2: #B0B5D3; --ink-3: #8C92B6;
    --brand: #8E9BFF; --brand-strong: #B2BBFF; --brand-ink: #0D0F1E; --brand-soft: #222A57;
    --pink: #4A1D31; --pink-ink: #F7A8C6; --yellow: #3D3310; --yellow-ink: #F2D56B;
    --up: #3DD69B; --up-soft: #103628; --down: #FF8A7A; --down-soft: #3D1A17; --warn: #F2C14E; --warn-soft: #3A2C0B; --wa: #3CCF9E;
    --shadow-1: 0 1px 2px rgba(0,0,0,.4); --shadow-2: 0 10px 30px -10px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0D0F1E; --surface: #151934; --surface-2: #1C2142; --surface-3: #242A52; --line: #293058; --line-strong: #3A4270;
  --ink: #E8EAF7; --ink-2: #B0B5D3; --ink-3: #8C92B6;
  --brand: #8E9BFF; --brand-strong: #B2BBFF; --brand-ink: #0D0F1E; --brand-soft: #222A57;
  --pink: #4A1D31; --pink-ink: #F7A8C6; --yellow: #3D3310; --yellow-ink: #F2D56B;
  --up: #3DD69B; --up-soft: #103628; --down: #FF8A7A; --down-soft: #3D1A17; --warn: #F2C14E; --warn-soft: #3A2C0B; --wa: #3CCF9E;
  --shadow-1: 0 1px 2px rgba(0,0,0,.4); --shadow-2: 0 10px 30px -10px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; height: 100%; }
body {
  margin: 0; min-height: 100%;
  background: var(--paper); color: var(--ink);
  font: 400 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
/* Default icon size; components override with their own rules. */
.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* ---------- boot + wordmark ---------- */
.boot { min-height: 100vh; display: grid; place-items: center; }
.wordmark { font-family: var(--display); font-weight: 850; letter-spacing: -.035em; font-size: 22px; color: var(--ink); white-space: nowrap; }
.wordmark i { font-style: normal; color: var(--brand); display: inline-block; transform: translateY(-.02em); }
.wordmark--xl { font-size: 40px; }
.wordmark--light { color: #fff; }
.wordmark--light i { color: #FCEFB4; }

/* ---------- shell ---------- */
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar__in { height: var(--top-h); display: flex; align-items: center; gap: 8px; padding-inline: 16px; }
.topbar__brand { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.topbar__actions { display: flex; align-items: center; gap: 4px; }
.live-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--up); box-shadow: 0 0 0 0 var(--up); animation: pulse 2.4s infinite; flex: none; }
.live-dot.off { background: var(--ink-3); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--up) 55%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.layout { flex: 1; display: flex; width: 100%; max-width: 1360px; margin: 0 auto; }
.sidenav { display: none; }
.main { flex: 1; min-width: 0; padding: 16px 16px calc(var(--tabs-h) + 28px + env(safe-area-inset-bottom, 0px)); }
.main--bare { padding-bottom: 32px; }

.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.tabs__in { height: var(--tabs-h); display: flex; align-items: stretch; justify-content: space-around; max-width: 560px; margin: 0 auto; }
.tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font: 600 11.5px/1 var(--body); color: var(--ink-3); position: relative; letter-spacing: .01em;
}
.tab svg { width: 24px; height: 24px; }
.tab[aria-current="page"] { color: var(--brand); }
.tab[aria-current="page"]::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand); }
.tab--add { flex: 0 0 72px; }
.tab--add .tab__plus {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow-2); margin-top: -18px;
}
.tab--add .tab__plus svg { width: 26px; height: 26px; }
.count {
  position: absolute; top: 6px; left: calc(50% + 6px);
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  background: var(--down); color: #fff; font: 700 11px/18px var(--body); text-align: center;
  font-variant-numeric: tabular-nums; border: 2px solid var(--surface);
}
.icon-btn .count { top: 2px; left: auto; right: 0; }

/* ---------- tablet: icon rail ---------- */
@media (min-width: 640px) {
  .tabs { display: none; }
  .main { padding: 24px 24px 48px; }
  .sidenav {
    display: flex; flex-direction: column; gap: 4px; flex: 0 0 88px;
    position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top, 0px)); align-self: flex-start;
    height: calc(100vh - var(--top-h) - env(safe-area-inset-top, 0px)); padding: 16px 8px; overflow-y: auto;
    border-right: 1px solid var(--line);
  }
  .navlink {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 10px 4px; border-radius: 12px; color: var(--ink-2); font: 600 11.5px/1.1 var(--body); text-align: center;
  }
  .navlink svg { width: 24px; height: 24px; flex: none; }
  .navlink:hover { background: var(--surface-2); }
  .navlink[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
  .navlink .count { top: 4px; left: calc(50% + 4px); }
  .navlink--add { background: var(--brand); color: var(--brand-ink); margin-bottom: 6px; }
  .navlink--add:hover { background: var(--brand-strong); }
  .sidenav__sep { height: 1px; background: var(--line); margin: 8px 6px; }
  .sidenav__label { display: none; }
}
/* ---------- desktop: full sidebar ---------- */
@media (min-width: 1024px) {
  .sidenav { flex-basis: 236px; padding: 20px 14px; }
  .navlink { flex-direction: row; gap: 12px; padding: 10px 12px; font-size: 15px; text-align: left; }
  .navlink .count { position: static; margin-left: auto; border: 0; }
  .sidenav__label { display: block; font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 14px 12px 6px; }
  .main { padding: 28px 32px 56px; }
}

/* ---------- page scaffolding ---------- */
.page { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.page--wide { max-width: 1180px; }
.page--narrow { max-width: 560px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(24px, 5vw, 32px); font-weight: 800; }
.page-head p { color: var(--ink-3); margin-top: 4px; }
.eyebrow { font: 700 11.5px/1 var(--body); letter-spacing: .13em; text-transform: uppercase; color: var(--brand); }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.section-title h2 { font-size: 18px; font-weight: 750; display: flex; align-items: center; gap: 8px; }
.section-title h2 .i { width: 20px; height: 20px; color: var(--brand); }
.section-title a { font-weight: 600; color: var(--brand); font-size: 14px; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-3); font-weight: 600; font-size: 14px; }
.back svg { width: 18px; height: 18px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.card--pad { padding: 16px; }
@media (min-width: 640px) { .card--pad { padding: 20px; } }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack--lg { gap: 20px; }
.row { display: flex; align-items: center; gap: 10px; }
.row--wrap { flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.divider { height: 1px; background: var(--line); border: 0; margin: 4px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent;
  font: 650 15px/1.1 var(--body); white-space: nowrap; transition: background .15s, border-color .15s, transform .06s, opacity .15s;
  background: var(--surface-2); color: var(--ink);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn--primary { background: var(--brand); color: var(--brand-ink); }
.btn--primary:hover { background: var(--brand-strong); }
.btn--ghost { background: transparent; border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--quiet { background: transparent; color: var(--brand); padding-inline: 10px; }
.btn--quiet:hover { background: var(--brand-soft); }
.btn--danger { background: var(--down-soft); color: var(--down); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--up { background: var(--up); color: #fff; }
.btn--sm { min-height: 36px; padding: 7px 12px; font-size: 14px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn--lg { min-height: 52px; font-size: 16.5px; padding-inline: 22px; }
.btn.is-busy { position: relative; color: transparent !important; }
.btn.is-busy::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 99px; border: 2.5px solid currentColor; border-color: var(--brand-ink) transparent var(--brand-ink) transparent; animation: spin .8s linear infinite; }
.btn--ghost.is-busy::after, .btn:not(.btn--primary).is-busy::after { border-color: var(--ink-2) transparent var(--ink-2) transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent;
  display: grid; place-items: center; color: var(--ink-2);
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 23px; height: 23px; }

/* ---------- language switch ---------- */
.seg--lang { flex: none; }
.seg--lang button { min-height: 34px; padding-inline: 10px; font-size: 13.5px; }
.seg--lang-top { padding: 3px; }
.seg--lang-top button { min-height: 30px; padding-inline: 9px; font-size: 12.5px; font-weight: 700; }
/* On a phone the top bar has no room for it — the language switch lives on the profile page there. */
@media (max-width: 599px) { .topbar .seg--lang-top { display: none; } }

/* ---------- chips, badges ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-inline: -16px; padding-inline: 16px; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .chips { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; } }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 99px;
  border: 1px solid var(--line-strong); background: var(--surface); font: 600 14px/1 var(--body); color: var(--ink-2);
}
.chip svg { width: 16px; height: 16px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.badge {
  display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px;
  font: 700 11.5px/1 var(--body); letter-spacing: .02em; white-space: nowrap; background: var(--surface-2); color: var(--ink-2);
}
.badge svg { width: 13px; height: 13px; }
.badge--ok { background: var(--up-soft); color: var(--up); }
.badge--rx { background: var(--down-soft); color: var(--down); }
.badge--flash { background: var(--yellow); color: var(--yellow-ink); }
.badge--hl { background: var(--pink); color: var(--pink-ink); }
.badge--warn { background: var(--warn-soft); color: var(--warn); }
.badge--brand { background: var(--brand-soft); color: var(--brand); }
.badge--auto { background: var(--brand); color: var(--brand-ink); }

/* ---------- ticker ---------- */
.ticker {
  position: relative; display: flex; align-items: center; gap: 0; overflow: hidden;
  height: 40px; border-radius: 12px; background: var(--ink); color: var(--surface);
  margin-inline: -16px; border-radius: 0;
}
@media (min-width: 640px) { .ticker { margin-inline: 0; border-radius: 12px; } }
.ticker__tag {
  flex: none; height: 100%; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 14px;
  font: 800 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; background: var(--brand); color: var(--brand-ink); z-index: 1;
}
.ticker__tag .live-dot { background: #7CF2C4; }
.ticker__track { display: flex; gap: 36px; white-space: nowrap; padding-left: 20px; animation: tick var(--tick-dur, 60s) linear infinite; will-change: transform; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--body); }
.ticker__item b { font-family: var(--display); font-weight: 700; color: #FCEFB4; }
.ticker__item .k { font: 800 10.5px/1 var(--display); letter-spacing: .1em; padding: 4px 6px; border-radius: 4px; background: rgba(255,255,255,.12); }
.ticker__item .k--flash { background: #FCEFB4; color: #4B3700; }
.ticker__item .k--rate { background: #7CF2C4; color: #073A28; }
.ticker__item.is-new { animation: glow 2.2s ease-out; }
@keyframes glow { 0% { color: #FCEFB4; } 100% { color: inherit; } }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ticker { background: #05060F; color: var(--ink); } }
:root[data-theme="dark"] .ticker { background: #05060F; color: var(--ink); }

/* ---------- search ---------- */
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-3); pointer-events: none; }
.search input {
  width: 100%; height: 48px; padding: 0 16px 0 44px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 16px; box-shadow: var(--shadow-1);
}
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* ---------- product cards ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 164px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 6px; }
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .rail { margin-inline: 0; padding-inline: 2px; grid-auto-columns: 184px; } }
.tile { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.tile__img { position: relative; aspect-ratio: 1; background: var(--surface-2); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; }
.tile__img .badge { position: absolute; left: 8px; top: 8px; }
.tile__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; }
.tile__name { font: 650 14.5px/1.25 var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.tile__meta { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__price { display: flex; align-items: baseline; gap: 6px; font-family: var(--display); font-weight: 800; font-size: 17px; }
.tile__price s { font: 500 12.5px var(--body); color: var(--ink-3); }
.tile--flash { border-color: color-mix(in srgb, var(--yellow-ink) 35%, var(--line)); }
.tile--flash .tile__body { background: linear-gradient(to bottom, var(--yellow), var(--surface) 70%); }

.feed { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pcard { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); position: relative; }
.pcard:hover { border-color: var(--line-strong); }
.pcard__img { width: 96px; height: 96px; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pcard__name { font: 650 16px/1.25 var(--body); }
.pcard__name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pcard__meta { font-size: 13.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__seller { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); min-width: 0; }
.pcard__seller span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__seller svg { width: 15px; height: 15px; flex: none; color: var(--up); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.pcard__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.price { font-family: var(--display); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.price small { font: 500 12.5px var(--body); color: var(--ink-3); margin-left: 4px; }
.price--private { font: 600 13.5px var(--body); color: var(--ink-3); display: inline-flex; align-items: center; gap: 5px; }
.price--private svg { width: 15px; height: 15px; }
.pcard .btn { position: relative; z-index: 1; }

.new-pill {
  position: sticky; top: calc(var(--top-h) + 10px + env(safe-area-inset-top, 0px)); z-index: 20; align-self: center;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; border: 0;
  background: var(--brand); color: var(--brand-ink); font: 700 14px/1 var(--body); box-shadow: var(--shadow-2);
  animation: drop .35s ease-out;
}
.new-pill svg { width: 16px; height: 16px; }
@keyframes drop { from { transform: translateY(-12px); opacity: 0; } }

/* ---------- feed layout with aside on desktop ---------- */
.with-aside { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.aside { display: none; }
@media (min-width: 1180px) {
  .with-aside { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--top-h) + 24px); }
}
.tape { display: flex; flex-direction: column; }
.tape__item { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.tape__item:last-child { border-bottom: 0; }
.tape__item time { font: 600 12px/1.6 var(--display); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tape__item.is-new { animation: tapeflash 2.5s ease-out; }
@keyframes tapeflash { 0% { background: var(--yellow); } 100% { background: transparent; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { padding: 12px; border-radius: 12px; background: var(--surface-2); }
.stat b { display: block; font: 800 22px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.stat span { font-size: 12.5px; color: var(--ink-3); }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpi { padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.kpi b { display: block; font: 800 28px/1.1 var(--display); font-variant-numeric: tabular-nums; margin-top: 6px; }
.kpi span { font-size: 13.5px; color: var(--ink-3); }
.kpi--vital { border-color: var(--brand); background: linear-gradient(160deg, var(--brand-soft), var(--surface) 70%); }
.kpi--vital .eyebrow { font-size: 10.5px; }

/* ---------- forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field__label { font: 650 14px/1.2 var(--body); color: var(--ink); }
.field__hint { font-size: 13px; color: var(--ink-3); }
.field__err { font-size: 13px; color: var(--down); font-weight: 600; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 16px; line-height: 1.35; transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 96px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field.has-err .input, .field.has-err .select, .field.has-err .textarea { border-color: var(--down); }
.input-group { display: flex; align-items: stretch; }
.input-group__pre { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line-strong); border-right: 0; border-radius: 12px 0 0 12px; background: var(--surface-2); color: var(--ink-2); font-weight: 600; }
.input-group .input { border-radius: 0 12px 12px 0; }
.grid-2 { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 520px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid-3 { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.seg { display: flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--surface-2); }
.seg button { flex: 1; min-height: 40px; border: 0; border-radius: 9px; background: transparent; font: 650 14.5px/1.1 var(--body); color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }

.switch { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__track { flex: none; width: 44px; height: 26px; border-radius: 99px; background: var(--line-strong); position: relative; transition: background .15s; margin-top: 1px; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 99px; background: #fff; box-shadow: var(--shadow-1); transition: transform .18s; }
.switch input:checked + .switch__track { background: var(--brand); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.switch input:disabled ~ * { opacity: .5; }
.switch__text b { display: block; font-weight: 650; font-size: 15px; }
.switch__text span { font-size: 13px; color: var(--ink-3); }

.checks { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font-weight: 600; font-size: 14.5px; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.check:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.check:has(input:disabled) { opacity: .5; cursor: not-allowed; }

.roles { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 520px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.role { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--surface); }
.role svg { width: 26px; height: 26px; flex: none; color: var(--brand); margin-top: 2px; }
.role b { display: block; font-size: 16px; }
.role span { font-size: 13.5px; color: var(--ink-3); line-height: 1.35; display: block; margin-top: 2px; }
.role[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); }

.steps { display: flex; gap: 6px; }
.steps span { flex: 1; height: 4px; border-radius: 99px; background: var(--surface-3); }
.steps span.on { background: var(--brand); }

/* ---------- photos + voice ---------- */
.photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.photo { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 99px; border: 0; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; }
.photo button svg { width: 16px; height: 16px; }
.photo--add { display: grid; place-items: center; border: 1.5px dashed var(--line-strong); background: var(--surface); color: var(--ink-3); cursor: pointer; font: 600 12.5px/1.2 var(--body); text-align: center; }
.photo--add span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.photo--add svg { width: 26px; height: 26px; }
.voice { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
.voice__btn { width: 44px; height: 44px; border-radius: 99px; border: 0; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; flex: none; }
.voice__btn svg { width: 20px; height: 20px; }
.voice__btn.is-rec { background: var(--down); animation: recpulse 1.2s infinite; }
@keyframes recpulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--down) 25%, transparent); } }
.voice__wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 28px; }
.voice__wave i { flex: 1; border-radius: 2px; background: currentColor; opacity: .35; }
.voice__wave i.on { opacity: 1; }
.voice__time { font: 700 13px/1 var(--display); font-variant-numeric: tabular-nums; min-width: 38px; text-align: right; }
.voice__label { font-size: 13.5px; font-weight: 600; }

/* ---------- product page ---------- */
.pdp { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 32px; } }
.gallery { display: flex; flex-direction: column; gap: 8px; }
.gallery__main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 8px; }
.gallery__thumbs button { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--surface-2); }
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--brand); }
.pdp h1 { font-size: clamp(24px, 4.6vw, 34px); font-weight: 800; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14.5px; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 600; }
.pricebox { padding: 16px; border-radius: var(--radius); background: var(--surface-2); display: flex; flex-direction: column; gap: 6px; }
.pricebox--flash { background: var(--yellow); color: var(--yellow-ink); }
.pricebox .price { font-size: 30px; }
.countdown { font: 700 14px/1 var(--display); font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 6px; }
.countdown svg { width: 16px; height: 16px; }
.sticky-cta { position: sticky; bottom: calc(var(--tabs-h) + 12px + env(safe-area-inset-bottom, 0px)); z-index: 10; }
@media (min-width: 640px) { .sticky-cta { position: static; } }

.seller-card { display: flex; align-items: center; gap: 12px; padding: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); font: 800 19px/1 var(--display); letter-spacing: -.02em; }
.avatar--lg { width: 72px; height: 72px; border-radius: 20px; font-size: 28px; }
.avatar--pink { background: var(--pink); color: var(--pink-ink); }

/* ---------- asks ---------- */
.list { display: flex; flex-direction: column; }
.li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); position: relative; }
.li:last-child { border-bottom: 0; }
.li:hover { background: var(--surface-2); }
.li img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.li__title { font-weight: 650; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li__title a::after { content: ""; position: absolute; inset: 0; }
.li__sub { font-size: 13.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li__end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12.5px; color: var(--ink-3); }
.li.is-unread { background: color-mix(in srgb, var(--brand-soft) 55%, transparent); }
.li.is-unread .li__title::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 99px; background: var(--brand); margin-right: 8px; vertical-align: middle; }
.li--note { grid-template-columns: 40px minmax(0, 1fr) auto; }
.note-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.note-ico svg { width: 20px; height: 20px; }
.note-ico--up { background: var(--up-soft); color: var(--up); }
.note-ico--flash { background: var(--yellow); color: var(--yellow-ink); }
.li__body { font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.status { font: 700 11.5px/1 var(--body); letter-spacing: .04em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; }
.status--open { background: var(--warn-soft); color: var(--warn); }
.status--quoted { background: var(--brand-soft); color: var(--brand); }
.status--accepted { background: var(--up-soft); color: var(--up); }
.status--declined, .status--closed { background: var(--surface-3); color: var(--ink-3); }

.timeline { display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 520px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.bubble--me { align-self: flex-end; background: var(--brand-soft); border-color: transparent; }
.bubble--quote { border: 1.5px solid var(--brand); }
.bubble--accepted { border-color: var(--up); background: var(--up-soft); }
.bubble--superseded { opacity: .55; }
.bubble__head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); margin-bottom: 6px; flex-wrap: wrap; }
.bubble .price { font-size: 24px; }

.deal { padding: 18px; border-radius: var(--radius); background: var(--up-soft); color: var(--ink); display: flex; flex-direction: column; gap: 12px; }
.deal h3 { color: var(--up); font-size: 18px; display: flex; gap: 8px; align-items: center; }
.deal h3 svg { width: 22px; height: 22px; }
.deal .btn { white-space: normal; text-align: left; max-width: 100%; }
.stars { display: flex; gap: 4px; }
.stars button { border: 0; background: none; padding: 2px; color: var(--line-strong); }
.stars button svg { width: 30px; height: 30px; }
.stars button[aria-pressed="true"] { color: #E0A100; }

/* ---------- sell dashboard ---------- */
.mine { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px; border-bottom: 1px solid var(--line); }
.mine:last-child { border-bottom: 0; }
.mine img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.mine__actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 760px) {
  .mine { grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; }
  .mine__actions { grid-column: auto; justify-content: flex-end; }
}
.meter { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--pink-ink); border-radius: 99px; }
.meter--brand i { background: var(--brand); }

/* ---------- referral ---------- */
.refhero { padding: 20px; border-radius: var(--radius); background: var(--brand); color: var(--brand-ink); display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.refhero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 99px; border: 28px solid rgba(255,255,255,.08); }
.refcode { font: 850 30px/1 var(--display); letter-spacing: .04em; }
.refhero .btn { background: rgba(255,255,255,.14); color: var(--brand-ink); }
.refhero .btn--wa { background: #25D366; color: #06371C; }
.refhero .muted { color: color-mix(in srgb, var(--brand-ink) 72%, transparent); }
.money { font: 850 34px/1 var(--display); font-variant-numeric: tabular-nums; }
.rule { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.rule:last-child { border-bottom: 0; }
.rule b.amt { font: 800 18px/1.2 var(--display); min-width: 64px; }
.callout { padding: 14px 16px; border-radius: 12px; background: var(--warn-soft); color: var(--ink); font-size: 14px; display: flex; gap: 10px; }
.callout svg { width: 20px; height: 20px; flex: none; color: var(--warn); margin-top: 1px; }
.callout--info { background: var(--brand-soft); }
.callout--info svg { color: var(--brand); }

/* ---------- empty + skeleton ---------- */
.empty { padding: 36px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink-3); }
.empty svg { width: 40px; height: 40px; color: var(--line-strong); }
.empty b { color: var(--ink); font-size: 16px; }
.sk { background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 10px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- sheet (dialog) ---------- */
.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 560px; max-height: 92vh; border-radius: 22px 22px 0 0; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-2); overflow: hidden; }
.sheet::backdrop { background: rgba(10, 12, 30, .5); backdrop-filter: blur(2px); }
.sheet[open] { animation: sheetin .22s ease-out; display: flex; flex-direction: column; }
@keyframes sheetin { from { transform: translateY(24px); opacity: 0; } }
.sheet__grip { width: 40px; height: 4px; border-radius: 99px; background: var(--line-strong); margin: 10px auto 0; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 20px 4px; }
.sheet__head h2 { font-size: 20px; font-weight: 800; }
.sheet__body { padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .sheet { margin: auto; border-radius: 22px; } .sheet__grip { display: none; } }

/* ---------- toast ---------- */
.toasts { position: fixed; z-index: 60; left: 12px; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 10px); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
@media (min-width: 640px) { .toasts { left: auto; right: 20px; top: auto; bottom: 20px; align-items: flex-end; } }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; width: min(100%, 420px); padding: 12px 14px; border-radius: 14px; background: var(--ink); color: var(--surface); box-shadow: var(--shadow-2); animation: toastin .25s ease-out; font-size: 14.5px; }
.toast svg { width: 22px; height: 22px; flex: none; }
.toast b { display: block; font-weight: 700; }
.toast__text { flex: 1; min-width: 0; }
.toast__text span { opacity: .8; font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.toast a, .toast button { color: #FCEFB4; font-weight: 700; background: none; border: 0; padding: 4px; white-space: nowrap; }
.toast--err { background: var(--down); color: #fff; }
.toast.out { animation: toastout .2s ease-in forwards; }
@keyframes toastin { from { transform: translateY(-10px); opacity: 0; } }
@keyframes toastout { to { transform: translateY(-6px); opacity: 0; } }

/* ---------- banners ---------- */
.banner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--brand-soft); font-size: 14.5px; }
.banner svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.banner--warn { background: var(--warn-soft); }
.banner--warn svg { color: var(--warn); }
.offline-bar { position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top, 0px)); z-index: 25; background: var(--ink); color: var(--surface); font: 600 13px/1 var(--body); text-align: center; padding: 8px; }

/* ---------- landing ---------- */
.landing { display: flex; flex-direction: column; }
.hero { position: relative; overflow: hidden; background: var(--brand); color: #fff; padding: 28px 20px 0; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 32px); pointer-events: none; }
.hero__in { position: relative; max-width: 1120px; margin: 0 auto; display: grid; gap: 28px; }
@media (min-width: 900px) { .hero__in { grid-template-columns: 1.1fr .9fr; align-items: end; padding-top: 24px; } }
.hero__nav { position: relative; max-width: 1120px; margin: 0 auto 28px; display: flex; align-items: center; gap: 8px; }
.hero__nav .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero__nav .btn--ghost:hover { background: rgba(255,255,255,.1); }
.hero h1 { font-size: clamp(38px, 9vw, 68px); font-weight: 850; letter-spacing: -.035em; line-height: .98; }
.hero h1 em { font-style: normal; color: #FCEFB4; }
.hero__lede { font-size: clamp(17px, 2.4vw, 20px); line-height: 1.5; opacity: .88; max-width: 34ch; margin-top: 16px; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.hero__ctas .btn--primary { background: #FCEFB4; color: #2A2200; }
.hero__ctas .btn--primary:hover { background: #fff5c9; }
.hero__ctas .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero__proof { display: flex; gap: 20px; margin: 24px 0 28px; flex-wrap: wrap; }
.hero__proof div b { display: block; font: 850 26px/1 var(--display); font-variant-numeric: tabular-nums; }
.hero__proof div span { font-size: 13px; opacity: .75; }
.billbook { position: relative; align-self: end; }
.billbook__sheet { background: #fff; color: #141833; border-radius: 14px 14px 0 0; padding: 18px 18px 22px; box-shadow: 0 -12px 40px -12px rgba(0,0,0,.4); position: relative; z-index: 2; }
.billbook__under { position: absolute; left: 12px; right: 12px; top: -10px; bottom: 0; background: #F8DCE6; border-radius: 14px 14px 0 0; z-index: 1; transform: rotate(-1.2deg); }
.billbook__under--2 { left: 22px; right: 22px; top: -18px; background: #FCEFB4; transform: rotate(1.4deg); z-index: 0; }
.billbook__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 0; border-bottom: 1px dashed #C3C7D8; font-size: 14.5px; }
.billbook__row b { font: 800 16px var(--display); color: #2E3DA0; font-variant-numeric: tabular-nums; }
.billbook__row s { color: #6E7392; font-size: 13px; margin-right: 6px; }
.billbook__stamp { position: absolute; right: 16px; top: 14px; transform: rotate(-9deg); border: 2.5px solid #0B7D55; color: #0B7D55; font: 850 13px/1 var(--display); letter-spacing: .1em; padding: 6px 8px; border-radius: 6px; text-transform: uppercase; }
.lsec { padding: 48px 20px; }
.lsec__in { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.lsec h2 { font-size: clamp(26px, 5vw, 38px); font-weight: 850; letter-spacing: -.025em; }
.lsec__lede { color: var(--ink-2); font-size: 17px; max-width: 60ch; }
.aud { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .aud { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .aud { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.aud__card { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.aud__card svg { width: 30px; height: 30px; color: var(--brand); }
.aud__card h3 { font-size: 19px; font-weight: 750; }
.aud__card p { color: var(--ink-2); font-size: 15px; }
.aud__card ul { margin: 4px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14.5px; }
.aud__card--note { background: var(--surface-2); border-style: dashed; }
.how { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); counter-reset: how; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.how li { list-style: none; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); counter-increment: how; }
.how li::before { content: counter(how); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); font: 800 16px/1 var(--display); margin-bottom: 12px; }
.how h3 { font-size: 17px; margin-bottom: 4px; }
.how p { color: var(--ink-2); font-size: 14.5px; }
.split { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.lfoot { padding: 28px 20px 40px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }
.lfoot__in { max-width: 1120px; margin: 0 auto; display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; align-items: center; }

/* ---------- auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth__side { display: none; background: var(--brand); color: #fff; padding: 40px; position: relative; overflow: hidden; }
.auth__side::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 32px); }
@media (min-width: 960px) { .auth__side { display: flex; flex-direction: column; justify-content: space-between; } }
.auth__side h2 { font-size: 40px; font-weight: 850; letter-spacing: -.03em; max-width: 14ch; position: relative; }
.auth__side p { opacity: .85; max-width: 38ch; position: relative; }
.auth__main { padding: calc(env(safe-area-inset-top, 0px) + 20px) 20px 40px; display: flex; flex-direction: column; align-items: center; }
.auth__box { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 20px; margin-top: 12px; }
@media (min-width: 640px) { .auth__main { justify-content: center; } }
.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.demo-grid button { text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); font: 600 13.5px/1.3 var(--body); color: var(--ink-2); }
.demo-grid button b { display: block; color: var(--ink); font-size: 14.5px; }
.demo-grid button:hover { border-color: var(--brand); background: var(--brand-soft); }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 13px; font-weight: 600; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- form + live preview ---------- */
.split-form { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) {
  .split-form { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .split-form__aside { position: sticky; top: calc(var(--top-h) + 24px); }
}

/* ---------- misc ---------- */
.install-card { padding: 16px; border-radius: var(--radius); background: var(--ink); color: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.install-card .btn { background: #FCEFB4; color: #2A2200; }
.kbd-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font: 700 11.5px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl-wrap { overflow-x: auto; }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker__track { animation: none; overflow-x: auto; }
}
