/* 567 Slots Yono — V10 brand-app-profile shell
 * Light surfaces with controlled dark media moments.
 * Single accent. Sharp editorial geometry. Mobile-first.
 */

:root {
  --bg: #faf8f4;
  --bg-2: #f3eee4;
  --bg-3: #ffffff;
  --bg-dark: #0d1014;
  --bg-dark-2: #161a20;
  --bg-dark-3: #1f242c;
  --ink: #131519;
  --ink-2: #2a2e36;
  --ink-3: #5a5f68;
  --ink-4: #8a8f98;
  --paper: #ffffff;
  --line: #e3ddd0;
  --line-2: #d8d2c3;
  --line-dark: rgba(255,255,255,0.10);
  --line-dark-2: rgba(255,255,255,0.18);
  --accent: #f2b84b;
  --accent-ink: #131519;
  --accent-soft: #fff3d4;
  --accent-strong: #d99a1f;
  --green: #1f7a4d;
  --red: #c34a36;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 0 rgba(19,21,25,0.06), 0 2px 8px rgba(19,21,25,0.04);
  --shadow-2: 0 4px 24px rgba(19,21,25,0.08);
  --shadow-dark: 0 4px 24px rgba(0,0,0,0.32);
  --content-max: 1200px;
  --header-h: 64px;
  --font-body: "Inter", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --font-display: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", "Fira Code", Menlo, Consolas, monospace;
  --leading-tight: 1.15;
  --leading-snug: 1.32;
  --leading-base: 1.6;
  --tracking-tight: -0.018em;
  --tracking-display: -0.024em;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: var(--leading-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
button { font-family: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- layout primitives ---------- */
.wrap {
  width: min(var(--content-max), 100% - 32px);
  margin-inline: auto;
}
.wrap-narrow {
  width: min(880px, 100% - 32px);
  margin-inline: auto;
}
.section { padding: 36px 0; }
.section-tight { padding: 22px 0; }
.section-large { padding: 56px 0; }
@media (min-width: 768px) {
  .section { padding: 48px 0; }
  .section-large { padding: 80px 0; }
}
.h-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  font-weight: 600;
  margin: 0 0 8px;
}
.h-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 30px);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
}
.h-sub {
  font-size: 15px;
  color: var(--ink-3);
  max-width: 64ch;
  margin: 0 0 22px;
}
.h-sub-lg {
  font-size: 16px;
  color: var(--ink-3);
  max-width: 68ch;
  margin: 0 0 26px;
  line-height: 1.6;
}

/* ---------- buttons / CTAs ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--paper);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.06s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); color: var(--accent-ink); }
.btn-on-dark { background: var(--accent); color: var(--accent-ink); }
.btn-on-dark:hover { background: var(--paper); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--bg-2); }
.btn-on-dark-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,0.3);
}
.btn-on-dark-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.5); }
.btn-sm { padding: 8px 12px; font-size: 13px; }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 14px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark:hover { text-decoration: none; }
.brand-mark img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: block;
}
.brand-mark__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}
.brand-mark__name small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-strong);
  letter-spacing: 0.16em;
  margin-top: 3px;
}
.primary-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.primary-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1;
  white-space: nowrap;
}
.primary-nav a:hover { background: var(--bg-2); color: var(--ink); text-decoration: none; }
.primary-nav a.is-active { color: var(--ink); background: var(--bg-2); }
.primary-nav a.cta-nav {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 9px 14px;
  font-weight: 700;
}
.primary-nav a.cta-nav:hover { background: var(--accent-strong); }
@media (min-width: 960px) {
  .primary-nav { display: inline-flex; }
}
.hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
}
.hamburger:hover { background: var(--bg-2); }
.hamburger__bars {
  width: 18px;
  height: 12px;
  position: relative;
}
.hamburger__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease, top 0.18s ease;
}
.hamburger__bars span:nth-child(1) { top: 0; }
.hamburger__bars span:nth-child(2) { top: 5px; }
.hamburger__bars span:nth-child(3) { top: 10px; }
.hamburger[aria-expanded="true"] .hamburger__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__bars span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }
@media (min-width: 960px) {
  .hamburger { display: none; }
}

/* mobile drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100vw;
  background: var(--paper);
  z-index: 70;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s linear 0.2s;
  overflow-y: auto;
  padding: 18px 18px 110px;
  border-top: 1px solid var(--line);
  box-sizing: border-box;
}
.mobile-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s linear 0s;
}
body.no-scroll { overflow: hidden; }
.mobile-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.mobile-drawer__label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  font-weight: 600;
}
.mobile-drawer__close {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.mobile-drawer__close:hover { background: var(--bg-3); }
.mobile-drawer__nav { display: block; }
.mobile-drawer__group { margin-bottom: 22px; }
.mobile-drawer__group h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--ink-3);
  margin: 0 0 8px;
}
.mobile-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.mobile-drawer a:first-of-type { border-top: 0; }
.mobile-drawer__cta {
  position: sticky;
  bottom: 14px;
  margin-top: 8px;
}

/* mobile sticky install bar */
.mobile-sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 75;
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(13, 16, 20, 0.94);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-dark);
}
.mobile-sticky-cta .btn { flex: 1; padding: 12px 14px; }
.mobile-sticky-cta .btn-primary { font-weight: 700; }
.mobile-sticky-cta .btn-ghost { background: rgba(255,255,255,0.06); color: var(--paper); border-color: transparent; }
.mobile-sticky-cta .btn-ghost:hover { background: rgba(255,255,255,0.12); }
@media (min-width: 720px) { .mobile-sticky-cta { left: 16px; right: 16px; } }
body.has-sticky-cta { padding-bottom: 88px; }
@media (min-width: 960px) {
  body.has-sticky-cta { padding-bottom: 0; }
}

/* ---------- hero / brand-app profile ---------- */
.brand-app-profile {
  background: var(--bg);
  padding: 28px 0 8px;
}
.brand-app-profile__grid {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
}
@media (min-width: 720px) {
  .brand-app-profile__grid { grid-template-columns: 128px 1fr auto; gap: 28px; padding: 24px 0; }
}
.brand-app-profile__icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.brand-app-profile__icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 720px) { .brand-app-profile__icon { width: 128px; height: 128px; border-radius: 28px; } }
.brand-app-profile__id h1 {
  font-family: var(--font-display);
  font-size: clamp(22px, 5vw, 30px);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink);
}
.brand-app-profile__id .cat {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-strong);
  font-weight: 700;
  margin-bottom: 6px;
  display: inline-block;
}
.brand-app-profile__id p {
  font-size: 14.5px;
  color: var(--ink-3);
  margin: 0;
  max-width: 60ch;
  line-height: 1.55;
}
.brand-app-profile__install {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
@media (min-width: 720px) { .brand-app-profile__install { margin-top: 0; } }

.brand-app-profile__routes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.brand-app-profile__routes li { margin: 0; padding: 0; }
.brand-app-profile__routes a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--paper);
  text-decoration: none;
}
.brand-app-profile__routes a:hover { color: var(--accent, #b3261e); border-color: var(--accent, #b3261e); }
.brand-app-profile__routes a span[aria-hidden="true"] { font-weight: 700; color: var(--ink-3); }

.facts-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.facts-strip li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.facts-strip li strong { color: var(--ink); font-weight: 600; }
.facts-strip li.is-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
.facts-strip li.is-warn::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* product gallery */
.gallery {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
.gallery__card {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: var(--paper);
}
.gallery__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}
.gallery__card figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  right: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.86);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- HOT shelf ---------- */
.hot-shelf {
  padding: 22px 0 4px;
  background: var(--bg);
}
.hot-shelf__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}
.hot-shelf__head h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  letter-spacing: var(--tracking-tight);
}
.hot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 720px) {
  .hot-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 70%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 4px 0 12px;
    scrollbar-width: thin;
  }
  .hot-grid > * { scroll-snap-align: start; }
}
.hot-tile {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 84px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.hot-tile:hover { border-color: var(--accent); text-decoration: none; }
.hot-tile:active { transform: translateY(1px); }
.hot-tile__art {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.hot-tile__art img { width: 100%; height: 100%; object-fit: cover; }
.hot-tile__label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.hot-tile__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  display: block;
}
.hot-tile__name small {
  display: block;
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 500;
  margin-top: 2px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hot-tile > span:nth-child(2) { min-width: 0; }
.hot-tile__name, .hot-tile__label { min-width: 0; }
.hot-tile__cta { font-size: 9px; padding-left: 4px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 360px) {
  .hot-tile { grid-template-columns: 44px 1fr auto; padding: 10px; gap: 8px; min-height: 76px; }
  .hot-tile__art { width: 44px; height: 44px; }
  .hot-tile__name { font-size: 13px; }
  .hot-tile__name small { font-size: 10.5px; -webkit-line-clamp: 3; }
}
@media (max-width: 480px) {
  .hot-tile { grid-template-columns: 44px 1fr; padding: 10px; gap: 8px; min-height: 76px; }
  .hot-tile__art { width: 44px; height: 44px; grid-row: 1 / span 2; }
  .hot-tile__name { font-size: 13px; }
  .hot-tile__name small { font-size: 10.5px; -webkit-line-clamp: 3; }
  .hot-tile__cta { display: none; }
}
.hot-tile__cta {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-strong);
  font-weight: 700;
  white-space: nowrap;
}

/* YONO collection */
.yono {
  padding: 28px 0 8px;
}
.yono__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.yono__head h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin: 0;
}
.yono__list {
  display: grid;
  gap: 6px;
}
.yono-row {
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  min-height: 64px;
  transition: border-color 0.12s ease, background-color 0.12s ease;
}
.yono-row:hover { border-color: var(--accent); text-decoration: none; }
.yono-row__logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-2);
  overflow: hidden;
  flex-shrink: 0;
}
.yono-row__logo img { width: 100%; height: 100%; object-fit: cover; }
.yono-row__name { font-size: 14px; font-weight: 600; line-height: 1.2; }
.yono-row__cat {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
}
.yono-row__profile {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  background: var(--paper);
}
.yono-row__profile:hover { background: var(--bg-2); text-decoration: none; }
.yono-row__cta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 9px 12px;
  border-radius: var(--radius-pill);
}
.yono-row__cta:hover { background: var(--accent-strong); text-decoration: none; }
@media (max-width: 720px) {
  .yono-row {
    grid-template-columns: 44px 1fr;
    grid-template-areas:
      "logo name"
      "logo cat"
      "profile cta";
    row-gap: 6px;
    padding: 12px;
  }
  .yono-row__logo { grid-area: logo; }
  .yono-row__name { grid-area: name; }
  .yono-row__cat { grid-area: cat; }
  .yono-row__profile { grid-area: profile; justify-self: start; padding: 4px 8px; }
  .yono-row__cta { grid-area: cta; justify-self: end; }
}

/* ---------- inventory (app store rows) ---------- */
.inventory {
  background: var(--bg);
  padding: 28px 0 8px;
}
.inventory__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.inventory__head h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  letter-spacing: var(--tracking-tight);
}
.inventory__count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.inventory__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  align-items: center;
}
.inventory__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: var(--radius-pill);
  overflow-x: hidden;
  scrollbar-width: none;
  max-width: 100%;
  min-width: 0;
  flex: 1 1 100%;
  position: relative;
}
.inventory__tabs::-webkit-scrollbar { display: none; }
.inventory__tab {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.inventory__tab:hover { color: var(--ink); }
.inventory__tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}
.inventory__search {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}
.inventory__search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  padding: 7px 0;
  color: var(--ink);
  min-width: 0;
}
.inventory__search input::placeholder { color: var(--ink-4); }
.inventory__search:focus-within { border-color: var(--accent); }
.inventory__rows {
  display: grid;
  gap: 0;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.app-row {
  display: grid;
  grid-template-columns: 32px 88px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  min-height: 96px;
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.1s ease;
}
.app-row:last-child { border-bottom: 0; }
.app-row:hover { background: var(--bg-2); text-decoration: none; }
.app-row__rank {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 600;
  text-align: center;
}
.app-row__art {
  width: 88px;
  height: 72px;
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
  flex-shrink: 0;
}
.app-row__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-row__id { min-width: 0; }
.app-row__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  display: block;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-row__meta {
  font-size: 12px;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.app-row__meta span strong { color: var(--ink-2); font-weight: 600; }
.app-row__name a, .app-row__name-link { color: var(--ink); text-decoration: none; }
.app-row__name-link:hover { color: var(--accent-strong); }
.app-row__cta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.app-row__cta:hover { background: var(--accent-strong); text-decoration: none; }
@media (max-width: 720px) {
  .app-row {
    grid-template-columns: 48px 1fr;
    grid-template-areas:
      "art name"
      "art meta"
      "art cta";
    row-gap: 6px;
    padding: 10px 12px;
    min-height: 0;
  }
  .app-row__rank { display: none; }
  .app-row__art { grid-area: art; width: 48px; height: 48px; border-radius: 8px; }
  .app-row__id { grid-area: name; }
  .app-row__id .app-row__name { white-space: normal; }
  .app-row__meta { grid-area: meta; }
  .app-row__cta { grid-area: cta; justify-self: stretch; width: 100%; padding: 11px; }
}
.inventory__more {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}
.inventory__empty,
.inventory__error {
  padding: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
}
.inventory__skeleton {
  background: linear-gradient(90deg, var(--bg-2) 25%, var(--bg-3) 37%, var(--bg-2) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ---------- editorial rails ---------- */
.rail {
  padding: 36px 0;
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.rail--dark {
  background: var(--bg-dark);
  color: var(--paper);
  border-block-color: var(--line-dark);
}
.rail--dark .h-title,
.rail--dark h2,
.rail--dark h3 { color: var(--paper); }
.rail--dark .h-sub,
.rail--dark p,
.rail--dark li { color: rgba(255,255,255,0.78); }
.rail--dark .h-eyebrow { color: var(--accent); }

.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .feature-grid { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; }
  .feature-grid > .feature--lead {
    grid-row: span 2;
    background: var(--accent-soft);
  }
}
.feature {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: var(--tracking-tight);
}
.feature p {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.55;
}
.feature ul { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); }
.feature ul li { padding: 2px 0; }
.feature--lead { background: var(--bg-3); border-color: var(--line); }
.feature--lead h3 { font-size: 19px; }
.feature--lead p { font-size: 14.5px; }

/* ---------- promo band ---------- */
.promos-band {
  padding: 36px 0;
  background: var(--bg-3);
  border-block: 1px solid var(--line);
}
.promo-cards {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .promo-cards { grid-template-columns: repeat(3, 1fr); }
}
.promo-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.12s ease;
}
.promo-card:hover { border-color: var(--accent); text-decoration: none; }
.promo-card__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-strong);
  font-weight: 700;
}
.promo-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.promo-card__desc {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.5;
}
.promo-card__cta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent-strong);
}

/* ---------- news ---------- */
.news {
  padding: 36px 0;
}
.news-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .news-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.news-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.12s ease;
}
.news-card:hover { border-color: var(--accent); text-decoration: none; }
.news-card__date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-4);
}
.news-card__cat {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-strong);
  font-weight: 700;
}
.news-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.news-card--lead .news-card__title { font-size: 22px; }
.news-card__deck {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 36px 0;
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.faq__list {
  display: grid;
  gap: 8px;
  max-width: 760px;
}
.faq__item {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ink-3);
  font-weight: 500;
  transition: transform 0.18s ease;
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  padding: 0 16px 16px;
  margin: 0;
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--paper);
  padding: 44px 0 24px;
  margin-top: 36px;
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin: 0 0 12px;
}
.site-footer a {
  color: rgba(255,255,255,0.82);
  font-size: 13.5px;
  display: block;
  padding: 4px 0;
}
.site-footer a:hover { color: var(--accent); text-decoration: none; }
.site-footer__cols {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 720px) {
  .site-footer__cols { grid-template-columns: 1.5fr repeat(4, 1fr); }
}
.site-footer__about {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  max-width: 36ch;
  line-height: 1.55;
  margin-top: 4px;
}
.site-footer__bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}
.disclosure {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 78ch;
  margin: 0;
}

/* ---------- app detail (single product) ---------- */
.product-detail {
  padding: 24px 0;
}
.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .product-detail__grid {
    grid-template-columns: 200px 1fr;
    gap: 28px;
  }
}
.product-detail__art {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--bg-dark);
  border: 1px solid var(--line);
  overflow: hidden;
}
.product-detail__art img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin: 0 0 4px;
}
.product-detail__sub {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 0 0 12px;
}
.product-detail__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.fact-sheet {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: grid;
  gap: 6px;
}
.fact-sheet div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px;
  font-size: 13px;
}
.fact-sheet dt { color: var(--ink-3); font-weight: 500; }
.fact-sheet dd { margin: 0; color: var(--ink); font-weight: 600; }

/* ---------- content prose ---------- */
.prose { max-width: 68ch; }
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 700;
  margin: 28px 0 10px;
  letter-spacing: var(--tracking-tight);
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 22px 0 8px;
}
.prose p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}
.prose ul, .prose ol {
  padding-left: 22px;
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
}
.prose ul li, .prose ol li { padding: 3px 0; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--accent-strong); }
.prose blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  background: var(--bg-3);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--ink-2);
}
.prose .callout {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink);
  margin: 16px 0;
}

/* ---------- table ---------- */
.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 13.5px;
}
.table th, .table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  background: var(--bg-2);
  font-weight: 600;
}
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

/* ---------- breadcrumb ---------- */
.crumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--ink-4); }

/* ---------- responsive helpers ---------- */
.row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) {
  .row-2 { grid-template-columns: 1fr 1fr; }
}
.row-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) {
  .row-3 { grid-template-columns: repeat(3, 1fr); }
}
.stack-tight > * + * { margin-top: 8px; }
.stack > * + * { margin-top: 14px; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.small { font-size: 12.5px; }
.mono { font-family: var(--font-mono); }
.divider { height: 1px; background: var(--line); margin: 14px 0; border: 0; }

/* ---------- mobile spacing guard ---------- */
@media (max-width: 720px) {
  .wrap { width: min(var(--content-max), 100% - 20px); }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid > .feature--lead { grid-row: auto; }
}

/* ---------- article body (news) ---------- */
.article-hero {
  padding: 22px 0 8px;
}
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 34px);
  letter-spacing: var(--tracking-display);
  line-height: 1.15;
  font-weight: 700;
  margin: 8px 0 8px;
  max-width: 26ch;
}
.article-hero .article-deck {
  font-size: 16px;
  color: var(--ink-3);
  max-width: 62ch;
  margin: 0 0 8px;
  line-height: 1.55;
}
.article-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.article-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: var(--bg-dark);
  overflow: hidden;
  margin: 12px 0 22px;
  position: relative;
}
.article-banner img { width: 100%; height: 100%; object-fit: cover; opacity: 0.95; }
.article-banner figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- cookie consent ---------- */
.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: var(--bg-dark);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  z-index: 90;
  display: none;
  box-shadow: var(--shadow-dark);
  max-width: 760px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 10px;
  line-height: 1.5;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 12px;
  border-radius: var(--radius);
  font-weight: 700;
}

/* ---------- install strip (data-brand-app-install) ---------- */
.install-strip { padding: 56px 0; background: rgba(255,255,255,0.02); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.install-strip .h-title { font-size: 28px; line-height: 1.15; margin: 0 0 10px; color: var(--ink, #fff); }
.install-strip .h-sub { color: rgba(255,255,255,0.72); max-width: 760px; margin: 0 0 28px; line-height: 1.55; }
.install-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
@media (max-width: 980px) { .install-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 540px) { .install-grid { grid-template-columns: 1fr; } }
.install-step { background: linear-gradient(140deg, rgba(242,184,75,0.10) 0%, rgba(242,184,75,0.02) 100%); border: 1px solid rgba(242,184,75,0.28); border-radius: 14px; padding: 18px 18px 20px; }
.install-step__num { display: inline-block; font-family: var(--font-display, 'Sora', system-ui, sans-serif); font-weight: 700; color: var(--accent, #f2b84b); font-size: 13px; letter-spacing: 0.06em; margin-bottom: 8px; }
.install-step h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.25; color: var(--ink, #fff); }
.install-step p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.78); }
.install-step code { background: rgba(255,255,255,0.06); padding: 1px 6px; border-radius: 4px; font-size: 12px; }
.install-note { margin: 18px 0 0; }

/* ---------- support strip (data-brand-app-support) ---------- */
.support-strip { padding: 56px 0; }
.support-strip .h-title { font-size: 26px; line-height: 1.15; margin: 0 0 10px; color: var(--ink, #fff); }
.support-strip .h-sub { color: rgba(255,255,255,0.72); max-width: 760px; margin: 0 0 24px; line-height: 1.55; }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; } }
.support-card { display: block; padding: 20px 22px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.10); text-decoration: none; color: inherit; transition: transform 120ms ease, border-color 120ms ease, background 120ms ease; }
.support-card:hover { transform: translateY(-2px); border-color: rgba(242,184,75,0.45); background: rgba(242,184,75,0.06); }
.support-card__eyebrow { display: inline-block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent, #f2b84b); font-weight: 700; margin-bottom: 8px; }
.support-card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.25; color: var(--ink, #fff); }
.support-card p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.74); }
.support-card__cta { font-weight: 600; color: var(--accent, #f2b84b); font-size: 14px; }
