:root {
  --bg-0: #0B0B0D;
  --bg-1: #121215;
  --bg-2: #19191D;
  --bg-3: #222227;
  --line: rgba(255, 252, 245, 0.08);
  --line-strong: rgba(255, 252, 245, 0.15);
  --text-0: #EDEDEA;
  --text-1: #B8B6B0;
  --text-2: #95938D;
  --cta-bg: #F2F0EB;
  --cta-ink: #0B0B0D;
  --cta-hover: #FFFFFF;
  --accent: #D4B584;
  --accent-ink: #D4B584;
  --accent-soft: rgba(212, 181, 132, 0.11);
  --accent-border: rgba(212, 181, 132, 0.34);
  --emerald: #5EC296;
  --emerald-soft: rgba(94, 194, 150, 0.12);
  --emerald-border: rgba(94, 194, 150, 0.32);
  --amber: #DDA853;
  --amber-soft: rgba(221, 168, 83, 0.12);
  --amber-border: rgba(221, 168, 83, 0.34);
  --assisted: #B5A8D4;
  --assisted-soft: rgba(181, 168, 212, 0.12);
  --assisted-border: rgba(181, 168, 212, 0.30);
  --rose: #DF7A84;
  --rose-soft: rgba(223, 122, 132, 0.13);
  --rose-border: rgba(223, 122, 132, 0.34);
  --header-bg: rgba(11, 11, 13, 0.88);
  --backdrop-bg: rgba(8, 8, 10, 0.78);
  --foot-bg: rgba(18, 18, 21, 0.98);
  --ambient-sheen: radial-gradient(ellipse 75% 40% at 50% -10%, rgba(212, 181, 132, 0.055), transparent 65%);
  --shadow-card: 0 18px 46px rgba(0, 0, 0, 0.48);
  --shadow-elevated: 0 24px 64px rgba(0, 0, 0, 0.62);
  --shadow-foot: 0 -10px 24px rgba(0, 0, 0, 0.28);
  --shadow-cta: 0 4px 18px rgba(242, 240, 235, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg-0: #F7F6F3;
  --bg-1: #FFFFFF;
  --bg-2: #EFEDE7;
  --bg-3: #E5E2DA;
  --line: rgba(22, 22, 24, 0.09);
  --line-strong: rgba(22, 22, 24, 0.18);
  --text-0: #161618;
  --text-1: #4E4D49;
  --text-2: #66645E;
  --cta-bg: #161618;
  --cta-ink: #FFFFFF;
  --cta-hover: #2C2C30;
  --accent: #9A6414;
  --accent-ink: #7A4B0A;
  --accent-soft: rgba(154, 100, 20, 0.10);
  --accent-border: rgba(154, 100, 20, 0.30);
  --emerald: #14734E;
  --emerald-soft: rgba(20, 115, 78, 0.10);
  --emerald-border: rgba(20, 115, 78, 0.28);
  --amber: #9E630B;
  --amber-soft: rgba(158, 99, 11, 0.10);
  --amber-border: rgba(158, 99, 11, 0.28);
  --assisted: #6B5B95;
  --assisted-soft: rgba(107, 91, 149, 0.10);
  --assisted-border: rgba(107, 91, 149, 0.28);
  --rose: #B93846;
  --rose-soft: rgba(185, 56, 70, 0.10);
  --rose-border: rgba(185, 56, 70, 0.28);
  --header-bg: rgba(247, 246, 243, 0.90);
  --backdrop-bg: rgba(22, 22, 24, 0.44);
  --foot-bg: rgba(255, 255, 255, 0.98);
  --ambient-sheen: radial-gradient(ellipse 75% 40% at 50% -10%, rgba(154, 100, 20, 0.05), transparent 65%);
  --shadow-card: 0 12px 34px rgba(22, 22, 24, 0.08);
  --shadow-elevated: 0 18px 46px rgba(22, 22, 24, 0.14);
  --shadow-foot: 0 -8px 20px rgba(22, 22, 24, 0.08);
  --shadow-cta: 0 4px 14px rgba(22, 22, 24, 0.16);
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-0);
  background-image: var(--ambient-sheen);
  background-repeat: no-repeat;
  color: var(--text-0);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  max-width: 100%;
  overflow-x: clip;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* Sticky Warm Obsidian Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 8px 0;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-0);
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: -0.015em;
  flex-shrink: 0;
}
.brand-link:hover { text-decoration: none; }
.brand-avatar {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: block;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  background: var(--bg-2);
}
.cmd-trigger {
  flex: 1 1 240px;
  max-width: 380px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-1);
  color: var(--text-2);
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cmd-trigger:hover { border-color: var(--line-strong); background: var(--bg-2); color: var(--text-1); }
.kbd {
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  color: var(--text-1);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 9px;
  color: var(--text-1);
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover { text-decoration: none; color: var(--text-0); background: var(--bg-2); border-color: var(--line); }
.nav-link-api {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.nav-link-api:hover {
  border-color: var(--accent);
  background: var(--bg-2);
  color: var(--text-0);
}
.api-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}
.theme-toggle {
  min-width: 38px;
  min-height: 38px;
  padding: 6px 9px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--bg-1);
  color: var(--text-1);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.theme-toggle:hover { border-color: var(--accent-border); color: var(--text-0); background: var(--bg-2); }
.saved-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-ink);
  font-size: 0.73rem;
  font-family: var(--mono);
}

/* Sticky Active Order Resume Banner */
.resume-order-bar {
  background: linear-gradient(90deg, var(--accent-soft), var(--bg-1) 62%);
  border-bottom: 1px solid var(--accent-border);
  padding: 9px 0;
}
.resume-order-bar[hidden] { display: none; }
.resume-order-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.resume-order-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-0);
}
.resume-order-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Buttons: Primary reserved strictly for Hero CTA + Checkout Pay CTA */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.48; cursor: not-allowed; transform: none; }
.btn-primary {
  background: var(--cta-bg);
  color: var(--cta-ink);
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { background: var(--cta-hover); }
.btn-card {
  background: var(--bg-2);
  color: var(--text-0);
  border-color: var(--line-strong);
}
.btn-card:hover { background: var(--bg-3); border-color: var(--accent-border); }
.btn-secondary {
  background: var(--bg-2);
  color: var(--text-0);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--accent-border); background: var(--bg-3); }
.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--line-strong); color: var(--text-0); background: var(--bg-2); }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 0.82rem; border-radius: 8px; }
.btn-full { width: 100%; }

/* Hero */
.hero {
  padding: 34px 0 22px;
  display: grid;
  grid-template-columns: 1.26fr 0.94fr;
  gap: 22px;
  align-items: start;
}
.hero-copy { min-width: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.lead { color: var(--text-1); font-size: 0.98rem; margin: 0 0 18px; max-width: 60ch; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Hero Search Bar, Autocomplete Popover & Quick-Filter Chips */
.hero-search-wrap {
  position: relative;
  margin: 18px 0 14px;
  max-width: 580px;
}
.hero-search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px 5px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: var(--bg-1);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hero-search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.hero-search-box input {
  flex: 1 1 160px;
  min-width: 0;
  min-height: 36px;
  border: none;
  background: transparent;
  color: var(--text-0);
  font-size: 16px;
  font-family: var(--sans);
}
.hero-search-box input::placeholder { color: var(--text-2); }
.hero-search-box input:focus { outline: none; }
#hero-search-input::-webkit-search-cancel-button,
#hero-search-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.hero-search-clear {
  min-height: 32px;
  padding: 4px 9px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text-1);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}
.hero-search-clear:hover {
  border-color: var(--line-strong);
  color: var(--text-0);
}
.hero-search-clear[hidden] { display: none; }
.hero-search-popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  max-height: 390px;
  overflow-y: auto;
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  gap: 4px;
  overscroll-behavior: contain;
}
.hero-search-popover[hidden] { display: none; }
.hero-ac-row {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-0);
  cursor: pointer;
  min-height: 46px;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.hero-ac-row:hover,
.hero-ac-row.active,
.hero-ac-row.is-active {
  background: var(--bg-2);
  border-color: var(--accent-border);
}
.hero-ac-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.hero-ac-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  background: transparent;
  padding: 0;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  flex-shrink: 0;
}
.hero-ac-logo.logo-trans {
  padding: 3px;
  object-fit: contain;
  background: var(--bg-2);
}
.hero-ac-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-ac-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-0);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-ac-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--text-2);
}
.hero-ac-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.hero-ac-price {
  font-family: var(--mono);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-0);
}
.hero-ac-foot {
  border-top: 1px solid var(--line);
  margin-top: 2px;
  padding-top: 4px;
}
.hero-ac-all {
  width: 100%;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--bg-2);
  color: var(--accent-ink);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}
.hero-ac-all:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
}
.hero-chip {
  min-height: 34px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-1);
  color: var(--text-1);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}
.hero-chip:hover {
  border-color: var(--accent-border);
  background: var(--bg-2);
  color: var(--text-0);
}
.hero-chip.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text-0);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.stat-tile {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 11px 13px;
}
.stat-val { display: block; font-size: 1.02rem; font-weight: 800; color: var(--text-0); }
.stat-lbl { display: block; font-size: 0.74rem; color: var(--text-2); margin-top: 2px; }

/* 6-Brand Hero Showcase (CLS = 0) */
.hero-card {
  position: relative;
  background: linear-gradient(160deg, var(--accent-soft), transparent 44%), var(--bg-1);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.28s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.hero-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.hero-card-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hero-card-head h1 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  object-fit: cover;
  padding: 0;
  flex-shrink: 0;
  align-self: flex-start;
}
.hero-logo.logo-trans {
  padding: 5px;
  object-fit: contain;
  background: var(--bg-2);
}
.hero-card-title { margin: 4px 0; font-size: 1.4rem; letter-spacing: -0.02em; }
.price-big { font-size: 2rem; font-weight: 900; color: var(--text-0); margin: 2px 0; }
.price-unit { font-size: 0.86rem; color: var(--text-2); font-weight: 600; }
.price-sub { font-size: 0.82rem; color: var(--emerald); font-weight: 600; margin-bottom: 10px; }
.hero-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.hero-pill {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 6px 8px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--bg-0);
  color: var(--text-2);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.hero-pill:hover {
  border-color: var(--line-strong);
  background: var(--bg-2);
  color: var(--text-0);
}
.hero-pill.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text-0);
}
.hero-pill img,
.hero-pill-logo {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
  padding: 0;
  flex-shrink: 0;
  display: block;
}
.hero-pill img.logo-trans,
.hero-pill-logo.logo-trans {
  padding: 2px;
  object-fit: contain;
  background: var(--bg-2);
}
.hero-pill span,
.hero-pill-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
@keyframes heroSlideProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hero-progress {
  position: relative;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--bg-2);
  overflow: hidden;
}
.hero-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  animation: heroSlideProgress 6.5s linear infinite;
}
.hero-progress.is-resetting .hero-progress-bar {
  animation: none;
  transform: scaleX(0);
}
.hero-card.is-paused .hero-progress-bar,
.hero-card:hover .hero-progress-bar,
.hero-card:focus-within .hero-progress-bar {
  animation-play-state: paused;
}

/* Badges: Calm desaturated semantic pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text-1);
  white-space: nowrap;
}
.badge-instant { background: var(--emerald-soft); border-color: var(--emerald-border); color: var(--emerald); }
.badge-jit { background: var(--accent-soft); border-color: var(--accent-border); color: var(--accent-ink); }
.badge-assisted { background: var(--assisted-soft); border-color: var(--assisted-border); color: var(--assisted); }
.badge-warn { background: var(--amber-soft); border-color: var(--amber-border); color: var(--amber); }
.badge-info { background: var(--bg-2); border-color: var(--line-strong); color: var(--text-1); }
.badge-danger { background: var(--rose-soft); border-color: var(--rose-border); color: var(--rose); }
.badge-tag { background: var(--accent-soft); border-color: var(--accent-border); color: var(--accent-ink); }
.price-anchor-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

/* Filtered Catalog Mode & Active Filter Bar */
body.catalog-filtered #featured,
body.catalog-filtered .shelf-section {
  display: none;
}
.active-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--text-0);
  font-size: 0.82rem;
  font-weight: 600;
}
.active-filter-bar[hidden] { display: none; }
.active-filter-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

/* Sections, Bento & Curated Shelves */
.section { padding: 22px 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.section-head h2 { margin: 0; font-size: 1.32rem; letter-spacing: -0.015em; }
.muted { color: var(--text-2); font-size: 0.86rem; }

/* 5-Tile Asymmetric Flagship Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.bento-tile {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
}
.bento-tile:hover {
  border-color: var(--accent-border);
  background: var(--bg-2);
  transform: translateY(-2px);
}
.bento-lead {
  grid-row: span 2;
  background: linear-gradient(155deg, var(--accent-soft), transparent 48%), var(--bg-1);
  border-color: var(--accent-border);
  padding: 22px;
}
.bento-tile.bento-lead h3 { font-size: 1.35rem; margin: 0; }
.bento-lead .card-desc { -webkit-line-clamp: 6; }
.bento-highlights {
  list-style: none;
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-0);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.bento-highlights li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-1);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.bento-highlights li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.bento-highlights strong {
  color: var(--text-0);
  font-family: var(--mono);
  font-size: 0.82rem;
  white-space: nowrap;
}
.bento-utility {
  background: linear-gradient(145deg, var(--emerald-soft), transparent 55%), var(--bg-1);
  border-color: var(--emerald-border);
}
.bento-utility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.bento-utility-actions .btn { min-height: 44px; }

/* Pre-Footer B2B Callout Strip */
.b2b-callout {
  margin-top: 28px;
  background: linear-gradient(145deg, var(--accent-soft), transparent 52%), var(--bg-1);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.b2b-callout-copy { flex: 1 1 360px; min-width: 0; }
.b2b-callout-copy h2 { margin: 8px 0 6px; font-size: 1.24rem; letter-spacing: -0.015em; }
.b2b-callout-copy p { margin: 0; color: var(--text-1); font-size: 0.88rem; max-width: 68ch; }
.b2b-callout-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Developers & Wholesale API Portal (/developers/) */
.dev-shell { padding: 24px 0 48px; display: flex; flex-direction: column; gap: 22px; }
.dev-hero {
  background: linear-gradient(155deg, var(--accent-soft), transparent 48%), var(--bg-1);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dev-hero h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.12; letter-spacing: -0.02em; }
.dev-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.dev-panel {
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dev-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.dev-panel-head h2 { margin: 0; font-size: 1.15rem; letter-spacing: -0.015em; }
.dev-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.dev-key-box {
  background: var(--bg-0);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dev-key-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.dev-key-val {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-0);
  word-break: break-all;
  flex: 1 1 200px;
}
.dev-preset-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.dev-preset-btn {
  min-height: 44px;
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg-0);
  color: var(--text-1);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.dev-preset-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text-0);
}
.dev-preset-sub { font-size: 0.68rem; color: var(--accent-ink); font-weight: 600; }
.dev-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.dev-tab {
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: var(--bg-0);
  color: var(--text-1);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.dev-tab.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text-0);
}
.dev-mode-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.dev-mode-btn {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg-0);
  color: var(--text-1);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}
.dev-mode-btn.active {
  background: var(--emerald-soft);
  border-color: var(--emerald-border);
  color: var(--emerald);
}
.dev-mode-btn.is-live.active {
  background: var(--rose-soft);
  border-color: var(--rose-border);
  color: var(--rose);
}
.dev-code-box {
  background: var(--bg-0);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.dev-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--text-1);
  flex-wrap: wrap;
}
.dev-pre {
  margin: 0;
  padding: 12px;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-0);
  overflow-x: auto;
  max-height: 360px;
  white-space: pre-wrap;
  word-break: break-word;
}
.dev-stream-log {
  background: var(--bg-0);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  max-height: 240px;
  overflow-y: auto;
  font-family: var(--mono);
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dev-stream-line {
  padding: 6px 8px;
  border-radius: 7px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  word-break: break-word;
}
.dev-inline-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dev-tier-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-2);
  font-family: var(--mono);
}
.dev-table-wrap { width: 100%; overflow-x: auto; }
.dev-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.dev-table th, .dev-table td {
  padding: 10px 11px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.83rem;
}
.dev-table th {
  background: var(--bg-2);
  color: var(--text-2);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dev-table tr:last-child td { border-bottom: none; }
.dev-save-pill { font-size: 0.72rem; color: var(--emerald); font-weight: 700; display: block; }
.dev-modal-card {
  width: min(520px, 100%);
  background: var(--bg-1);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-elevated);
}

/* Curated Desktop Grid Shelves (horizontal carousel below 768px) */
.shelf-section { padding: 14px 0; }
.shelf-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  overflow-x: visible;
  padding-bottom: 4px;
}
.shelf-row > .hub-card { scroll-snap-align: start; min-width: 0; }
.shelf-row::-webkit-scrollbar { height: 6px; }
.shelf-row::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

/* Cards */
.card, .hub-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
}
.card:hover, .hub-card:hover {
  border-color: var(--accent-border);
  background: var(--bg-2);
  transform: translateY(-2px);
}
.hub-card.kb-focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hub-top { display: flex; align-items: flex-start; gap: 12px; }
.hub-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  object-fit: cover;
  padding: 0;
  flex-shrink: 0;
}
.hub-logo.logo-trans {
  padding: 5px;
  object-fit: contain;
  background: var(--bg-2);
}
.hub-head-text { min-width: 0; flex: 1; }
.hub-title-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.hub-card h3, .card h3, .bento-tile h3 { margin: 0; font-size: 1rem; line-height: 1.28; letter-spacing: -0.01em; }
.hub-card h3 a, .bento-tile h3 a { color: var(--text-0); }
.hub-card h3 a:hover, .bento-tile h3 a:hover { color: var(--accent); text-decoration: none; }
.hub-cat-line { font-size: 0.76rem; color: var(--text-2); margin-top: 2px; }
.card-desc { margin: 8px 0 0; font-size: 0.84rem; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; }
.hub-badges-gap { margin-top: 10px; }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.price { font-size: 1.15rem; font-weight: 800; color: var(--text-0); }
.price-from { font-size: 0.72rem; color: var(--text-2); font-weight: 600; display: block; line-height: 1; margin-bottom: 2px; }
.star-btn {
  min-width: 34px;
  min-height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text-2);
  cursor: pointer;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.star-btn:hover { border-color: var(--amber); color: var(--amber); }
.star-btn.is-saved { color: var(--amber); border-color: var(--amber-border); background: var(--amber-soft); }

/* Recently Viewed Strip */
.recent-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px;
  margin-bottom: 14px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.recent-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  color: var(--text-0);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.recent-chip:hover { border-color: var(--accent-border); color: var(--accent); }

/* Controls Panel */
.controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
}
.search-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search-input {
  flex: 1 1 240px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg-0);
  color: var(--text-0);
  font-size: 16px;
}
.search-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.select-input {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg-0);
  color: var(--text-0);
  font-size: 15px;
}
.select-input:focus { outline: none; border-color: var(--accent); }
.select-full { width: 100%; }
.toggle-pill {
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text-1);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  overflow-x: visible;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-btn {
  flex-shrink: 0;
  min-height: 38px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-0);
  color: var(--text-1);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.cat-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text-0);
}
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-2);
}

/* Modal & Slide-Over Drawer */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--backdrop-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}
.backdrop-center {
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 16px 24px;
}
.drawer {
  width: min(580px, 100vw);
  height: 100dvh;
  max-height: 100dvh;
  background: var(--bg-1);
  border-left: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
  box-shadow: var(--shadow-elevated);
}
.drawer-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}
.drawer-head h3 { margin: 0; font-size: 1.05rem; }
.drawer-body {
  padding: 16px 18px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overscroll-behavior: contain;
}
.drawer-foot {
  position: relative;
  z-index: 2;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: var(--foot-bg);
  box-shadow: var(--shadow-foot);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.drawer-legal-note {
  padding: 8px 18px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg-0);
  color: var(--text-2);
  font-size: 0.72rem;
  line-height: 1.4;
  flex-shrink: 0;
}
.axis-group { display: flex; flex-direction: column; gap: 7px; }
.axis-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-2); font-weight: 700; }
.axis-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.axis-pill {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: var(--bg-0);
  color: var(--text-1);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
}
.axis-pill.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text-0);
}
.axis-pill:disabled { opacity: 0.38; cursor: not-allowed; }

.variant-box {
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.variant-box h4 { margin: 0; font-size: 1.04rem; line-height: 1.3; color: var(--text-0); }
.variant-box p { margin: 0; }
.lowest-plan-jump {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-1);
  border: 1px dashed var(--line-strong);
  color: var(--text-1);
  font-size: 0.78rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}
.lowest-plan-jump:hover {
  border-color: var(--accent-border);
  color: var(--text-0);
  background: var(--accent-soft);
}
.lowest-plan-cta {
  color: var(--accent-ink);
  font-weight: 600;
  white-space: nowrap;
}

/* Cross-Sell Synergy Strip, Wrong-Network Callout & BEP-20 Guide */
.cross-sell-strip {
  background: var(--bg-0);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cross-sell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-0);
}
.cross-sell-sub {
  font-size: 0.76rem;
  color: var(--text-2);
  margin: 0;
}
.cross-sell-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cross-sell-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.cross-sell-card:hover {
  border-color: var(--accent-border);
}
.cross-sell-info {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
}
.cross-sell-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-0);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cross-sell-meta {
  font-size: 0.74rem;
  color: var(--text-2);
}
.warn-callout {
  padding: 11px 13px;
  border-radius: 10px;
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  border-left: 3px solid var(--amber);
  color: var(--text-0);
  font-size: 0.81rem;
  line-height: 1.45;
}
.warn-callout strong {
  color: var(--amber);
}
.bep20-guide {
  background: var(--bg-0);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.81rem;
  color: var(--text-1);
}
.bep20-guide summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--accent-ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.bep20-guide summary::-webkit-details-marker { display: none; }
.bep20-guide summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-2);
}
.bep20-guide[open] summary::after {
  content: "-";
}
.bep20-guide-body {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 7px;
  line-height: 1.45;
}
.bep20-guide ol,
.bep20-guide ul {
  margin: 6px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Bulk Discount Meter & Selector */
.bulk-meter {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bulk-meter-text { font-size: 0.8rem; color: var(--text-1); font-weight: 600; }
.bulk-meter-text strong { color: var(--accent-ink); }
.bulk-progress {
  width: 100%;
  height: 6px;
  border: none;
  border-radius: 999px;
  overflow: hidden;
  appearance: none;
  background: var(--bg-3);
}
.bulk-progress::-webkit-progress-bar { background: var(--bg-3); border-radius: 999px; }
.bulk-progress::-webkit-progress-value { background: var(--accent); border-radius: 999px; }
.bulk-progress::-moz-progress-bar { background: var(--accent); border-radius: 999px; }

.bulk-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.bulk-btn {
  min-height: 50px;
  padding: 6px 4px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: var(--bg-0);
  color: var(--text-1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 0.78rem;
}
.bulk-btn.active { border-color: var(--accent); background: var(--accent-soft); color: var(--text-0); }
.bulk-save { font-size: 0.68rem; color: var(--emerald); font-weight: 700; }
.drawer-secondary-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* 3-Step Timeline & Checkout Flows */
.step-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.step-pill {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--bg-2);
  color: var(--text-2);
  border: 1px solid var(--line);
}
.step-pill.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text-0);
}
.step-pill.done {
  background: var(--emerald-soft);
  border-color: var(--emerald-border);
  color: var(--emerald);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.how-step {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 11px;
  font-size: 0.8rem;
}
.how-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 5px;
}
.how-step strong { display: block; color: var(--text-0); margin-bottom: 2px; font-size: 0.82rem; }
.how-step span { color: var(--text-2); font-size: 0.77rem; line-height: 1.35; display: block; }

.rail-tabs, .vault-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.vault-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rail-tab, .vault-tab {
  min-height: 38px;
  padding: 7px 8px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: var(--bg-0);
  color: var(--text-1);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}
.rail-tab.active, .vault-tab.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text-0);
}

.qr-panel {
  background: var(--bg-0);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.qr-img {
  width: 196px;
  height: 196px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #FFFFFF;
  padding: 8px;
  display: block;
}
.copy-field {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 0.82rem;
  word-break: break-all;
  text-align: left;
}
.cred-box {
  background: var(--bg-0);
  border: 1px solid var(--emerald-border);
  border-radius: 10px;
  padding: 12px;
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--text-0);
  white-space: pre-wrap;
  word-break: break-word;
}
.order-shell { max-width: 780px; margin: 24px auto 48px; display: flex; flex-direction: column; gap: 16px; }
.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  padding: 10px;
  border-radius: 10px;
  background: var(--bg-0);
  border: 1px solid var(--line);
}
.chat-msg {
  padding: 9px 11px;
  border-radius: 9px;
  font-size: 0.84rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.chat-msg-ops {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.chat-textarea {
  width: 100%;
  min-height: 76px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg-0);
  color: var(--text-0);
  font-family: var(--sans);
  font-size: 0.9rem;
  resize: vertical;
}
.chat-textarea:focus { outline: none; border-color: var(--accent); }

/* Inline Hub Configurator & Related Brands */
.inline-cfg-card {
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}
.hub-mobile-buy-bar {
  display: none;
}

/* Spotlight Cmd+K */
.spotlight {
  width: min(640px, 100%);
  max-height: 76dvh;
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-elevated);
}
.spotlight-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.spotlight-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-0);
  font-size: 16px;
  min-height: 36px;
}
.spotlight-input:focus { outline: none; }
.spotlight-list {
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overscroll-behavior: contain;
}
.spotlight-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-0);
  cursor: pointer;
  min-height: 48px;
}
.spotlight-item:hover, .spotlight-item.active {
  background: var(--bg-2);
  border-color: var(--accent-border);
}
.spotlight-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.spotlight-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  background: transparent;
  padding: 0;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.spotlight-logo.logo-trans {
  padding: 3px;
  object-fit: contain;
  background: var(--bg-2);
}

/* Hub SEO Page & 2FA Tool */
.breadcrumb { display: flex; gap: 8px; font-size: 0.84rem; color: var(--text-2); margin: 18px 0 12px; flex-wrap: wrap; }
.ssr-table-wrap { width: 100%; overflow-x: auto; }
.ssr-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ssr-table th, .ssr-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.ssr-table th { color: var(--text-2); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; background: var(--bg-2); }
.ssr-table tr:last-child td { border-bottom: none; }
.ssr-mobile-prereqs {
  display: none;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.totp-shell { max-width: 620px; margin: 28px auto 48px; }
.totp-card {
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.totp-code-box {
  background: var(--bg-0);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.totp-code {
  font-family: var(--mono);
  font-size: clamp(2.2rem, 8vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--text-0);
}
.totp-meta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: 0.84rem; color: var(--text-1); }
.totp-progress {
  width: 100%;
  height: 7px;
  margin-top: 12px;
  border: none;
  border-radius: 999px;
  overflow: hidden;
  appearance: none;
  background: var(--bg-2);
}
.totp-progress::-webkit-progress-bar { background: var(--bg-2); border-radius: 999px; }
.totp-progress::-webkit-progress-value { background: var(--accent); border-radius: 999px; }
.totp-progress::-moz-progress-bar { background: var(--accent); border-radius: 999px; }
.totp-progress.is-expiring::-webkit-progress-value { background: var(--amber); }
.totp-progress.is-expiring::-moz-progress-bar { background: var(--amber); }

.modal-open { overflow: hidden; }
.alert-box {
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 0.83rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text-1);
}
.alert-warn { background: var(--amber-soft); border-color: var(--amber-border); color: var(--amber); }
.alert-danger { background: var(--rose-soft); border-color: var(--rose-border); color: var(--rose); }
.alert-ok { background: var(--emerald-soft); border-color: var(--emerald-border); color: var(--emerald); }

/* Radar, Bag & Saved Cards */
.radar-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 11px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

/* Footer */
footer {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  padding: 28px 0 calc(36px + env(safe-area-inset-bottom));
  color: var(--text-2);
  font-size: 0.84rem;
}
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.footer-disclaimer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--text-2);
}
.hub-trademark-note {
  margin: 10px 0 0;
  font-size: 0.77rem;
  line-height: 1.45;
  color: var(--text-2);
}
.cex-floor-box {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg-0);
}
.cex-floor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cex-fee-helper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  text-align: left;
}
.cex-fee-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.cex-fee-head .muted {
  font-size: 0.72rem;
}
.cex-fee-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.cex-fee-pill {
  min-height: 40px;
  padding: 6px 9px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--bg-0);
  color: var(--text-0);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.77rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.cex-fee-pill:hover,
.cex-fee-pill:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  outline: none;
}
.cex-fee-name {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--text-1);
}
.cex-fee-delta {
  font-size: 0.7rem;
  color: var(--text-2);
  font-weight: 500;
}
.cex-fee-amt {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-ink);
}
.load-more-wrap { text-align: center; margin-top: 20px; }
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 120;
  background: var(--bg-3);
  border: 1px solid var(--accent);
  color: var(--text-0);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--shadow-elevated);
}

@media (max-width: 1120px) {
  .shelf-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 22px; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-lead { grid-column: span 2; grid-row: span 1; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dev-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .shelf-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 859px) and (min-width: 641px) {
  .nav-link-hide-md { display: none; }
  .cmd-trigger { flex: 1 1 160px; min-width: 130px; }
}
@media (max-width: 768px) {
  .shelf-row {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(252px, 80vw);
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .cat-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding-right: 20px;
  }
  .cat-tabs .cat-btn { scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 12px; }
  .resume-order-inner { padding: 0 12px; }
  .nav-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 6px;
    row-gap: 5px;
    min-height: auto;
    padding: 5px 0;
  }
  .brand-link {
    grid-row: 1;
    grid-column: 1;
    min-width: 0;
    font-size: 0.88rem;
    gap: 6px;
    min-height: 44px;
  }
  .brand-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand-avatar { width: 26px; height: 26px; flex-shrink: 0; }
  .site-header .nav-actions {
    grid-row: 1;
    grid-column: 2;
    justify-self: end;
    justify-content: flex-end;
    gap: 4px;
    flex-wrap: nowrap;
  }
  .site-header .nav-link,
  .site-header .theme-toggle,
  .site-header .btn-sm {
    min-height: 44px;
    padding: 0 8px;
    font-size: 0.76rem;
    line-height: 1.1;
  }
  .site-header .theme-toggle {
    min-width: 44px;
  }
  .cmd-trigger {
    grid-row: 2;
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 8px 11px;
    font-size: 0.84rem;
  }
  .cmd-trigger .kbd { display: none; }
  .nav-link-hide-sm { display: none; }
  .hero { padding: 12px 0 14px; gap: 12px; }
  .hero h1 { font-size: clamp(1.55rem, 6.2vw, 2rem); margin-bottom: 8px; }
  .lead { font-size: 0.9rem; margin-bottom: 12px; }
  .eyebrow { font-size: 0.72rem; padding: 4px 10px; margin-bottom: 10px; }
  .hero-search-wrap { margin: 12px 0 10px; }
  .hero-chip-row {
    margin-bottom: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .hero-chip-row::-webkit-scrollbar { display: none; }
  .trust-strip { margin-top: 12px; gap: 8px; }
  .stat-tile { padding: 9px 10px; }
  .hero-card { padding: 14px; gap: 10px; }
  .hero-slide { gap: 10px; }
  .hero-card-title { font-size: 1.22rem; }
  .price-big { font-size: 1.65rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-lead { grid-column: span 1; }
  .how-steps { grid-template-columns: 1fr; }
  .drawer { width: 100vw; border-left: none; }
  .drawer-secondary-row { grid-template-columns: 1fr; }
  .vault-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Keep Plan (1), Price (3), and Checkout (4) visible on mobile; hide dense badge col (2) */
  .ssr-table th:nth-child(2), .ssr-table td:nth-child(2) { display: none; }
  .ssr-table th, .ssr-table td { padding: 8px 6px; font-size: 0.78rem; vertical-align: top; }
  .ssr-table td:first-child { overflow-wrap: anywhere; }
  .ssr-table .nav-actions { flex-direction: column; align-items: stretch; gap: 4px; }
  .ssr-table .btn-card.btn-sm,
  .ssr-table .btn-ghost.btn-sm { padding: 6px 8px; font-size: 0.74rem; min-height: 32px; width: 100%; }
  .ssr-table .price-anchor-pill,
  .ssr-mobile-prereqs .badge { white-space: normal; font-size: 0.66rem; padding: 2px 5px; }
  .ssr-mobile-prereqs { display: flex; }
  .hub-mobile-buy-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--foot-bg);
    border-top: 1px solid var(--line-strong);
    box-shadow: var(--shadow-foot);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .hub-mobile-buy-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  body[data-hub] footer {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }
  .dev-metrics { grid-template-columns: 1fr; }
  .dev-preset-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dev-mode-bar { grid-template-columns: 1fr; }
  .dev-panel { padding: 14px; }
  .dev-hero { padding: 16px; }
  .b2b-callout { padding: 16px; }
}
@media (max-width: 480px) {
  .hero-switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 420px) {
  .hero-card-badges .badge,
  .card .badge,
  .hub-card .badge,
  .bento-tile .badge,
  .variant-box .badge {
    white-space: normal;
    line-height: 1.25;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-progress-bar {
    animation: none !important;
    transform: scaleX(1);
  }
}

/* Growth Pages, Legal Armor, GEO Dataset, Micro-Tools, Guides & 4-Locale i18n */
.hub-atf-pill {
  display: inline-block;
  margin-top: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  color: var(--text-1);
  font-size: 0.78rem;
  line-height: 1.4;
}
.hub-atf-trust-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}
.hub-trust-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-1);
  font-weight: 600;
}
.hub-trust-link:hover {
  color: var(--accent);
}
.lang-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.lang-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  color: var(--text-1);
  font-size: 0.78rem;
  font-weight: 600;
}
.lang-pill.is-active,
.lang-pill:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-ink);
  text-decoration: none;
}
.growth-shell {
  padding-top: 22px;
  padding-bottom: 44px;
}
.growth-hero {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}
.growth-hero h1 {
  margin: 10px 0 8px;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  line-height: 1.2;
}
.growth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.growth-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.growth-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.growth-card h2,
.growth-card h3 {
  margin: 0;
  font-size: 1.12rem;
}
.prose-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 18px;
}
.prose-card h2 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}
.prose-card h3 {
  margin: 16px 0 6px;
  font-size: 1.02rem;
}
.prose-card p,
.prose-card li {
  color: var(--text-1);
  line-height: 1.62;
}
.prose-card ul,
.prose-card ol {
  padding-left: 20px;
  margin: 8px 0 12px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.faq-item {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-0);
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item p {
  margin: 10px 0 0;
  color: var(--text-1);
  font-size: 0.93rem;
  line-height: 1.58;
}
.twofa-store-cta {
  margin-top: 18px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.twofa-store-cta p {
  margin: 4px 0 0;
  color: var(--text-1);
  font-size: 0.9rem;
}
.tool-panel {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 20px;
}
.tool-controls-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.tool-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tool-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-1);
}
.tool-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 16px;
}
.tool-check-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-2);
  cursor: pointer;
}
.tool-check-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-0);
}
.tool-check-card small {
  display: block;
  font-size: 0.78rem;
  margin-top: 2px;
}
.tool-spec-list {
  padding-left: 18px;
  margin: 10px 0 14px;
}
.tool-spec-list li {
  margin-bottom: 6px;
  color: var(--text-1);
}
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}
html[dir="rtl"] .prose-card ul,
html[dir="rtl"] .prose-card ol,
html[dir="rtl"] .tool-spec-list {
  padding-left: 0;
  padding-right: 20px;
}
html[dir="rtl"] .ssr-table th,
html[dir="rtl"] .ssr-table td,
html[dir="rtl"] .dev-table th,
html[dir="rtl"] .dev-table td {
  text-align: right;
}
@media (max-width: 820px) {
  .growth-grid,
  .growth-grid-3,
  .tool-controls-grid,
  .tool-check-grid {
    grid-template-columns: 1fr;
  }
}
