/* ══════════════════════════════════════════════════════════════
   MLCostIntel — Shared site stylesheet
   Single source of truth for both light & dark themes.
   Theme is controlled by <html data-theme="light|dark"> (see site.js).
   ══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand + fonts (theme-independent) */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
  --max-width: 1140px;
  --radius: 14px;
  --radius-sm: 9px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── DARK THEME (default) ──────────────────────────────── */
:root, :root[data-theme="dark"] {
  --bg-primary:      #0a0e17;
  --bg-secondary:    #0e1420;
  --bg-card:         #131b29;
  --bg-card-hover:   #18212f;
  --border:          #202c40;
  --border-light:    #2c3a52;
  --text-primary:    #e9eef7;
  --text-secondary:  #9cadc4;
  --text-muted:      #64748b;

  --accent:          #17c4ac;
  --accent-hover:    #2ad9c0;
  --accent-dim:      #0d9488;
  --on-accent:       #04211d;              /* text on top of accent buttons */
  --accent-soft:     rgba(23, 196, 172, 0.14);
  --accent-soft-2:   rgba(23, 196, 172, 0.08);
  --accent-glow:     rgba(23, 196, 172, 0.18);

  --green:           #2ec26e;
  --green-soft:      rgba(46, 194, 110, 0.14);
  --red:             #ef5350;
  --red-soft:        rgba(239, 83, 80, 0.13);
  --yellow:          #eab308;
  --yellow-soft:     rgba(234, 179, 8, 0.13);
  --purple:          #a855f7;
  --purple-soft:     rgba(168, 85, 247, 0.13);

  --header-bg:       rgba(10, 14, 23, 0.72);
  --shadow-card:     0 1px 2px rgba(0,0,0,0.4);
  --shadow-lg:       0 24px 60px -20px rgba(0,0,0,0.7);
  --shadow-frame:    0 30px 80px -30px rgba(0,0,0,0.85), 0 0 90px var(--accent-glow);
  --hero-grid:       rgba(255,255,255,0.03);
  color-scheme: dark;
}

/* ── LIGHT THEME ───────────────────────────────────────── */
:root[data-theme="light"] {
  --bg-primary:      #ffffff;
  --bg-secondary:    #f5f8fc;
  --bg-card:         #ffffff;
  --bg-card-hover:   #f8fafd;
  --border:          #e5eaf2;
  --border-light:    #d2dbe8;
  --text-primary:    #0d1a2b;
  --text-secondary:  #4a5a70;
  --text-muted:      #7688a0;

  --accent:          #0d9488;            /* darker teal for AA contrast on white */
  --accent-hover:    #0b8377;
  --accent-dim:      #0f766e;
  --on-accent:       #ffffff;
  --accent-soft:     rgba(13, 148, 136, 0.10);
  --accent-soft-2:   rgba(13, 148, 136, 0.06);
  --accent-glow:     rgba(13, 148, 136, 0.16);

  --green:           #16a34a;
  --green-soft:      rgba(22, 163, 74, 0.10);
  --red:             #dc2626;
  --red-soft:        rgba(220, 38, 38, 0.09);
  --yellow:          #b45309;
  --yellow-soft:     rgba(180, 83, 9, 0.10);
  --purple:          #7c3aed;
  --purple-soft:     rgba(124, 58, 237, 0.10);

  --header-bg:       rgba(255, 255, 255, 0.80);
  --shadow-card:     0 1px 3px rgba(15, 27, 45, 0.06);
  --shadow-lg:       0 24px 60px -24px rgba(15, 27, 45, 0.18);
  --shadow-frame:    0 30px 70px -28px rgba(15, 27, 45, 0.28), 0 0 60px var(--accent-glow);
  --hero-grid:       rgba(13, 26, 43, 0.035);
  color-scheme: light;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 760px; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  padding: 13px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s, box-shadow 0.18s, border-color 0.18s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.1;
}

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -8px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent-dim);
}
.btn-secondary:hover { background: var(--accent-soft); text-decoration: none; }

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-light);
}
.btn-ghost:hover { background: var(--bg-card-hover); text-decoration: none; border-color: var(--accent-dim); }

.btn-sm { font-size: 13.5px; padding: 9px 18px; border-radius: 8px; }
.btn-lg { font-size: 16px; padding: 15px 34px; }

/* AWS Marketplace button — distinct AWS look, works in both themes */
.btn-aws {
  background: #ff9900;
  color: #0f1b2d;
  border-color: #ff9900;
  font-weight: 700;
}
.btn-aws:hover {
  background: #ffad33;
  border-color: #ffad33;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -10px rgba(255,153,0,0.45);
}

/* ── Header ────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px -12px rgba(0,0,0,0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.logo { display: flex; align-items: center; font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.logo a { color: var(--text-primary); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo a:hover { text-decoration: none; }
.logo .mark {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.4px;
  font-size: 19px;
  color: var(--text-primary);
}
.logo .mark b { color: var(--accent); font-weight: 800; }

.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a { font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: color 0.2s; }
.header-nav a:hover { color: var(--text-primary); text-decoration: none; }

.header-cta { display: flex; align-items: center; gap: 12px; }

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent-dim); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.mobile-toggle {
  display: none;
  background: none; border: none;
  color: var(--text-secondary);
  cursor: pointer; padding: 4px;
}
.mobile-toggle svg { width: 26px; height: 26px; }

/* ── Announcement / marketplace strip ──────────────────── */
.topbar {
  background: var(--accent-soft-2);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 38px; text-align: center;
}
.topbar a { font-weight: 600; }

/* ── Sections ──────────────────────────────────────────── */
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.section-dark { background: var(--bg-secondary); }

.section-label {
  display: inline-block;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800; line-height: 1.18; letter-spacing: -0.6px;
  margin-bottom: 18px;
}
.section-subtitle {
  font-size: 17.5px; color: var(--text-secondary);
  max-width: 640px; line-height: 1.65;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-subtitle { margin: 0 auto; }

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-dim);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 22px;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero { padding: 168px 0 80px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -140px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 640px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 68%);
  pointer-events: none; z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hero-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none; z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { text-align: center; max-width: 760px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 56px);
  font-weight: 800; line-height: 1.1; letter-spacing: -1.4px;
  margin-bottom: 22px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent), var(--accent-hover));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary); line-height: 1.7;
  max-width: 660px; margin: 0 auto 18px;
}
.hero-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 30px; }
.hero-cta-group { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-trust { font-size: 13px; color: var(--text-muted); }

/* Browser frame / dashboard */
.browser-frame {
  position: relative; max-width: 980px; margin: 64px auto 0;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-frame);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.browser-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-light); }
.browser-dot:nth-child(1) { background: #ef5350; opacity: 0.8; }
.browser-dot:nth-child(2) { background: #eab308; opacity: 0.8; }
.browser-dot:nth-child(3) { background: #2ec26e; opacity: 0.8; }
.browser-url { margin-left: 12px; font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); }
.browser-frame img { width: 100%; display: block; }

/* ── Logo / trust row ──────────────────────────────────── */
.trust-strip { text-align: center; }
.trust-strip .label {
  font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 20px; font-weight: 600;
}
.badge-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.pill-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 600; color: var(--text-secondary);
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 10px 18px; border-radius: 999px;
}
.pill-badge svg { width: 16px; height: 16px; color: var(--accent); }

/* ── Generic card grids ────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.card:hover { border-color: var(--border-light); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; letter-spacing: -0.2px; }
.card p { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }

.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 21px;
  background: var(--accent-soft); color: var(--accent);
}

/* Feature / differentiator cards */
.diff-card .diff-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  font-family: var(--font-mono); letter-spacing: 0.5px;
  color: var(--accent); background: var(--accent-soft);
  padding: 4px 9px; border-radius: 6px; margin-bottom: 16px;
}

/* ── Steps ─────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 30px;
  left: calc(16.66% + 30px); right: calc(16.66% + 30px);
  height: 2px; background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}
.step-card { text-align: center; position: relative; }
.step-number {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--bg-primary); border: 2px solid var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; font-family: var(--font-mono);
  font-size: 21px; font-weight: 700; color: var(--accent);
  position: relative; z-index: 1;
}
.step-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }
.steps-cta { text-align: center; margin-top: 52px; }

/* ── Check lists ───────────────────────────────────────── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  font-size: 15px; color: var(--text-secondary);
  display: flex; align-items: flex-start; gap: 11px; line-height: 1.55;
}
.check-list .check {
  color: var(--green); flex-shrink: 0; margin-top: 3px;
  display: inline-flex; width: 18px; height: 18px;
  align-items: center; justify-content: center;
  background: var(--green-soft); border-radius: 50%; font-size: 11px;
}
.check-list .locked-item { color: var(--text-muted); }
.check-list .lock { color: var(--text-muted); flex-shrink: 0; margin-top: 2px; font-size: 13px; }
.gated-note { font-size: 13px; color: var(--text-muted); font-style: italic; margin-top: 16px; line-height: 1.5; }

/* ── Pricing ───────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.pricing-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin: 0 auto; }
.pricing-grid--three { grid-template-columns: repeat(3, 1fr); }
.pricing-step { margin-bottom: 68px; }
.pricing-step:last-of-type { margin-bottom: 0; }

.step-header { text-align: center; margin-bottom: 40px; }
.step-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.step-title { font-size: 27px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.4px; }
.step-desc { font-size: 15px; color: var(--text-secondary); max-width: 620px; margin: 0 auto; line-height: 1.65; }

.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 26px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-card);
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.pricing-card:hover { transform: translateY(-3px); border-color: var(--border-light); }
.pricing-card.featured { border-color: var(--accent-dim); position: relative; box-shadow: 0 12px 40px -18px var(--accent-glow); }
.pricing-card.featured::before {
  content: 'Most popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--on-accent); background: var(--accent); padding: 4px 14px; border-radius: 999px;
}
.pricing-tier { font-size: 12.5px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.pricing-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 4px; }
.pricing-price { font-size: 15px; color: var(--text-muted); margin-bottom: 4px; }
.pricing-price strong { color: var(--text-primary); font-size: 26px; font-weight: 800; }
.pricing-annual { font-size: 13px; color: var(--accent); margin-bottom: 22px; font-family: var(--font-mono); }
.pricing-spend-range {
  font-size: 12px; color: var(--text-secondary); font-family: var(--font-mono);
  margin-bottom: 22px; padding: 8px 10px; background: var(--accent-soft-2);
  border-radius: 8px; text-align: center;
}
.pricing-card .check-list { flex: 1; margin-bottom: 26px; }
.pricing-card .btn { width: 100%; }

.enterprise-banner {
  margin-top: 26px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 38px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.enterprise-banner-text h3 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.enterprise-banner-text p { font-size: 15px; color: var(--text-secondary); line-height: 1.55; }

/* ── AWS Marketplace band ──────────────────────────────── */
.marketplace-band {
  background:
    radial-gradient(ellipse 60% 120% at 100% 0%, var(--accent-soft-2), transparent 60%),
    var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marketplace-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
}
.marketplace-copy .section-title { margin-bottom: 14px; }
.marketplace-copy p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.marketplace-points { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.marketplace-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--text-secondary); }
.marketplace-points .check {
  color: var(--green); background: var(--green-soft); border-radius: 50%;
  width: 20px; height: 20px; flex-shrink: 0; display: inline-flex;
  align-items: center; justify-content: center; font-size: 11px; margin-top: 2px;
}
.marketplace-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 32px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.marketplace-card .aws-logo {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 8px;
  font-weight: 800; font-size: 18px; letter-spacing: -0.2px; color: var(--text-primary);
}
.marketplace-card .aws-logo .aws-logo-img { height: 34px; width: auto; display: block; }
.marketplace-card h3 { font-size: 19px; font-weight: 800; margin: 6px 0 6px; }
.marketplace-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }
.marketplace-card .btn { width: 100%; margin-bottom: 10px; }
.marketplace-card .fine { font-size: 12.5px; color: var(--text-muted); margin-top: 12px; }

/* ── Trust / security ──────────────────────────────────── */
.trust-card { text-align: center; padding: 30px 20px; }
.trust-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 23px; color: var(--accent);
}
.trust-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.trust-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }

/* ── CTA banner ────────────────────────────────────────── */
.cta-banner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-banner h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; }
.cta-banner p { font-size: 17px; color: var(--text-secondary); margin-bottom: 30px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Prose (legal / doc pages) ─────────────────────────── */
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 12px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 40px 0 14px; letter-spacing: -0.3px; }
.prose h3 { font-size: 17px; font-weight: 700; margin: 26px 0 10px; }
.prose p, .prose li { font-size: 16px; color: var(--text-secondary); line-height: 1.75; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.prose .lead { font-size: 18px; color: var(--text-secondary); }
.prose .updated { font-size: 13.5px; color: var(--text-muted); font-family: var(--font-mono); margin-bottom: 32px; }
.prose strong { color: var(--text-primary); }

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .tagline { font-size: 14px; color: var(--text-secondary); line-height: 1.6; max-width: 280px; margin-bottom: 20px; }
.footer-brand .contact { font-size: 14px; }
.footer-aws {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; color: var(--text-secondary);
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 8px 14px; border-radius: 999px; margin-bottom: 20px;
}
.footer-aws .aws-logo-img { height: 20px; width: auto; display: block; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: var(--text-secondary); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 28px; margin-top: 48px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}
.footer-bottom .socials { display: flex; gap: 16px; }
.footer-bottom .socials a { color: var(--text-muted); display: inline-flex; }
.footer-bottom .socials a:hover { color: var(--accent); }
.footer-bottom .socials svg { width: 18px; height: 18px; }

/* ── Mobile menu ───────────────────────────────────────── */
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--bg-primary); z-index: 99; padding: 22px 24px;
  flex-direction: column; gap: 2px; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 15px 0; font-size: 16px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 22px; }

/* ── Utilities ─────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.hidden { display: none; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  .header-nav { display: none; }
  .header-cta .btn-secondary, .header-cta .desktop-only { display: none; }
  .mobile-toggle { display: block; }
  .marketplace-inner { grid-template-columns: 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .pricing-grid, .pricing-grid--two, .pricing-grid--three { grid-template-columns: 1fr; max-width: 460px; }
  .enterprise-banner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero { padding: 140px 0 60px; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
