/* ПРОТОК v3 · сторінка компанії й магазин партнера.
   Світ «Склад»: білий фон, графіт, один вермільйон; Oswald для заголовків і кнопок, Fixel Text для тексту й цифр.
   Кути: кнопки, поля, мітки 3px; картки, фото, панелі 8px. Тінь тільки в того, що плаває над контентом. */

@font-face { font-family: 'Fixel Text'; src: url('../fonts/fixel-text-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fixel Text'; src: url('../fonts/fixel-text-medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fixel Text'; src: url('../fonts/fixel-text-semibold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fixel Text'; src: url('../fonts/fixel-text-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #151515;
  --ink-2: #3b3b3b;
  --muted: #666461;
  --line: #e5e2dd;
  --line-2: #d3cfc8;
  --paper: #ffffff;
  --tile: #f3f1ed;
  --tile-2: #e9e6e0;
  --night: #121212;
  --night-2: #1d1d1d;
  --night-line: #2e2e2e;
  --on-night: #f4f2ee;
  --on-night-2: #a9a6a0;
  --flame: #dc3a12;
  --flame-hover: #bf300d;
  --flame-ink: #c2330f;
  --flame-tint: #fdece6;
  --ok: #1d7549;
  --ok-tint: #e3f1e8;
  --warn: #8f5200;
  --warn-tint: #fff1d9;

  --f-display: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --f-text: 'Fixel Text', 'Helvetica Neue', Arial, sans-serif;

  --r-s: 3px;
  --r: 8px;
  --wrap: 1360px;
  --gut: clamp(16px, 3.3vw, 48px);
  --sec: clamp(72px, 8vw, 120px);
  --float: 0 22px 48px -22px rgba(21, 21, 21, 0.42), 0 2px 8px -2px rgba(21, 21, 21, 0.14);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------------------------------------------ base */
[hidden] { display: none !important; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { height: auto; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--flame); color: #fff; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-s); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.num, .tnum { white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.nowrap { white-space: nowrap; }

/* ------------------------------------------------------------------ type */
.display, .h2, .h3, .kicker, .btn, .nav-links a, .wordmark, .tabs a, .catbar a, .badge, .step__n {
  font-family: var(--f-display);
  text-transform: uppercase;
}
.display { font-weight: 700; font-size: clamp(2.75rem, 6.3vw, 6rem); line-height: 0.95; letter-spacing: -0.004em; }
.h2 { font-weight: 600; font-size: clamp(2.1rem, 3.7vw, 3.5rem); line-height: 0.98; letter-spacing: 0.006em; }
.h3 { font-weight: 500; font-size: clamp(1.35rem, 1.7vw, 1.6rem); line-height: 1.08; letter-spacing: 0.01em; }
.kicker { font-weight: 500; font-size: 0.875rem; letter-spacing: 0.08em; line-height: 1.2; }
.lead { font-size: clamp(1.05rem, 1.2vw, 1.175rem); line-height: 1.55; color: var(--ink-2); max-width: 38em; }
.muted { color: var(--muted); }
.flame { color: var(--flame-ink); }

/* ------------------------------------------------------------------ buttons & controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0 28px;
  border: 1.5px solid transparent; border-radius: var(--r-s);
  font-weight: 500; font-size: 1.0625rem; letter-spacing: 0.055em; line-height: 1;
  white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--flame { background: var(--flame); color: #fff; }
.btn--flame:hover { background: var(--flame-hover); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2c2c2c; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--light { border-color: rgba(255, 255, 255, 0.92); color: #fff; background: rgba(18, 18, 18, 0.18); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn.is-added { background: var(--ok); border-color: var(--ok); color: #fff; }

.link { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.link:hover { text-decoration-thickness: 2px; }
.link--arrow { text-decoration: none; font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem; min-height: 44px; }
.link--arrow .icon { transform: rotate(-90deg); transition: transform 0.25s var(--ease); }
.link--arrow:hover .icon { transform: rotate(-90deg) translateY(4px); }

.input, .select {
  width: 100%; min-height: 48px; padding: 0 14px;
  background: #fff; color: var(--ink);
  border: 1.5px solid var(--line-2); border-radius: var(--r-s);
  font: 500 1rem/1.2 var(--f-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input::placeholder { color: #86837e; font-weight: 400; }
.input:hover, .select:hover { border-color: #a9a49c; }
.input:focus, .select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21, 21, 21, 0.1); }
.input[aria-invalid='true'] { border-color: var(--flame); }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23151515' d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px; background-position: right 14px center; cursor: pointer; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field__err { color: var(--flame-ink); font-size: 0.875rem; font-weight: 500; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--line-2); border-radius: var(--r-s); background: #fff;
  font: 600 0.9375rem/1 var(--f-text); color: var(--ink); cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip__n { font-weight: 500; opacity: 0.7; }

.check { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; font-weight: 500; font-size: 0.9375rem; }
.check input { appearance: none; width: 20px; height: 20px; flex: none; border: 1.5px solid #8f8a82; border-radius: var(--r-s); background: #fff; display: grid; place-content: center; cursor: pointer; margin: 0; }
.check input::after { content: ''; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { opacity: 1; }
.check .cnt { margin-left: auto; color: var(--muted); font-weight: 500; }

.stepper { display: inline-flex; align-items: stretch; height: 52px; border: 1.5px solid var(--line-2); border-radius: var(--r-s); background: #fff; }
.stepper button { width: 46px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: var(--tile); }
.stepper input { width: 72px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font: 600 1.0625rem var(--f-text); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper--sm { height: 40px; }
.stepper--sm button { width: 38px; }
.stepper--sm input { width: 58px; font-size: 0.9375rem; }

.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: var(--r-s); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.06em; background: var(--flame); color: #fff; white-space: nowrap; }
.badge--new { background: var(--ink); }

.status { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border-radius: 99px; font-weight: 600; font-size: 0.8125rem; white-space: nowrap; background: var(--tile); color: var(--ink-2); }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--new { background: #eceae6; color: var(--ink); }
.status--way { background: var(--warn-tint); color: var(--warn); }
.status--done { background: var(--ok-tint); color: var(--ok); }
.status--paid { background: var(--ok-tint); color: var(--ok); }
.status--back { background: var(--flame-tint); color: var(--flame-ink); }

/* ------------------------------------------------------------------ top bar + site nav */
.topbar { background: var(--night); color: var(--on-night); font-size: 0.8125rem; font-weight: 500; }
.topbar__in { display: flex; align-items: center; justify-content: center; gap: 28px; min-height: 36px; text-align: center; }
.topbar__in--app { justify-content: space-between; }
.topbar a { text-decoration: underline; text-underline-offset: 0.2em; }
.topbar b { font-weight: 600; }

.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.nav__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; gap: 24px; }
.nav-links { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav-links a { font-weight: 500; font-size: 1rem; letter-spacing: 0.06em; padding: 10px 0; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--flame); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current='page']::after { transform: scaleX(1); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.95rem; letter-spacing: 0.03em; line-height: 1; }
.wordmark::before { content: ''; width: 0.62em; height: 0.62em; background: var(--flame); border-radius: 2px; }
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.nav__login { font-weight: 600; font-size: 0.9375rem; padding: 12px 12px; }
.nav__login:hover { color: var(--flame-ink); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-s); background: none; border: 0; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--tile); }
.icon-btn .icon { width: 24px; height: 24px; }
.icon-btn__n { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--flame); color: #fff; font: 600 11px/18px var(--f-text); text-align: center; }
.burger { display: none; }

.sheet { position: fixed; inset: 0; z-index: 60; background: #fff; display: flex; flex-direction: column; padding: 18px var(--gut) 32px; overflow-y: auto; }
.sheet[hidden] { display: none; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; min-height: 52px; }
.sheet nav { display: grid; margin-top: 28px; border-top: 1px solid var(--line); }
.sheet nav a { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; font-size: 2.1rem; letter-spacing: 0.01em; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sheet .btn { margin-top: 28px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; isolation: isolate; color: #fff; height: clamp(600px, calc(100svh - 112px), 880px); overflow: hidden; background: #2a2a2a; }
.hero__photo { position: absolute; inset: 0; z-index: -2; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(12, 12, 12, 0.8) 0%, rgba(12, 12, 12, 0.62) 30%, rgba(12, 12, 12, 0.18) 58%, rgba(12, 12, 12, 0) 72%),
  linear-gradient(0deg, rgba(12, 12, 12, 0.45) 0%, rgba(12, 12, 12, 0) 38%); }
.hero__in { height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 24px; padding-bottom: 56px; }
.hero h1 { max-width: 11.5em; }
.hero h1 .hl { display: block; }
.hero__sub { margin-top: 22px; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; max-width: 34em; color: rgba(255, 255, 255, 0.92); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__cta .btn { min-height: 58px; padding: 0 32px; font-size: 1.125rem; }

.pcard { background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--float); display: grid; grid-template-columns: 128px 1fr; gap: 18px; padding: 18px 22px 18px 16px; width: 440px; }
.pcard__img { background: var(--tile); border-radius: 6px; display: grid; place-items: center; overflow: hidden; }
.pcard__img img { width: 100%; height: auto; mix-blend-mode: multiply; }
.pcard__code { font-size: 0.875rem; color: var(--muted); font-weight: 500; }
.pcard__name { font-weight: 600; font-size: 1.0625rem; line-height: 1.3; margin-top: 2px; }
.pcard dl { margin-top: 10px; }
.pcard dl div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 0.96875rem; }
.pcard dt { color: var(--ink-2); }
.pcard dd { font-weight: 600; white-space: nowrap; }
.pcard .is-income dt, .pcard .is-income dd { color: var(--flame-ink); font-weight: 700; }
.hero .pcard { position: absolute; right: var(--gut); bottom: 44px; }
.pcard__link { position: absolute; inset: 0; border-radius: inherit; }

/* ------------------------------------------------------------------ sections */
.sec { padding: var(--sec) 0; }
.sec--tight { padding: clamp(56px, 6vw, 88px) 0; }
main > .sec + .sec, main > .sec + .sec--tight, main > .sec--tight + .sec { padding-top: 0; }
main > .stats + .sec { padding-top: clamp(64px, 7vw, 104px); }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.sec__head .lead { margin-top: 14px; }

/* stats */
.stats { border-bottom: 1px solid var(--line); }
.stats__row { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: clamp(26px, 3vw, 40px) clamp(14px, 1.8vw, 28px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(2.3rem, 3.9vw, 3.6rem); line-height: 1; letter-spacing: 0.005em; }
.stat b.is-word { text-transform: uppercase; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 0.9375rem; line-height: 1.4; max-width: 15em; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-tile { position: relative; display: block; aspect-ratio: 16 / 11; border-radius: var(--r); background: var(--tile); overflow: hidden; transition: background-color 0.3s var(--ease); }
.cat-tile:hover { background: var(--tile-2); }
.cat-tile img { position: absolute; right: 2%; top: 50%; width: 64%; height: auto; transform: translateY(-54%); mix-blend-mode: multiply; transition: transform 0.6s var(--ease); }
.cat-tile:hover img { transform: translateY(-54%) scale(1.045); }
.cat-tile__t { position: absolute; left: 24px; bottom: 22px; }
.cat-tile__t b { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 2.3vw, 2.2rem); text-transform: uppercase; line-height: 1; letter-spacing: 0.01em; }
.cat-tile__t span { display: block; margin-top: 8px; font-size: 0.9375rem; color: var(--muted); }
.cat-tile__go { position: absolute; top: 18px; left: 20px; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: background-color 0.25s ease, color 0.25s ease; }
.cat-tile__go .icon { width: 18px; height: 18px; transform: rotate(-90deg); }
.cat-tile:hover .cat-tile__go { background: var(--flame); color: #fff; }

/* ways to work: tabs + photo + steps */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.ways__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--tile); }
.ways__media img { width: 100%; height: 100%; object-fit: cover; }
.ways__media img[data-for='dealer'] { object-position: 62% center; }
.ways__media img[data-for='drop'] { object-position: 30% center; }
.ttn { position: absolute; left: 20px; right: 20px; bottom: 20px; background: #fff; border-radius: var(--r); box-shadow: var(--float); padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; font-size: 0.9375rem; }
.ttn__k { color: var(--muted); font-size: 0.8125rem; font-weight: 500; }
.ttn__v { font-weight: 600; }
.ttn__bar { grid-column: 1 / -1; height: 30px; margin-top: 8px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); opacity: 0.85; border-radius: 1px; }
.seg { display: inline-flex; padding: 4px; border-radius: 6px; background: var(--tile); gap: 4px; margin: 24px 0 30px; flex-wrap: wrap; }
.seg button, .seg label span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 4px; border: 0; background: none; cursor: pointer; font: 600 0.9375rem/1 var(--f-text); color: var(--ink-2); }
.seg button[aria-selected='true'], .seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(21, 21, 21, 0.12); }
.seg label { display: inline-flex; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:focus-visible + span { outline: 2px solid var(--flame); outline-offset: 2px; }
.steps { display: grid; gap: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { grid-row: span 2; font-weight: 600; font-size: 2.6rem; line-height: 0.9; color: var(--flame); }
.step p { color: var(--ink-2); }
.ways__cta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.ways__cta small { color: var(--muted); font-size: 0.9375rem; }

/* platform: dark block with real screenshots */
.platform { background: var(--night); color: var(--on-night); padding: var(--sec) 0 calc(var(--sec) * 0.9); overflow: hidden; }
.platform .lead { color: var(--on-night-2); }
.shots { position: relative; margin-top: clamp(36px, 4vw, 56px); padding-right: clamp(0px, 9vw, 150px); }
.shot { border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); border: 1px solid #2a2a2a; }
.shot__bar { display: flex; gap: 6px; align-items: center; height: 30px; padding: 0 12px; background: #eceae6; }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9c5be; }
.shot__bar span { margin-left: 14px; font-size: 0.75rem; color: #6d6a64; }
.shot img { display: block; width: 100%; height: auto; }
.phone { position: absolute; right: 0; bottom: -56px; width: clamp(160px, 20vw, 270px); border-radius: 30px; padding: 9px; background: #0b0b0b; border: 1px solid #333; box-shadow: 0 40px 70px -24px rgba(0, 0, 0, 0.8); }
.phone img { border-radius: 22px; display: block; width: 100%; height: auto; }
.perks.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 3vw, 48px); margin-top: clamp(64px, 7vw, 96px); }
.perk { padding: 22px 0 26px; border-top: 1px solid var(--night-line); display: grid; grid-template-columns: 28px 1fr; gap: 4px 14px; }
.perk .icon { color: var(--flame); width: 24px; height: 24px; margin-top: 2px; grid-row: span 2; }
.perk b { font-weight: 600; font-size: 1.0625rem; }
.perk span { color: var(--on-night-2); font-size: 0.9375rem; line-height: 1.5; }

/* price table */
.ptable { width: 100%; border-collapse: collapse; }
.ptable th { text-align: left; font: 500 0.8125rem/1.2 var(--f-display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 0 16px 14px; border-bottom: 1.5px solid var(--ink); }
.ptable th.num, .ptable td.num { text-align: right; }
.ptable td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 1rem; }
.ptable tbody tr { transition: background-color 0.15s ease; }
.ptable tbody tr:hover { background: #faf9f7; }
.ptable td.num { font-weight: 600; }
.ptable td.is-income { color: var(--flame-ink); font-weight: 700; font-size: 1.0625rem; }
.ptable .muted-num { color: var(--ink-2); font-weight: 500; }
.pitem { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; }
.pitem__img { width: 64px; height: 64px; border-radius: 6px; background: var(--tile); display: grid; place-items: center; overflow: hidden; }
.pitem__img img { width: 100%; height: auto; mix-blend-mode: multiply; }
.pitem b { display: block; font-size: 0.8125rem; color: var(--muted); font-weight: 500; }
.pitem a { font-weight: 600; }
.pitem a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.ptable__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: 0.9375rem; }

/* testimonials */
.quotes { display: grid; grid-template-columns: 1.45fr 1fr; gap: 16px; }
.quotes__side { display: grid; gap: 16px; }
.quote { background: var(--tile); border-radius: var(--r); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.quote--big { display: grid; grid-template-columns: 0.9fr 1fr; padding: 0; overflow: hidden; gap: 0; }
.quote--big figure { margin: 0; min-height: 100%; }
.quote--big figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.quote--big .quote__body { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.quote blockquote p { font-size: clamp(1.08rem, 1.3vw, 1.25rem); line-height: 1.5; font-weight: 500; }
.quote--big blockquote p { font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.42; }
.quote__who { display: flex; align-items: center; gap: 14px; }
.quote__who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote__who b { display: block; font-weight: 600; }
.quote__who span { display: block; color: var(--muted); font-size: 0.9375rem; }
.quote__fact { border-top: 1px solid var(--line-2); padding-top: 18px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.quote__fact b { font-family: var(--f-display); font-weight: 600; font-size: 2.2rem; line-height: 1; color: var(--flame); }
.quote__fact span { color: var(--ink-2); font-size: 0.9375rem; }

/* brands */
.brands { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands__t { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1rem; line-height: 1.3; max-width: 11em; }
.brands ul { display: grid; grid-template-columns: repeat(6, 1fr); }
.brands li { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; color: #57544f; border-left: 1px dashed var(--line-2); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
.brands li svg { width: 28px; height: 28px; flex: none; }

/* join */
.join { background: var(--flame); color: #fff; border-radius: var(--r); padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.join .lead { color: rgba(255, 255, 255, 0.92); margin-top: 18px; }
.join__facts.join__facts { margin-top: 26px; display: grid; gap: 10px; }
.join__facts li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.join__facts .icon { width: 22px; height: 22px; margin-top: 1px; }
.jform { background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 16px; box-shadow: 0 24px 50px -28px rgba(80, 20, 0, 0.6); }
.jform__t { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.jform .seg { margin: 0; display: flex; }
.jform .seg label { flex: 1; }
.jform .seg label span { width: 100%; justify-content: center; padding: 0 10px; text-align: center; }
.jform__note { font-size: 0.875rem; color: var(--muted); }
.jdone { display: grid; gap: 12px; }
.jdone .icon { width: 40px; height: 40px; color: var(--ok); }
.jdone h3 { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; font-size: 1.6rem; line-height: 1; }

/* footer */
.foot { background: var(--night); color: var(--on-night); padding: clamp(56px, 6vw, 88px) 0 28px; }
.foot--app { margin-top: 80px; }
.foot__top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; }
.foot .wordmark { font-size: 2.3rem; }
.foot__about { margin-top: 18px; color: var(--on-night-2); max-width: 24em; font-size: 0.9375rem; }
.foot h2 { font-family: var(--f-display); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-night-2); margin-bottom: 14px; }
.foot ul { display: grid; gap: 4px; }
.foot li a, .foot li span { display: inline-block; padding: 5px 0; font-size: 0.9375rem; }
.foot li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.foot__base { margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: 0.875rem; color: var(--on-night-2); }
.foot__made a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
.foot__made span { display: block; }

/* ------------------------------------------------------------------ platform app: header */
.appnav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.97); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.appnav__in { display: grid; grid-template-columns: auto minmax(220px, 1fr) auto auto auto; align-items: center; gap: clamp(14px, 1.8vw, 28px); min-height: 76px; }
.appnav .wordmark { font-size: 1.7rem; }
.search { position: relative; display: flex; align-items: center; }
.search > .icon { position: absolute; left: 14px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 48px; padding: 0 44px 0 44px; border: 1.5px solid var(--line-2); border-radius: var(--r-s); background: #fff; font: 500 1rem var(--f-text); color: var(--ink); }
.search input::placeholder { color: #86837e; font-weight: 400; }
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21, 21, 21, 0.1); }
.search input::-webkit-search-cancel-button { display: none; }
.search__clear { position: absolute; right: 4px; width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--muted); }
.applinks { display: flex; gap: 4px; }
.applinks a { font-family: var(--f-display); text-transform: uppercase; font-weight: 500; letter-spacing: 0.06em; font-size: 0.975rem; padding: 12px 12px; border-radius: var(--r-s); }
.applinks a:hover { background: var(--tile); }
.applinks a[aria-current='page'] { color: var(--flame-ink); }
.who { display: grid; line-height: 1.25; padding: 6px 12px; border-left: 1px solid var(--line); }
.who b { font-weight: 600; font-size: 0.9375rem; }
.who span { font-size: 0.8125rem; color: var(--muted); }
.who .free { color: var(--ink); font-weight: 600; }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: var(--r-s); border: 0; background: var(--ink); color: #fff; cursor: pointer; font: 500 1rem/1 var(--f-display); text-transform: uppercase; letter-spacing: 0.06em; }
.cart-btn:hover { background: #2c2c2c; }
.cart-btn .icon { width: 22px; height: 22px; }
.cart-btn__n { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--flame); color: #fff; font: 600 0.8125rem/24px var(--f-text); text-align: center; }
.cart-btn.is-bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.08); } 100% { transform: scale(1); } }
.catbar { border-bottom: 1px solid var(--line); background: #fff; }
.catbar ul { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.catbar ul::-webkit-scrollbar { display: none; }
.catbar a, .catbar button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; font-family: var(--f-display); text-transform: uppercase; font-weight: 500; font-size: 0.95rem; letter-spacing: 0.06em; white-space: nowrap; background: none; border: 0; cursor: pointer; color: var(--ink); position: relative; }
.catbar a::after, .catbar button::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--flame); transform: scaleX(0); transition: transform 0.25s var(--ease); }
.catbar a:hover::after, .catbar button:hover::after, .catbar [aria-current='true']::after { transform: scaleX(1); }
.catbar .is-sale { color: var(--flame-ink); }
.catbar li:first-child a, .catbar li:first-child button { padding-left: 0; }
.catbar li:first-child a::after, .catbar li:first-child button::after { left: 0; }

.page { padding-top: clamp(24px, 3vw, 40px); }
.crumbs.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: var(--muted); margin-bottom: 20px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: #b4afa7; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* banners */
.banners { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.banner { position: relative; border-radius: var(--r); overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: clamp(22px, 2.6vw, 36px); min-height: 208px; }
.banner--big { grid-row: span 2; grid-template-columns: 1fr; align-content: space-between; background: var(--flame); color: #fff; min-height: 400px; }
.banner--tile { background: var(--tile); }
.banner--night { background: var(--night); color: #fff; }
.banner .kicker { display: inline-flex; }
.banner h2 { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; font-size: clamp(1.55rem, 2.1vw, 2.1rem); line-height: 1; margin-top: 12px; letter-spacing: 0.005em; }
.banner--big h2 { font-size: clamp(2.3rem, 3.7vw, 3.6rem); line-height: 0.96; max-width: 9em; }
.banner p { margin-top: 10px; font-size: 0.975rem; line-height: 1.45; }
.banner--tile p { color: var(--ink-2); }
.banner--night p { color: var(--on-night-2); }
.banner .btn, .banner .link--arrow { margin-top: 18px; }
.banner--night .link--arrow, .banner--night .link { color: #fff; }
.banner__img { width: clamp(120px, 12vw, 176px); aspect-ratio: 1; border-radius: 6px; display: grid; place-items: center; overflow: hidden; }
.banner__img img, .deal__img img { width: 100%; height: 100%; object-fit: contain; }
.banner--tile .banner__img img { mix-blend-mode: multiply; }
.banner--night .banner__img { background: #fff; }
.deals { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.deal { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: #fff; color: var(--ink); border-radius: 6px; padding: 12px; }
.deal:hover { box-shadow: 0 10px 24px -14px rgba(60, 12, 0, 0.7); }
.deal__img { width: 96px; height: 96px; border-radius: 4px; background: var(--tile); display: grid; place-items: center; overflow: hidden; }
.deal__img img { mix-blend-mode: multiply; }
.deal b { display: block; font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.deal span { display: block; font-size: 0.8125rem; color: var(--muted); }
.deal .deal__price { margin-top: 6px; font-size: 1.125rem; font-weight: 700; color: var(--flame-ink); }
.deal s { color: var(--muted); font-weight: 500; font-size: 0.875rem; margin-left: 6px; }
.deal a::after { content: ''; position: absolute; inset: 0; }

/* category tiles, small */
.minicats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 16px 0 0; }
.minicat { display: grid; grid-template-rows: auto auto; background: var(--tile); border-radius: var(--r); padding: 12px 14px 14px; transition: background-color 0.2s ease; text-align: left; border: 0; cursor: pointer; color: var(--ink); width: 100%; }
.minicat:hover, .minicat[aria-current='true'] { background: var(--tile-2); }
.minicat[aria-current='true'] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.minicat img { width: 60%; aspect-ratio: 1; object-fit: contain; margin: 0 auto 6px; mix-blend-mode: multiply; }
.minicat b { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; font-size: 1.15rem; letter-spacing: 0.02em; line-height: 1.1; }
.minicat span { font-size: 0.8125rem; color: var(--muted); }

/* shop */
.shop { display: grid; grid-template-columns: 248px 1fr; gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 4vw, 56px); align-items: start; }
.side { position: sticky; top: 96px; display: grid; gap: 28px; }
.side h2 { font-family: var(--f-display); text-transform: uppercase; font-weight: 500; font-size: 0.875rem; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; }
.side__cats { display: grid; }
.side__cat { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 40px; padding: 0 10px; margin: 0 -10px; width: calc(100% + 20px); border-radius: var(--r-s); background: none; border: 0; font: 500 0.9875rem/1.2 var(--f-text); color: var(--ink); cursor: pointer; text-align: left; }
.side__cat:hover { background: var(--tile); }
.side__cat[aria-current='true'] { background: var(--ink); color: #fff; }
.side__cat span { color: var(--muted); font-size: 0.875rem; }
.side__cat[aria-current='true'] span { color: rgba(255, 255, 255, 0.7); }
.side__help { background: var(--tile); border-radius: var(--r); padding: 18px; font-size: 0.9375rem; line-height: 1.45; }
.side__help b { display: block; margin-bottom: 6px; }
.toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.toolbar h1 { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; }
.toolbar__meta { color: var(--muted); margin-top: 8px; }
.toolbar__meta b { color: var(--ink); }
.sort { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.9375rem; }
.sort .select { width: auto; min-width: 210px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; transition: border-color 0.2s ease, box-shadow 0.25s var(--ease); }
.card:hover { border-color: var(--line-2); box-shadow: 0 18px 36px -24px rgba(21, 21, 21, 0.4); }
.card[hidden] { display: none; }
.card__img { position: relative; display: block; aspect-ratio: 1; background: var(--tile); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transform: scale(0.9); transition: transform 0.5s var(--ease); }
.card:hover .card__img img { transform: scale(0.95); }
.card__img .badge { position: absolute; left: 12px; top: 12px; z-index: 1; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; flex: 1; }
.card__code { font-size: 0.8125rem; color: var(--muted); font-weight: 500; }
.card__name { font-weight: 600; font-size: 1rem; line-height: 1.3; min-height: 2.6em; }
.card__name a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.card__name a::after { content: ''; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 10px; gap: 6px; align-items: end; }
.trio dt { font-size: 0.75rem; color: var(--muted); font-weight: 500; line-height: 1.2; }
.trio dd { font-weight: 600; font-size: 0.96875rem; white-space: nowrap; margin-top: 3px; }
.trio dd small { font-weight: 500; font-size: 0.75rem; color: var(--muted); }
.trio .is-income dt, .trio .is-income dd { color: var(--flame-ink); }
.trio .is-income dd { font-weight: 700; }
.trio s { display: block; font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.card__was { font-size: 0.8125rem; color: var(--flame-ink); font-weight: 500; margin-top: -2px; }
.trio dt { white-space: nowrap; }
.card__stock { font-size: 0.8125rem; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.card__stock .is-out { color: var(--flame-ink); }
.card__foot { margin-top: auto; display: flex; gap: 8px; }
.card__foot .btn { flex: 1; position: relative; z-index: 1; }
.empty { border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: 48px 24px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.empty h2 { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; font-size: 1.8rem; }
.empty p { color: var(--ink-2); max-width: 32em; }
.grid-foot { margin-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 0.9375rem; padding-top: 18px; border-top: 1px solid var(--line); }

/* product page */
.pd { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.gallery { display: grid; gap: 12px; position: sticky; top: 96px; }
.gallery__main { position: relative; border-radius: var(--r); background: var(--tile); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.gallery__main img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__main img.is-photo { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.gallery__main .badge { position: absolute; left: 16px; top: 16px; }
.thumbs { display: flex; gap: 10px; }
.thumb { width: 88px; height: 88px; border-radius: 6px; overflow: hidden; background: var(--tile); border: 1.5px solid transparent; padding: 0; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb img.is-pack { object-fit: contain; mix-blend-mode: multiply; }
.thumb[aria-pressed='true'] { border-color: var(--ink); }
.info { display: grid; gap: 24px; }
.info__meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 0.9375rem; font-weight: 500; }
.info__meta .code { color: var(--ink); }
.info h1 { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; font-size: clamp(2rem, 3.3vw, 3.1rem); line-height: 1; letter-spacing: 0.005em; margin-top: 10px; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.prices > div { padding: 16px 18px 18px; border-left: 1px solid var(--line-2); }
.prices > div:first-child { border-left: 0; }
.prices dt { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.prices dd { margin-top: 6px; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1; white-space: nowrap; }
.prices dd small { font-family: var(--f-text); font-size: 0.875rem; font-weight: 500; margin-left: 4px; }
.prices s { display: block; font-family: var(--f-text); font-size: 0.875rem; font-weight: 500; color: var(--muted); margin-top: 6px; }
.prices .is-mine { background: var(--tile); }
.prices .is-income { background: var(--flame); color: #fff; border-left-color: var(--flame); }
.prices .is-income dt { color: rgba(255, 255, 255, 0.85); }
.buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.buy .btn { min-height: 52px; flex: 1; min-width: 200px; }
.buy__sum { width: 100%; color: var(--ink-2); font-size: 0.9375rem; }
.buy__sum b { color: var(--ink); }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.5; }
.facts .icon { width: 22px; height: 22px; margin-top: 1px; }
.facts b { font-weight: 600; }
.stockrow { display: flex; gap: 22px; flex-wrap: wrap; }
.stockrow span { display: inline-flex; gap: 6px; align-items: baseline; }
.specs h2, .related h2 { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; font-size: 1.5rem; margin-bottom: 12px; }
.specs dl { display: grid; grid-template-columns: 1fr 1.2fr; }
.specs dt, .specs dd { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 500; }
.related { margin-top: clamp(56px, 6vw, 88px); }

/* cabinet */
.pagehead { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.pagehead h1 { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; }
.pagehead p { color: var(--muted); margin-top: 8px; }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-top: 22px; }
.tabs a { font-weight: 500; font-size: 1.0625rem; letter-spacing: 0.05em; padding: 14px 0 12px; position: relative; color: var(--muted); }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current='page'] { color: var(--ink); }
.tabs a[aria-current='page']::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--flame); }
.acct { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 36px; }
.acct > div { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px 20px; display: grid; align-content: start; gap: 6px; }
.acct dt { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.acct dd { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 2.4vw, 2.3rem); line-height: 1; white-space: nowrap; }
.acct .acct__note { font-family: var(--f-text); font-size: 0.8125rem; font-weight: 500; color: var(--muted); white-space: normal; line-height: 1.4; }
.acct .is-free { background: var(--ink); border-color: var(--ink); color: #fff; }
.acct .is-free dt, .acct .is-free .acct__note { color: rgba(255, 255, 255, 0.72); }
.acct .mgr { background: var(--tile); border-color: var(--tile); grid-template-columns: 48px 1fr; align-items: center; gap: 4px 14px; }
.acct .mgr .mgr__av { color: #fff; font-size: 1rem; }
.mgr__av { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 1rem var(--f-display); }
.acct .mgr b { font-weight: 600; font-size: 1rem; }
.acct .mgr span { font-size: 0.8125rem; color: var(--ink-2); line-height: 1.4; }
.bar2 { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.bar2 h2 { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; font-size: 1.6rem; line-height: 1; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.orders { width: 100%; border-collapse: collapse; }
.orders th { text-align: left; font: 500 0.8125rem/1.2 var(--f-display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 12px 14px; border-bottom: 1.5px solid var(--ink); }
.orders th.num, .orders td.num { text-align: right; }
.orders td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 0.9625rem; }
.orders td small { display: block; color: var(--muted); font-size: 0.8125rem; margin-top: 2px; }
.orders tr.o-row:hover { background: #faf9f7; }
.orders .is-hidden { display: none; }
.o-no button { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 6px 0; cursor: pointer; font: 600 1rem var(--f-text); color: var(--ink); min-height: 44px; }
.o-no button .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.o-no button[aria-expanded='true'] .icon { transform: rotate(180deg); }
.o-no button:hover { color: var(--flame-ink); }
.o-kind { font-weight: 500; }
.o-inc { font-weight: 700; color: var(--flame-ink); }
.o-inc.is-zero { color: var(--muted); font-weight: 500; }
.detail > td { background: #faf9f7; padding: 0 14px; }
.detail__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; padding: 20px 0 24px; }
.dlines { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.dlines th { text-align: left; font-weight: 600; font-size: 0.8125rem; color: var(--muted); padding: 0 10px 8px 0; border-bottom: 1px solid var(--line-2); }
.dlines td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); }
.dlines tfoot td { font-weight: 700; border-bottom: 0; }
.dlines .num { text-align: right; }
.dl-item b { display: block; font-size: 0.8125rem; color: var(--muted); font-weight: 500; }
.detail__side dl { display: grid; gap: 12px; }
.detail__side dt { font-size: 0.8125rem; color: var(--muted); font-weight: 600; }
.detail__side dd { font-weight: 500; }
.detail__side p { margin-top: 16px; }
.more { display: flex; align-items: center; gap: 18px; margin-top: 22px; color: var(--muted); font-size: 0.9375rem; }
.more[hidden] { display: none; }

/* payouts */
.ledger { display: grid; grid-template-columns: 1fr auto 1fr auto 1.1fr; align-items: stretch; gap: 14px; margin: 28px 0 40px; }
.ledger__item { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px 22px; display: grid; gap: 6px; align-content: start; }
.ledger__item dt { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.ledger__item dd { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 3vw, 2.9rem); line-height: 1; white-space: nowrap; }
.ledger__item small { display: block; font-family: var(--f-text); font-size: 0.8125rem; font-weight: 500; color: var(--muted); margin-top: 10px; white-space: normal; line-height: 1.4; }
.ledger__op { display: grid; place-items: center; font: 500 2rem var(--f-display); color: var(--muted); }
.ledger .is-next { background: var(--flame); border-color: var(--flame); color: #fff; }
.ledger .is-next dt, .ledger .is-next small { color: rgba(255, 255, 255, 0.85); }
.twocol { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(28px, 3vw, 48px); align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 2vw, 26px); }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; font-size: 1.45rem; line-height: 1; margin-bottom: 16px; }
.chart { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; height: 210px; padding: 8px 0 0; border-bottom: 1.5px solid var(--ink); }
.chart__col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.chart__col b { font-weight: 600; font-size: 0.9375rem; white-space: nowrap; }
.chart__bar { display: block; width: 100%; max-width: 64px; background: var(--ink); border-radius: 4px 4px 0 0; }
.chart__col.is-next .chart__bar { background: repeating-linear-gradient(135deg, var(--flame) 0 6px, #e8683f 6px 12px); }
.chart__col.is-next b { color: var(--flame-ink); }
.chart__x { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; text-align: center; font-size: 0.8125rem; color: var(--muted); }
.split.split { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.split li { background: var(--tile); border-radius: 99px; padding: 6px 14px; font-size: 0.875rem; font-weight: 500; }
.split b { }
.note { margin-top: 14px; font-size: 0.875rem; color: var(--muted); line-height: 1.5; }

/* ------------------------------------------------------------------ cart drawer */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(12, 12, 12, 0.42); opacity: 0; transition: opacity 0.3s ease; }
.scrim.is-open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(480px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.36s var(--ease); box-shadow: -24px 0 60px -30px rgba(12, 12, 12, 0.5); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; font-size: 1.6rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 16px 22px 22px; display: grid; gap: 14px; background: #fff; }
.drawer__foot .seg { margin: 0; display: flex; width: 100%; }
.drawer__foot .seg label { flex: 1; }
.drawer__foot .seg span { width: 100%; justify-content: center; padding: 0 8px; text-align: center; font-size: 0.875rem; }
.drawer-empty { padding: 40px 0; display: grid; gap: 16px; justify-items: start; color: var(--ink-2); }
.lines { display: grid; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 6px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line__img { grid-row: span 3; width: 64px; height: 64px; border-radius: 6px; background: var(--tile); overflow: hidden; }
.line__img img { mix-blend-mode: multiply; }
.line__t { font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
.line__t b { display: block; font-size: 0.8125rem; color: var(--muted); font-weight: 500; }
.line__sum { font-weight: 700; white-space: nowrap; }
.line__row2 { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.line__unit { font-size: 0.8125rem; color: var(--muted); }
.line__del { grid-column: 2; justify-self: start; background: none; border: 0; padding: 4px 0; font: 500 0.8125rem var(--f-text); color: var(--muted); text-decoration: underline; cursor: pointer; min-height: 32px; }
.line__del:hover { color: var(--flame-ink); }
.buyer { display: grid; gap: 10px; }
.buyer[hidden] { display: none; }
.sum { display: grid; gap: 6px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9375rem; }
.sum dd { font-weight: 600; white-space: nowrap; }
.sum .is-income dt, .sum .is-income dd { color: var(--flame-ink); font-weight: 700; }
.sum .is-total { padding-top: 8px; border-top: 1px solid var(--line); font-size: 1.0625rem; }
.sum .is-total dd { font-weight: 700; }
.limit { font-size: 0.875rem; color: var(--ink-2); background: var(--tile); border-radius: 6px; padding: 10px 12px; }
.limit.is-over { background: var(--warn-tint); color: var(--warn); font-weight: 500; }
.done { padding: 32px 0; display: grid; gap: 14px; justify-items: start; }
.done h3 { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; font-size: 1.8rem; line-height: 1; }
.done p { color: var(--ink-2); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 13px 20px; border-radius: var(--r-s); font-weight: 600; font-size: 0.9375rem; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5); transition: opacity 0.25s ease, transform 0.35s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.printable { display: none; }

/* ------------------------------------------------------------------ first-viewport motion (index) */
.hero-wait [data-hero-in] { opacity: 0; animation: heroSafe 0.01s linear 3s forwards; }
@keyframes heroSafe { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-wait [data-hero-in] { opacity: 1; animation: none; } }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1280px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .appnav__in { grid-template-columns: auto minmax(180px, 1fr) auto auto; }
  .who { display: none; }
  .minicats { gap: 10px; }
}
@media (max-width: 1080px) {
  .nav__in { grid-template-columns: auto 1fr auto; }
  .nav-links { display: none; }
  .burger { display: inline-grid; }
  .nav .wordmark { justify-self: start; }
  .stats__row { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .ways { grid-template-columns: 1fr; }
  .ways__media { aspect-ratio: 16 / 10; }
  .perks.perks { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .brands { grid-template-columns: 1fr; gap: 18px; }
  .brands ul { grid-template-columns: repeat(3, 1fr); }
  .brands li:nth-child(3n + 1) { border-left: 0; }
  .join { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .appnav__in { grid-template-columns: auto 1fr auto; min-height: 64px; }
  .appnav .search { grid-column: 1 / -1; grid-row: 2; margin-bottom: 12px; }
  .appnav .cart-btn { grid-column: 3; grid-row: 1; justify-self: end; }
  .appnav .wordmark { grid-column: 1; grid-row: 1; }
  .applinks { display: flex; grid-column: 1 / -1; grid-row: 3; overflow-x: auto; margin: -6px 0 8px; }
  .banners { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .banner--big { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
  .minicats { grid-template-columns: repeat(6, 150px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .minicat { scroll-snap-align: start; }
  .shop { grid-template-columns: 1fr; }
  .side { position: static; grid-template-columns: 1fr 1fr; }
  .side__cats-wrap { display: none; }
  .side__help { display: none; }
  .pd { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .acct { grid-template-columns: 1fr 1fr; }
  .ledger { grid-template-columns: 1fr; }
  .ledger__op { display: none; }
  .twocol { grid-template-columns: 1fr; }
  .detail__grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 760px) {
  body { font-size: 0.9875rem; }
  .topbar__in { gap: 12px; font-size: 0.75rem; }
  .topbar__in--app span:last-child { display: none; }
  .nav__in { min-height: 64px; }
  .nav .wordmark { font-size: 1.65rem; }
  .nav__login { display: none; }
  .hero { height: auto; min-height: 640px; }
  .hero::before { background: linear-gradient(0deg, rgba(12, 12, 12, 0.88) 0%, rgba(12, 12, 12, 0.7) 55%, rgba(12, 12, 12, 0.45) 100%); }
  .hero h1 { font-size: clamp(2.3rem, 10.6vw, 2.9rem); }
  .topbar__in span:last-child { display: none; }
  .hero__photo img { object-position: 60% 50%; }
  .hero__in { justify-content: flex-end; min-height: 640px; padding-bottom: 36px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero .pcard { position: relative; right: auto; bottom: auto; margin-top: 28px; }
  .hero-card { margin-top: -18px; position: relative; z-index: 2; }
  .pcard { width: 100%; grid-template-columns: 96px 1fr; padding: 14px 16px 14px 12px; gap: 14px; }
  .stats__row { grid-template-columns: 1fr 1fr; }
  .stat, .stat:nth-child(4) { border-left: 0; padding: 22px 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 18px; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stat:last-child { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .sec__head { display: block; }
  .sec__head .link--arrow { margin-top: 12px; }
  .cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-tile { aspect-ratio: 1 / 1.05; }
  .cat-tile img { width: 86%; right: 7%; top: 40%; }
  .cat-tile__t { left: 14px; bottom: 14px; }
  .cat-tile__t b { font-size: 1.45rem; }
  .cat-tile__go { display: none; }
  .ttn { left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; }
  .seg { display: flex; }
  .seg button { flex: 1; justify-content: center; padding: 0 10px; font-size: 0.875rem; }
  .step { grid-template-columns: 44px 1fr; }
  .step__n { font-size: 2rem; }
  .shots { padding-right: 0; }
  .phone { position: relative; right: auto; bottom: auto; width: 62%; margin: -90px 0 0 auto; }
  .perks.perks { grid-template-columns: 1fr; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; }
  .ptable tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .ptable td { border: 0; padding: 0; }
  .ptable td:first-child { grid-column: 1 / -1; margin-bottom: 10px; }
  .ptable td.num { text-align: left; font-size: 0.9375rem; }
  .ptable td.num::before { content: attr(data-l); display: block; font-size: 0.75rem; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
  .ptable td.is-income::before { color: var(--flame-ink); }
  .quote--big { grid-template-columns: 1fr; }
  .quote--big figure { aspect-ratio: 4 / 3; }
  .brands ul { grid-template-columns: repeat(2, 1fr); }
  .brands li { border-left: 0 !important; justify-content: flex-start; font-size: 1.15rem; min-height: 52px; }
  .foot__top { grid-template-columns: 1fr; gap: 28px; }
  .appnav .wordmark { font-size: 1.45rem; }
  .cart-btn__label { display: none; }
  .cart-btn { padding: 0 14px; }
  .banners { grid-template-columns: 1fr; }
  .banner { grid-template-columns: 1fr 104px; min-height: 0; }
  .banner__img { width: 104px; }
  .banner--big { grid-template-columns: 1fr; }
  .cart-btn { min-height: 44px; align-self: center; }
  .appnav__in { padding-top: 8px; }
  .deals { grid-template-columns: 1fr; }
  .side { grid-template-columns: 1fr; gap: 12px; }
  .side h2 { margin-bottom: 0; }
  .side .checks { display: flex; flex-wrap: wrap; gap: 0 18px; }
  .side__brands { display: none; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .sort { width: 100%; }
  .sort .select { flex: 1; min-width: 0; }
  .grid, .grid--3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card__body { padding: 12px 12px 14px; gap: 8px; }
  .card__name { font-size: 0.9375rem; }
  .trio { grid-template-columns: 1fr; gap: 4px; }
  .trio > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
  .trio dd { margin: 0; font-size: 0.9375rem; }
  .trio s { display: inline; margin-right: 4px; }
  .card__stock { display: none; }
  .prices { grid-template-columns: 1fr; }
  .prices > div { border-left: 0; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; }
  .prices > div:first-child { border-top: 0; }
  .prices dd { margin: 0; }
  .prices s { display: inline; margin: 0 8px 0 0; }
  .buy .btn { min-width: 0; }
  .thumb { width: 72px; height: 72px; }
  .specs dl { grid-template-columns: 1fr 1fr; }
  .acct { grid-template-columns: 1fr; }
  .acct dd { font-size: 2rem; }
  .orders thead { display: none; }
  .orders, .orders tbody, .orders tr, .orders td { display: block; }
  .orders tr.o-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .orders tr.o-row.is-hidden { display: none; }
  .orders td { border: 0; padding: 0; }
  .orders .o-hide-m { display: none; }
  .orders td.num { text-align: right; }
  .orders .o-who { grid-column: 1 / -1; order: 5; }
  .orders .o-st { grid-column: 1 / -1; order: 6; margin-top: 6px; }
  .detail > td { padding: 0 12px; }
  .chart { height: 170px; gap: 8px; }
  .chart__col b { font-size: 0.8125rem; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 2.55rem; }
  .cats { grid-template-columns: 1fr 1fr; }
  .grid, .grid--3 { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .card:hover .card__img img, .cat-tile:hover img { transform: none; }
}

@media print {
  body * { visibility: hidden !important; }
  .printable, .printable * { visibility: visible !important; }
  .printable { display: block !important; position: absolute; left: 0; top: 0; width: 100%; }
}
