/* MMM Partners — client-plane marketing site.
 * "Deep Field" system shared with the MMM data console: midnight indigo +
 * electric cyan, Inter + JetBrains Mono, light body with dark hero bands.
 * Static site, no build step. */

:root {
  --bg:         #f4f7fb;   /* ice */
  --paper:      #ffffff;
  --surface:    #eef2f8;   /* cool grey card */
  --surface-2:  #e4eaf3;

  --ink:        #0d1225;   /* midnight indigo, primary text + hero */
  --ink-2:      #1a2038;
  --ink-3:      #2a3253;
  --muted:      #5a6480;
  --muted-2:    #7e88a3;

  --line:        rgba(13, 18, 37, 0.10);
  --line-strong: rgba(13, 18, 37, 0.18);

  --accent:      #22d3ee;  /* electric cyan */
  --accent-2:    #06b6d4;
  --accent-deep: #0891b2;
  --accent-glow: rgba(34, 211, 238, 0.35);

  --shadow-soft: 0 1px 2px rgba(13,18,37,0.04), 0 8px 24px rgba(13,18,37,0.06);
  --shadow-lift: 0 2px 4px rgba(13,18,37,0.06), 0 20px 40px rgba(13,18,37,0.12);
  --shadow-hero: 0 20px 60px rgba(13,18,37,0.45), 0 0 0 1px rgba(34,211,238,0.15);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wide:   1200px;
  --narrow: 720px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-deep); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: -0.028em; font-weight: 700; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; font-weight: 600; }
h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-family: var(--mono); }

p { margin: 0 0 1.1em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); line-height: 1.55; font-weight: 400; }

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

/* ---------------- Attorney advertising compliance bar ----------------
 * Per NY RPC 7.1(f), the label appears on load at the top of every page.
 * Not sticky - scrolls away as the user reads; site-header remains sticky. */
.compliance-bar {
  background: #060916;
  border-bottom: 1px solid rgba(34, 211, 238, 0.12);
  color: rgba(34, 211, 238, 0.75);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 7px 0;
}
.compliance-bar .wrap {
  display: flex; justify-content: flex-end; align-items: center;
}
.compliance-bar span::before {
  content: ""; display: inline-block;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); margin-right: 10px;
  vertical-align: middle;
}

/* ---------------- Site header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 247, 251, 0.85);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 24px;
  padding-top: 16px; padding-bottom: 16px;
}
.logo {
  font-family: var(--sans); font-size: 1.05rem; font-weight: 700;
  letter-spacing: -0.015em; color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
}
.logo:hover { text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 34px; height: 34px;
  display: inline-grid; place-items: center; flex: none;
  background: var(--ink); border-radius: var(--radius);
  color: var(--accent);
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 1px rgba(34,211,238,0.25);
}

.site-nav { margin-left: auto; display: flex; gap: 28px; align-items: center; }
.site-nav a {
  color: var(--ink-2); font-size: 0.92rem; font-weight: 500;
  padding: 4px 0; position: relative;
}
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--accent-deep); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.005em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink); color: white;
}
.btn-primary:hover { background: var(--ink-2); text-decoration: none; color: white; transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-accent {
  background: var(--accent); color: var(--ink);
  box-shadow: 0 0 0 1px var(--accent-2), 0 4px 14px var(--accent-glow);
}
.btn-accent:hover { background: var(--accent-2); color: var(--ink); text-decoration: none; transform: translateY(-1px); box-shadow: 0 0 0 1px var(--accent-deep), 0 8px 24px var(--accent-glow); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--surface); color: var(--ink); text-decoration: none; border-color: var(--ink); }
.btn-ghost-light {
  background: transparent; color: white; border-color: rgba(255,255,255,0.25);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); color: white; text-decoration: none; border-color: var(--accent); }

.nav-toggle { display: none; }

/* ---------------- Hero (dark surface) ---------------- */
.hero {
  background: var(--ink);
  color: white;
  padding: clamp(64px, 8vw, 112px) 0 clamp(56px, 8vw, 96px);
  position: relative; overflow: hidden;
}
/* subtle tech grid backdrop */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34,211,238,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black 20%, transparent 70%);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1, .hero h2, .hero h3 { color: white; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--accent);
}
.hero h1 .accent {
  color: var(--accent);
  font-weight: 800;
}
.hero-lede { max-width: 32em; margin-top: 20px; color: rgba(255,255,255,0.75); }
.hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 40px; display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
  font-family: var(--mono);
}
.hero-meta strong {
  color: white; font-weight: 600; display: block; font-size: 1.4rem;
  margin-bottom: 4px; font-family: var(--sans); letter-spacing: -0.02em;
}

/* Abstract visual panel (tech grid + label; no photography dependency). */
.hero-visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background-color: var(--ink-2);
  background-image:
    linear-gradient(135deg, rgba(34,211,238,0.15), rgba(13,18,37,0) 60%),
    linear-gradient(315deg, rgba(34,211,238,0.06), rgba(13,18,37,0) 60%);
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-hero);
  display: grid; place-items: center;
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(34,211,238,0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.55;
}
.hero-visual .placeholder {
  position: relative; z-index: 1;
  font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); text-align: center; padding: 20px;
}
.hero-visual .placeholder strong {
  display: block; color: var(--accent); font-weight: 500; margin-bottom: 4px;
}
.hero-visual.has-bg {
  background-image: url('hero-bg.png');
  background-size: cover;
  background-position: center;
}
.hero-visual.has-bg::before,
.hero-visual.has-bg .placeholder { display: none; }

/* ---------------- Section spacing ---------------- */
section { padding: clamp(56px, 7vw, 96px) 0; }
.section-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--accent);
}
.section-header { max-width: 44em; margin-bottom: clamp(36px, 5vw, 56px); }

/* ---------------- Trust bar ---------------- */
.trust-bar {
  background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.trust-item {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 0.82rem; color: var(--muted);
  font-family: var(--mono); letter-spacing: 0.04em;
}
.trust-item strong {
  font-family: var(--sans); font-size: 1.35rem; color: var(--ink); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.015em;
}

/* ---------------- Feature cards ---------------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature {
  background: var(--paper); border-radius: var(--radius); padding: 32px 28px;
  border: 1px solid var(--line);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}
.feature-icon {
  width: 42px; height: 42px; border-radius: var(--radius);
  background: var(--ink);
  display: grid; place-items: center; margin-bottom: 20px;
  color: var(--accent);
}
.feature h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 8px; }
.feature p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* ---------------- How it works / steps ---------------- */
.steps { background: var(--surface); }
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  counter-reset: step;
}
.step {
  background: var(--paper); border-radius: var(--radius); padding: 28px 24px;
  position: relative; border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.step:hover { border-color: var(--accent); transform: translateY(-2px); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--mono); font-size: 0.85rem; color: var(--accent-deep);
  display: block; margin-bottom: 16px; font-weight: 500;
  letter-spacing: 0.1em;
}
.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------------- Pricing ---------------- */
.pricing { background: var(--ink); color: rgba(255,255,255,0.85); }
.pricing h2 { color: white; }
.pricing .section-eyebrow { color: var(--accent); }
.pricing .section-eyebrow::before { background: var(--accent); }
.pricing .lede { color: rgba(255,255,255,0.65); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.price-card {
  background: var(--ink-2); border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.price-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.price-card.featured {
  background: linear-gradient(180deg, #1a2038 0%, #131a30 100%);
  border-color: var(--accent);
  position: relative;
  box-shadow: 0 0 0 1px var(--accent), 0 20px 40px rgba(34,211,238,0.15);
}
.price-card.featured::after {
  content: "MOST COMMON"; position: absolute; top: -11px; right: 20px;
  background: var(--accent); color: var(--ink); font-size: 0.68rem;
  font-weight: 700; letter-spacing: 0.14em;
  padding: 4px 10px; border-radius: 4px; font-family: var(--mono);
}
.price-card h3 { font-family: var(--mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 12px; text-transform: uppercase; }
.price-amount { font-family: var(--sans); font-size: 2.1rem; font-weight: 700; color: white; line-height: 1; margin-bottom: 4px; letter-spacing: -0.03em; }
.price-amount span { font-size: 1rem; color: rgba(255,255,255,0.55); font-weight: 400; }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 0; }
.price-card li { padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.9rem; color: rgba(255,255,255,0.75); display: flex; gap: 10px; align-items: baseline; }
.price-card li:first-child { border-top: 0; padding-top: 0; }
.price-card li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  flex: none; margin-top: 8px;
}
.pricing-note { margin-top: 28px; font-size: 0.85rem; color: rgba(255,255,255,0.5); text-align: center; font-family: var(--mono); }

/* ---------------- FAQ ---------------- */
.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-size: 1.1rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; color: var(--accent-deep);
  transition: transform 0.2s ease; line-height: 1; font-weight: 300;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: var(--muted); font-size: 0.98rem; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-details { font-size: 1rem; }
.contact-details dt { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 24px; }
.contact-details dt:first-child { margin-top: 0; }
.contact-details dd { margin: 6px 0 0; }
.contact-details a { color: var(--ink); font-weight: 500; }
.contact-details a:hover { color: var(--accent-deep); }

form.contact-form { display: grid; gap: 18px; }
.contact-form label { display: block; font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--paper);
  font: inherit; color: var(--ink); font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .btn { justify-self: start; }

/* ---------------- CTA band ---------------- */
.cta-band {
  background: var(--ink);
  color: white; text-align: center;
  padding: clamp(56px, 7vw, 84px) 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 50% 100%, rgba(34,211,238,0.20), transparent 60%);
  pointer-events: none;
}
.cta-band > .wrap-narrow { position: relative; z-index: 1; }
.cta-band h2 { color: white; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 26px; }

/* ---------------- About page ---------------- */
.about-hero { padding: clamp(56px, 8vw, 96px) 0 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
.about-body { padding-top: 24px; padding-bottom: clamp(56px, 7vw, 96px); }
.about-body p { font-size: 1.1rem; line-height: 1.7; }
.about-body h2 { margin-top: 2em; }
.founder-card {
  display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center;
  background: var(--paper); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line);
  margin-top: 36px;
}
.founder-portrait {
  width: 200px; height: 200px; border-radius: var(--radius);
  background: var(--ink);
  display: grid; place-items: center;
  color: var(--accent); font-family: var(--mono); font-size: 3rem; font-weight: 500;
}
.founder-card h3 { font-family: var(--sans); font-size: 1.5rem; text-transform: none; letter-spacing: -0.01em; margin-bottom: 4px; color: var(--ink); }
.founder-card .role { color: var(--accent-deep); font-weight: 500; margin-bottom: 12px; font-size: 0.95rem; font-family: var(--mono); }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.65);
  padding: 56px 0 40px;
  border-top: 1px solid rgba(34,211,238,0.15);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.site-footer .logo { color: white; }
.footer-tagline { margin-top: 14px; color: rgba(255,255,255,0.55); font-size: 0.95rem; max-width: 24em; }
.footer-col h4 { color: var(--accent); font-size: 0.78rem; font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 5px 0; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.footer-col a:hover { color: white; }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px; margin-bottom: 20px;
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px; font-size: 0.85rem;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  color: rgba(255,255,255,0.5);
  font-family: var(--mono); letter-spacing: 0.04em;
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--accent); text-decoration: none; }

/* Draft banner — remove only after Lehman's logged approval of the content. */
.draft-banner {
  position: fixed; bottom: 16px; right: 16px; z-index: 100;
  background: var(--ink); color: var(--accent); font-size: 0.7rem;
  padding: 8px 14px; border-radius: 999px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; box-shadow: var(--shadow-lift);
  border: 1px solid var(--accent-deep);
  font-family: var(--mono);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: wrap; gap: 16px; }
  .site-nav {
    display: none; width: 100%; order: 3;
    flex-direction: column; align-items: stretch; gap: 0;
    padding-top: 12px; border-top: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-header .btn { margin-left: auto; }
  .nav-toggle {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px; background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius);
    cursor: pointer; color: var(--ink);
  }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 5 / 4; max-height: 380px; }

  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .founder-card { grid-template-columns: 1fr; text-align: center; }
  .founder-portrait { margin: 0 auto; }
}

@media (max-width: 520px) {
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { justify-content: flex-start; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
