/* Honey Scripts — base styles */
:root {
  --honey: #FFB800;
  --honey-deep: #FF9500;
  --honey-soft: #FFD46B;
  --bg: #0A0A0A;
  --bg-2: #111114;
  --surface: #16161A;
  --surface-2: #1C1C22;
  --border: #262626;
  --border-2: #333339;
  --text: #FFFFFF;
  --muted: #B4B4B4;
  --muted-2: #6F6F76;
  --tip: #4ADE80;
  --warn: #FF9500;
  --info: #FFB800;
  --shadow-glow: 0 0 28px rgba(255,184,0,0.30);
}
[data-theme="light"] {
  --honey: #B97D00;
  --honey-deep: #8C5A00;
  --honey-soft: #E0A53A;
  --bg: #FBF7EE;
  --bg-2: #F4EEDF;
  --surface: #FFFFFF;
  --surface-2: #FFFBF1;
  --border: #E7DFCB;
  --border-2: #D9CEB0;
  --text: #1A1407;
  --muted: #5A5345;
  --muted-2: #8C8675;
  --shadow-glow: 0 0 22px rgba(185,125,0,0.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
code, pre, .mono {
  font-family: 'JetBrains Mono', 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Honeycomb background — used in hero */
.honeycomb-bg {
  position: absolute; inset: 0;
  background-color: transparent;
  background-image:
    radial-gradient(60% 80% at 50% 0%, rgba(255,184,0,0.18), transparent 70%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'><g fill='none' stroke='%23FFB800' stroke-opacity='0.10' stroke-width='1'><path d='M28 1l24 14v32L28 61 4 47V15z'/><path d='M28 17l12 7v16l-12 7-12-7V24z'/></g></svg>");
  background-repeat: no-repeat, repeat;
  background-position: center top, 0 0;
  background-size: auto, 56px 64px;
  mask-image: linear-gradient(180deg, black 0%, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 60%, transparent 100%);
  pointer-events: none;
}
[data-theme="light"] .honeycomb-bg {
  background-image:
    radial-gradient(60% 80% at 50% 0%, rgba(185,125,0,0.18), transparent 70%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'><g fill='none' stroke='%23B97D00' stroke-opacity='0.18' stroke-width='1'><path d='M28 1l24 14v32L28 61 4 47V15z'/><path d='M28 17l12 7v16l-12 7-12-7V24z'/></g></svg>");
}

/* Subtle grain */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Scrollbars */
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }
*::-webkit-scrollbar-thumb:hover { background: var(--border-2); }
*::-webkit-scrollbar-track { background: transparent; }

/* Reusable focus ring */
.focus-honey:focus { outline: none; box-shadow: 0 0 0 2px rgba(255,184,0,0.45); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 10px;
  font-size: 13.5px; font-weight: 500; line-height: 1;
  border: 1px solid var(--border); color: var(--text);
  background: var(--surface);
  transition: all .18s ease;
  cursor: pointer; white-space: nowrap;
  text-decoration: none;
}
.btn:hover { border-color: var(--border-2); background: var(--surface-2); }
.btn-primary {
  background: linear-gradient(135deg, #ffe488 0%, #ffbf1f 42%, #ec8a00 100%);
  color: #1a1304; border-color: transparent; font-weight: 700;
  border-radius: 999px; padding: 8px 16px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -1px 0 rgba(160,90,0,0.25),
    0 6px 18px -8px rgba(247,181,0,0.65);
}
.btn-primary svg { filter: drop-shadow(0 1px 0 rgba(255,255,255,0.25)); }
.btn-primary:hover {
  background: linear-gradient(135deg, #fff0b0 0%, #ffce3d 42%, #f79400 100%);
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -1px 0 rgba(160,90,0,0.25),
    0 10px 26px -8px rgba(247,181,0,0.8);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

/* Light-mode primary — slightly deeper gold + hairline border so it reads
   crisply on the cream background, same warm gradient family. */
[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #ffd964 0%, #f7b21a 45%, #e08800 100%);
  border: 1px solid rgba(150,95,0,0.45);
  color: #2A1800;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 4px 12px -4px rgba(185,125,0,0.4);
}
[data-theme="light"] .btn-primary:hover {
  background: linear-gradient(135deg, #ffe480 0%, #ffbe2c 45%, #ee9200 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 8px 20px -6px rgba(185,125,0,0.5);
}
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--surface); }

/* Chip / badge */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px; border-radius: 999px;
  font-size: 11.5px; font-weight: 500;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--surface);
}
.chip.gold { color: var(--honey); border-color: rgba(255,184,0,0.35); background: rgba(255,184,0,0.06); }

/* Card */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.card:hover { border-color: var(--border-2); }
.card.interactive:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); border-color: rgba(255,184,0,0.45); }

/* Sidebar item */
.side-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13.5px;
  cursor: pointer;
  position: relative;
  transition: background .15s, color .15s;
}
.side-item:hover { color: var(--text); background: var(--surface); }
.side-item.active {
  color: var(--honey);
  background: rgba(255,184,0,0.07);
}
.side-item.active::before {
  content: ""; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 2px;
  background: var(--honey); border-radius: 2px;
  box-shadow: 0 0 10px rgba(255,184,0,0.6);
}

/* Group header in sidebar */
.side-group-h {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-2);
  padding: 0 12px;
  margin: 18px 0 6px;
}

/* Expandable group toggle */
.side-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; border-radius: 8px;
  color: var(--text); font-weight: 500; font-size: 13.5px;
  cursor: pointer;
  transition: background .15s;
}
.side-toggle:hover { background: var(--surface); }
.side-toggle .caret { transition: transform .2s ease; color: var(--muted-2); }
.side-toggle.open .caret { transform: rotate(90deg); color: var(--honey); }

/* TOC */
.toc-item {
  display: block; padding: 4px 10px; border-left: 1px solid var(--border);
  color: var(--muted); font-size: 13px;
  transition: color .15s, border-color .15s;
  text-decoration: none;
}
.toc-item:hover { color: var(--text); }
.toc-item.active { color: var(--honey); border-left-color: var(--honey); }
.toc-item.h3 { padding-left: 22px; font-size: 12.5px; }

/* Prose */
.prose h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 10px; }
.prose .lead { color: var(--muted); font-size: 18px; line-height: 1.55; margin: 0 0 28px; }
.prose h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.015em; margin: 40px 0 14px; scroll-margin-top: 90px; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; scroll-margin-top: 90px; }
.prose p { color: var(--muted); margin: 0 0 14px; }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--honey); text-decoration: none; border-bottom: 1px dashed rgba(255,184,0,0.4); }
.prose a:hover { border-bottom-color: var(--honey); }
.prose ul { padding-left: 22px; color: var(--muted); }
.prose li { margin: 4px 0; }
.prose code:not(pre code) {
  font-size: 0.88em;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1px 6px; border-radius: 6px;
  color: var(--honey-soft);
}

/* Code block */
.codeblock {
  position: relative;
  background: #0E0E12;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin: 14px 0 18px;
}
[data-theme="light"] .codeblock { background: #1A1407; }
.codeblock-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  font-size: 12px;
  color: var(--muted);
}
[data-theme="light"] .codeblock-head { background: rgba(255,255,255,0.04); }
.codeblock-head .lang { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.codeblock-head .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--honey); box-shadow: 0 0 8px rgba(255,184,0,0.6); }
.codeblock pre { margin: 0; padding: 14px 16px; overflow-x: auto; font-size: 13px; line-height: 1.6; color: #E6E6E6; }
[data-theme="light"] .codeblock pre { color: #F5EAC8; }
.copy-btn {
  font-size: 11.5px; color: var(--muted); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px; border-radius: 6px;
  border: 1px solid transparent;
  transition: all .15s;
}
.copy-btn:hover { color: var(--honey); border-color: rgba(255,184,0,0.3); background: rgba(255,184,0,0.05); }
.copy-btn.copied { color: var(--tip); }

/* Token colors */
.tok-c { color: #6F6F76; font-style: italic; } /* comments */
.tok-k { color: #FFB800; }
.tok-s { color: #FFD46B; }
.tok-n { color: #FF9500; }
.tok-f { color: #E6E6E6; }

/* Callouts */
.callout {
  display: flex; gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin: 16px 0;
  background: var(--surface);
}
.callout .ico {
  width: 26px; height: 26px; flex: 0 0 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 14px;
}
.callout-title { font-weight: 600; color: var(--text); margin-bottom: 2px; font-size: 14px; }
.callout-body { color: var(--muted); font-size: 14px; line-height: 1.6; }
.callout.info { border-color: rgba(255,184,0,0.35); background: linear-gradient(180deg, rgba(255,184,0,0.08), rgba(255,184,0,0.02)); }
.callout.info .ico { background: rgba(255,184,0,0.15); color: var(--honey); }
.callout.warn { border-color: rgba(255,149,0,0.4); background: linear-gradient(180deg, rgba(255,149,0,0.08), rgba(255,149,0,0.02)); }
.callout.warn .ico { background: rgba(255,149,0,0.18); color: var(--honey-deep); }
.callout.tip { border-color: rgba(74,222,128,0.35); background: linear-gradient(180deg, rgba(74,222,128,0.06), rgba(74,222,128,0.02)); }
.callout.tip .ico { background: rgba(74,222,128,0.18); color: var(--tip); }

/* Error block (Escrow page) */
.errblock {
  position: relative;
  margin: 18px 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 90, 90, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 90, 90, 0.07) 0%, rgba(255, 90, 90, 0.02) 60%, transparent 100%),
    var(--surface);
  overflow: hidden;
}
.errblock::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, #FF6B6B 0%, #FF4444 100%);
  box-shadow: 0 0 14px rgba(255, 80, 80, 0.45);
}
.errblock-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px 8px;
  flex-wrap: wrap;
}
.errblock-tag {
  display: inline-flex; align-items: center;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 90, 90, 0.15);
  color: #FF7B7B;
  border: 1px solid rgba(255, 90, 90, 0.35);
}
[data-theme="light"] .errblock-tag { color: #C0322C; }
.errblock-title {
  font-weight: 700; font-size: 16px; color: var(--text); line-height: 1.4;
}
.errblock-title code {
  font-size: 0.86em;
  background: rgba(255, 90, 90, 0.12) !important;
  border-color: rgba(255, 90, 90, 0.35) !important;
  color: #FFB4B4 !important;
}
[data-theme="light"] .errblock-title code { color: #C0322C !important; }
.errblock-cause {
  margin: 4px 18px 12px !important;
  color: var(--muted);
  font-size: 14px; line-height: 1.6;
}
.errblock-solution {
  margin: 0 14px 14px;
  padding: 12px 14px 8px;
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.04);
  border: 1px solid rgba(74, 222, 128, 0.22);
}
.errblock-solution-h {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 13px; color: var(--tip);
  margin-bottom: 4px;
}
.errblock-solution-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: rgba(74, 222, 128, 0.18);
  color: var(--tip);
}
.errblock-solution ul {
  padding-left: 22px;
  margin: 4px 0 0 !important;
  color: var(--muted);
  font-size: 14px;
}
.errblock-solution li { margin: 4px 0; }
.errblock-solution li::marker { color: var(--tip); }
.step {
  display: flex; gap: 16px;
  padding: 4px 0;
  position: relative;
}
.step-num {
  flex: 0 0 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,184,0,0.15), rgba(255,149,0,0.05));
  border: 1px solid rgba(255,184,0,0.4);
  color: var(--honey);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px;
  box-shadow: inset 0 0 12px rgba(255,184,0,0.08);
}
.step-body { flex: 1; min-width: 0; }
.step-body h3 { margin-top: 4px !important; }
.step-line { display: none; }
.step:last-child .step-line { display: none; }

/* Search bar */
.searchbar {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 12px;
  width: 100%; max-width: 460px;
  color: var(--muted);
  cursor: text;
  transition: border-color .15s, box-shadow .15s;
}
.searchbar:hover, .searchbar.open { border-color: rgba(255,184,0,0.4); }
.searchbar input {
  background: transparent; border: 0; outline: none;
  color: var(--text); flex: 1; font-size: 13.5px;
  font-family: inherit;
}
.searchbar input::placeholder { color: var(--muted-2); }
.kbd {
  font-family: inherit;
  font-size: 10.5px; font-weight: 500;
  padding: 2px 8px;
  border: 1px solid var(--border-2); border-radius: 999px;
  color: var(--muted); background: var(--bg-2);
  letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.kbd .kbd-sep { opacity: 0.55; font-size: 9px; }

/* Language dropdown */
.langbtn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 9px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: 13px; cursor: pointer;
  transition: border-color .15s;
}
.langbtn:hover { border-color: var(--border-2); }
.flag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 12px; border-radius: 2px; overflow: hidden;
  font-size: 9px;
}

/* Dropdown panel */
.popover {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 80;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,184,0,0.04);
  animation: pop .14s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.popover-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  font-size: 13.5px; color: var(--text); cursor: pointer;
}
.popover-item:hover { background: var(--surface-2); }
.popover-item.active { color: var(--honey); background: rgba(255,184,0,0.07); }
.popover-item .check { margin-left: auto; color: var(--honey); opacity: 0; }
.popover-item.active .check { opacity: 1; }

/* Search trigger pill (topbar) */
.searchbar-trigger {
  font-family: inherit; text-align: left;
  appearance: none; outline: none;
}
.searchbar-trigger .searchbar-ph { flex: 1; color: var(--muted-2); font-size: 13.5px; }
.searchbar-trigger:focus-visible { border-color: var(--honey); box-shadow: 0 0 0 3px rgba(255,184,0,0.18); }

/* ============================================================
   Command palette (Fast navigation)
   ============================================================ */
.cmdk-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(8, 7, 4, 0.62);
  backdrop-filter: blur(4px) saturate(1.1);
  display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(48px, 12vh, 140px) 16px 16px;
  animation: cmdkFade .12s ease;
}
@keyframes cmdkFade { from { opacity: 0; } to { opacity: 1; } }
.cmdk {
  width: 100%; max-width: 640px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,184,0,0.06);
  overflow: hidden;
  display: flex; flex-direction: column;
  max-height: min(620px, 76vh);
  animation: cmdkPop .16s cubic-bezier(.2,.8,.2,1);
}
@keyframes cmdkPop { from { opacity: 0; transform: translateY(-10px) scale(.985); } to { opacity: 1; transform: none; } }

.cmdk-input {
  display: flex; align-items: center; gap: 11px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
}
.cmdk-input input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: none;
  color: var(--text); font-family: inherit; font-size: 16px; font-weight: 500;
}
.cmdk-input input::placeholder { color: var(--muted-2); font-weight: 400; }
.cmdk-clear {
  display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 7px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--muted); cursor: pointer; flex-shrink: 0;
}
.cmdk-clear:hover { color: var(--text); border-color: var(--border-2); }
.cmdk-esc {
  flex-shrink: 0; font-family: inherit; font-size: 11px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 7px;
  background: var(--bg-2); border: 1px solid var(--border-2);
  color: var(--muted); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.cmdk-esc:hover { color: var(--text); }
.cmdk-esc-x { display: none; }

/* Helper tip line (empty state) */
.cmdk-tip {
  display: flex; align-items: center; gap: 10px;
  margin: 8px 6px 4px; padding: 11px 13px;
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(255,184,0,0.08), rgba(255,184,0,0.02));
  border: 1px solid rgba(255,184,0,0.20);
  color: var(--muted); font-size: 12.5px; line-height: 1.45;
}
.cmdk-tip-ico {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; color: var(--honey);
  background: rgba(255,184,0,0.14); border: 1px solid rgba(255,184,0,0.26);
}

.cmdk-body { overflow-y: auto; padding: 8px; flex: 1; }
.cmdk-body::-webkit-scrollbar { width: 10px; }
.cmdk-body::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 8px; border: 3px solid var(--surface); }

.cmdk-group { margin-bottom: 6px; }
.cmdk-group-h {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--honey);
  padding: 10px 12px 6px;
}
.cmdk-group-ico {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--honey); opacity: .9;
}
.cmdk-group-name { color: var(--honey); opacity: .92; }

/* Result row */
.sr-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 9px 12px; border-radius: 11px;
  background: transparent; border: 1px solid transparent;
  font-family: inherit; text-align: left; cursor: pointer;
  color: var(--text);
  transition: background .08s, border-color .08s;
}
.sr-row.active { background: rgba(255,184,0,0.10); border-color: rgba(255,184,0,0.28); }
.sr-ico {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  color: var(--muted); background: var(--surface-2); border: 1px solid var(--border);
}
.sr-row.active .sr-ico { color: var(--honey); background: rgba(255,184,0,0.14); border-color: rgba(255,184,0,0.30); }
.sr-ico.mono { color: var(--honey); }
.sr-main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.sr-title {
  font-size: 14px; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sr-title.mono, .sr-sub.mono { font-family: "Geist Mono", ui-monospace, monospace; }
.sr-title.mono { font-size: 13px; }
.sr-sub {
  font-size: 12.5px; color: var(--muted); line-height: 1.45;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sr-sub.mono { font-size: 12px; }
.sr-crumb { color: var(--muted-2); }
.sr-mark {
  background: rgba(255,184,0,0.22); color: var(--honey);
  font-weight: 700; border-radius: 3px; padding: 0 1px;
}
.sr-go { color: var(--muted-2); flex-shrink: 0; }
.sr-row:hover .sr-go { color: var(--honey); }
.sr-enter {
  flex-shrink: 0; font-size: 13px; color: var(--honey);
  width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center;
  background: rgba(255,184,0,0.14); border: 1px solid rgba(255,184,0,0.30);
}

/* Empty state */
.cmdk-empty { padding: 38px 20px; text-align: center; }
.cmdk-empty-q { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.cmdk-empty-hint { font-size: 13px; color: var(--muted); }

/* Footer */
.cmdk-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 14px; border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.cmdk-hints { display: flex; gap: 16px; flex-wrap: wrap; }
.cmdk-hints span { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted-2); }
.cmdk-key {
  font-family: inherit; font-size: 10.5px; font-weight: 600;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-2); border-radius: 5px;
  background: var(--surface); color: var(--muted);
}
.cmdk-count { font-size: 11.5px; color: var(--muted-2); white-space: nowrap; }

/* ---- Phone: full-screen search sheet ---- */
@media (max-width: 640px) {
  .cmdk-overlay {
    padding: 0;
    align-items: stretch;
    background: rgba(8, 7, 4, 0.55);
  }
  .cmdk {
    max-width: 100%; width: 100%;
    max-height: 100%; height: 100%;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    animation: cmdkSheet .18s cubic-bezier(.2,.8,.2,1);
  }
  @keyframes cmdkSheet { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }

  /* Input row sits below the status bar / notch */
  .cmdk-input {
    padding: 16px 14px;
    padding-top: max(16px, env(safe-area-inset-top));
    gap: 10px;
  }
  .cmdk-input input { font-size: 16px; }  /* ≥16px stops iOS focus-zoom */
  .cmdk-esc {
    width: 34px; height: 34px; padding: 0; border-radius: 9px;
  }
  .cmdk-esc-txt { display: none; }
  .cmdk-esc-x { display: block; }

  .cmdk-body { padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }

  /* Roomier, finger-friendly rows */
  .sr-row { padding: 11px 12px; gap: 13px; border-radius: 13px; }
  .sr-ico { flex-basis: 34px; width: 34px; height: 34px; border-radius: 10px; }
  .sr-title { font-size: 14.5px; white-space: normal; }
  .sr-sub { font-size: 12.5px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .sr-enter { display: none; }   /* no hardware Enter key on touch */
  .cmdk-group-h { padding: 11px 12px 6px; font-size: 11px; }
  .cmdk-tip { font-size: 13px; padding: 12px 14px; }

  /* Footer: drop keyboard hints, keep the count centred */
  .cmdk-foot { justify-content: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  .cmdk-hints { display: none; }
  .cmdk-count { font-size: 12px; }
}

/* ---- Small tablet / large phone ---- */
@media (min-width: 641px) and (max-width: 760px) {
  .cmdk-overlay { padding: 56px 12px 12px; }
  .cmdk-hints span:nth-child(2) { display: none; }
}

/* Hero — liquid honey gradient (pure CSS, no animations) */
.hero {
  position: relative; overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,184,0,0.22);
  padding: 46px 56px 42px;
  background:
    /* warm centre-top glow */
    radial-gradient(85% 65% at 50% -5%, rgba(255,184,0,0.30) 0%, rgba(255,149,0,0.13) 32%, rgba(0,0,0,0) 66%),
    /* deep edge falloff */
    radial-gradient(120% 140% at 50% 50%, rgba(10,10,10,0) 35%, rgba(10,10,10,0.55) 75%, rgba(0,0,0,0.85) 100%),
    /* base gradient */
    linear-gradient(165deg, #181206 0%, #0E0A03 45%, #0A0A0A 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 0 0 1px rgba(255,184,0,0.06),
    0 24px 60px -20px rgba(0,0,0,0.6);
}
[data-theme="light"] .hero {
  background:
    /* warm centre glow — much softer */
    radial-gradient(60% 90% at 30% 40%, rgba(255,184,0,0.18) 0%, rgba(255,149,0,0.08) 35%, rgba(255,247,222,0) 70%),
    radial-gradient(45% 70% at 75% 35%, rgba(230,160,0,0.12) 0%, rgba(230,160,0,0) 60%),
    /* base — warm cream, not transparent */
    linear-gradient(165deg, #FFF3D2 0%, #FBE9B6 100%);
  border-color: rgba(185,125,0,0.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 8px 30px -10px rgba(185,125,0,0.25);
}
[data-theme="light"] .hero::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='41.57' height='72' viewBox='0 0 41.57 72'><g fill='none' stroke='%238C5A00' stroke-opacity='0.20' stroke-width='1'><path d='M20.78 12 L41.57 24 L41.57 48 L20.78 60 L0 48 L0 24 Z'/><path d='M0 -24 L20.78 -12 L20.78 12 L0 24 L-20.78 12 L-20.78 -12 Z'/><path d='M41.57 -24 L62.35 -12 L62.35 12 L41.57 24 L20.79 12 L20.79 -12 Z'/><path d='M0 48 L20.78 60 L20.78 84 L0 96 L-20.78 84 L-20.78 60 Z'/><path d='M41.57 48 L62.35 60 L62.35 84 L41.57 96 L20.79 84 L20.79 60 Z'/></g></svg>");
}
[data-theme="light"] .hero::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.85), transparent); }

/* Title — solid deep amber in light mode (no gold-on-cream fade) */
[data-theme="light"] .gold {
  background: linear-gradient(180deg, #8C4A00 0%, #7A3F00 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
}
[data-theme="light"] .hero-title .title-mark { color: #8C4A00; }
[data-theme="light"] .hero-title .title-mark svg {
  filter: drop-shadow(0 1px 2px rgba(140,74,0,0.3));
}
[data-theme="light"] .hero-sub { color: rgba(80, 50, 0, 0.85); }

/* Right-side bee — softer drop-shadow, no big blur */
[data-theme="light"] .bee-orb::before {
  background: radial-gradient(circle at 50% 50%, rgba(255,184,0,0.30) 0%, rgba(255,149,0,0.10) 35%, transparent 60%);
}
[data-theme="light"] .bee-orb img {
  filter: drop-shadow(0 4px 16px rgba(140,74,0,0.25)) drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Honeycomb global background — replace with a tinted version */

/* Honeycomb texture over the hero — real tessellating hex pattern, weighted to the right */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='41.57' height='72' viewBox='0 0 41.57 72'><g fill='none' stroke='%23FFB800' stroke-opacity='0.13' stroke-width='1'><path d='M20.78 12 L41.57 24 L41.57 48 L20.78 60 L0 48 L0 24 Z'/><path d='M0 -24 L20.78 -12 L20.78 12 L0 24 L-20.78 12 L-20.78 -12 Z'/><path d='M41.57 -24 L62.35 -12 L62.35 12 L41.57 24 L20.79 12 L20.79 -12 Z'/><path d='M0 48 L20.78 60 L20.78 84 L0 96 L-20.78 84 L-20.78 60 Z'/><path d='M41.57 48 L62.35 60 L62.35 84 L41.57 96 L20.79 84 L20.79 60 Z'/></g></svg>");
  background-size: 41.57px 72px;
  mask-image: radial-gradient(72% 130% at 50% 38%, #000 0%, rgba(0,0,0,0.4) 56%, transparent 86%);
  -webkit-mask-image: radial-gradient(72% 130% at 50% 38%, #000 0%, rgba(0,0,0,0.4) 56%, transparent 86%);
  opacity: 0.8;
  pointer-events: none;
}

/* Glossy highlight strip */
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; text-align: center; }

/* Sparkles ("brillitos") over the header banner */
.hero-sparks { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; border-radius: inherit; }
.hero-sparks .spark {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #ffe18a 45%, rgba(255,191,31,0.2) 100%);
  box-shadow: 0 0 8px 2px rgba(255,191,31,0.6);
  animation: hs-twinkle 3.6s ease-in-out infinite;
  will-change: opacity, transform;
}
.hero-sparks .s-sm { width: 4px; height: 4px; }
.hero-sparks .s-md { width: 6px; height: 6px; }
.hero-sparks .s-lg { width: 8px; height: 8px; box-shadow: 0 0 12px 3px rgba(255,191,31,0.7); }
@keyframes hs-twinkle {
  0%, 100% { opacity: 0.12; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.2); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-sparks .spark { animation: none; opacity: 0.5; }
}

/* Light theme — deeper amber sparks so they read on the bright banner */
[data-theme="light"] .hero-sparks .spark {
  background: radial-gradient(circle, #ffae00 0%, #f59000 45%, rgba(200,120,0,0.25) 100%);
  box-shadow: 0 0 7px 1.5px rgba(225,140,0,0.55);
}
[data-theme="light"] .hero-sparks .s-lg {
  box-shadow: 0 0 11px 2.5px rgba(225,140,0,0.6);
}

.hero-title {
  font-size: 52px; line-height: 1.02; font-weight: 900;
  letter-spacing: -0.02em; margin: 0;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 4px;
}
.hero-title .title-mark {
  width: 64px; height: 64px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--honey);
}
.hero-title .title-mark svg {
  filter: drop-shadow(0 0 14px rgba(255,184,0,0.55)) drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 19px; line-height: 1.5;
  margin: 18px auto 24px; max-width: 560px;
}
[data-theme="light"] .hero-sub { color: rgba(26, 20, 7, 0.78); }
.hero-meta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 2; }

/* Premium gold gradient title text */
.gold {
  background: linear-gradient(180deg, #FFF1B8 0%, #FFD46B 35%, #FFB800 65%, #FF9500 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 30px rgba(255,184,0,0.15);
}

/* Right-side bee orb (static glow) */
.bee-orb {
  position: absolute; right: 40px; top: 50%;
  transform: translateY(-50%);
  width: 200px; height: 200px;
  z-index: 1;
  pointer-events: none;
}
.bee-orb::before {
  content: "";
  position: absolute; inset: -20%;
  background: radial-gradient(circle at 50% 50%, rgba(255,184,0,0.45) 0%, rgba(255,149,0,0.18) 35%, transparent 65%);
  filter: blur(8px);
}
.bee-orb img {
  position: relative;
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(255,184,0,0.55)) drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}
@media (max-width: 1000px) {
  .bee-orb { width: 130px; height: 130px; right: 20px; opacity: 0.85; }
  .hero { padding: 52px 36px 44px; }
  .hero-inner { max-width: 100%; }
  .hero-title { font-size: 42px; }
  .hero-title .title-mark { width: 52px; height: 52px; }
  .hero-title .title-mark svg { width: 48px; height: 48px; }
}

/* Layout */
.app-shell { display: flex; flex-direction: column; min-height: 100vh; }
.layout {
  display: grid;
  grid-template-columns: 270px minmax(0,1fr) 240px;
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 28px 80px;
}
@media (max-width: 1180px) {
  .layout { grid-template-columns: 240px minmax(0,1fr); }
  .toc-rail { display: none; }
}
@media (max-width: 880px) {
  .layout { grid-template-columns: minmax(0,1fr); padding: 18px 16px 80px; }
  .sidebar-rail { display: none; }
}

/* ───────────────────────── Phone breakpoint (≤ 720) ───────────────────────── */
@media (max-width: 720px) {
  /* Topbar: tighter spacing, less padding, hide some chrome */
  .topbar-inner { gap: 8px; padding: 10px 12px; }
  .brand .chip { display: none; }
  .brand-logo { width: 34px; height: 34px; }

  /* Search shrinks; hide the keyboard hint, give it room, never overflow */
  .searchbar { padding: 7px 12px; gap: 8px; }
  .searchbar input { font-size: 16px; }   /* 16px+ prevents iOS focus-zoom */
  .searchbar .kbd { display: none; }
  .topbar-center { flex: 1 1 auto; }
  .topbar-left { flex: 0 1 auto; }
  .topbar-right { flex: 0 0 auto; }
  .searchbar-trigger .searchbar-ph {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }

  /* Lang picker becomes just a flag */
  .langbtn { padding: 5px 8px; }
  .langbtn .lang-name { display: none; }

  /* Hide divider between brand and lang */
  .divider-v { display: none; }

  /* Mobile drawer Discord/Tebex CTAs */
  .drawer-cta {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 8px;
  }
  .drawer-cta .btn { width: 100%; justify-content: center; padding: 12px 14px; font-size: 14px; }

  /* Layout padding */
  .layout { padding: 14px 14px 60px; gap: 20px; }

  /* Hero — full-width content, smaller everything, bee removed */
  .hero { padding: 28px 20px 24px; border-radius: 14px; }
  .hero-inner { max-width: 100%; padding-right: 0; }
  .hero-title { font-size: 30px; gap: 6px; }
  .hero-title .title-mark { width: 38px; height: 38px; }
  .hero-title .title-mark svg { width: 34px !important; height: 34px !important; }
  .hero-sub { font-size: 14.5px; line-height: 1.5; margin: 12px 0 16px; }
  .hero-meta .chip { font-size: 11px; padding: 3px 8px; }
  .bee-orb { display: none; }

  /* Prose scaled */
  .prose h2 { font-size: 21px; margin-top: 32px; }
  .prose h3 { font-size: 16.5px; margin-top: 22px; }
  .prose p, .prose ul { font-size: 14.5px; }

  /* Dependency cards stack full-width */
  .deps-grid { grid-template-columns: 1fr; gap: 8px; }
  .dep-link { padding: 12px 14px; }

  /* Steps tighter */
  .step { gap: 12px; }
  .step-num { flex: 0 0 30px; height: 30px; font-size: 13px; border-radius: 8px; }

  /* Code: smaller font + ensure overflow */
  .codeblock pre { font-size: 12.5px; padding: 12px 14px; }
  .codeblock-head { padding: 7px 12px; font-size: 11px; }
  .copy-btn span { display: none; }

  /* Callouts + error cards keep padding, but ensure they don't bust the page */
  .callout { padding: 12px 14px; gap: 10px; }
  .callout .ico { width: 22px; height: 22px; flex: 0 0 22px; }
  .error-card-head { padding: 10px 12px; }
  .error-card-body { padding: 12px 14px; }
  .error-card-code { font-size: 11.5px; }

  /* Doc footer: stack and full width */
  .docfoot { gap: 12px; }
  .docfoot > * { flex: 1 1 100%; min-width: 0; }

  /* Bigger touch targets in sidebar (drawer) */
  .drawer .side-toggle { padding: 12px 12px; font-size: 14.5px; }
  .drawer .side-item { padding: 10px 12px; font-size: 14.5px; }
}

/* TOC mobile: collapsed disclosure that replaces the right-rail TOC at tablet/phone widths. */
.toc-mobile { display: none; }
@media (max-width: 1180px) {
  .toc-mobile {
    display: block;
    margin: 18px 0 4px;
  }
  .toc-mobile summary {
    list-style: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 11px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13.5px; font-weight: 500; color: var(--text);
  }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile summary .caret { color: var(--muted-2); transition: transform .15s ease; }
  .toc-mobile[open] summary .caret { transform: rotate(90deg); color: var(--honey); }
  .toc-mobile nav { padding: 8px 0 0; }
  .toc-mobile .toc-item { padding: 6px 12px; border-left: 1px solid var(--border); }
}

/* ───────────────────────── Tiny phone (≤ 420) ───────────────────────── */
@media (max-width: 420px) {
  .topbar-inner { padding: 8px 10px; gap: 6px; }
  .brand .brand-text { display: none; }   /* logo only, keep tap target */

  .hero { padding: 24px 16px 20px; }
  .hero-title { font-size: 26px; }
  .hero-title .title-mark { width: 32px; height: 32px; }
  .hero-title .title-mark svg { width: 28px !important; height: 28px !important; }

  .prose h2 { font-size: 19px; }
  .prose h3 { font-size: 15.5px; }

  .video-embed { border-radius: 10px; margin: 14px 0 20px; }
  .video-play { width: 52px; height: 52px; }
}

/* Sticky rails */
.sidebar-rail, .toc-rail {
  position: sticky;
  top: 76px;
  align-self: start;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  padding-right: 6px;
}

/* Mobile sidebar drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 90; animation: pop .15s ease;
}
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 91;
  width: 280px; background: var(--bg);
  border-right: 1px solid var(--border);
  padding: 20px 14px; overflow-y: auto;
  animation: slidein .2s ease;
}
@keyframes slidein { from { transform: translateX(-100%); } to { transform: none; } }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .topbar { background: rgba(251,247,238,0.78); }
.topbar-inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 28px;
}
.topbar-zone { display: flex; align-items: center; gap: 14px; flex: 1 1 0; min-width: 0; }
.topbar-left { justify-content: flex-start; }
.topbar-right { justify-content: flex-end; }
.topbar-center { flex: 0 1 460px; display: flex; justify-content: center; min-width: 0; }
@media (max-width: 880px) { .topbar-inner { padding: 10px 16px; } }
@media (max-width: 880px) { .topbar-zone { gap: 8px; } }

.brand {
  display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; letter-spacing: -0.01em;
}
.brand .brand-text { display: inline; }
.brand-logo {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  filter: drop-shadow(0 0 12px rgba(255,184,0,0.35));
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }

.divider-v { width: 1px; height: 22px; background: var(--border); }

/* Hover wing flutter on the small logo */
@keyframes flutter {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}
.brand:hover .brand-logo img { animation: flutter 1.2s ease-in-out infinite; }

/* Hide on mobile / desktop helpers */
.only-desktop { display: inline-flex; }
.only-mobile { display: none; }
@media (max-width: 880px) {
  .only-desktop { display: none !important; }
  .only-mobile { display: inline-flex; }
}

/* Page-transition fade */
.page-fade { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Footer */
.docfoot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted); font-size: 13px;
}
.docfoot .arrow { display: inline-flex; align-items: center; gap: 6px; }
.docfoot a { color: var(--text); text-decoration: none; }
.docfoot a:hover { color: var(--honey); }

/* Site footer */
.site-footer {
  position: relative;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: var(--bg);
}
.site-footer a { text-decoration: none; }
.site-footer-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 56px 26px 30px;
  display: block;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.foot-brand { text-align: center; }
.foot-logo {
  display: inline-flex; align-items: center; gap: 4px;
  margin-bottom: 18px; justify-content: center;
}
.foot-logo img {
  width: 56px; height: 56px; object-fit: contain;
  flex: none;
  filter: drop-shadow(0 2px 8px rgba(255,184,0,0.22));
}
.foot-logo-text {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  line-height: 0.9;
}
.foot-logo-text .l1, .foot-logo-text .l2 {
  font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em;
  font-size: 22px;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.foot-logo-text .l1 {
  background-image: linear-gradient(180deg, #fff, #d2c8b1);
  -webkit-text-stroke: 0.3px #f3ead6;
}
.foot-logo-text .l2 {
  background-image: linear-gradient(135deg, #ffe488 0%, #ffbf1f 42%, #ec8a00 100%);
  -webkit-text-stroke: 0.3px #ffbf1f;
}
.foot-brand p {
  color: #9b9176; font-size: 14px; line-height: 1.6;
  max-width: 320px; margin: 0 auto;
}

.foot-col { display: block; }
.foot-col h4 {
  display: inline-flex; align-items: center;
  margin: 0 0 20px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: #1a1304;
  background: linear-gradient(135deg, #ffe488 0%, #ffbf1f 42%, #ec8a00 100%);
  padding: 8px 17px; border-radius: 999px;
  box-shadow: 0 8px 20px -10px rgba(247,181,0,0.6);
}
.foot-col a {
  display: block;
  color: #9b9176; font-size: 14.5px; font-weight: 500;
  padding: 6px 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.foot-col a:hover { color: #f8f2e4; padding-left: 4px; }

.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.foot-bottom .copyright { color: #9b9176; font-size: 13px; margin: 0; }
.foot-fine {
  color: #766d57; font-size: 12px; line-height: 1.6;
  margin: 6px 0 0; max-width: 660px;
}
.foot-pay {
  display: flex; align-items: center; gap: 10px;
  list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}
.foot-pay img { height: 22px; width: auto; opacity: 0.85; }

@media (max-width: 980px) {
  .foot-top { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-footer-inner { padding: 44px 16px 28px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* TOC rail */
.toc-h { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); margin-bottom: 10px; padding-left: 10px; }
.toc-help {
  margin-top: 24px; padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.toc-help h4 { margin: 0 0 6px; font-size: 13.5px; color: var(--text); font-weight: 600; }
.toc-help p { margin: 0 0 10px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.toc-help a { color: var(--honey); font-size: 12.5px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

/* Error card — for Asset Escrow page */
.error-card {
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.06) 0%, rgba(239, 68, 68, 0.02) 100%);
  margin: 14px 0 22px;
  overflow: hidden;
}
[data-theme="light"] .error-card {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0.03) 100%);
}
.error-card-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.12);
  border-bottom: 1px solid rgba(239, 68, 68, 0.25);
  color: #FCA5A5;
}
[data-theme="light"] .error-card-head { color: #B91C1C; }
.error-card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.18);
  color: #FCA5A5;
  flex-shrink: 0;
}
[data-theme="light"] .error-card-ico { color: #DC2626; background: rgba(239, 68, 68, 0.18); }
.error-card-code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px;
  color: inherit;
  background: transparent;
  border: 0; padding: 0;
  overflow-wrap: anywhere;
}
.error-card-body { padding: 14px 16px; }
.error-card-cause {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 12px;
  line-height: 1.55;
}
.error-card-soln-h {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--tip);
  margin-bottom: 6px;
}
.error-card-soln {
  margin: 0 !important;
  padding-left: 22px !important;
  color: var(--muted);
}
.error-card-soln li { margin: 4px 0; }

/* Video embed (16:9) */
.video-embed {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  margin: 20px 0 28px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  display: block;
}
.video-embed > iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}
.video-embed > .video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(255,184,0,0.10), transparent 70%),
    linear-gradient(135deg, #14140F 0%, #0A0A0A 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'><g fill='none' stroke='%23FFB800' stroke-opacity='0.08' stroke-width='1'><path d='M28 1l24 14v32L28 61 4 47V15z'/></g></svg>");
}
.video-play {
  width: 64px; height: 64px; border-radius: 999px;
  background: linear-gradient(180deg, var(--honey), var(--honey-deep));
  display: grid; place-items: center;
  color: #1a1100;
  box-shadow: 0 0 32px rgba(255,184,0,0.45);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.video-play:hover { transform: scale(1.06); box-shadow: 0 0 48px rgba(255,184,0,0.6); }

/* Caption row below the iframe — title links out to YouTube */
.video-figcap {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 12px 16px 14px;
  background: rgba(255,184,0,0.04);
  border-top: 1px solid var(--border);
}
.video-title-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display, inherit);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--honey);
  text-decoration: none;
  line-height: 1.3;
  transition: color .15s ease;
}
.video-title-link svg { width: 12px; height: 12px; opacity: 0.85; flex-shrink: 0; }
.video-title-link:hover { color: #FFD24A; text-decoration: underline; text-underline-offset: 3px; }
.video-caption-inline { color: var(--muted); font-size: 12.5px; }
.video-caption { color: var(--muted); font-size: 13px; }

.deps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.deps-grid .dep-link { margin-bottom: 0; }

/* External-link row in a list */
.dep-link {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  transition: all .18s ease;
  margin-bottom: 10px;
}
.dep-link:hover {
  border-color: rgba(255,184,0,0.45);
  background: var(--surface-2);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}
.dep-link .dep-ico {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 9px;
  background: rgba(255,184,0,0.10);
  border: 1px solid rgba(255,184,0,0.3);
  display: grid; place-items: center;
  color: var(--honey);
}
.dep-link .dep-name { font-weight: 600; font-size: 14.5px; color: var(--text); }
.dep-link .dep-desc { font-size: 12.5px; color: var(--muted); }
.dep-link .dep-arrow { margin-left: auto; color: var(--muted-2); }
.dep-link:hover .dep-arrow { color: var(--honey); }

/* Hex tag */
.hex-tag {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px 5px 30px;
  border-radius: 999px;
  background: rgba(255,184,0,0.07);
  border: 1px solid rgba(255,184,0,0.35);
  font-size: 11.5px; font-weight: 500; color: var(--honey);
}
.hex-tag::before {
  content: ""; position: absolute; left: 9px; top: 50%; width: 12px; height: 14px;
  transform: translateY(-50%);
  background:
    linear-gradient(180deg, var(--honey), var(--honey-deep));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ===== Discount promo popup ===== */
.hs-promo {
  --hsp-honey: #ffbf1f;
  --hsp-grad: linear-gradient(135deg, #ffe488 0%, #ffbf1f 42%, #ec8a00 100%);
  --hsp-ink: #f8f2e4;
  --hsp-ink-soft: #d2c8b1;
  --hsp-line: rgba(247,181,0,.14);
  --hsp-ease: cubic-bezier(.22,.61,.36,1);
  position: fixed; right: 22px; bottom: 22px; z-index: 1000; width: 330px;
  max-width: calc(100vw - 28px);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  animation: hs-promo-in .5s var(--hsp-ease) both;
}
.hs-promo-close {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: #d2c8b1;
  background: rgba(18,14,8,.78);
  border: 1px solid rgba(247,181,0,.14);
  padding: 7px 14px; border-radius: 999px;
  transition: .2s;
}
.hs-promo-close svg { width: 13px; height: 13px; }
.hs-promo-close:hover { color: var(--hsp-ink); border-color: rgba(247,181,0,.5); }
.hs-promo-card {
  position: relative; width: 100%; text-align: center; overflow: hidden; border-radius: 18px; padding: 26px 22px;
  background: linear-gradient(180deg, rgba(40,30,10,.55), rgba(12,10,7,.5));
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(247,181,0,.5);
  box-shadow: 0 0 0 1px rgba(247,181,0,.12), 0 0 42px -6px rgba(247,181,0,.5), 0 30px 60px -22px rgba(0,0,0,.75);
}
.hs-promo-card::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 240px; height: 200px;
  background: radial-gradient(circle, rgba(247,181,0,.22), transparent 70%); pointer-events: none;
}
.hs-promo-badge {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: 13px;
  background: var(--hsp-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hs-promo-badge svg { width: 18px; height: 18px; stroke: var(--hsp-honey); }
.hs-promo-off {
  position: relative; font-weight: 900; font-size: 2.6rem; line-height: 1;
  color: var(--hsp-ink); margin: 12px 0 6px; letter-spacing: -.01em;
}
.hs-promo-off span { background: var(--hsp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hs-promo-sub { position: relative; color: var(--hsp-ink-soft); font-size: 13px; line-height: 1.5; margin: 0 0 18px; }
.hs-promo-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%;
  background: var(--hsp-grad); color: #0c0a07; font-weight: 800; font-size: 13.5px;
  padding: 13px 18px; border-radius: 12px; text-decoration: none;
  box-shadow: 0 12px 26px -8px rgba(247,181,0,.6); transition: transform .2s, box-shadow .2s;
}
.hs-promo-btn svg { width: 18px; height: 18px; }
.hs-promo-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(247,181,0,.7); }
@keyframes hs-promo-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 520px) { .hs-promo { right: 12px; left: 12px; bottom: 12px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .hs-promo { animation: none; } }

/* Light theme — clean warm card instead of the dark glass (which turned grey) */
[data-theme="light"] .hs-promo-close {
  color: #6b5a2e;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(150,95,0,0.25);
  box-shadow: 0 2px 8px rgba(140,100,0,0.12);
}
[data-theme="light"] .hs-promo-close:hover { color: #3a2e10; border-color: rgba(150,95,0,0.5); }
[data-theme="light"] .hs-promo-card {
  background: linear-gradient(180deg, #fffdf7 0%, #fff6e2 100%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 1px solid rgba(225,150,0,0.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    0 0 0 1px rgba(225,150,0,0.08),
    0 20px 48px -18px rgba(150,100,0,0.45);
}
[data-theme="light"] .hs-promo-card::before {
  background: radial-gradient(circle, rgba(255,184,0,0.28), transparent 70%);
}
[data-theme="light"] .hs-promo-off { color: #2a1d05; }
[data-theme="light"] .hs-promo-sub { color: #8a7748; }
[data-theme="light"] .hs-promo-btn {
  box-shadow: 0 10px 22px -8px rgba(225,150,0,0.55);
  color: #2a1800;
}

/* ============================================================
   Welcome / landing page
   ============================================================ */

/* Hero — compact, logo-free */
.welcome-hero { padding: 48px 40px 46px; }
.welcome-hero-inner {
  position: relative; z-index: 2;
  max-width: 720px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
@media (prefers-reduced-motion: reduce) {
  .hero-sparks .spark { animation: none; opacity: 0.5; }
}
.welcome-eyebrow {
  display: inline-block;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--honey);
  padding: 5px 14px; border-radius: 999px;
  border: 1px solid rgba(255,184,0,0.35); background: rgba(255,184,0,0.07);
  margin-bottom: 16px;
}
.welcome-title {
  font-size: 56px; line-height: 1.0; font-weight: 900; letter-spacing: 0.005em;
  text-transform: uppercase; margin: 0; color: var(--text);
}
.welcome-tagline {
  color: rgba(255,255,255,0.78);
  font-size: 18px; line-height: 1.55;
  margin: 18px auto 0; max-width: 560px;
}
[data-theme="light"] .welcome-tagline { color: rgba(26,20,7,0.80); }

/* Lead paragraph */
.welcome-lead {
  margin: 30px auto 0; max-width: 760px;
  color: var(--muted); font-size: 17px; line-height: 1.7;
  text-wrap: pretty;
}

/* Fast-navigation card in the right rail (Welcome only) */
.toc-fastnav {
  display: block; width: 100%; text-align: left; font-family: inherit;
  margin-top: 22px; padding: 16px;
  border: 1px solid rgba(255,184,0,0.30);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,184,0,0.08), rgba(255,184,0,0.015));
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.toc-fastnav:hover {
  border-color: rgba(255,184,0,0.55);
  box-shadow: 0 8px 26px rgba(0,0,0,0.28), 0 0 0 1px rgba(255,184,0,0.10);
  transform: translateY(-1px);
}
.toc-fastnav:focus-visible { outline: 2px solid var(--honey); outline-offset: 2px; }
.toc-fastnav-h {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13px; color: var(--text); margin-bottom: 8px;
}
.toc-fastnav-ico {
  width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px;
  display: grid; place-items: center; color: var(--honey);
  background: rgba(255,184,0,0.16); border: 1px solid rgba(255,184,0,0.28);
}
.toc-fastnav p {
  color: var(--muted); font-size: 12.5px; line-height: 1.7; margin: 0;
}
.toc-fastnav .kbd { vertical-align: middle; margin: 0 1px; }

/* Section headings on the welcome page */
.welcome-h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.015em;
  color: var(--text); margin: 46px 0 8px; scroll-margin-top: 90px;
}
.welcome-section-sub { color: var(--muted); font-size: 15px; margin: 0 0 18px; }

/* Product-guide cards */
.welcome-products {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.pcard {
  display: flex; flex-direction: column;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  text-decoration: none; color: var(--text);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.pcard:hover {
  transform: translateY(-3px);
  border-color: rgba(255,184,0,0.5);
  box-shadow: var(--shadow-glow);
}
.pcard-cover {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(110% 90% at 50% -10%, rgba(255,184,0,0.28), transparent 62%),
    linear-gradient(160deg, #1b1710 0%, #120f0b 100%);
}
.pcard-cover::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='48' viewBox='0 0 28 48'><g fill='none' stroke='%23FFB800' stroke-opacity='0.16' stroke-width='1'><path d='M14 0 L28 8 L28 24 L14 32 L0 24 L0 8 Z'/><path d='M14 16 L28 24 L28 40 L14 48 L0 40 L0 24 Z'/></g></svg>");
  background-size: 28px 48px;
}
.pcard-img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.pcard-cover.has-img { background: #0d0b08; }
.pcard-cover.has-img::before { display: none; }
.pcard-glyph {
  position: relative; z-index: 1;
  width: 78px; height: 78px; border-radius: 18px;
  display: grid; place-items: center; color: var(--honey);
  background: rgba(255,184,0,0.10);
  border: 1px solid rgba(255,184,0,0.32);
  box-shadow: 0 0 26px rgba(255,184,0,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
}
.pcard:hover .pcard-img { transform: scale(1.04); }
.pcard-img { transition: transform .35s ease; }
.pcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pcard-name { font-weight: 800; font-size: 16.5px; letter-spacing: -0.01em; }
.pcard-ver {
  font-size: 10.5px; font-weight: 600; padding: 2px 8px;
  color: var(--honey); border-color: rgba(255,184,0,0.32); background: rgba(255,184,0,0.07);
}
.pcard-desc { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 8px 0 0; flex: 1; }
.pcard-foot {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; color: var(--honey); font-weight: 600; font-size: 13px;
}
.pcard:hover .pcard-foot { gap: 10px; }

/* Quick-access cards — refined horizontal chips */
.welcome-quick {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.qcard {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 11px;
  padding: 10px 14px; border-radius: 13px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 130%);
  text-decoration: none; color: var(--text);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.qcard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.qcard::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,184,0,0.16), transparent 70%);
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.qcard:hover {
  transform: translateY(-3px);
  border-color: rgba(255,184,0,0.45);
  box-shadow: var(--shadow-glow);
}
.qcard:hover::after { opacity: 1; }
.qcard-ico {
  position: relative; z-index: 1;
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; color: var(--honey);
  background: rgba(255,184,0,0.13); border: 1px solid rgba(255,184,0,0.26);
  transition: transform .2s ease;
}
.qcard:hover .qcard-ico { transform: scale(1.06); }
.qcard-ico-discord { color: #8f9bff; background: rgba(88,101,242,0.16); border-color: rgba(88,101,242,0.32); }
.qcard-ico-escrow  { color: var(--tip); background: rgba(74,222,128,0.13); border-color: rgba(74,222,128,0.30); }
.qcard-text { position: relative; z-index: 1; min-width: 0; flex: 1; }
.qcard-label { font-weight: 700; font-size: 13.5px; line-height: 1.2; letter-spacing: -0.01em; }
.qcard-desc { color: var(--muted); font-size: 11px; line-height: 1.3; margin-top: 1px; }
.qcard-arrow {
  position: relative; z-index: 1;
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; color: var(--muted-2);
  border: 1px solid var(--border);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.qcard:hover .qcard-arrow {
  color: var(--honey); border-color: rgba(255,184,0,0.45);
  background: rgba(255,184,0,0.08); transform: translateX(2px);
}

/* Support — single themed banner */
.welcome-support-lead { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.support-banner {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: 16px;
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(255,184,0,0.08), transparent 55%),
    var(--surface);
}
.support-banner-ico {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; color: var(--honey);
  background: rgba(255,184,0,0.13); border: 1px solid rgba(255,184,0,0.26);
}
.support-banner-text { flex: 1; min-width: 0; }
.support-banner-h { font-weight: 800; font-size: 16px; color: var(--text); letter-spacing: -0.01em; }
.support-banner-b { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin-top: 3px; }
.support-banner-cta { flex-shrink: 0; padding: 10px 18px; font-size: 13.5px; }
.support-banner-cta svg { width: 15px; height: 15px; }
@media (max-width: 640px) {
  .support-banner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .support-banner-cta { align-self: stretch; justify-content: center; }
}

@media (max-width: 1100px) {
  .welcome-products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .welcome-hero { padding: 44px 32px 40px; }
  .welcome-title { font-size: 42px; }
  .welcome-quick { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .welcome-hero { padding: 34px 20px 30px; }
  .welcome-title { font-size: 32px; }
  .welcome-tagline { font-size: 15px; }
  .welcome-lead { font-size: 15.5px; }
  .welcome-products { grid-template-columns: 1fr; }
}
