/* ═══════════════════════════════════════════════════════════════════════════
   ClowdOps — shared stylesheet
   Design tokens + chrome (nav, footer, modal) + reusable components shared by
   the umbrella (/), ClowdInfra (/infra/), ClowdBI (/bi/) and demos pages.
   Page-specific mockups live inline in each page's own <style> block.
═══════════════════════════════════════════════════════════════════════════ */

/* ── Design tokens ──────────────────────────────────────────────────────── */
:root {
  --bg:          hsl(240,8%,7%);
  --bg-surface:  hsl(240,8%,9%);
  --bg-subtle:   hsl(240,7%,11%);
  --bg-muted:    hsl(240,6%,14%);
  --fg:          hsl(0,0%,96%);
  --fg-muted:    hsl(240,5%,65%);
  --border:      hsl(240,6%,18%);
  --border-soft: hsl(240,6%,22%);
  --radius:      0.625rem;
  --font-sans:   'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono:   'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Per-product brand accent — overridden by the body theme classes below. */
  --accent:      hsl(217,80%,62%);
  --accent-soft: hsl(217,50%,22%);
}

/* Product accent theming. Success/live greens stay semantic (unchanged);
   --accent tints brand surfaces (eyebrows, product cards, mockup charts). */
body.theme-platform { --accent: hsl(220,72%,64%); --accent-soft: hsl(220,52%,24%); }
body.theme-infra    { --accent: hsl(190,80%,58%); --accent-soft: hsl(190,55%,20%); }
body.theme-bi       { --accent: hsl(243,78%,68%); --accent-soft: hsl(243,46%,26%); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x:hidden; scroll-padding-top:4.5rem; scroll-behavior:smooth; }
body { background:var(--bg); color:var(--fg); font-family:var(--font-sans); font-feature-settings:'cv11','ss01'; font-variation-settings:'opsz' 32; line-height:1.6; overflow-x:hidden; }
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; }
button { cursor:pointer; font-family:inherit; }

/* ── Utility ────────────────────────────────────────────────────────────── */
.container { max-width:1200px; margin:auto; padding:0 1.5rem; }
.mono { font-family:var(--font-mono); }
.section { padding:6rem 0; }
.section-sm { padding:4rem 0; }
.section-band { background:var(--bg-surface); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.accent { color:var(--accent); }

/* ── Typography ─────────────────────────────────────────────────────────── */
.display    { font-size:clamp(2.5rem,6vw,4.5rem); font-weight:500; letter-spacing:-0.03em; line-height:1.1; }
.heading-lg { font-size:clamp(1.75rem,3.5vw,2.5rem); font-weight:500; letter-spacing:-0.025em; line-height:1.2; }
.heading-md { font-size:clamp(1.25rem,2vw,1.5rem); font-weight:500; letter-spacing:-0.02em; line-height:1.3; }
.body-lg { font-size:1.125rem; line-height:1.7; color:var(--fg-muted); }
.body-md { font-size:1rem; line-height:1.7; color:var(--fg-muted); }
.caption { font-size:0.75rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--fg-muted); font-weight:500; }
.caption.accent { color:var(--accent); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn { display:inline-flex; align-items:center; gap:.5rem; padding:.625rem 1.25rem; border-radius:var(--radius); font-size:.875rem; font-weight:500; transition:opacity .15s,background .15s,border-color .15s; border:1px solid transparent; white-space:nowrap; }
.btn-primary { background:var(--fg); color:var(--bg); border-color:var(--fg); }
.btn-primary:hover { opacity:.85; }
.btn-outline { background:transparent; color:var(--fg); border-color:var(--border-soft); }
.btn-outline:hover { border-color:var(--fg-muted); }
.btn-lg { padding:.75rem 1.75rem; font-size:.9375rem; }

/* ── Misc shared ────────────────────────────────────────────────────────── */
.divider { border:none; border-top:1px solid var(--border); }
.badge { display:inline-flex; align-items:center; gap:.375rem; padding:.25rem .625rem; border-radius:999px; border:1px solid var(--border-soft); font-size:.75rem; font-weight:500; color:var(--fg-muted); background:var(--bg-subtle); }
.badge-dot { width:6px; height:6px; border-radius:50%; background:var(--fg-muted); }
.badge-dot.live { background:#4ade80; }
.badge-dot.accent { background:var(--accent); }
.card { background:var(--bg-surface); border:1px solid var(--border); border-radius:calc(var(--radius)*1.5); padding:1.75rem; }
.section-ctas { display:flex; align-items:center; gap:.75rem; flex-wrap:wrap; margin-top:2rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   DEMO REQUEST MODAL
═══════════════════════════════════════════════════════════════════════════ */
.modal-backdrop {
  position:fixed; inset:0; z-index:200;
  background:rgba(0,0,0,.75);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center;
  padding:1rem; opacity:0; pointer-events:none; transition:opacity .2s;
}
.modal-backdrop.open { opacity:1; pointer-events:all; }
.modal {
  background:var(--bg-surface); border:1px solid var(--border-soft);
  border-radius:calc(var(--radius)*2); padding:2.5rem;
  width:100%; max-width:480px;
  transform:translateY(20px); transition:transform .25s ease; position:relative;
}
.modal-backdrop.open .modal { transform:translateY(0); }
.modal-close {
  position:absolute; top:.875rem; right:1rem;
  background:transparent; border:none;
  color:var(--fg-muted); font-size:1.125rem; line-height:1;
  padding:.25rem .5rem; transition:color .15s; border-radius:.375rem;
}
.modal-close:hover { color:var(--fg); background:var(--bg-muted); }
.modal-title { font-size:1.375rem; font-weight:500; letter-spacing:-.025em; margin-bottom:.5rem; }
.modal-sub { font-size:.875rem; color:var(--fg-muted); margin-bottom:2rem; line-height:1.6; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; }
@media (max-width:480px) { .form-row { grid-template-columns:1fr; } }
.form-field { display:flex; flex-direction:column; gap:.375rem; margin-bottom:.875rem; }
.form-field label { font-size:.7rem; font-weight:600; color:var(--fg-muted); letter-spacing:.06em; text-transform:uppercase; }
.form-field input, .form-field textarea, .form-field select {
  background:var(--bg-subtle); border:1px solid var(--border-soft);
  border-radius:var(--radius); padding:.625rem .875rem;
  font-size:.875rem; font-family:var(--font-sans); color:var(--fg);
  transition:border-color .15s; outline:none; width:100%;
}
.form-field input::placeholder, .form-field textarea::placeholder { color:var(--fg-muted); opacity:.6; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color:var(--fg-muted); }
.form-field textarea { resize:vertical; min-height:90px; }
.form-submit { width:100%; justify-content:center; margin-top:.5rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════════════════════ */
.nav {
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}
.nav-inner { display:flex; align-items:center; height:3.5rem; gap:2rem; }
.nav-logo { display:flex; align-items:center; gap:.5rem; font-size:.9375rem; font-weight:600; letter-spacing:-.01em; flex-shrink:0; }
.nav-logo-mark { width:28px; height:28px; background:var(--fg); border-radius:6px; display:flex; align-items:center; justify-content:center; }
.nav-logo-mark svg { color:var(--bg); }
.nav-links { display:flex; align-items:center; gap:1.5rem; list-style:none; flex:1; }
.nav-links a { font-size:.875rem; color:var(--fg-muted); transition:color .15s; }
.nav-links a:hover, .nav-links a.active { color:var(--fg); }
/* dropdown (Products / Integrations) */
.nav-dropdown { position:relative; }
.nav-dropdown-trigger { display:inline-flex; align-items:center; gap:.3rem; cursor:pointer; }
.nav-dropdown-trigger svg { transition:transform .15s; opacity:.6; }
.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown:focus-within .nav-dropdown-trigger svg { transform:rotate(180deg); }
.nav-dropdown-menu {
  position:absolute; top:calc(100% + .5rem); left:0; min-width:15rem;
  background:var(--bg); border:1px solid var(--border); border-radius:10px;
  padding:.375rem; display:flex; flex-direction:column; gap:.125rem;
  box-shadow:0 12px 32px -8px rgba(0,0,0,.35);
  opacity:0; visibility:hidden; transform:translateY(-4px); transition:opacity .15s, transform .15s, visibility .15s;
  z-index:60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { opacity:1; visibility:visible; transform:translateY(0); }
.nav-dropdown-menu a { display:flex; flex-direction:column; gap:.1rem; padding:.5rem .625rem; border-radius:6px; color:var(--fg); }
.nav-dropdown-menu a:hover { background:var(--bg-surface); }
.nav-dropdown-menu a small { font-size:.75rem; color:var(--fg-muted); }
.nav-actions { display:flex; align-items:center; gap:.75rem; margin-left:auto; }
@media (max-width:768px) { .nav-links { display:none; } }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO (shared base — orbs, eyebrow, title, ctas)
═══════════════════════════════════════════════════════════════════════════ */
.hero { padding-top:9rem; padding-bottom:5rem; position:relative; overflow:hidden; }
.hero-orb {
  position:absolute; border-radius:50%;
  filter:blur(90px); pointer-events:none;
  animation:orb-drift ease-in-out infinite alternate;
}
.hero-orb-1 { width:520px; height:520px; background:hsl(220,70%,50%); opacity:.1; top:-140px; left:25%; animation-duration:20s; }
.hero-orb-2 { width:360px; height:360px; background:hsl(270,60%,55%); opacity:.09; top:60px; right:-80px; animation-duration:26s; animation-delay:-9s; }
.hero-orb-3 { width:300px; height:300px; background:var(--accent); opacity:.08; bottom:0; left:-60px; animation-duration:32s; animation-delay:-16s; }
@keyframes orb-drift {
  from { transform:translate(0,0) scale(1); }
  to   { transform:translate(28px,22px) scale(1.07); }
}
.hero-content { position:relative; }
.hero-eyebrow { margin-bottom:1.5rem; }
.hero-title { margin-bottom:1.5rem; }
.hero-title em { font-style:normal; color:var(--fg-muted); }
.hero-body { max-width:600px; margin-bottom:2.5rem; }
.hero-ctas { display:flex; align-items:center; gap:.75rem; flex-wrap:wrap; }

/* ── Chat demo window (shared chrome; both infra + bi heroes extend it) ──── */
.demo-window { margin-top:4rem; background:var(--bg-surface); border:1px solid var(--border); border-radius:.75rem; overflow:hidden; box-shadow:0 32px 80px -12px hsl(0,0%,0%,.55); position:relative; }
.demo-titlebar { display:flex; align-items:center; gap:.5rem; padding:.75rem 1rem; border-bottom:1px solid var(--border); background:var(--bg-subtle); }
.demo-titlebar-dot { width:10px; height:10px; border-radius:50%; }
.demo-titlebar-dot:nth-child(1) { background:#ff5f57; }
.demo-titlebar-dot:nth-child(2) { background:#febc2e; }
.demo-titlebar-dot:nth-child(3) { background:#28c840; }
.demo-titlebar-label { flex:1; text-align:center; font-size:.75rem; color:var(--fg-muted); }
.demo-body { display:grid; grid-template-columns:220px 1fr; height:440px; }
.demo-sidebar { border-right:1px solid var(--border); padding:1rem 0; overflow:hidden; }
.demo-sidebar-section { padding:0 .75rem; margin-bottom:1.25rem; }
.demo-sidebar-label { font-size:.625rem; text-transform:uppercase; letter-spacing:.1em; color:var(--fg-muted); padding:0 .5rem; margin-bottom:.375rem; }
.demo-sidebar-item { display:flex; align-items:center; gap:.5rem; padding:.4rem .5rem; border-radius:.375rem; font-size:.75rem; color:var(--fg-muted); cursor:default; }
.demo-sidebar-item.active { background:var(--bg-muted); color:var(--fg); }
.demo-sidebar-item svg { flex-shrink:0; }
.demo-chat { display:flex; flex-direction:column; }
.demo-chat-messages { flex:1; overflow:hidden; padding:1.5rem; display:flex; flex-direction:column; gap:1.25rem; }
.demo-msg { display:flex; flex-direction:column; gap:.5rem; }
.demo-msg-user { align-self:flex-end; max-width:70%; }
.demo-msg-agent { align-self:flex-start; max-width:85%; }
.demo-msg-bubble { padding:.625rem .875rem; border-radius:.625rem; font-size:.8rem; line-height:1.5; }
.demo-msg-user .demo-msg-bubble { background:var(--fg); color:var(--bg); border-bottom-right-radius:.125rem; }
.demo-msg-agent .demo-msg-bubble { background:var(--bg-subtle); color:var(--fg); border:1px solid var(--border); border-bottom-left-radius:.125rem; }
.demo-steps { display:flex; flex-direction:column; gap:.35rem; padding:0 .875rem; }
.demo-step { display:flex; align-items:center; gap:.5rem; font-size:.725rem; color:var(--fg-muted); font-family:var(--font-mono); }
.demo-step-icon { width:16px; height:16px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:.6rem; }
.demo-step-icon.done { background:hsl(142,70%,20%); color:#4ade80; }
.demo-step-icon.run  { background:hsl(220,70%,20%); color:#60a5fa; }
.demo-step-icon.wait { background:var(--bg-muted); color:var(--fg-muted); }
.demo-composer {
  padding:.75rem 1rem; border-top:1px solid var(--border);
  display:flex; align-items:center; gap:.625rem;
  cursor:pointer; transition:background .15s;
}
.demo-composer:hover { background:var(--bg-subtle); }
.demo-composer-placeholder { flex:1; font-size:.75rem; color:var(--fg-muted); opacity:.7; font-family:var(--font-sans); user-select:none; }
.demo-composer-btn { width:28px; height:28px; background:var(--fg); border:none; border-radius:6px; display:flex; align-items:center; justify-content:center; flex-shrink:0; pointer-events:none; }
@media (max-width:640px) { .demo-body { grid-template-columns:1fr; height:380px; } .demo-sidebar { display:none; } }

/* ═══════════════════════════════════════════════════════════════════════════
   PROVIDERS marquee
═══════════════════════════════════════════════════════════════════════════ */
.providers-strip {
  padding:3.75rem 0;
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  overflow:hidden;
  background:linear-gradient(180deg, transparent 0%, hsla(240,7%,11%,.55) 100%);
}
.providers-strip .container { max-width:100%; padding:0; }
.providers-label { text-align:center; margin-bottom:.6rem; padding:0 1.5rem; }
.providers-sub { text-align:center; max-width:660px; margin:0 auto 1.75rem; padding:0 1.5rem; font-size:.85rem; line-height:1.6; color:var(--fg-muted); }
.providers-marquee {
  position:relative; overflow:hidden; overflow:clip; min-height:96px;
  contain:layout paint; clip-path:inset(0);
  -webkit-mask-image:linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image:linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.providers-track {
  position:absolute; top:.625rem; left:0;
  display:flex; width:max-content; will-change:transform;
  animation:providers-marquee 42s linear infinite;
}
.providers-marquee:hover .providers-track { animation-play-state:paused; }
.providers-group { display:flex; align-items:center; flex:0 0 auto; gap:.875rem; padding-right:.875rem; }
.provider-logo {
  width:142px; height:78px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.55rem;
  padding:.85rem .75rem; border:1px solid var(--border); border-radius:8px;
  background:linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-subtle) 100%);
  opacity:.74; transition:opacity .2s, border-color .2s, transform .2s, background .2s;
}
.provider-logo:hover {
  opacity:1; border-color:var(--border-soft); transform:translateY(-2px);
  background:linear-gradient(180deg, hsl(240,7%,12%) 0%, var(--bg-subtle) 100%);
}
.provider-logo.soon { opacity:.4; }
.provider-logo-icon { width:34px; height:34px; display:flex; align-items:center; justify-content:center; }
.provider-logo-icon.wide { width:48px; }
.provider-logo-icon img { width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 0 10px rgba(255,255,255,.08)); }
.provider-logo-name { font-size:.72rem; color:var(--fg-muted); font-weight:500; letter-spacing:.02em; white-space:nowrap; }
@keyframes providers-marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .providers-marquee { overflow:visible; -webkit-mask-image:none; mask-image:none; }
  .providers-track { position:static; width:auto; animation:none; transform:none; justify-content:center; padding:0 1.5rem; }
  .providers-group { flex-wrap:wrap; justify-content:center; padding-right:0; }
  .providers-group[aria-hidden="true"] { display:none; }
  .provider-logo:hover { transform:none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURES GRID
═══════════════════════════════════════════════════════════════════════════ */
.features-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:1px; border:1px solid var(--border); border-radius:calc(var(--radius)*1.5); overflow:hidden; background:var(--border); }
.feature-cell { background:var(--bg); padding:2rem; transition:background .2s; }
.feature-cell:hover { background:var(--bg-surface); }
.feature-icon { width:36px; height:36px; background:var(--bg-subtle); border:1px solid var(--border); border-radius:.5rem; display:flex; align-items:center; justify-content:center; margin-bottom:1.25rem; color:var(--fg-muted); }
.feature-title { font-size:1rem; font-weight:500; margin-bottom:.5rem; letter-spacing:-.01em; }
.feature-body { font-size:.875rem; line-height:1.6; color:var(--fg-muted); }

/* ═══════════════════════════════════════════════════════════════════════════
   TWO-COL + check items
═══════════════════════════════════════════════════════════════════════════ */
.two-col { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; }
.two-col.reverse { direction:rtl; }
.two-col.reverse > * { direction:ltr; }
@media (max-width:768px) { .two-col { grid-template-columns:1fr; gap:2.5rem; } .two-col.reverse { direction:ltr; } }
.check-item { display:flex; align-items:flex-start; gap:.625rem; font-size:.875rem; color:var(--fg-muted); margin-bottom:.75rem; }
.check-item-icon { width:18px; height:18px; flex-shrink:0; margin-top:1px; background:var(--bg-subtle); border:1px solid var(--border-soft); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.check-item-icon svg { color:#4ade80; }

/* ═══════════════════════════════════════════════════════════════════════════
   SECURITY grid
═══════════════════════════════════════════════════════════════════════════ */
.security-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:2.5rem; }
@media (max-width:900px) { .security-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px)  { .security-grid { grid-template-columns:1fr; } }
.security-item { display:flex; align-items:flex-start; gap:.875rem; padding:1.5rem; background:var(--bg-surface); border:1px solid var(--border); border-radius:calc(var(--radius)*1.5); transition:border-color .2s; }
.security-item:hover { border-color:var(--border-soft); }
.security-item-icon { width:38px; height:38px; background:var(--bg-subtle); border:1px solid var(--border); border-radius:.625rem; display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--fg-muted); }
.security-item-title { font-size:.9375rem; font-weight:500; margin-bottom:.375rem; }
.security-item-body  { font-size:.8rem; color:var(--fg-muted); line-height:1.55; }

/* ═══════════════════════════════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════════════════════════════ */
.cta-section { padding:6rem 0; text-align:center; position:relative; overflow:hidden; }
.cta-section::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at center,hsl(240,6%,14%) 0%,transparent 70%); pointer-events:none; }
.cta-section .container { position:relative; }
.cta-section .display em { font-style:normal; color:var(--fg-muted); }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════════════ */
.footer { border-top:1px solid var(--border); padding:3rem 0 2rem; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:3rem; margin-bottom:3rem; }
.footer-brand-desc { font-size:.8rem; color:var(--fg-muted); line-height:1.6; margin-top:.75rem; max-width:260px; }
.footer-col-title { font-size:.75rem; font-weight:600; text-transform:uppercase; letter-spacing:.08em; color:var(--fg-muted); margin-bottom:1rem; }
.footer-links { list-style:none; display:flex; flex-direction:column; gap:.625rem; }
.footer-links a { font-size:.8rem; color:var(--fg-muted); transition:color .15s; }
.footer-links a:hover { color:var(--fg); }
.footer-links .muted { color:var(--border-soft); }
.footer-sublabel { font-size:.7rem; color:var(--border-soft); text-transform:uppercase; letter-spacing:.06em; margin:.9rem 0 .4rem; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; padding-top:2rem; border-top:1px solid var(--border); font-size:.75rem; color:var(--fg-muted); }
.footer-social a { color:var(--fg-muted); transition:color .15s; }
.footer-social a:hover { color:var(--fg); }
@media (max-width:768px) { .footer-grid { grid-template-columns:1fr 1fr; gap:2rem; } }
@media (max-width:480px) { .footer-grid { grid-template-columns:1fr; } .footer-bottom { flex-direction:column; gap:.5rem; text-align:center; } }

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════════════════════ */
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }
.cursor-blink { display:inline-block; width:2px; height:1em; background:var(--fg); vertical-align:text-bottom; animation:blink 1.1s step-end infinite; }
@keyframes fade-up { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation:fade-up .5s ease both; }
.delay-1 { animation-delay:.1s; }
.delay-2 { animation-delay:.2s; }
.delay-3 { animation-delay:.3s; }
.delay-4 { animation-delay:.4s; }
@keyframes shimmer { from { background-position:200% center; } to { background-position:-200% center; } }
.shimmer-bar { display:inline-block; width:80px; height:2px; border-radius:1px; background:linear-gradient(90deg,var(--border) 25%,var(--fg-muted) 50%,var(--border) 75%); background-size:200% auto; animation:shimmer 1.4s linear infinite; vertical-align:middle; }

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE NAV — hamburger + slide-down menu
═══════════════════════════════════════════════════════════════════════════ */
.nav-hamburger {
  display:none; background:transparent; border:1px solid var(--border-soft);
  border-radius:var(--radius); padding:.375rem .5rem; color:var(--fg);
  align-items:center; justify-content:center; transition:border-color .15s;
  margin-left:auto; flex-shrink:0;
}
.nav-hamburger:hover { border-color:var(--fg-muted); }
@media (max-width:768px) {
  .nav-hamburger { display:flex; }
  .nav-actions { display:none; }
}
.mobile-menu {
  position:fixed; top:3.5rem; left:0; right:0;
  background:color-mix(in srgb, var(--bg) 97%, transparent);
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
  padding:.5rem 1.5rem 1.5rem; z-index:99;
  display:flex; flex-direction:column;
  opacity:0; pointer-events:none; transform:translateY(-8px);
  transition:opacity .18s, transform .18s;
}
.mobile-menu.open { opacity:1; pointer-events:all; transform:translateY(0); }
.mobile-menu-group-label { font-size:.7rem; text-transform:uppercase; letter-spacing:.08em; color:var(--border-soft); padding:.9rem 0 .3rem; }
.mobile-menu-link {
  font-size:.9375rem; color:var(--fg-muted);
  padding:.8rem 0; border-bottom:1px solid var(--border);
  display:block; transition:color .15s;
}
.mobile-menu-link.sub { padding-left:.75rem; font-size:.875rem; }
.mobile-menu-link:last-of-type { border-bottom:none; }
.mobile-menu-link:hover { color:var(--fg); }
.mobile-menu-actions { display:flex; gap:.75rem; margin-top:1.25rem; }
.mobile-menu-actions .btn { flex:1; justify-content:center; }

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE — general responsive
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width:640px) {
  html { scroll-padding-top:5rem; }
  .section { padding:3.5rem 0; }
  .section-sm { padding:2.5rem 0; }
  .hero { padding-top:5.5rem; padding-bottom:3rem; }
  .nav { top:.75rem; left:1rem; right:1rem; border:1px solid var(--border); border-radius:12px; overflow:hidden; }
  .nav .container { padding:0 .75rem; }
  .nav-inner { height:3rem; gap:1rem; }
  .nav-logo { font-size:.875rem; }
  .nav-logo-mark { width:26px; height:26px; }
  .nav-hamburger { width:34px; height:34px; padding:0; border-radius:8px; }
  .mobile-menu { top:4.25rem; left:1rem; right:1rem; border:1px solid var(--border); border-radius:12px; padding:.25rem 0 1rem; overflow:hidden; }
  .mobile-menu .container { padding:0 1rem; }
  .hero-ctas { flex-direction:column; align-items:stretch; }
  .hero-ctas .btn { justify-content:center; }
  .section-ctas { flex-direction:column; align-items:stretch; }
  .section-ctas .btn { justify-content:center; }
  .providers-strip { padding:3rem 0; }
  .providers-label { margin-bottom:1.25rem; }
  .providers-marquee { min-height:88px; }
  .providers-track { top:.5rem; }
  .providers-group { gap:.65rem; padding-right:.65rem; }
  .provider-logo { width:118px; height:70px; }
  .provider-logo-icon { width:30px; height:30px; }
  .provider-logo-icon.wide { width:42px; }
}
@media (max-width:480px) {
  .features-grid { grid-template-columns:1fr; }
  .modal { padding:1.75rem 1.25rem; }
  .section { padding:2.75rem 0; }
  .cta-section { padding:3.5rem 0; }
}
