:root {
  --primary: #0f766e; --primary-dark: #0f766e; --accent: #f59e0b; --accent-light: #fff3cf;
  --bg: #092A2E; --text: #F2FEFF; --muted: #B8E7EA; --surface: #103E43; --border: rgba(184,231,234,0.24); --dark: #04171A;
  --success: #10B981;
  --warning-bg: #FEF3C7; --warning-border: #F59E0B; --warning-text: #78350F;
  --shadow-sm: 0 1px 2px rgba(15,23,41,0.05);
  --shadow-md: 0 4px 12px rgba(255,107,0,0.08);
  --shadow-lg: 0 12px 32px rgba(255,107,0,0.12);
  --shadow-xl: 0 20px 60px rgba(255,107,0,0.15);
  --radius: 14px; --radius-sm: 8px; --radius-lg: 22px; --radius-xl: 32px;
  --container: 1180px; --header-h: 64px;
  --font: system-ui, -apple-system, "Segoe UI", "Noto Sans", "Noto Sans Devanagari", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 18px; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; height: auto; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Topbar */
.topbar { background: var(--dark); color: #fff; font-size: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar .promo { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.topbar .promo .badge { background: var(--accent); color: var(--dark); padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 800; }
.topbar .social { display: flex; gap: 14px; align-items: center; }
.topbar .social a { color: #fff; opacity: 0.8; display: inline-flex; transition: opacity 0.2s; }
.topbar .social a:hover { opacity: 1; }
.topbar .social svg { width: 18px; height: 18px; fill: currentColor; }

/* Header */
header.site { position: sticky; top: 0; z-index: 100; background: var(--surface); border-bottom: 1px solid var(--border); height: var(--header-h); display: flex; align-items: center; box-shadow: var(--shadow-sm); }
header.site .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--primary); font-size: 22px; letter-spacing: -0.02em; }
.logo svg { width: 36px; height: 36px; }
.logo span.cs { color: var(--text); font-weight: 500; }
nav.main { display: flex; gap: 4px; flex: 1; justify-content: center; }
nav.main a { padding: 10px 14px; border-radius: var(--radius-sm); color: var(--text); font-weight: 500; font-size: 15px; transition: all 0.2s; white-space: nowrap; }
nav.main a:hover { background: var(--bg); color: var(--primary); text-decoration: none; }
.menu-toggle { display: none; background: transparent; border: 0; cursor: pointer; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius-sm); }
.menu-toggle:hover { background: var(--bg); }
.menu-toggle svg { width: 24px; height: 24px; fill: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1; cursor: pointer; border: 0; transition: all 0.2s; white-space: nowrap; text-decoration: none; gap: 8px; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent); color: var(--dark); }
.btn-accent:hover { background: #E5A500; color: var(--dark); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #059669; color: #fff; }

/* Sections */
section { padding: 64px 0; }
section h2 { font-size: 36px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-bottom: 12px; text-align: center; }
section .section-sub { font-size: 18px; color: var(--muted); text-align: center; max-width: 760px; margin: 0 auto 40px; }
section h3 { font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--text); margin-bottom: 8px; }
section p { margin-bottom: 16px; color: var(--text); }

/* HERO */
.hero { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; justify-content: center; padding: 60px 0; border-bottom: 1px solid var(--border); background: var(--bg); }
.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: url("/assets/img/hero-banner.webp") center/cover no-repeat; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-content { position: relative; z-index: 2; text-align: left; max-width: 1200px; padding: 0 40px; width: 100%; margin: 0 auto; }
.hero h1 { font-size: 56px; line-height: 1.05; font-weight: 900; letter-spacing: -0.03em; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3); margin-bottom: 20px; max-width: 700px; }
.hero .lede { font-size: 20px; line-height: 1.6; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.4); max-width: 600px; margin: 0 0 32px; opacity: 0.98; }
.hero .cta-pair { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; }
.hero .trust-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 32px; }
.hero .trust-row .item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }

/* Trust strip */
.trust-strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 32px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; align-items: center; }
.trust-pill { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--text); }
.trust-pill svg { width: 32px; height: 32px; flex-shrink: 0; }
.trust-pill .label { display: block; font-size: 11px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

/* Why grid */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.2s; }
.why-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.why-card .icon { width: 64px; height: 64px; margin-bottom: 16px; }
.why-card h3 { font-size: 20px; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0; }

/* Hub grid */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 32px; }
.hub-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; color: var(--text); transition: all 0.2s; text-align: center; }
.hub-card:hover { border-color: var(--accent); background: linear-gradient(135deg, #fff 0%, #FFF4E5 100%); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hub-card svg { width: 64px; height: 64px; margin: 0 auto 12px; display: block; }
.hub-card h4 { font-size: 16px; font-weight: 700; color: var(--primary); }
.hub-card p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }

/* Event/IPL block */
.event-block { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; border-radius: var(--radius-lg); padding: 56px 40px; margin-top: 32px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.event-block::before { content: ''; position: absolute; right: -20px; bottom: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,184,0,0.3), transparent 70%); border-radius: 50%; }
.event-block h2 { color: #fff; text-align: left; }
.event-block .section-sub { color: rgba(255,255,255,0.95); text-align: left; margin-bottom: 24px; }
.event-block ul { list-style: none; padding: 0; margin: 0 0 32px; }
.event-block li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.15); color: #fff; display: flex; align-items: center; gap: 12px; }
.event-block li::before { content: '✓'; width: 24px; height: 24px; background: var(--accent); color: var(--dark); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.event-block .event-img { position: relative; z-index: 1; }
.event-block .event-img img { width: 100%; max-width: 400px; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-xl); }

/* App block with mockup */
.app-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px 40px; margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.app-block::after { content: ''; position: absolute; right: -100px; top: -100px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,107,0,0.08), transparent 70%); border-radius: 50%; }
.app-block .app-info { position: relative; z-index: 1; }
.app-block .app-info h2 { text-align: left; }
.app-block .app-info p { color: var(--muted); font-size: 17px; margin: 12px 0 24px; }
.app-block .app-stats { display: flex; gap: 16px; margin: 24px 0; }
.app-block .app-stats > div { flex: 1; padding: 16px; background: var(--bg); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.app-block .app-stats strong { display: block; font-size: 24px; color: var(--primary); font-weight: 800; }
.app-block .app-stats span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.app-block .app-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.app-block .app-mockup { position: relative; z-index: 1; text-align: center; }
.app-block .app-mockup img { width: 100%; max-width: 320px; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15)); }

/* Winners */
.winners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 32px; }
.winner-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; border-left: 4px solid var(--accent); position: relative; }
.winner-card .badge { position: absolute; top: 16px; right: 16px; background: var(--accent); color: var(--dark); padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 800; }
.winner-card .name { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.winner-card .place { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.winner-card .quote { font-size: 15px; color: var(--text); font-style: italic; line-height: 1.5; margin-bottom: 12px; }
.winner-card .meta { font-size: 12px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--border); }

/* Trend block (replaces WC 2026) */
.trend-block { background: linear-gradient(135deg, #0f172a 0%, #2C3E5F 100%); color: #fff; border-radius: var(--radius-lg); padding: 48px 40px; margin-top: 32px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: center; }
.trend-block::before { content: ''; position: absolute; right: -50px; top: -50px; width: 250px; height: 250px; background: radial-gradient(circle, rgba(255,184,0,0.2), transparent 70%); border-radius: 50%; }
.trend-block h2 { color: #fff; text-align: left; }
.trend-block .section-sub { color: rgba(255,255,255,0.9); text-align: left; }
.trend-block .trend-img { position: relative; z-index: 1; }
.trend-block .trend-img img { width: 100%; max-width: 500px; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-xl); }

/* Bonus banner */
.bonus-banner { background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%); color: #fff; border-radius: var(--radius-lg); padding: 32px; margin: 48px 0; text-align: center; position: relative; overflow: hidden; }
.bonus-banner h3 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.bonus-banner p { color: rgba(255,255,255,0.95); margin-bottom: 20px; }
.bonus-banner .code-box { display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.15); border: 2px dashed #fff; padding: 12px 20px; border-radius: var(--radius-sm); font-family: ui-monospace, "SF Mono", monospace; font-size: 18px; font-weight: 800; }

/* FAQ */
.faq-list { max-width: 820px; margin: 32px auto 0; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: border-color 0.2s; }
.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq-item summary { padding: 20px 24px; font-weight: 700; font-size: 17px; color: var(--text); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; color: var(--primary); font-weight: 400; transition: transform 0.2s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 24px 20px; color: var(--muted); line-height: 1.7; }

/* Longform (hub pages) */
.longform { max-width: 820px; margin: 0 auto; }
.longform h1 { font-size: 44px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-bottom: 16px; }
.longform .lede { font-size: 20px; color: var(--muted); line-height: 1.6; margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.longform h2 { font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; color: var(--text); text-align: left; margin: 48px 0 16px; }
.longform p { font-size: 18px; line-height: 1.75; margin-bottom: 18px; }
.longform figure { margin: 32px 0; text-align: center; }
.longform figure img { max-width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.longform figure figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; font-style: italic; }

/* Page media */
.container > figure { margin: 0 auto; text-align: center; }
.container > figure:not(.page-banner) { max-width: 820px; }
.container > figure img { width: 100%; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow-md); object-fit: cover; }
.container > figure figcaption { max-width: 820px; margin: 10px auto 0; font-size: 14px; line-height: 1.5; color: var(--muted); font-style: italic; text-align: center; }
.inline-figure { max-width: 820px; }
.inline-figure img { aspect-ratio: 4 / 3; }
.page-banner { max-width: 820px; }
.page-banner img { aspect-ratio: 16 / 9; }

/* Inline CTA */
.inline-cta { background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%); color: #fff; border-radius: var(--radius-lg); padding: 48px 40px; text-align: center; margin: 48px 0; }
.inline-cta h3 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.inline-cta p { color: rgba(255,255,255,0.95); font-size: 17px; margin-bottom: 24px; }
.inline-cta .cta-pair { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.inline-cta .btn-primary { background: #fff; color: var(--primary-dark); }
.inline-cta .btn-primary:hover { background: #f0f0f0; color: var(--primary-dark); }
.inline-cta .btn-outline { border-color: #fff; color: #fff; }
.inline-cta .btn-outline:hover { background: #fff; color: var(--primary); }

/* Footer */
footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 56px 0 24px; margin-top: 80px; }
footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
footer h5 { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; font-size: 15px; }
footer a { color: rgba(255,255,255,0.75); }
footer a:hover { color: #fff; text-decoration: underline; }
footer .footer-brand p { font-size: 14px; line-height: 1.6; max-width: 320px; margin: 12px 0 16px; }
footer .footer-brand .logo { color: #fff; margin-bottom: 12px; }
footer .footer-brand .logo span.cs { color: rgba(255,255,255,0.6); }
footer .footer-social { display: flex; gap: 8px; margin-top: 12px; }
footer .footer-social a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.1); display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s; }
footer .footer-social a:hover { background: var(--primary); }
footer .footer-social svg { width: 14px; height: 14px; fill: currentColor; }
footer .legal-bar { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; color: rgba(255,255,255,0.55); }
footer .legal-bar a { color: rgba(255,255,255,0.7); }

/* Sticky mobile CTA */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(2,6,23,0.96); border-top: 1px solid rgba(255,255,255,0.18); padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); z-index: 999; box-shadow: 0 -10px 30px rgba(0,0,0,0.35); gap: 10px; }
.sticky-cta .btn { flex: 1; min-height: 48px; padding: 13px 14px; font-size: 14px; font-weight: 900; letter-spacing: 0; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,0.22); }

/* Breadcrumb */
.breadcrumb { background: var(--surface); border-bottom: 1px solid var(--border); padding: 14px 0; font-size: 14px; color: var(--muted); }
.breadcrumb .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--border); }

/* Disclaimer */
.disclaimer { background: var(--warning-bg); border: 1px solid var(--warning-border); border-radius: var(--radius); padding: 16px 20px; margin: 24px auto; max-width: 820px; font-size: 14px; line-height: 1.6; color: var(--warning-text); }
.disclaimer strong { color: #422006; }

/* Placeholder notice */
.placeholder-notice { background: #FFF8E1; border: 1px dashed #F59E0B; border-radius: var(--radius-sm); padding: 8px 14px; margin: 12px 0; font-size: 12px; color: #92400E; display: inline-block; }
.placeholder-notice::before { content: 'PLACEHOLDER: '; font-weight: 800; }

/* Responsive */
@media (max-width: 1024px) {
  .topbar .container { flex-wrap: wrap; gap: 8px; }
  .topbar .promo { font-size: 12px; }
  nav.main { display: none; }
  nav.main.open { display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--surface); padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  nav.main.open a { padding: 12px 16px; }
  .menu-toggle { display: inline-flex; }
  .event-block, .app-block, .trend-block { grid-template-columns: 1fr; }
  .event-block .event-img, .trend-block .trend-img { order: -1; max-width: 400px; margin: 0 auto; }
  footer .container { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 42px; }
  .longform h1 { font-size: 32px; }
  section h2 { font-size: 28px; }
}
  footer .footer-social a { width: 28px; height: 28px; }
  footer .footer-social svg { width: 13px; height: 13px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .promo { display: none; }
  .hero { min-height: 480px; padding: 40px 0; }
  .hero-content { text-align: center; padding: 0 20px; }
  .hero h1 { font-size: 32px; margin-left: auto; margin-right: auto; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .trust-row { justify-content: center; }
  .hero h1 { font-size: 30px; }
  .hero .lede { font-size: 17px; }
  section { padding: 40px 0; }
  section h2 { font-size: 24px; }
  .longform h1 { font-size: 26px; }
  .longform h2 { font-size: 22px; }
  .longform p { font-size: 16px; }
  .app-block, .event-block, .trend-block, .inline-cta { padding: 32px 24px; }
  .inline-cta h3 { font-size: 22px; }
  .btn { padding: 12px 20px; font-size: 15px; }
  .sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(2,6,23,0.96); border-top: 1px solid rgba(255,255,255,0.18); padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); z-index: 999; box-shadow: 0 -10px 30px rgba(0,0,0,0.35); gap: 10px; }
  body { padding-bottom: 80px; }
  footer .container { grid-template-columns: 1fr; gap: 24px; }
  .trust-strip .container { gap: 20px; }
  .trust-pill { font-size: 14px; }
  .disclaimer { margin: 16px; font-size: 13px; }
  .bonus-banner .code-box { font-size: 14px; padding: 10px 16px; }
}

/* Bulk template child-page media slots */
.template-page-banner,.template-content-image{max-width:820px;margin:28px auto;border-radius:18px;overflow:hidden;border:1px solid rgba(15,23,42,.10);box-shadow:0 18px 42px rgba(15,23,42,.12);background:#fff}
.template-page-banner img,.template-content-image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.template-content-image figcaption{padding:10px 14px;color:#64748b;font-size:14px;background:#fff}
@media(max-width:760px){.template-page-banner,.template-content-image{margin:20px 0;border-radius:14px}}

.logo img{width:36px;height:36px;display:block}.footer-brand .logo img{width:40px;height:40px}
/* Affiliate mobile sticky override */
@media (max-width: 640px) { .sticky-cta { display: flex !important; align-items: center; } }

/* Post template shell sync: stable mobile nav across homepage and post pages. */
@media (max-width: 1024px) {
  header.site { position: sticky; top: 0; z-index: 1000; }
  header.site .container { position: relative; }
  nav.main {
    display: none;
    position: absolute;
    top: calc(var(--header-h, 64px) - 1px);
    left: 12px;
    right: 12px;
    z-index: 1001;
    max-height: calc(100vh - var(--header-h, 64px) - 24px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm, 8px);
    box-shadow: var(--shadow-lg, 0 18px 40px rgba(0,0,0,.18));
  }
  nav.main.open { display: flex; }
  nav.main a { width: 100%; padding: 12px 14px; white-space: normal; }
  .menu-toggle { display: inline-flex; flex: 0 0 44px; }
}

/* Fleet mobile header fix: keep hamburger tappable by removing inline header CTA. */
@media (max-width: 640px) {
  header.site > .container > .btn-primary {
    display: none !important;
  }
  header.site .container {
    gap: 12px;
  }
  header.site .logo {
    min-width: 0;
  }
  header.site .menu-toggle {
    margin-left: auto;
  }
}
