/* =========================================================
   The ClientCloser Manifesto — standalone microsite styles
   Aligned to the main site's "Chancery" system: forest green
   + brass on ink and parchment, sharp corners, mono numerals.
   Self-contained: does not depend on the main site's style.css.
   ========================================================= */

:root {
  --mf-bg: #F5F2E8;
  --mf-panel: #FFFFFF;
  --mf-ink-dark: #12190F;
  --mf-ink-deep: #0B0F09;
  --mf-accent: #1E4430;
  --mf-ink: #17231C;
  --mf-muted: #54503E;
  --mf-faint: #8C8265;
  --mf-tint-050: #F6F3EA;
  --mf-tint-100: #ECE4CD;
  --mf-tint-200: #DCE6DE;
  --mf-green-300: #D4B876;
  --mf-green-500: #A9822E;
  --mf-green-700: #7C5F1F;
  --mf-line: rgba(23, 35, 28, 0.15);
  --mf-shadow: 4px 4px 0 rgba(23, 35, 28, 0.07);

  --mf-font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --mf-font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mf-font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --mf-wrap: 960px;
  --mf-radius: 0px;

  color-scheme: light;
}

* , *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--mf-bg);
  color: var(--mf-ink);
  font-family: var(--mf-font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

/* ---------- Top bar ---------- */
.mf-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(245, 242, 232, 0.94);
  backdrop-filter: saturate(160%) blur(6px);
  border-bottom: 1px solid var(--mf-line);
  border-top: 3px solid var(--mf-accent);
}
.mf-logo { flex: none; display: inline-flex; }
.mf-logo img { height: 42px; width: auto; }
.mf-progress {
  flex: 1;
  height: 3px;
  border-radius: 0;
  background: var(--mf-tint-100);
  overflow: hidden;
}
.mf-progress span {
  display: block;
  height: 100%;
  border-radius: 0;
  background: var(--mf-accent);
  transition: width 0.4s ease;
}
.mf-count {
  flex: none;
  font-family: var(--mf-font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--mf-muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- Slide shell ---------- */
.mf-slide {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 3rem);
}
.mf-slide-inner {
  width: 100%;
  max-width: var(--mf-wrap);
  margin: 0 auto;
}

.mf-kicker {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-family: var(--mf-font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mf-green-500);
  margin-bottom: 1.1rem;
}
.mf-kicker::before { content: "\2014"; color: var(--mf-green-500); }
.mf-kicker b { color: var(--mf-ink); font-family: var(--mf-font); font-size: 0.92rem; letter-spacing: 0; text-transform: none; }

.mf-slide h1 {
  font-family: var(--mf-font-display);
  font-size: clamp(2.3rem, 5.6vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--mf-ink);
  margin: 0 0 1.1rem;
}
.mf-slide h2 {
  font-family: var(--mf-font-display);
  font-size: clamp(1.9rem, 4.3vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
  font-weight: 400;
  color: var(--mf-ink);
  margin: 0 0 1rem;
}
.mf-slide h3 {
  font-family: var(--mf-font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--mf-ink);
  margin: 0 0 0.4rem;
  letter-spacing: -0.008em;
}
.mf-accent { color: var(--mf-accent); font-style: italic; }
.mf-slide p { margin: 0 0 1rem; color: var(--mf-muted); max-width: 46ch; }
.mf-slide p.mf-lead {
  font-size: clamp(1.1rem, 2.1vw, 1.4rem);
  font-weight: 600;
  color: var(--mf-ink);
  max-width: 30ch;
}
.mf-slide p.mf-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  max-width: 52ch;
}
.mf-emphasis {
  font-weight: 700;
  color: var(--mf-ink);
}

/* ---------- Callout / note ---------- */
.mf-note {
  margin-top: 1.75rem;
  padding: 1rem 1.3rem;
  border-radius: 0;
  border-left: 3px solid var(--mf-green-500);
  background: var(--mf-tint-200);
  color: var(--mf-ink);
  font-weight: 600;
  max-width: none;
}
.mf-note--warn {
  background: var(--mf-tint-050);
  border-left: 3px solid var(--mf-accent);
  color: var(--mf-ink);
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.mf-note--warn .mf-bang {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 0;
  background: var(--mf-accent);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}
.mf-quiet {
  margin-top: 1.4rem;
  font-family: var(--mf-font-mono);
  font-size: 0.78rem;
  color: var(--mf-faint);
  font-style: normal;
}

/* ---------- Layout helpers ---------- */
.mf-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 2.25rem);
  align-items: start;
}
.mf-media {
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--mf-shadow);
}

/* ---------- Stat chips (cover + closing) ---------- */
.mf-statrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mf-line);
}
.mf-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: var(--mf-font-mono);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--mf-ink);
}
.mf-stat svg { width: 20px; height: 20px; color: var(--mf-green-500); margin-bottom: 0.15rem; }

/* ---------- Big number badge ---------- */
.mf-bignum {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  font-family: var(--mf-font-mono);
  font-weight: 500;
  color: var(--mf-ink);
  letter-spacing: -0.02em;
}
.mf-bignum b { font-size: clamp(2.8rem, 7.5vw, 4.6rem); line-height: 1; }
.mf-bignum span { font-size: clamp(1.2rem, 2.8vw, 1.8rem); }
.mf-badge-circle {
  background: var(--mf-tint-200);
  border-radius: 0;
  border: 1px solid var(--mf-line);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  max-width: 320px;
  margin-left: auto;
}
.mf-badge-circle p { color: var(--mf-ink); font-weight: 600; margin: 0.6rem 0 0; max-width: 20ch; }

/* ---------- Funnel (slide 3) ---------- */
.mf-funnel {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 2rem 0 2.25rem;
  border: 1px solid var(--mf-ink);
}
.mf-funnel-step {
  flex: 1 1 120px;
  min-width: 108px;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.4rem 0.6rem;
  color: #fff;
}
.mf-funnel-step + .mf-funnel-step { border-left: 1px solid rgba(255,255,255,0.25); }
.mf-funnel-step b { font-family: var(--mf-font-mono); font-size: 1.4rem; font-weight: 500; line-height: 1; }
.mf-funnel-step span { font-size: 0.72rem; margin-top: 0.3rem; opacity: 0.95; }
.mf-funnel-step.s1 { background: var(--mf-ink-dark); }
.mf-funnel-step.s2 { background: var(--mf-accent); }
.mf-funnel-step.s3 { background: var(--mf-green-500); }
.mf-funnel-step.s4 { background: var(--mf-tint-100); color: var(--mf-ink); }
.mf-funnel-step.s4 + .mf-funnel-step { border-left-color: var(--mf-line); }
.mf-funnel-arrow { display: none; }

/* ---------- Two-column task / belief lists ---------- */
.mf-cardpair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.mf-taskcard {
  background: transparent;
  border: 1px solid var(--mf-line);
  border-top: 3px solid var(--mf-green-500);
  border-radius: 0;
  padding: 1.4rem 1.5rem;
}
.mf-taskcard-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mf-font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mf-ink);
  margin-bottom: 1rem;
}
.mf-taskcard-head svg { width: 22px; height: 22px; flex: none; }
.mf-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.mf-checklist li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--mf-ink);
  font-weight: 500;
}
.mf-checklist li::before {
  content: "";
  flex: none;
  width: 14px; height: 1.4px;
  margin-top: 11px;
  background: var(--mf-green-500);
}
.mf-microcopy {
  margin-top: 1.4rem;
  padding: 0.9rem 1.2rem;
  background: transparent;
  border-left: 3px solid var(--mf-accent);
  border-radius: 0;
  color: var(--mf-ink);
  font-weight: 600;
  font-style: italic;
  max-width: none;
}

/* ---------- Comparison table (slide 5) ---------- */
.mf-compare {
  margin-top: 2rem;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--mf-ink);
}
.mf-compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.mf-compare-row + .mf-compare-row { border-top: 1px solid var(--mf-line); }
.mf-compare-row > div { padding: 0.9rem 1.2rem; display: flex; align-items: center; gap: 0.6rem; }
.mf-compare-row > div:first-child { border-right: 1px solid var(--mf-line); color: var(--mf-muted); }
.mf-compare-row.head > div { font-weight: 700; color: #fff; font-family: var(--mf-font-mono); font-size: 0.85rem; }
.mf-compare-row.head > div:first-child { background: var(--mf-muted); border-right-color: rgba(255,255,255,0.2); }
.mf-compare-row.head > div:last-child { background: var(--mf-ink-dark); }
.mf-compare-row.head b { display: block; font-weight: 700; font-family: var(--mf-font); font-size: 1rem; }
.mf-compare-row.head small { font-weight: 500; opacity: 0.8; }
.mf-compare-row:not(.head) > div:last-child { color: var(--mf-green-700); font-weight: 600; }
.mf-compare-row .dot { width: 5px; height: 5px; border-radius: 0; background: currentColor; flex: none; opacity: 0.6; }

/* ---------- Calculator (slide 7) ---------- */
.mf-calc {
  background: transparent;
  border: 1px solid var(--mf-line);
  border-top: 3px solid var(--mf-ink);
  border-radius: 0;
  padding: 1.5rem;
}
.mf-calc h4, .mf-calcresult h4 {
  font-family: var(--mf-font-mono);
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--mf-ink); margin: 0 0 1rem;
}
.mf-calc label { display: block; font-size: 0.85rem; color: var(--mf-muted); margin: 0.9rem 0 0.3rem; }
.mf-calc .mf-field {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--mf-line);
  border-radius: 0;
  background: #fff;
  font: inherit;
  font-family: var(--mf-font-mono);
  color: var(--mf-ink);
  font-weight: 500;
}
.mf-calcresult {
  background: var(--mf-tint-200);
  border-radius: 0;
  padding: 1.5rem;
}
.mf-calcresult .r-lead { color: var(--mf-ink); font-weight: 700; margin: 0 0 1rem; max-width: none; }
.mf-calcresult .r-big {
  font-family: var(--mf-font-mono);
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  font-weight: 500;
  color: var(--mf-ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.mf-calcresult .r-big small { font-family: var(--mf-font); font-size: 0.95rem; font-weight: 500; color: var(--mf-muted); display: block; margin-top: 0.2rem; }
.mf-calcresult .r-year {
  margin-top: 1.2rem;
  background: var(--mf-accent);
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 1.1rem;
  border-radius: 0;
}

/* ---------- Steps (slide 9) ---------- */
.mf-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}
.mf-step-ic {
  width: 50px; height: 50px;
  border-radius: 0;
  border: 1px solid var(--mf-ink);
  color: var(--mf-ink);
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
}
.mf-step-ic svg { width: 22px; height: 22px; }
.mf-step h3 { color: var(--mf-ink); font-size: 1rem; font-family: var(--mf-font); font-weight: 700; }
.mf-step p { font-size: 0.9rem; margin: 0; }

/* ---------- FAQ accordion (slide 9) ---------- */
.mf-faq {
  background: transparent;
  border: 1px solid var(--mf-line);
  border-radius: 0;
  padding: 0.5rem 1.5rem;
  margin-top: 1rem;
}
.mf-faq h4 { color: var(--mf-ink); margin: 1rem 0 0.5rem; font-size: 1.05rem; font-family: var(--mf-font-display); font-weight: 600; }
.mf-faq details { border-top: 1px solid var(--mf-line); }
.mf-faq details:first-of-type { border-top: none; }
.mf-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: var(--mf-ink);
}
.mf-faq summary::-webkit-details-marker { display: none; }
.mf-faq summary::after { content: "+"; font-weight: 700; color: var(--mf-green-500); flex: none; }
.mf-faq details[open] summary::after { content: "\2013"; }
.mf-faq details p { margin: 0 0 1rem; font-size: 0.95rem; color: var(--mf-muted); max-width: none; }

/* ---------- Industry grid (slide 10) ---------- */
.mf-industry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 2rem;
  border: 1px solid var(--mf-line);
  background: var(--mf-line);
}
.mf-industry div {
  text-align: center;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--mf-ink);
  padding: 1.2rem 0.6rem;
  border-radius: 0;
  background: var(--mf-bg);
}
.mf-industry svg {
  width: 26px; height: 26px;
  color: var(--mf-accent);
  margin: 0 auto 0.6rem;
}

/* ---------- Metric cards (slide 11) ---------- */
.mf-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.mf-metric {
  background: transparent;
  border: 1px solid var(--mf-line);
  border-left: 3px solid var(--mf-green-500);
  border-radius: 0;
  padding: 1.4rem 1.6rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.mf-metric svg { width: 30px; height: 30px; color: var(--mf-ink); flex: none; }
.mf-metric b { font-family: var(--mf-font-mono); font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 500; color: var(--mf-ink); display: block; line-height: 1.1; }
.mf-metric span { font-size: 0.88rem; color: var(--mf-muted); }
.mf-metric small { display: block; font-family: var(--mf-font-mono); font-size: 0.72rem; color: var(--mf-faint); font-style: normal; }

/* ---------- Dark slides (cover + closing) ---------- */
.mf-slide--dark {
  background: linear-gradient(150deg, #1C2618 0%, #12190F 55%, #0B0F09 100%);
  color: #E6E1D2;
}
.mf-slide--dark h1, .mf-slide--dark h2, .mf-slide--dark h3 { color: #fff; }
.mf-slide--dark p { color: #BEB69E; }
.mf-slide--dark p.mf-lead, .mf-slide--dark .mf-emphasis { color: #fff; }
.mf-slide--dark .mf-kicker { color: var(--mf-green-300); }
.mf-slide--dark .mf-kicker::before { color: var(--mf-green-300); }
.mf-slide--dark .mf-kicker b { color: #fff; }
.mf-slide--dark .mf-statrow { border-top-color: rgba(255,255,255,0.18); }
.mf-slide--dark .mf-stat { color: #fff; }
.mf-slide--dark .mf-stat svg { color: var(--mf-green-300); }
.mf-slide--dark .mf-accent { color: var(--mf-green-300); }

.mf-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.9rem 1.7rem;
  border-radius: 0;
  background: var(--mf-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease;
}
.mf-cta:hover { background: #123020; }
.mf-cta--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}
.mf-cta--ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.mf-tagline { margin-top: 1.5rem; font-family: var(--mf-font-display); font-style: italic; font-weight: 500; color: #fff; }

/* ---------- Contents grid (cover) ---------- */
.mf-toc {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 2rem;
}
.mf-toc a {
  display: flex;
  gap: 0.75rem;
  padding: 0.55rem 0;
  color: #DCD4C4;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mf-toc a:hover { color: #fff; }
.mf-toc a i { font-family: var(--mf-font-mono); color: var(--mf-green-300); font-style: normal; font-variant-numeric: tabular-nums; flex: none; }

/* ---------- Bottom nav ---------- */
.mf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--mf-line);
  background: var(--mf-bg);
}
.mf-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--mf-ink);
  padding: 0.55rem 0.95rem;
  border-radius: 0;
  border: 1px solid var(--mf-line-strong, var(--mf-line));
  transition: border-color 0.15s ease, background 0.15s ease;
}
.mf-nav a:hover { border-color: var(--mf-ink); background: #fff; }
.mf-nav a.mf-next { background: var(--mf-ink); color: #fff; border-color: var(--mf-ink); }
.mf-nav a.mf-next:hover { background: var(--mf-ink-dark); }
.mf-nav-title {
  font-family: var(--mf-font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mf-faint);
  text-align: center;
  flex: 1;
}
.mf-nav .mf-spacer { width: 1px; }

@media (max-width: 760px) {
  .mf-grid2, .mf-cardpair, .mf-metrics, .mf-compare-row { grid-template-columns: 1fr; }
  .mf-steps, .mf-industry { grid-template-columns: repeat(2, 1fr); }
  .mf-badge-circle { margin: 1.5rem auto 0; }
  .mf-compare-row > div:first-child { border-right: none; border-bottom: 1px solid var(--mf-line); }
  .mf-nav-title { display: none; }
  .mf-toc { grid-template-columns: 1fr; }
  .mf-funnel { flex-direction: column; }
  .mf-funnel-step + .mf-funnel-step { border-left: none; border-top: 1px solid rgba(255,255,255,0.25); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* =========================================================
   Manifesto download landing page (get.html)
   ========================================================= */
.mf-top--brand {
  justify-content: flex-start;
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
}
.mf-top--brand .mf-logo img { height: 46px; }
@media (max-width: 560px) {
  .mf-top--brand .mf-logo img { height: 38px; }
}

.mf-dl {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 3rem);
}
.mf-dl-grid {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
.mf-dl-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: 8px 8px 0 rgba(18, 25, 15, 0.12);
  transform: none;
  transition: transform 0.25s ease;
  background: var(--mf-ink-deep);
  border: 1px solid var(--mf-ink);
}
.mf-dl-cover:hover { transform: translate(-3px, -3px); }

.mf-dl-body .mf-kicker { margin-bottom: 0.9rem; }
.mf-dl-body h1 {
  font-family: var(--mf-font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--mf-ink);
  margin: 0 0 0.9rem;
}
.mf-dl-body > p {
  color: var(--mf-muted);
  font-size: 1.02rem;
  max-width: 44ch;
  margin: 0 0 1.4rem;
}
.mf-dl-list {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.mf-dl-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--mf-ink);
}
.mf-dl-list li::before {
  content: "";
  flex: none;
  width: 14px; height: 1.4px;
  margin-top: 10px;
  background: var(--mf-green-500);
}

.mf-form {
  background: transparent;
  border: 1px solid var(--mf-line);
  border-top: 3px solid var(--mf-accent);
  border-radius: 0;
  padding: 1.5rem;
  max-width: 420px;
}
.mf-form-row { display: grid; gap: 0.7rem; margin-bottom: 0.85rem; }
@media (min-width: 480px) { .mf-form-row.two { grid-template-columns: 1fr 1fr; } }
.mf-form label {
  display: block;
  font-family: var(--mf-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mf-muted);
  margin-bottom: 0.3rem;
}
.mf-form input[type="text"],
.mf-form input[type="email"] {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--mf-line);
  border-radius: 0;
  background: #fff;
  font: inherit;
  color: var(--mf-ink);
}
.mf-form input:focus { outline: none; border-color: var(--mf-accent); box-shadow: 0 0 0 3px var(--mf-tint-100); }
.mf-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mf-select-wrap { position: relative; }
.mf-form select {
  width: 100%;
  padding: 0.7rem 2.4rem 0.7rem 0.95rem;
  border: 1px solid var(--mf-line);
  border-radius: 0;
  background: #fff;
  font: inherit;
  color: var(--mf-ink);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.mf-form select:invalid { color: var(--mf-faint); }
.mf-form select:focus { outline: none; border-color: var(--mf-accent); box-shadow: 0 0 0 3px var(--mf-tint-100); }
.mf-select-chev {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--mf-muted);
  pointer-events: none;
}
.mf-form button[type="submit"] {
  width: 100%;
  padding: 0.85rem 1.4rem;
  border: none;
  border-radius: 0;
  background: var(--mf-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease;
}
.mf-form button[type="submit"]:hover:not(:disabled) { background: #123020; }
.mf-form button[type="submit"]:disabled { opacity: 0.6; cursor: default; }
.mf-form-fine { margin: 0.85rem 0 0; font-size: 0.78rem; color: var(--mf-faint); }
.mf-form-status { margin: 0.7rem 0 0; font-size: 0.88rem; font-weight: 600; }
.mf-form-status.is-error { color: #A5342A; }

.mf-dl-ready {
  background: transparent;
  border: 1px solid var(--mf-line);
  border-top: 3px solid var(--mf-green-500);
  border-radius: 0;
  padding: 1.75rem;
  max-width: 420px;
}
.mf-dl-ready h2 { font-family: var(--mf-font-display); font-size: 1.3rem; color: var(--mf-ink); margin: 0 0 0.4rem; font-weight: 500; }
.mf-dl-ready p { color: var(--mf-muted); font-size: 0.95rem; margin: 0 0 1.2rem; }
.mf-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 0;
  background: var(--mf-ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease;
}
.mf-dl-btn:hover { background: var(--mf-ink-dark); }

.mf-mini-foot {
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--mf-line);
  font-size: 0.82rem;
  color: var(--mf-faint);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.mf-mini-foot a { color: var(--mf-muted); text-decoration: none; }
.mf-mini-foot a:hover { color: var(--mf-ink); }

@media (max-width: 800px) {
  .mf-dl-grid { grid-template-columns: 1fr; }
  .mf-dl-cover { max-width: 300px; margin: 0 auto; }
}
