/* ═══════════════════════════════════════════════════════
   homepage-v2.css — munotes homepage redesign
   Standalone file. Does NOT depend on homepage-ui-system.css.
   ═══════════════════════════════════════════════════════ */

/* ── TOKENS ───────────────────────────────────────────── */
:root {
  --mn-blue-950: #06102a;
  --mn-blue-900: #0b1d4e;
  --mn-blue-800: #123178;
  --mn-blue-700: #1740a0;
  --mn-blue-600: #1d50ca;
  --mn-blue-500: #2563eb;
  --mn-blue-400: #4f83f1;
  --mn-blue-300: #93b4f8;
  --mn-blue-200: #c7d9fc;
  --mn-blue-100: #e8f0fe;
  --mn-blue-50:  #f0f5ff;

  --mn-white:    #ffffff;
  --mn-off:      #f8fafc;
  --mn-ink:      #0d1526;
  --mn-ink-2:    #334155;
  --mn-ink-3:    #64748b;
  --mn-ink-4:    #94a3b8;
  --mn-border:   #e2e8f0;
  --mn-border-s: #f1f5f9;

  --mn-teal:     #0d9488;
  --mn-teal-soft:#f0fdfa;
  --mn-amber:    #d97706;
  --mn-amber-soft:#fffbeb;
  --mn-purple:   #7c3aed;
  --mn-purple-soft:#f5f3ff;
  --mn-green:    #16a34a;
  --mn-green-soft:#f0fdf4;

  --f-display: 'Playfair Display', Georgia, serif;
  --f-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  background: var(--mn-white);
  color: var(--mn-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── CONTAINER ─────────────────────────────────────────── */
.mn-hp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── NAVIGATION ────────────────────────────────────────── */
.mn-hp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.mn-hp-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.mn-hp-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 3.75rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.mn-hp-wordmark {
  font-family: var(--f-sans);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--mn-blue-500);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.mn-hp-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.mn-hp-nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--mn-ink-2);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
  white-space: nowrap;
}

.mn-hp-nav-links a:hover {
  background: var(--mn-blue-50);
  color: var(--mn-blue-600);
}

.mn-hp-nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mn-hp-nav-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--mn-border);
  background: var(--mn-white);
  color: var(--mn-ink-3);
  transition: all 0.15s var(--ease);
}

.mn-hp-nav-search-btn:hover {
  border-color: var(--mn-blue-200);
  color: var(--mn-blue-500);
  background: var(--mn-blue-50);
}

.mn-hp-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  padding: 0 1rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.15s var(--ease);
  white-space: nowrap;
}

.mn-hp-nav-cta.is-ghost {
  border: 1px solid var(--mn-border);
  color: var(--mn-ink-2);
  background: var(--mn-white);
}

.mn-hp-nav-cta.is-ghost:hover {
  border-color: var(--mn-blue-200);
  color: var(--mn-blue-600);
  background: var(--mn-blue-50);
}

.mn-hp-nav-cta.is-primary {
  background: var(--mn-blue-500);
  color: var(--mn-white);
  border: 1px solid var(--mn-blue-500);
}

.mn-hp-nav-cta.is-primary:hover {
  background: var(--mn-blue-600);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

/* Burger button */
.mn-hp-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--mn-border);
  border-radius: var(--radius-md);
  background: var(--mn-white);
  color: var(--mn-ink-2);
  flex-shrink: 0;
}

.mn-hp-burger span {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
  transition: background 0.2s var(--ease);
}

.mn-hp-burger span::before,
.mn-hp-burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s var(--ease);
}

.mn-hp-burger span::before { top: -5px; }
.mn-hp-burger span::after { top: 5px; }

.mn-hp-burger.is-open span { background: transparent; }
.mn-hp-burger.is-open span::before { transform: translateY(5px) rotate(45deg); }
.mn-hp-burger.is-open span::after { transform: translateY(-5px) rotate(-45deg); }

/* ── MOBILE DRAWER ─────────────────────────────────────── */
.mn-hp-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.mn-hp-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mn-hp-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 195;
  width: min(320px, 85vw);
  background: var(--mn-white);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mn-hp-drawer.is-open {
  transform: translateX(0);
}

.mn-hp-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--mn-border-s);
}

.mn-hp-drawer-head strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mn-blue-500);
}

.mn-hp-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  border: 0;
  background: var(--mn-off);
  color: var(--mn-ink-3);
  font-size: 1.2rem;
}

.mn-hp-drawer-links {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  flex: 1;
}

.mn-hp-drawer-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--mn-ink-2);
  transition: background 0.15s var(--ease);
}

.mn-hp-drawer-links a:hover {
  background: var(--mn-blue-50);
  color: var(--mn-blue-600);
}

.mn-hp-drawer-links a svg {
  width: 18px;
  height: 18px;
  color: var(--mn-ink-4);
  flex-shrink: 0;
}

.mn-hp-drawer-links hr {
  border: 0;
  height: 1px;
  background: var(--mn-border-s);
  margin: 0.5rem 1.25rem;
}

.mn-hp-drawer-cta {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--mn-border-s);
}

.mn-hp-drawer-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--mn-blue-500);
  color: var(--mn-white);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s var(--ease);
}

.mn-hp-drawer-cta a:hover {
  background: var(--mn-blue-600);
}

/* ── HERO ──────────────────────────────────────────────── */
.mn-hp-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--mn-blue-950) 0%, var(--mn-blue-900) 50%, var(--mn-blue-800) 100%);
  padding: 7.5rem 0 4.5rem;
  min-height: 520px;
  display: flex;
  align-items: center;
}

/* subtle grid lines */
.mn-hp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* radial glow */
.mn-hp-hero::after {
  content: '';
  position: absolute;
  top: -12rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90rem;
  height: 40rem;
  background: radial-gradient(ellipse, rgba(37,99,235,0.16) 0%, transparent 60%);
  pointer-events: none;
}

.mn-hp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.mn-hp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--mn-blue-300);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.mn-hp-hero-eyebrow svg {
  width: 14px;
  height: 14px;
}

.mn-hp-hero-h1 {
  font-family: var(--f-sans);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--mn-white);
}

.mn-hp-hero-h1 em {
  display: block;
  color: var(--mn-blue-300);
  font-style: normal;
  margin-top: 0.15em;
}

.mn-hp-hero-sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* hero search bar */
.mn-hp-hero-search {
  margin-top: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.mn-hp-hero-search-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 0.35rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.mn-hp-hero-search-bar:focus-within {
  border-color: rgba(37, 99, 235, 0.5);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.mn-hp-hero-search-bar svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.35);
  margin-left: 0.75rem;
  flex-shrink: 0;
}

.mn-hp-hero-search-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--mn-white);
  font-size: 0.92rem;
  padding: 0.65rem 0.75rem;
}

.mn-hp-hero-search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.mn-hp-hero-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 2.6rem;
  padding: 0 1.35rem;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--mn-blue-500);
  color: var(--mn-white);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.mn-hp-hero-search-btn:hover {
  background: var(--mn-blue-400);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.mn-hp-hero-search-hint {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

/* proof strip */
.mn-hp-hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mn-hp-proof-item {
  text-align: center;
}

.mn-hp-proof-item strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--mn-white);
  letter-spacing: -0.02em;
  line-height: 1;
}

.mn-hp-proof-item span {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.2rem;
}

/* ── SECTION LAYOUT ────────────────────────────────────── */
.mn-hp-section {
  padding: 4.5rem 0;
}

.mn-hp-section.is-alt {
  background: var(--mn-off);
}

.mn-hp-section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.mn-hp-section-head h2 {
  font-family: var(--f-sans);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--mn-ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mn-hp-section-head p {
  margin-top: 0.5rem;
  color: var(--mn-ink-3);
  font-size: 1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── QUICK PATHS ───────────────────────────────────────── */
.mn-hp-paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.mn-hp-path-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  border: 1px solid var(--mn-border);
  border-radius: var(--radius-lg);
  background: var(--mn-white);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.mn-hp-path-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--mn-blue-200);
}

.mn-hp-path-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  font-size: 1.3rem;
}

.mn-hp-path-icon.is-blue {
  background: var(--mn-blue-50);
  color: var(--mn-blue-500);
}

.mn-hp-path-icon.is-amber {
  background: var(--mn-amber-soft);
  color: var(--mn-amber);
}

.mn-hp-path-icon.is-teal {
  background: var(--mn-teal-soft);
  color: var(--mn-teal);
}

.mn-hp-path-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mn-ink);
  line-height: 1.3;
}

.mn-hp-path-card p {
  font-size: 0.88rem;
  color: var(--mn-ink-3);
  line-height: 1.5;
  margin: 0;
}

.mn-hp-path-card .mn-hp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mn-blue-500);
  margin-top: auto;
  transition: gap 0.15s var(--ease);
}

.mn-hp-path-card:hover .mn-hp-link {
  gap: 0.6rem;
}

.mn-hp-path-card .mn-hp-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s var(--ease);
}

/* ── PLATFORM PREVIEW ──────────────────────────────────── */
.mn-hp-preview-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.mn-hp-browser {
  border: 1px solid var(--mn-border);
  border-radius: var(--radius-xl);
  background: var(--mn-white);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.mn-hp-browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  background: var(--mn-off);
  border-bottom: 1px solid var(--mn-border);
}

.mn-hp-browser-dots {
  display: flex;
  gap: 5px;
}

.mn-hp-browser-dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.mn-hp-browser-dots i:nth-child(1) { background: #ff5f57; }
.mn-hp-browser-dots i:nth-child(2) { background: #febc2e; }
.mn-hp-browser-dots i:nth-child(3) { background: #28c840; }

.mn-hp-browser-url {
  flex: 1;
  height: 1.75rem;
  border-radius: var(--radius-sm);
  background: var(--mn-white);
  border: 1px solid var(--mn-border);
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: var(--mn-ink-3);
}

.mn-hp-browser-body {
  padding: 1.25rem;
}

/* mini resource list inside preview */
.mn-hp-preview-nav {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.mn-hp-preview-tab {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid var(--mn-border);
  color: var(--mn-ink-3);
}

.mn-hp-preview-tab.is-active {
  background: var(--mn-blue-500);
  border-color: var(--mn-blue-500);
  color: var(--mn-white);
}

.mn-hp-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.mn-hp-preview-card {
  padding: 0.85rem;
  border: 1px solid var(--mn-border-s);
  border-radius: var(--radius-md);
  background: var(--mn-off);
}

.mn-hp-preview-card-tag {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mn-blue-500);
  margin-bottom: 0.25rem;
}

.mn-hp-preview-card-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mn-ink);
  line-height: 1.35;
  margin-bottom: 0.2rem;
}

.mn-hp-preview-card-meta {
  font-size: 0.62rem;
  color: var(--mn-ink-4);
}

.mn-hp-preview-bar {
  height: 3px;
  border-radius: 99px;
  background: var(--mn-border-s);
  margin-top: 0.5rem;
  overflow: hidden;
}

.mn-hp-preview-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--mn-blue-400);
}

.mn-hp-preview-bar-fill.is-w-50 { width: 50%; }
.mn-hp-preview-bar-fill.is-w-60 { width: 60%; }
.mn-hp-preview-bar-fill.is-w-70 { width: 70%; }
.mn-hp-preview-bar-fill.is-w-75 { width: 75%; }
.mn-hp-preview-bar-fill.is-w-85 { width: 85%; }
.mn-hp-preview-bar-fill.is-w-90 { width: 90%; }

/* ── FEATURES GRID ─────────────────────────────────────── */
.mn-hp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.mn-hp-feature-card {
  padding: 1.5rem;
  border: 1px solid var(--mn-border);
  border-radius: var(--radius-lg);
  background: var(--mn-white);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.mn-hp-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mn-hp-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}

.mn-hp-feature-icon.is-blue { background: var(--mn-blue-50); color: var(--mn-blue-500); }
.mn-hp-feature-icon.is-amber { background: var(--mn-amber-soft); color: var(--mn-amber); }
.mn-hp-feature-icon.is-teal { background: var(--mn-teal-soft); color: var(--mn-teal); }
.mn-hp-feature-icon.is-purple { background: var(--mn-purple-soft); color: var(--mn-purple); }
.mn-hp-feature-icon.is-green { background: var(--mn-green-soft); color: var(--mn-green); }

.mn-hp-feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--mn-ink);
  margin-bottom: 0.35rem;
}

.mn-hp-feature-card p {
  font-size: 0.82rem;
  color: var(--mn-ink-3);
  line-height: 1.5;
  margin: 0;
}

/* ── LIVE ACTIVITY ─────────────────────────────────────── */
.mn-hp-activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.mn-hp-activity-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  padding: 1.15rem;
  border: 1px solid var(--mn-border);
  border-radius: var(--radius-lg);
  background: var(--mn-white);
  transition: border-color 0.15s var(--ease);
}

.mn-hp-activity-item:hover {
  border-color: var(--mn-blue-200);
}

.mn-hp-activity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
}

.mn-hp-activity-icon.is-green { background: var(--mn-green-soft); color: var(--mn-green); }
.mn-hp-activity-icon.is-amber { background: var(--mn-amber-soft); color: var(--mn-amber); }
.mn-hp-activity-icon.is-blue { background: var(--mn-blue-50); color: var(--mn-blue-500); }
.mn-hp-activity-icon.is-purple { background: var(--mn-purple-soft); color: var(--mn-purple); }

.mn-hp-activity-body {
  min-width: 0;
}

.mn-hp-activity-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mn-ink);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mn-hp-activity-meta {
  font-size: 0.72rem;
  color: var(--mn-ink-4);
  margin-top: 0.15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── TRUST STATS ───────────────────────────────────────── */
.mn-hp-trust {
  background: linear-gradient(135deg, var(--mn-blue-50) 0%, var(--mn-white) 50%, var(--mn-blue-50) 100%);
  border-top: 1px solid var(--mn-border-s);
  border-bottom: 1px solid var(--mn-border-s);
  padding: 3.5rem 0;
}

.mn-hp-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.mn-hp-trust-item {
  text-align: center;
  padding: 1rem 0.5rem;
}

.mn-hp-trust-item strong {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--mn-blue-600);
  letter-spacing: -0.02em;
  line-height: 1;
}

.mn-hp-trust-item span {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--mn-ink-3);
  margin-top: 0.3rem;
}

/* ── BOTTOM CTA ────────────────────────────────────────── */
.mn-hp-bottom-cta {
  background: linear-gradient(165deg, var(--mn-blue-950) 0%, var(--mn-blue-900) 100%);
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mn-hp-bottom-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.mn-hp-bottom-cta-inner {
  position: relative;
  z-index: 1;
}

.mn-hp-bottom-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--mn-white);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.mn-hp-bottom-cta p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.mn-hp-bottom-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.mn-hp-bottom-cta .mn-hp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.85rem;
  padding: 0 1.5rem;
  border-radius: var(--radius-md);
  background: var(--mn-blue-500);
  color: var(--mn-white);
  font-size: 0.92rem;
  font-weight: 600;
  border: 0;
  transition: background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.mn-hp-bottom-cta .mn-hp-btn-primary:hover {
  background: var(--mn-blue-400);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.mn-hp-bottom-cta .mn-hp-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.85rem;
  padding: 0 1.5rem;
  border-radius: var(--radius-md);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.15s var(--ease);
}

.mn-hp-bottom-cta .mn-hp-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--mn-white);
  background: rgba(255, 255, 255, 0.05);
}

/* ── FOOTER ────────────────────────────────────────────── */
.footer-wrap {
  border-top: 1px solid var(--mn-border);
}

.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.f-brand h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mn-ink);
  margin-bottom: 0.5rem;
}

.f-brand p {
  font-size: 0.82rem;
  color: var(--mn-ink-3);
  line-height: 1.55;
  max-width: 30ch;
  margin-bottom: 0.85rem;
}

.f-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.f-chip {
  display: inline-flex;
  align-items: center;
  height: 1.55rem;
  padding: 0 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--mn-blue-50);
  color: var(--mn-blue-600);
  font-size: 0.68rem;
  font-weight: 600;
  transition: background 0.15s var(--ease);
}

.f-chip:hover {
  background: var(--mn-blue-100);
}

.f-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mn-ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}

.f-col ul {
  list-style: none;
}

.f-col li {
  margin-bottom: 0.35rem;
}

.f-col a {
  font-size: 0.82rem;
  color: var(--mn-ink-3);
  transition: color 0.15s var(--ease);
}

.f-col a:hover {
  color: var(--mn-blue-500);
}

.footer-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--mn-border-s);
  font-size: 0.72rem;
  color: var(--mn-ink-4);
}

.footer-bot a {
  color: var(--mn-ink-3);
  transition: color 0.15s var(--ease);
}

.footer-bot a:hover {
  color: var(--mn-blue-500);
}

.f-bot-links {
  display: flex;
  gap: 1.25rem;
}

.f-bot-links a {
  font-size: 0.72rem;
  color: var(--mn-ink-4);
}

.f-bot-links a:hover {
  color: var(--mn-blue-500);
}

/* ── SCROLL ANIMATIONS ─────────────────────────────────── */
.mn-hp-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.mn-hp-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mn-hp-fade-delay-1 { transition-delay: 0.1s; }
.mn-hp-fade-delay-2 { transition-delay: 0.2s; }
.mn-hp-fade-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .mn-hp-nav-links { gap: 0.1rem; }
  .mn-hp-nav-links a { font-size: 0.78rem; padding: 0.35rem 0.5rem; }
  .mn-hp-paths-grid { gap: 1rem; }
  .mn-hp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .mn-hp-preview-grid { gap: 0.5rem; }
}

/* Tablet portrait / large mobile */
@media (max-width: 768px) {
  .mn-hp-container { padding: 0 1.25rem; }
  .mn-hp-nav-inner { padding: 0 1.25rem; height: 3.25rem; }
  .mn-hp-nav-links { display: none; }
  .mn-hp-nav-search-btn { display: none; }
  .mn-hp-burger { display: inline-flex; }

  .mn-hp-hero { padding: 6.5rem 0 3rem; min-height: auto; }
  .mn-hp-hero-inner { padding: 0 1.25rem; }
  .mn-hp-hero-h1 { font-size: 2.1rem; }
  .mn-hp-hero-sub { font-size: 0.95rem; }
  .mn-hp-hero-proof { gap: 0.4rem 1.25rem; }
  .mn-hp-proof-item strong { font-size: 1.35rem; }

  .mn-hp-section { padding: 3rem 0; }
  .mn-hp-section-head { margin-bottom: 1.75rem; }
  .mn-hp-paths-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .mn-hp-path-card { padding: 1.35rem; }

  .mn-hp-preview-grid { grid-template-columns: 1fr; }

  .mn-hp-features-grid { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .mn-hp-feature-card { padding: 1.15rem; }

  .mn-hp-activity-grid { grid-template-columns: 1fr; }

  .mn-hp-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .mn-hp-trust-item { padding: 0.75rem 0.25rem; }

  .mn-hp-bottom-cta { padding: 3rem 0; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .f-brand { grid-column: span 2; }
}

/* Mobile */
@media (max-width: 480px) {
  .mn-hp-container { padding: 0 1rem; }
  .mn-hp-nav-inner { padding: 0 1rem; }

  .mn-hp-hero { padding: 5.5rem 0 2.5rem; }
  .mn-hp-hero-inner { padding: 0 1rem; }
  .mn-hp-hero-eyebrow { font-size: 0.62rem; }
  .mn-hp-hero-h1 { font-size: 1.85rem; }
  .mn-hp-hero-sub { font-size: 0.88rem; }
  .mn-hp-hero-search-btn { padding: 0 1rem; font-size: 0.8rem; }
  .mn-hp-hero-proof { flex-direction: column; gap: 0.75rem; }
  .mn-hp-proof-item { display: flex; align-items: center; gap: 0.5rem; }
  .mn-hp-proof-item strong { font-size: 1.1rem; }
  .mn-hp-proof-item span { margin-top: 0; }

  .mn-hp-section { padding: 2.5rem 0; }
  .mn-hp-features-grid { grid-template-columns: 1fr; }

  .mn-hp-trust-grid { grid-template-columns: 1fr 1fr; }

  .mn-hp-bottom-cta-actions { flex-direction: column; }
  .mn-hp-bottom-cta .mn-hp-btn-primary,
  .mn-hp-bottom-cta .mn-hp-btn-ghost { width: 100%; max-width: 280px; }

  .footer-top { grid-template-columns: 1fr; }
  .f-brand { grid-column: span 1; }
  .footer-bot { flex-direction: column; text-align: center; }
  .f-bot-links { justify-content: center; flex-wrap: wrap; gap: 0.75rem; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mn-hp-fade { transition: none; opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
