/**
 * FRANticc Platform Shell — Consistent top bar + footer across all pages
 * Load this on every page: <link rel="stylesheet" href="/franticc-shell.css">
 */

/* ─── PLATFORM TOP BAR (Cockpit) ─── */
/* .ftc-bar is an alias for .top-black-bar — identical visual */
.ftc-bar, .top-black-bar-shell { position: fixed; top: 0; left: 0; width: 100%; height: 64px; background: rgba(10,15,20,0.95); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); z-index: 20000; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; box-sizing: border-box; border-bottom: 1px solid rgba(255,255,255,0.08); overflow: visible; }

/* Grid overlay */
.ftc-bar::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%); }

/* Icon glow pools */
.ftc-bar::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(ellipse 140px 60px at 90px 50%, rgba(16,185,129,0.12), transparent 70%), radial-gradient(ellipse 100px 50px at calc(100% - 200px) 50%, rgba(255,255,255,0.06), transparent 70%), radial-gradient(ellipse 100px 50px at calc(100% - 100px) 50%, rgba(255,255,255,0.05), transparent 70%), radial-gradient(ellipse 80px 40px at calc(100% - 40px) 50%, rgba(255,255,255,0.04), transparent 70%); mix-blend-mode: overlay; }

/* Cockpit buttons — match brandpage .btn-naked */
.ftc-bar .btn-naked { background: transparent; color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 5px; transition: all 0.2s; opacity: 0.8; outline: none; flex-shrink: 0; position: relative; z-index: 1; }
.ftc-bar .btn-naked:hover { opacity: 1; }
/* Cockpit icons on desktop are 23 px with 5 px gap — locked 2026-06-03 after
   live tuning via the tour preview panel. !important because Logotile.html
   still carries higher-specificity inline overrides (.theme-toggle svg width:
   15px and .btn-naked svg width: 26px) from an earlier pass. */
.ftc-bar .btn-naked svg { width: 30px !important; height: 30px !important; min-width: 30px !important; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ftc-bar .theme-toggle svg { width: 30px !important; height: 30px !important; }
.ftc-bar .top-controls { display: flex; align-items: center; gap: 5px !important; position: relative; z-index: 1; }

/* ─── ANIMATED FRANticc ORBITAL LOGO (top-bar left) ─── */
/* Promoted from inline-only (refund-policy.html etc.) on 2026-05-26 so
   the platform shell can render the canonical logo without per-page
   duplication. */
.fl-wrap { --fl-size: 1.25; position: relative; display: inline-flex; align-items: center; padding: 4px 8px; overflow: visible; cursor: pointer; flex-shrink: 0; font-size: calc(22px * var(--fl-size)); text-decoration: none; z-index: 1; }
.fl-logo { display: flex; align-items: baseline; position: relative; z-index: 2; }
.fl-logo span { font-family: 'Urbanist', sans-serif; font-size: 1em; font-weight: 700; color: #fff; display: inline-block; animation: flFloat 6s ease-in-out infinite; }
.fl-logo span:nth-child(1) { animation-delay: 0s; }
.fl-logo span:nth-child(2) { animation-delay: 0.4s; }
.fl-logo span:nth-child(3) { animation-delay: 0.8s; }
.fl-logo span:nth-child(4) { animation-delay: 1.2s; }
.fl-logo .fl-sun { color: #10b981; font-size: 1.18em; position: relative; animation: flFloat 6s ease-in-out infinite, flPulse 3s ease-in-out infinite; animation-delay: 1.5s, 0s; text-shadow: 0 0 0.55em rgba(16,185,129,0.5), 0 0 1.36em rgba(16,185,129,0.2); }
.fl-logo span:nth-child(6) { animation-delay: 1.8s; color: rgba(255,255,255,0.4); font-weight: 300; }
.fl-logo span:nth-child(7) { animation-delay: 2.1s; color: rgba(255,255,255,0.4); font-weight: 300; }
.fl-logo span:nth-child(8) { animation-delay: 2.4s; color: rgba(255,255,255,0.4); font-weight: 300; }
.fl-logo span:nth-child(9) { animation-delay: 2.7s; color: rgba(255,255,255,0.4); font-weight: 300; }
.fl-logo::after { content: ''; position: absolute; bottom: -0.18em; left: 15%; width: 70%; height: 1px; background: linear-gradient(90deg, transparent, rgba(16,185,129,0.3), transparent); animation: flUnder 4s ease-in-out infinite; }
@keyframes flFloat { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-0.14em); } 70% { transform: translateY(0.09em); } }
@keyframes flPulse { 0%, 100% { text-shadow: 0 0 0.36em rgba(16,185,129,0.4), 0 0 0.9em rgba(16,185,129,0.15); } 50% { text-shadow: 0 0 0.82em rgba(16,185,129,0.7), 0 0 1.8em rgba(16,185,129,0.3); } }
@keyframes flUnder { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.fl-orb { position: absolute; top: 50%; left: 50%; border-radius: 50%; pointer-events: none; z-index: 3; }
.fl-od { position: absolute; border-radius: 50%; }
.fl-orb-1 .fl-od { top: 0; left: 50%; transform: translate(-50%, -50%); }
.fl-orb-2 .fl-od { top: 50%; left: 100%; transform: translate(-50%, -50%); }
.fl-orb-3 .fl-od { top: 100%; left: 50%; transform: translate(-50%, -50%); }
.fl-orb-1 { width: 1.09em; height: 0.94em; margin-left: -0.55em; margin-top: -0.47em; animation: flSpin1 9s linear infinite; }
.fl-orb-1 .fl-od { width: 0.11em; height: 0.11em; background: #fff; box-shadow: 0 0 0.22em rgba(255,255,255,0.8); }
.fl-orb-2 { width: 3.18em; height: 2.74em; margin-left: -1.59em; margin-top: -1.37em; animation: flSpin2 38s linear infinite; }
.fl-orb-2 .fl-od { width: 0.12em; height: 0.12em; background: #fff; box-shadow: 0 0 0.24em rgba(255,255,255,0.8); }
.fl-orb-3 { width: 4.55em; height: 3.91em; margin-left: -2.27em; margin-top: -1.96em; animation: flSpin3 44s linear infinite; }
.fl-orb-3 .fl-od { width: 0.07em; height: 0.07em; background: #0a0e17; box-shadow: 0 0 0.14em rgba(10,14,23,0.5); }
@keyframes flSpin1 { from { transform: rotateX(71deg) rotateY(11deg) rotateZ(0deg); } to { transform: rotateX(71deg) rotateY(11deg) rotateZ(360deg); } }
@keyframes flSpin2 { from { transform: rotateX(55deg) rotateY(-44deg) rotateZ(360deg); } to { transform: rotateX(55deg) rotateY(-44deg) rotateZ(0deg); } }
@keyframes flSpin3 { from { transform: rotateX(7deg) rotateY(-27deg) rotateZ(0deg); } to { transform: rotateX(7deg) rotateY(-27deg) rotateZ(360deg); } }

/* ─── CANONICAL COCKPIT BUTTONS (Pixie · LET AI PICK · search-mag-btn) ─── */
/* Populated by /pixie-bundle.min.js into <div id="cockpit-shared"> on
   DOMContentLoaded. Promoted from inline-only (Logotile.html) on 2026-05-26
   so any page that places #cockpit-shared inside .top-controls + loads
   the bundle gets a pixel-identical cockpit. Visual rules only — Pixie's
   gaze/tilt/saccade behaviours stay JS-driven from pixie.js. */

/* LET AI PICK — three-row label, gradient pearl-shimmer on the middle row */
.let-ai-pick { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 8px; line-height: 0.95; cursor: pointer; text-decoration: none !important; transition: filter 0.2s ease, transform 0.2s ease; flex-shrink: 0; height: 36px; }
.let-ai-pick:hover { transform: scale(1.04); filter: brightness(1.15) drop-shadow(0 0 6px rgba(16,185,129,0.55)); text-decoration: none !important; }
.let-ai-pick .row, .let-ai-pick:hover .row { text-decoration: none !important; }
.let-ai-pick .row { display: block; font-family: 'Urbanist', sans-serif; font-weight: 800; text-align: center; }
.let-ai-pick .row-let, .let-ai-pick .row-pick { font-size: 7px; color: rgba(255,255,255,0.78); letter-spacing: 0.18em; }
.let-ai-pick .row-ai { font-size: 14.5px; letter-spacing: 0.02em; background: linear-gradient(110deg, #10b981, #3b82f6 30%, #8b5cf6 60%, #ec4899 80%, #f59e0b); background-size: 200% 100%; animation: pearlShimmer 8s ease-in-out infinite; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 5px rgba(139,92,246,0.5)); }
@keyframes pearlShimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
body.light .let-ai-pick .row-let, body.light .let-ai-pick .row-pick,
body.light-mode .let-ai-pick .row-let, body.light-mode .let-ai-pick .row-pick { color: rgba(0,0,0,0.65); }

/* Pixie pixel-art bar icon (32px). Body purple, eyes cyan, mouth yellow. */
.pixie-bar-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; margin-right: 4px; text-decoration: none; cursor: pointer; flex-shrink: 0; border-radius: 50%; transition: transform 0.2s ease, filter 0.2s ease; }
.pixie-bar-icon:hover { transform: scale(1.06); filter: drop-shadow(0 0 6px rgba(176,132,255,0.55)); }
.pixie-bar-icon svg { width: 32px; height: 32px; display: block; overflow: visible; }
.pixie-bar-icon .px-bar-body { fill: #b084ff; opacity: 0.85; }
.pixie-bar-icon .px-bar-eyes { fill: #6ee7ff; }
.pixie-bar-icon .px-bar-mouth { fill: #fde68a; }
.pixie-bar-icon .px-emo-thinking, .pixie-bar-icon .px-emo-happy, .pixie-bar-icon .px-emo-glad { display: none; }
@keyframes pxBarBlink { 0%, 92%, 100% { transform: translate(var(--eye-dx, 0px), var(--eye-dy, 0px)) scaleY(1); } 95%, 97% { transform: translate(var(--eye-dx, 0px), var(--eye-dy, 0px)) scaleY(0.12); } }
.pixie-bar-icon .px-emo-idle { transform-origin: center 114px; animation: pxBarBlink 4.5s ease-in-out infinite; }

/* Search magnifier button (rightmost of cockpit-shared). Inherits .btn-naked sizing. */
.search-mag-btn { background: transparent; color: #fff; border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 5px; transition: all 0.2s; opacity: 0.8; outline: none; flex-shrink: 0; position: relative; z-index: 1; }
.search-mag-btn:hover { opacity: 1; }
.search-mag-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.light-mode .search-mag-btn { color: #1e293b; }

/* ─── THEME TOGGLE (moon ↔ sun) ───────────────────────────────────
   Added 2026-05-30 for industry-hub deploy. Used by any page that
   wants a day/night toggle. .icon-moon shown in dark mode, .icon-sun
   shown in light mode. Click handler: document.body.classList.toggle('light-mode')
   (or call the page's toggleTheme() if it has persistence wired). */
.theme-toggle { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.85); border-radius: 50%; transition: background 0.2s, color 0.2s; padding: 0; flex-shrink: 0; }
.theme-toggle:hover { background: rgba(255,255,255,0.08); color: #fff; }
.theme-toggle svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); }
.theme-toggle .icon-sun { display: none; }
body.light-mode .theme-toggle { color: #475569; }
body.light-mode .theme-toggle:hover { background: rgba(0,0,0,0.05); color: #0f172a; }
body.light-mode .theme-toggle .icon-moon { display: none; }
body.light-mode .theme-toggle .icon-sun  { display: block; }

/* ─── PROFILE CIRCLE + MENU DROP (replaces hamburger pattern) ─────
   Added 2026-05-30. Profile circle IS the menu trigger. Click opens
   .menu-drop (positioned absolute below). frantic-auth.js can swap
   the SVG for the user's avatar when signed in. */
.profile-menu-wrapper { position: relative; }
.profile-circle { width: 30px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.15s; flex-shrink: 0; }
.profile-circle:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.22); transform: scale(1.06); }
.profile-circle svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.light-mode .profile-circle { background: rgba(0,0,0,0.05); color: #334155; border-color: rgba(0,0,0,0.08); }
body.light-mode .profile-circle:hover { background: rgba(0,0,0,0.09); border-color: rgba(0,0,0,0.14); }

.menu-drop { display: none; position: absolute; top: 38px; right: 0; min-width: 220px; background: rgba(15,23,42,0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 8px 0; box-shadow: 0 18px 48px rgba(0,0,0,0.6); z-index: 30000; font-family: 'Inter', sans-serif; }
.menu-drop.show { display: block; }
.menu-drop .menu-section-label { display: block; padding: 8px 18px 4px; color: rgba(255,255,255,0.4); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.menu-drop a { display: block; padding: 9px 18px; color: rgba(255,255,255,0.88); text-decoration: none; font-size: 13px; transition: background 0.15s; }
.menu-drop a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.menu-drop hr { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 6px 0; }
.menu-drop .signin-cta { color: #34d399; font-weight: 600; }
body.light-mode .menu-drop { background: rgba(255,255,255,0.98); border-color: rgba(0,0,0,0.06); box-shadow: 0 18px 48px rgba(0,0,0,0.12); }
body.light-mode .menu-drop a { color: #334155; }
body.light-mode .menu-drop a:hover { background: rgba(0,0,0,0.04); color: #0f172a; }
body.light-mode .menu-drop hr { border-top-color: rgba(0,0,0,0.06); }
body.light-mode .menu-drop .menu-section-label { color: rgba(0,0,0,0.4); }
body.light-mode .menu-drop .signin-cta { color: #047857; }

/* ─── PLATFORM FOOTER ─── */
.ftc-footer { background: #0a0f14; border-top: 1px solid rgba(255,255,255,0.06); padding: 40px 24px 32px; text-align: center; font-family: 'Inter', sans-serif; margin-top: 40px; position: relative; overflow: hidden; box-sizing: border-box; width: 100%; left: 0; right: 0; }

/* Footer grid — subtler diagonal crosshatch, different from top bar */
.ftc-footer::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(135deg, rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(225deg, rgba(255,255,255,0.015) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, black 0%, transparent 60%); -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 60%); }

/* Footer glow — single subtle emerald wash at top */
.ftc-footer::after { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 600px; height: 80px; pointer-events: none; background: radial-gradient(ellipse 600px 80px at center top, rgba(16,185,129,0.04), transparent 70%); }

.ftc-footer-inner { max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.ftc-footer-brand { font-family: 'Urbanist', sans-serif; font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.ftc-footer-brand .dot { color: #10b981; }
.ftc-footer-brand .fade { opacity: 0.35; }
/* Footer text contrast bumped (0.15–0.4 alpha → 0.55–0.7) so all lines
   pass WCAG AA (4.5:1) on the #0a0f14 background. Lighthouse flagged
   every footer text element at the old values. */
.ftc-footer-tagline { font-size: 11px; color: rgba(255,255,255,0.65); margin-bottom: 20px; }
.ftc-footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.ftc-footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 12px; font-weight: 500; font-family: 'Urbanist', sans-serif; transition: color 0.15s; }
.ftc-footer-links a:hover { color: #fff; }

/* SEO contextual scroll bar — Option B (notes/seo-link-topology.md). Quietly fainter than .ftc-footer-links so it reads as secondary. */
.ftc-footer-scroll { max-width: 600px; margin: 4px auto 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; mask-image: linear-gradient(to right, transparent 0%, #000 16px, #000 calc(100% - 16px), transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 16px, #000 calc(100% - 16px), transparent 100%); }
.ftc-footer-scroll::-webkit-scrollbar { display: none; }
.ftc-footer-scroll-inner { display: inline-flex; gap: 20px; padding: 0 16px; white-space: nowrap; }
.ftc-footer-scroll-inner a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 11px; font-weight: 500; font-family: 'Urbanist', sans-serif; flex-shrink: 0; transition: color 0.15s; letter-spacing: 0.02em; }
.ftc-footer-scroll-inner a:hover { color: rgba(255,255,255,0.9); }
.ftc-footer-sources { font-size: 10px; color: rgba(255,255,255,0.55); margin-bottom: 12px; letter-spacing: 0.3px; }

/* ─── Manifesto card (Option E) — sits between sources line and email row.
       Single source of truth: lib/canonical-chrome.js CANONICAL_FOOTER.
       Added 2026-06-01. Replaces nothing — purely additive. ─── */
.ftc-manifesto { max-width: 520px; margin: 0 auto 16px; padding: 14px 18px; background: rgba(16,185,129,0.04); border: 1px solid rgba(16,185,129,0.18); border-radius: 8px; text-align: left; }
.ftc-manifesto-header { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.95); margin-bottom: 10px; letter-spacing: 0.02em; }
.ftc-manifesto-list { margin: 0; padding: 0; list-style: none; }
.ftc-manifesto-list li { font-size: 11px; line-height: 1.6; color: rgba(255,255,255,0.75); padding: 3px 0 3px 22px; position: relative; }
.ftc-manifesto-list li::before { content: '\2713'; position: absolute; left: 0; top: 3px; color: #10b981; font-weight: 700; font-size: 12px; }
.ftc-manifesto-list strong { color: rgba(255,255,255,0.95); font-weight: 600; }

.ftc-footer-email { font-size: 11px; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.ftc-footer-email a { color: rgba(255,255,255,0.7); text-decoration: none; }
.ftc-footer-legal { font-size: 10px; color: rgba(255,255,255,0.55); }

/* ─── LIGHT MODE for dark-default pages ─── */
body.light-mode { background: #fafaf9 !important; color: #1e293b !important; }
body.light-mode .ftc-bar { background: rgba(255,255,255,0.95); border-bottom-color: rgba(0,0,0,0.06); }
body.light-mode .ftc-bar::before { background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px); }
body.light-mode .ftc-bar::after { background: radial-gradient(ellipse 140px 60px at 90px 50%, rgba(16,185,129,0.08), transparent 70%); }
body.light-mode .ftc-bar .btn-naked { color: #1e293b; }
body.light-mode .ftc-bar .btn-naked:hover { background: rgba(0,0,0,0.05); }
body.light-mode .ftc-bar .fl-logo span { color: #1e293b; }
body.light-mode .ftc-ctrl-btn { color: #1e293b; }
body.light-mode .ftc-footer { background: #f1f5f9; border-top-color: rgba(0,0,0,0.06); }
body.light-mode .ftc-footer-brand { color: #1e293b; }
body.light-mode .ftc-footer-tagline { color: #64748b; }
body.light-mode .ftc-footer-links a { color: #64748b; }
body.light-mode .ftc-footer-links a:hover { color: #1e293b; }
body.light-mode .ftc-footer-scroll-inner a { color: #94a3b8; }
body.light-mode .ftc-footer-scroll-inner a:hover { color: #1e293b; }
body.light-mode .ftc-footer-legal { color: #94a3b8; }
body.light-mode .ftc-footer::before { background-image: linear-gradient(135deg, rgba(0,0,0,0.02) 1px, transparent 1px), linear-gradient(225deg, rgba(0,0,0,0.02) 1px, transparent 1px); }
body.light-mode .ftc-manifesto { background: rgba(16,185,129,0.06); border-color: rgba(16,185,129,0.28); }
body.light-mode .ftc-manifesto-header { color: #1e293b; }
body.light-mode .ftc-manifesto-list li { color: #475569; }
body.light-mode .ftc-manifesto-list strong { color: #1e293b; }
body.light-mode .ftc-manifesto-list li::before { color: #059669; }

@media (max-width: 768px) {
    .ftc-bar { padding: 0 16px; height: 56px; }
    /* Cockpit icons on mobile are 21 px with 6 px gap — tap-target friendly
       without overflowing the bar. Locked 2026-06-03 after live tuning.
       !important is required because Logotile.html still has higher-
       specificity inline media-query rules (clamp()-based sizing). Cleaner
       cleanup of those inline rules can come in a follow-up pass. */
    .ftc-bar .top-controls { gap: 6px !important; }
    .ftc-bar .btn-naked svg { width: 28px !important; height: 28px !important; min-width: 28px !important; }
    .ftc-bar .theme-toggle svg { width: 28px !important; height: 28px !important; }
    .ftc-footer { padding: 32px 16px 24px; }
    .ftc-footer-links { gap: 12px; }
    .ftc-footer-scroll-inner { gap: 14px; padding: 0 12px; }
}

/* ─── Phone cockpit (≤ 600 px) ────────────────────────────────────────
   At 360-430 px the cockpit hosts 8 elements (wordmark + Pixie + LET AI
   PICK + search + ₹ + columns + night + profile) and the rightmost
   (profile circle) clips off-screen. Tightening starts at 600 px so any
   phone in portrait is caught. We trim the cockpit gap, btn padding,
   ftc-bar side padding, and the wordmark font (via --fl-size) so every
   icon stays in the viewport without restructuring the layout. The
   wordmark uses --fl-size so we can scale it without touching the
   .fl-logo span font-size each. */
@media (max-width: 600px) {
    .ftc-bar { padding: 0 10px; }
    .fl-wrap { --fl-size: 0.98; padding: 4px 4px; }
}
@media (max-width: 420px) {
    .ftc-bar { padding: 0 6px; }
    .fl-wrap { --fl-size: 0.84; padding: 4px 2px; }
}
