/* MVP Feedback website: only what this page adds. The look (colours, fonts, header, footer, light and dark)
   comes from the main site's stylesheet, https://mvpoirier.github.io/assets/site.css, linked in index.html. */
:root { --doc: #ffffff; --docline: #e6eaf1; --pp: #7c3aed; --pp-soft: #f1ebff; --panel: #ffffff; }
@media (prefers-color-scheme: dark) {
  :root { --doc: #1a2335; --docline: #2a3550; --pp: #a78bfa; --pp-soft: #2e2545; --panel: #222227; }
}

/* Top section: title on the left, the browser window picture on the right */
.mf-hero { border-bottom: 1px solid var(--line); background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px; }
.mf-hero .wrap { max-width: 1040px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 36px; align-items: center; padding-block: 40px 48px; }
.mf-hero .crumb { margin: 0 0 14px; }
.mf-id { display: flex; align-items: center; gap: 14px; }
.mf-id img { width: 60px; height: 60px; border-radius: 14px; flex: none; }
.mf-hero h1 { font-size: clamp(2.2rem, 4.2vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; }
.mf-who { margin: 4px 0 0; font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.mf-lede { font-size: 1.15rem; margin: 18px 0 0; }
.mf-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.mf-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-radius: 10px;
  padding: 11px 18px; border: 1px solid var(--line); background: var(--surface); color: var(--accent); }
.mf-btn:hover { border-color: var(--accent); }
.mf-btn.main { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.mf-btn.main:hover { filter: brightness(1.08); }
.mf-meta { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.mf-meta b { font-family: var(--mono); font-weight: 600; color: var(--ink); }
@media (max-width: 860px) { .mf-hero .wrap { grid-template-columns: 1fr; gap: 28px; } }

/* The picture: a browser window with a student's report and MVP Feedback open beside it */
.mf-win { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(15,27,45,.45); }
.mf-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--grid); }
.mf-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mf-url { margin-left: 10px; flex: 1; min-width: 0; background: var(--surface); border-radius: 6px; font-family: var(--mono); font-size: .72rem; color: var(--muted);
  padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf-bar img { width: 18px; height: 18px; border-radius: 5px; flex: none; }
.mf-split { display: grid; grid-template-columns: minmax(0, 1fr) 240px; height: 456px; }
.mf-doc { position: relative; background: var(--bg); padding: 18px; overflow: hidden; min-width: 0; }
.mf-page { background: var(--doc); border: 1px solid var(--line); border-radius: 4px; padding: 18px; height: 100%; }
.mf-page b { display: block; margin: 0 0 10px; font-size: .9rem; }
.mf-ln { height: 7px; border-radius: 4px; background: var(--docline); margin: 0 0 9px; }
.mf-ln.gap { margin-top: 18px; }
.mf-ln.hl { background: color-mix(in srgb, var(--spark) 35%, transparent); }
.mf-cbox { position: absolute; right: 10px; top: 110px; width: min(64%, 230px); background: var(--doc); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.4); padding: 10px 12px; font-size: .78rem; line-height: 1.45; }
.mf-cbox .nm { font-weight: 700; font-size: .74rem; color: var(--muted); margin-bottom: 4px; }
.mf-cbox .typed { border: 2px solid var(--accent); border-radius: 6px; padding: 6px 8px; }
.mf-cbox .typed span { background: color-mix(in srgb, var(--pp) 18%, transparent); }
.mf-flow { position: absolute; right: 16px; bottom: 34px; font-family: var(--mono); font-size: .72rem; font-weight: 600; color: var(--pp);
  background: var(--pp-soft); border-radius: 99px; padding: 3px 10px; white-space: nowrap; }
.mf-panel { border-left: 1px solid var(--line); overflow: hidden; background: var(--panel); }
.mf-panel img, .mf-shot img { width: 100%; height: auto; display: block; }
@media (max-width: 520px) {
  .mf-split { grid-template-columns: minmax(0, 1fr) 170px; height: 323px; }
  .mf-flow { display: none; }
  .mf-cbox { width: 88%; right: 6px; }
}

/* Sections */
.mf-sub { margin: 0 0 20px; color: var(--muted); }
.mf-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.mf-steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-size: .95rem; min-width: 0; }
.mf-steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.mf-steps h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.mf-steps p { margin: 0; }
@media (max-width: 860px) { .mf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .mf-steps { grid-template-columns: 1fr; } }
.mf code { font-family: var(--mono); font-size: .82em; background: var(--grid); border-radius: 5px; padding: .05em .35em; overflow-wrap: anywhere; }

.mf-tabs { display: grid; gap: 14px; }
.mf-feat { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.mf-shot { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; height: 300px; background: var(--panel); }
.mf-feat h3 { font-size: 1.35rem; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mf-tag { font-family: var(--mono); font-size: .7rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 1px 8px; }
.mf-feat p { margin: 8px 0 10px; }
.mf-feat .feats strong { color: var(--ink); }
@media (max-width: 640px) { .mf-feat { grid-template-columns: 1fr; } .mf-shot { height: 240px; max-width: 240px; } }

.mf-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 720px) { .mf-two { grid-template-columns: 1fr; } }
.mf-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.mf-box h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.mf-box p { margin: 0 0 10px; font-size: .97rem; }
.mf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.mf-chip { font-size: .88rem; font-weight: 700; border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; background: var(--bg); }
.mf-chip.add { color: var(--muted); font-weight: 400; border-style: dashed; }
.mf-lock { display: flex; gap: 14px; align-items: flex-start; }
.mf-lock svg { flex: none; width: 34px; height: 34px; color: var(--accent); }
.mf-small { font-size: .88rem; color: var(--muted); }
.mf-news { margin: 0; padding: 0; list-style: none; }
.mf-news > li { border-top: 1px solid var(--line); padding: 10px 0; font-size: .95rem; }
.mf-news > li:first-child { border-top: 0; padding-top: 0; }
.mf-news ul { margin: 4px 0 0; padding-left: 1.1em; }
.mf-ver { font-family: var(--mono); font-size: .78rem; font-weight: 600; color: var(--spark-ink); }
footer.site .copy a { color: inherit; text-decoration: none; }
