/* ==========================================================================
   PropertyFlow — Managing for Owners page dark redesign
   (Figma file AfDgwLGK6PWvMXXcqqtZUb, frame 687:9611 "Managing for owner")

   Loaded ONLY by for-landlords/managing-for-owners/index.html, after
   home-dark.css (nav, labels, pills, CTA2, footer pattern reused from
   there). Component classes below use the `mfo-` prefix to avoid any
   collision with home-dark.css or the other redesigned pages' CSS
   files. Scoped under body.hd-page.
   ========================================================================== */

/* ---------- Hero ---------- */

body.hd-page .mfo-hero { padding: 160px 0 100px; }
body.hd-page .mfo-hero__copy { max-width: 1000px; }
body.hd-page .mfo-hero__heading {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 5.6vw, 71.66px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: var(--text-primary);
  margin: 28px 0 0;
}
body.hd-page .mfo-hero__heading > span { display: block; }
body.hd-page .mfo-hero__heading span.muted { color: #7c7c86; }
body.hd-page .mfo-hero__desc {
  font-family: "Krub", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 24px 0 0;
}
body.hd-page .mfo-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
body.hd-page .mfo-hero__stats { display: flex; align-items: center; gap: 24px; margin-top: 36px; max-width: 640px; }
body.hd-page .mfo-hero__stat-divider { width: 1px; height: 32px; background: var(--border-subtle); flex-shrink: 0; }
body.hd-page .mfo-hero__stat-value { font-family: "Inter", sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.03em; color: var(--text-primary); display: block; }
body.hd-page .mfo-hero__stat-label { font-family: "Krub", sans-serif; font-size: 14px; line-height: 1.45; color: #a0a0aa; margin: 4px 0 0; max-width: 190px; }

@media (max-width: 640px) {
  body.hd-page .mfo-hero { padding-top: 128px; }
  body.hd-page .mfo-hero__heading > span { display: inline; }
  body.hd-page .mfo-hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; margin-top: 32px; }
  body.hd-page .mfo-hero__stat-divider { display: none; }
  body.hd-page .mfo-hero__stat-value { font-size: 22px; }
  body.hd-page .mfo-hero__stat-label { max-width: none; }
}

body.hd-page .mfo-hero__visual { margin-top: 80px; }

/* ---------- Hero dashboard mockup (Figma: node 695:10580 "Container", reuses
   .mockup/.sidebar__* from home-dark.css for the chrome + sidebar; the
   property-card grid below is page-specific) ---------- */

/* home-dark.css's .mockup height (59.35cqw) is tuned for the homepage's
   chart dashboard content. Figma's own frame for this dashboard (695:10580,
   1146.2 x 550.95) crops the property grid's bottom row exactly the same
   way — height/width = 48.07% — so match that ratio instead of auto-sizing
   to fit every card, which would show more than the design does. */
body.hd-page .mfo-hero__visual .mockup { height: 48.07cqw; }
body.hd-page .mfo-hero__visual .mockup__sidebar { align-self: stretch; }

body.hd-page .mfo-hero__visual .mockup__welcome h2 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1.47cqw;
  line-height: 1.878cqw;
  color: var(--text-primary);
}
body.hd-page .mfo-hero__visual .mockup__welcome p {
  font-family: "Krub", sans-serif;
  font-size: 0.735cqw;
  line-height: 1.143cqw;
  color: #a0a0aa;
}

body.hd-page .mfo-dash__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65cqw;
  margin-top: 2.3cqw;
}
body.hd-page .mfo-dash__card {
  background: #1a1a1e;
  border: 1px solid #26262b;
  border-radius: 0.65cqw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body.hd-page .mfo-dash__photo { display: block; width: 100%; height: 8.2cqw; object-fit: cover; }
body.hd-page .mfo-dash__body { padding: 0.98cqw 0.65cqw 1.96cqw; display: flex; flex-direction: column; gap: 1.31cqw; }

body.hd-page .mfo-dash__head { display: flex; align-items: center; justify-content: space-between; gap: 0.65cqw; }
body.hd-page .mfo-dash__name {
  font-family: "Krub", sans-serif;
  font-weight: 500;
  font-size: 0.98cqw;
  line-height: 1.31cqw;
  color: #f0f0f5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.hd-page .mfo-dash__loc {
  display: flex;
  align-items: center;
  gap: 0.49cqw;
  font-family: "Krub", sans-serif;
  font-size: 0.98cqw;
  line-height: 1.47cqw;
  color: #7c7c86;
  white-space: nowrap;
  flex-shrink: 0;
}
body.hd-page .mfo-dash__loc img { width: 0.98cqw; height: 0.98cqw; }

body.hd-page .mfo-dash__stats {
  display: flex;
  justify-content: space-between;
  padding: 0.65cqw 0;
  border-top: 1px solid #26262b;
  border-bottom: 1px solid #26262b;
}
body.hd-page .mfo-dash__stat { display: flex; flex-direction: column; gap: 0.327cqw; padding: 0 0.65cqw; border-left: 1px solid #26262b; }
body.hd-page .mfo-dash__stat:first-child { border-left: none; padding-left: 0; }
body.hd-page .mfo-dash__stat-label {
  font-family: "Krub", sans-serif;
  font-size: 0.735cqw;
  line-height: 1.143cqw;
  color: #7c7c86;
  white-space: nowrap;
}
body.hd-page .mfo-dash__stat-value {
  font-family: "Krub", sans-serif;
  font-size: 1.306cqw;
  line-height: 1.96cqw;
  color: #f0f0f5;
  white-space: nowrap;
}

body.hd-page .mfo-dash__footer { display: flex; align-items: center; gap: 1.47cqw; }
body.hd-page .mfo-dash__foot-item { display: flex; align-items: center; gap: 0.65cqw; }
body.hd-page .mfo-dash__foot-icon {
  width: 1.96cqw;
  height: 1.96cqw;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #131316;
  border: 1px solid #26262b;
  border-radius: 0.327cqw;
}
body.hd-page .mfo-dash__foot-icon img { width: 1.306cqw; height: 1.306cqw; }
body.hd-page .mfo-dash__foot-text { display: flex; flex-direction: column; gap: 0.327cqw; }
body.hd-page .mfo-dash__foot-value {
  font-family: "Krub", sans-serif;
  font-size: 0.98cqw;
  line-height: 1.47cqw;
  color: #f0f0f5;
  white-space: nowrap;
}

@media (max-width: 900px) {
  body.hd-page .mfo-dash__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body.hd-page .mfo-hero__visual .mockup { height: auto; max-height: 720px; border-radius: 12px; }
  body.hd-page .mfo-hero__visual .mockup__chrome { gap: 6px; padding: 10px 14px; }
  body.hd-page .mfo-hero__visual .mockup__dot { width: 8px; height: 8px; }
  body.hd-page .mfo-hero__visual .mockup__chrome-title { font-size: 11px; }
  body.hd-page .mfo-hero__visual .mockup__body { flex-direction: column; height: auto; }
  body.hd-page .mfo-hero__visual .mockup__main { padding: 20px 16px 0; }
  body.hd-page .mfo-dash__head { gap: 8px; }
  body.hd-page .mfo-dash__loc { gap: 4px; }
  body.hd-page .mfo-dash__loc img { width: 12px; height: 12px; }
  body.hd-page .mfo-dash__stats { padding: 8px 0; }
  body.hd-page .mfo-dash__stat { gap: 2px; padding: 0 8px; }
  body.hd-page .mfo-dash__footer { gap: 14px; }
  body.hd-page .mfo-dash__foot-item { gap: 6px; }
  body.hd-page .mfo-dash__foot-icon { width: 24px; height: 24px; border-radius: 4px; }
  body.hd-page .mfo-dash__foot-icon img { width: 14px; height: 14px; }
  body.hd-page .mfo-dash__foot-text { gap: 2px; }
  body.hd-page .mfo-hero__visual .mockup__sidebar { display: none; }
  body.hd-page .mfo-dash__grid { grid-template-columns: 1fr; margin-top: 16px; gap: 10px; }
  body.hd-page .mfo-dash__card { border-radius: 10px; }
  body.hd-page .mfo-dash__photo { height: 140px; }
  body.hd-page .mfo-dash__body { padding: 12px 14px 18px; gap: 12px; }
  body.hd-page .mfo-dash__name, body.hd-page .mfo-dash__loc { font-size: 13px; line-height: 18px; }
  body.hd-page .mfo-dash__stat-label, body.hd-page .mfo-dash__foot-icon + .mfo-dash__foot-text .mfo-dash__stat-label { font-size: 10px; line-height: 14px; }
  body.hd-page .mfo-dash__stat-value { font-size: 17px; line-height: 24px; }
  body.hd-page .mfo-dash__foot-value { font-size: 13px; line-height: 18px; }
  body.hd-page .mfo-hero__visual .mockup__welcome h2 { font-size: 18px; line-height: 23px; }
  body.hd-page .mfo-hero__visual .mockup__welcome p { font-size: 12px; line-height: 16px; }
}

/* ---------- Shared section header ---------- */

body.hd-page .mfo-section-head { max-width: 648px; }
body.hd-page .mfo-h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 4.1vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 28px 0 0;
}
body.hd-page .mfo-h2 span.muted { color: #7c7c86; }
body.hd-page .mfo-lede { font-family: "Krub", sans-serif; font-size: 17px; line-height: 1.65; color: #a0a0aa; max-width: 648px; margin: 24px 0 0; }

/* ---------- Section 02: 3x2 feature grid ---------- */

body.hd-page .mfo-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #0c0c0f;
  border: 0.8px solid var(--border-subtle);
  border-radius: 24px;
  margin-top: 56px;
  overflow: hidden;
}
body.hd-page .mfo-feature { padding: 40px 32px; border-right: 0.8px solid var(--border-subtle); border-bottom: 0.8px solid var(--border-subtle); }
body.hd-page .mfo-feature:nth-child(3n) { border-right: none; }
body.hd-page .mfo-feature:nth-last-child(-n+3) { border-bottom: none; }
body.hd-page .mfo-feature__icon { width: 32px; height: 32px; padding: 4px; border-radius: 4px; background: #131316; border: 0.8px solid var(--border-subtle); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
body.hd-page .mfo-feature__icon img { width: 24px; height: 24px; }
body.hd-page .mfo-feature__title { font-family: "Krub", sans-serif; font-weight: 600; font-size: 20px; color: var(--text-primary); margin: 0 0 8px; }
body.hd-page .mfo-feature__desc { font-family: "Krub", sans-serif; font-size: 14px; line-height: 1.5; color: #a0a0aa; margin: 0; }

@media (max-width: 900px) {
  body.hd-page .mfo-features { grid-template-columns: repeat(2, 1fr); }
  body.hd-page .mfo-feature:nth-child(3n) { border-right: 0.8px solid var(--border-subtle); }
  body.hd-page .mfo-feature:nth-child(2n) { border-right: none; }
  body.hd-page .mfo-feature:nth-last-child(-n+3) { border-bottom: 0.8px solid var(--border-subtle); }
  body.hd-page .mfo-feature:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 560px) {
  body.hd-page .mfo-features { grid-template-columns: 1fr; }
  body.hd-page .mfo-feature { border-right: none !important; border-bottom: 0.8px solid var(--border-subtle) !important; }
  body.hd-page .mfo-feature:last-child { border-bottom: none !important; }
}

/* ---------- Section 03: stat-pill 2x2 ---------- */

body.hd-page .mfo-stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; }
body.hd-page .mfo-stat-pill {
  background: #131316;
  border: 0.8px solid var(--border-subtle);
  border-radius: 12px;
  padding: 33px 25px;
  display: flex;
  align-items: center;
}
/* Figma (695:12320): pills 2-4 are Inter Semibold 18/23; the first pill is
   its own Krub Regular 16/24 style, and the "24/7" pill's muted run uses
   #888 while the other two use #515159 — both matched exactly as authored. */
body.hd-page .mfo-stat-pill p { font-family: "Inter", sans-serif; font-weight: 600; font-size: 18px; line-height: 23px; margin: 0; }
body.hd-page .mfo-stat-pill strong { color: #f0f0f5; font-weight: 600; }
body.hd-page .mfo-stat-pill span.muted { color: #a0a0aa; }

@media (max-width: 760px) {
  body.hd-page .mfo-stats-row { grid-template-columns: 1fr; }
}

/* ---------- Section 04: 3-step timeline ---------- */

body.hd-page .mfo-steps-card { background: #0c0c0f; border-radius: 24px; padding: 32px 24px; margin-top: 56px; overflow-x: auto; }
body.hd-page .mfo-steps { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-width: 640px; }
body.hd-page .mfo-step { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; text-align: center; }
body.hd-page .mfo-step__connector { flex-shrink: 0; width: 60px; height: 1px; background: var(--border-subtle); margin-top: 32px; }
body.hd-page .mfo-step__num {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: #131316; border: 0.8px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 18px; line-height: 23px; color: var(--text-primary);
}
body.hd-page .mfo-step__body { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
body.hd-page .mfo-step__title { font-family: "Inter", sans-serif; font-weight: 600; font-size: 18px; line-height: 23px; color: #f0f0f5; margin: 0; }
body.hd-page .mfo-step__desc { font-family: "Krub", sans-serif; font-weight: 400; font-size: 14px; line-height: 20px; color: #a0a0aa; margin: 0; max-width: 195px; }
body.hd-page .mfo-step__chip {
  background: #1a1a1e; border: 0.8px solid var(--border-subtle); border-radius: 4px;
  padding: 8px; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: "Krub", sans-serif; font-weight: 400; font-size: 12px; line-height: 18px; color: var(--text-primary);
  min-height: 22px; width: 100%; max-width: 199px;
}
body.hd-page .mfo-step__chip-dot { width: 4px; height: 4px; border-radius: 50%; background: #f0f0f5; }
body.hd-page .mfo-step__chip-pill { background: #131316; border: 0.8px solid #26262b; border-radius: 8px; padding: 4px 8px; display: flex; align-items: center; gap: 6px; font-family: "Krub", sans-serif; font-weight: 500; font-size: 12px; line-height: 16px; color: #f0f0f5; }
body.hd-page .mfo-step__chip-toggle { width: 30px; height: 16px; border-radius: 999px; background: #FF0257; position: relative; flex-shrink: 0; }
body.hd-page .mfo-step__chip-toggle::after { content: ""; position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #f0f0f5; }

@media (max-width: 700px) {
  body.hd-page .mfo-steps { flex-direction: column; align-items: stretch; min-width: 0; }
  body.hd-page .mfo-step { flex-direction: row; text-align: left; align-items: flex-start; }
  body.hd-page .mfo-step__body { align-items: flex-start; }
  body.hd-page .mfo-step__desc { max-width: none; }
  body.hd-page .mfo-step__chip { max-width: none; flex-wrap: wrap; height: auto; justify-content: flex-start !important; }
  body.hd-page .mfo-step__connector { display: none; }
}
