/* MNM Resources — shared styles */
:root {
  --charcoal: #1C1C1E;
  --charcoal-2: #2A2A2D;
  --teal: #2DD4BF;
  --teal-600: #14B8A6;
  --teal-50: #ECFDF8;
  --white: #FFFFFF;
  --grey-50: #F5F5F7;
  --grey-100: #ECECEF;
  --grey-200: #DCDCE2;
  --grey-500: #6B7280;
  --grey-700: #3F3F46;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(28, 28, 30, 0.06);
  --shadow-lg: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 40px rgba(28, 28, 30, 0.08);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Type scale */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; letter-spacing: 0; }
p { margin: 0; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
}
.muted { color: var(--grey-500); }
.lead { font-size: 1.125rem; color: var(--grey-700); line-height: 1.65; }

/* Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
}

/* Navbar */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--grey-100);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}
.logo-mark {
  width: 22px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.logo-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: rotate(45deg);
  border-radius: 4px;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--white);
  transform: rotate(45deg);
  border-radius: 2px;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--grey-700);
  position: relative;
  padding: 6px 0;
  transition: color 160ms ease;
}
.nav-links a:hover { color: var(--charcoal); }
.nav-links a.active { color: var(--charcoal); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.nav-cta {
  background: var(--charcoal);
  color: var(--white) !important;
  padding: 10px 18px !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.nav-cta:hover { background: var(--charcoal-2); }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  border: none; background: transparent;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--charcoal);
  margin: 4px auto;
  transition: transform 200ms ease, opacity 200ms ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .hamburger { display: block; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--grey-100);
    padding: 8px 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid var(--grey-100);
  }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { background: var(--teal-50); color: var(--teal-600); }
  .nav-cta { margin: 12px 24px; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease, color 160ms ease;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: var(--charcoal); }
.btn-primary:hover { background: var(--teal-600); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: var(--charcoal-2); }
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--grey-200); }
.btn-ghost:hover { border-color: var(--charcoal); }
.btn-arrow { gap: 6px; }
.btn-arrow svg { transition: transform 160ms ease; }
.btn-arrow:hover svg { transform: translateX(3px); }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-600);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.card-title { margin-bottom: 8px; }
.card-desc { color: var(--grey-500); font-size: 0.9375rem; line-height: 1.6; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--teal-600);
}
.card-link svg { transition: transform 160ms ease; }
.card:hover .card-link svg { transform: translateX(4px); }

/* Hero */
.hero {
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(45, 212, 191, 0.18), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(45, 212, 191, 0.1), transparent 60%);
  z-index: -1;
}
.hero-grid {
  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: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, black, transparent 75%);
  z-index: -1;
}

/* Page hero (sub-pages) */
.page-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 120px 0 88px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 90% 50%, rgba(45, 212, 191, 0.15), transparent 60%);
  z-index: -1;
}
.page-hero h1 { max-width: 720px; }
.page-hero .lead { color: rgba(255,255,255,0.72); max-width: 640px; margin-top: 16px; }
@media (max-width: 768px) {
  .page-hero { padding: 72px 0 56px; }
}

/* Footer */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer h4 {
  color: var(--white);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer .logo { color: var(--white); margin-bottom: 12px; }
.footer-tagline { font-size: 0.9375rem; max-width: 320px; line-height: 1.6; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: rgba(255,255,255,0.7); font-size: 0.9375rem; transition: color 160ms ease; }
.footer a:hover { color: var(--teal); }
.footer-meta {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Placeholder image */
.placeholder {
  position: relative;
  background-color: var(--grey-50);
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 14px,
    rgba(28,28,30,0.04) 14px,
    rgba(28,28,30,0.04) 15px
  );
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--grey-500);
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  overflow: hidden;
}
.placeholder.dark {
  background-color: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 14px,
    rgba(255,255,255,0.04) 14px,
    rgba(255,255,255,0.04) 15px
  );
  color: rgba(255,255,255,0.5);
}

/* Grid utilities */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Section header */
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 12px; display: block; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--grey-500); font-size: 1.0625rem; line-height: 1.6; }

/* Why-choose feature */
.feature {
  display: flex; flex-direction: column; gap: 12px;
  padding: 8px;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--grey-100);
  display: grid; place-items: center;
  color: var(--teal-600);
}
.feature h4 { font-size: 1rem; font-weight: 600; }
.feature p { color: var(--grey-500); font-size: 0.9375rem; }

/* CTA banner */
.cta-banner {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(closest-side, rgba(45,212,191,0.25), transparent);
  border-radius: 50%;
}
.cta-banner h2 { max-width: 560px; position: relative; }
.cta-banner .btn { position: relative; }
@media (max-width: 768px) {
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
}

/* Price badge */
.price-badge {
  display: inline-flex; align-items: baseline; gap: 6px;
  background: var(--teal-50);
  color: var(--teal-600);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid rgba(45,212,191,0.3);
}
.price-badge .num { font-size: 1rem; font-weight: 700; }

/* Callout */
.callout {
  background: var(--grey-50);
  border-left: 3px solid var(--teal);
  padding: 28px 32px;
  border-radius: var(--radius-md);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--charcoal);
}

/* Highlight strip */
.highlight-strip {
  background: var(--charcoal);
  color: var(--white);
  padding: 24px 32px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 16px;
  font-weight: 500;
}
.highlight-strip .dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Form */
.form-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; gap: 6px; margin-bottom: 20px; }
.form-row label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--grey-700);
  letter-spacing: 0.02em;
}
.form-row input, .form-row textarea, .form-row select {
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--grey-200);
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45,212,191,0.18);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.checkbox-row {
  display: flex; align-items: center; gap: 10px;
  padding: 14px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}
.checkbox-row:hover { border-color: var(--grey-500); }
.checkbox-row.checked { background: var(--teal-50); border-color: var(--teal); }
.checkbox-row input { accent-color: var(--teal-600); width: 18px; height: 18px; }
.checkbox-row span { font-size: 0.9375rem; }

/* Stat row */
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat .num {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  line-height: 1;
}
.stat .label { font-size: 0.875rem; color: var(--grey-500); }

/* List with checks */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.9375rem; color: var(--grey-700);
}
.check-list .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-600);
  display: grid; place-items: center;
  margin-top: 1px;
}

/* Service detail layout */
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; gap: 40px; } }

.sticky-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 96px;
}

/* Tag */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--teal-50);
  padding: 4px 10px;
  border-radius: 999px;
}
