/* ============================================================================
 * QWeb Merchant Feed — identity v4.
 *
 * Three previous attempts and why they failed, so this is not repeated:
 *   v1  recoloured the sibling's theme, kept its structure.
 *   v2  new structure, but an editorial document: serif on warm paper, no
 *       product anywhere, one accent, no depth.
 *   v3  right genre at last (product visual, bullets, trust), wrong decade:
 *       flat grey ground, equal 1px-bordered white cards, 10px radii, one blue
 *       button. Competent 2020 SaaS.
 *
 * v4 targets the things that actually date a page: type scale, grid rhythm,
 * surface quality and motion.
 *   - extreme scale contrast (hero to 7rem, labels at .68rem)
 *   - bento: tiles of deliberately unequal span, not a row of equal cards
 *   - surfaces have material: grain, blur, gradient hairline borders, and
 *     shadows tinted with the accent rather than grey
 *   - the product panel sits in perspective and bleeds off the right edge
 *   - scroll-driven reveals, and a marquee of the real attribute names
 *
 * Palette is off-white / near-black / one acid accent. No purple-to-blue
 * gradient, no dark-hero-with-particles: the sibling storefront and every
 * competitor already own that.
 * ========================================================================== */

/* Archivo rather than Bricolage Grotesque: same heavy-grotesque register and
   tight tracking, but a conventional double-storey 'f'. Bricolage's f is its most
   idiosyncratic glyph and it sits in the first word of the headline. */
@font-face {
    font-family: 'Archivo';
    font-style: normal; font-weight: 600 800; font-display: swap;
    src: url('/assets/fonts/archivo.woff2') format('woff2');
}

:root {
    --bone:      #F2F1EC;   /* ground: warm off-white, not grey */
    --bone-2:    #E8E7E0;
    --paper:     #FBFBF9;
    --void:      #0A0A0B;   /* near-black: panels and inverted sections */
    --void-2:    #141416;
    --void-line: #26262A;
    --ink:       #0A0A0B;
    --ink-2:     #55555C;
    --ink-3:     #8A8A93;
    --hair:      #D9D8D1;

    --acid:      #CFFF04;   /* the one loud colour */
    --acid-deep: #7A9B00;
    --blue:      #1B3AF5;

    --ok:        #12A150;
    --warn:      #D97706;
    --bad:       #E5484D;

    --display:   'Archivo', ui-sans-serif, system-ui, sans-serif;
    --sans:      'Switzer', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --mono:      ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

    --measure:   1280px;
    --gut:       clamp(18px, 4vw, 52px);
    --rad:       22px;
}

body.mf {
    background: var(--bone);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16.5px; line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    overflow-x: hidden;
}

/* Grain removed.
 *
 * It was an SVG feTurbulence tile (3 octaves) painted fixed across the whole
 * viewport under mix-blend-mode: multiply. Measured cost: first contentful paint
 * sat at 8.9s while DOM-ready was 470ms, i.e. the page had everything it needed
 * and spent eight seconds rasterising noise. Texture is not worth that.
 *
 * If tooth is wanted later, use a small pre-rendered PNG at low opacity with no
 * blend mode, and re-measure FCP before keeping it.
 */

.mf ::selection { background: var(--acid); color: var(--ink); }
.mf a { color: inherit; }
.mf :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.mf-wrap { max-width: var(--measure); margin: 0 auto; padding-inline: var(--gut); }

/* ── type: the scale is the point ────────────────────────────────────────── */

.mf h1, .mf h2, .mf h3, .mf .disp {
    font-family: var(--display); font-weight: 800;
    letter-spacing: -.045em; line-height: .95;
    color: var(--ink); margin: 0; text-wrap: balance;
}
.mf h1 { font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.02; }
.mf h2 { font-size: clamp(1.95rem, 4vw, 3.3rem); max-width: 20ch; }
.mf h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; margin-bottom: 8px; }
.mf p  { margin: 0 0 12px; color: var(--ink-2); }
.mf p:last-child { margin-bottom: 0; }
.mf .lede, .mf .lede p { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.5; color: var(--ink-2); max-width: 50ch; }

.mf-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--ink); background: var(--acid);
    border-radius: 999px; padding: 6px 13px 6px 11px;
}
.mf-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }

.mf-kick { font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px; }

.mf code { font-family: var(--mono); font-size: .85em; background: var(--bone-2); border-radius: 5px; padding: .1em .38em; color: var(--ink); }

/* ── buttons: chunky, high contrast, no timid outlines ───────────────────── */

.mf .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--sans); font-size: .97rem; font-weight: 650; letter-spacing: -.01em;
    padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
    transition: transform .16s cubic-bezier(.2,.8,.3,1), box-shadow .2s ease, background .2s ease;
}
.mf .btn-go { background: var(--ink); color: var(--paper); box-shadow: 0 12px 30px -14px rgba(10,10,11,.9); }
.mf .btn-go:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(10,10,11,.95); }
.mf .btn-acid { background: var(--acid); color: var(--ink); box-shadow: 0 12px 34px -14px rgba(207,255,4,.9); }
.mf .btn-acid:hover { transform: translateY(-2px); }
.mf .btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--hair); }
.mf .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.mf .btn-sm { padding: 10px 18px; font-size: .88rem; }

/* ── header ──────────────────────────────────────────────────────────────── */

.mf-head { position: sticky; top: 0; z-index: 50; background: rgba(242,241,236,.78); backdrop-filter: blur(16px) saturate(1.5); border-bottom: 1px solid rgba(10,10,11,.07); }
.mf-head-in { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gut); height: 72px; display: flex; align-items: center; gap: 20px; }

.mf-mark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.mf-logo { flex: none; border-radius: 9px; }
.mf-mark-text { font-family: var(--display); font-weight: 800; font-size: 1.06rem; letter-spacing: -.045em; line-height: 1; }
.mf-mark .dot { color: var(--acid-deep); }

.mf-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.mf-nav > a {
    font-size: .93rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
    padding: 9px 13px; border-radius: 999px; line-height: 1;
    transition: background .15s ease, color .15s ease;
}
.mf-nav > a:hover { background: rgba(10,10,11,.06); color: var(--ink); }
.mf-nav-sep { width: 1px; height: 22px; background: rgba(10,10,11,.12); margin: 0 10px; }
.mf-nav-login { font-weight: 600 !important; color: var(--ink) !important; }
.mf-nav-cta { margin-left: 4px; }

/* Two-bar burger with a real 44px hit area, and an X when open. */
.mf-burger {
    display: none; margin-left: auto; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; padding: 0;
    place-items: center; gap: 5px; grid-auto-flow: row;
}
.mf-burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s ease, opacity .22s ease; }
.mf-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.mf-burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 980px) {
    .mf-head-in { height: 64px; }
    .mf-burger { display: grid; }
    .mf-nav {
        display: none;
        position: absolute; top: 64px; left: 0; right: 0;
        background: var(--bone); border-bottom: 1px solid var(--hair);
        padding: 14px var(--gut) 22px;
        flex-direction: column; align-items: stretch; gap: 2px;
        box-shadow: 0 24px 40px -30px rgba(10,10,11,.6);
    }
    .mf-nav.is-open { display: flex; }
    .mf-nav > a { padding: 13px 12px; font-size: 1.02rem; border-radius: 12px; }
    .mf-nav-sep { width: auto; height: 1px; margin: 10px 0; }
    .mf-nav-cta { margin: 6px 0 0; justify-content: center; padding: 14px 22px; }
}

/* ── hero ────────────────────────────────────────────────────────────────── */

.mf-hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 0; }
/* One soft acid bloom behind the headline. Not a mesh gradient, not particles. */
.mf-hero::before {
    content: ""; position: absolute; z-index: -1; left: -10%; top: -18%;
    width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; pointer-events: none;
    background: radial-gradient(circle at 35% 35%, rgba(207,255,4,.5), rgba(207,255,4,0) 62%);
    filter: blur(30px);
}
.mf-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 1040px) { .mf-hero-grid { grid-template-columns: 1fr; } }

.mf-hero h1 { margin: 18px 0 28px; max-width: 17ch; }
.mf-hero h1 .u {
    /* Behind the word, not clipped to the line box: a gradient band cut the
       descender of "g" and overshot the full stop. */
    background: var(--acid);
    padding: .04em .1em .08em;
    margin-inline: -.04em;
    border-radius: 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
.mf-bullets { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 11px; max-width: 46ch; }
.mf-bullets li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 1.02rem; }
.mf-bullets li::before {
    content: "✓"; position: absolute; left: 0; top: 0;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--ink); color: var(--acid);
    font-size: .68rem; font-weight: 700; display: grid; place-items: center;
}
.mf-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mf-fine { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); margin-top: 16px; }

/* ── the product panel: perspective, bleeding off the right edge ─────────── */

.mf-stage { position: relative; perspective: 1800px; }
.mf-panel {
    background: var(--void);
    border-radius: 18px;
    overflow: hidden;
    transform: rotateY(-9deg) rotateX(2deg) translateZ(0);
    transform-origin: left center;
    box-shadow: 0 60px 90px -50px rgba(10,10,11,.7), 0 0 0 1px var(--void-line);
    width: calc(100% + 7vw);
}
@media (max-width: 1040px) { .mf-panel { transform: none; width: 100%; } }

.mf-panel-bar { display: flex; align-items: center; gap: 9px; padding: 13px 16px; border-bottom: 1px solid var(--void-line); }
.mf-panel-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2E2E33; display: block; }
.mf-panel-bar .t { font-family: var(--mono); font-size: .71rem; color: #7C7C88; margin-left: 6px; }
.mf-panel-bar .t b { color: #EDEDF2; font-weight: 600; }

.mf-dh { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--void-line); }
.mf-dh div { padding: 11px 16px; font-family: var(--mono); font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; color: #7C7C88; }
.mf-dh div:first-child { border-right: 1px solid var(--void-line); }
.mf-dh .ok { color: var(--acid); }

.mf-dr { border-bottom: 1px solid var(--void-line); }
.mf-dr:last-child { border-bottom: 0; }
.mf-dr .a { font-family: var(--mono); font-size: .63rem; letter-spacing: .12em; text-transform: uppercase; color: #6E6E7A; padding: 11px 16px 0; }
.mf-dp { display: grid; grid-template-columns: 1fr 1fr; }
.mf-dp > div { padding: 7px 16px 12px; font-family: var(--mono); font-size: .8rem; line-height: 1.45; word-break: break-word; }
.mf-dp > div:first-child { border-right: 1px solid var(--void-line); color: #83838F; text-decoration: line-through; text-decoration-color: rgba(229,72,77,.8); text-decoration-thickness: 1.5px; }
.mf-dp > div:last-child { color: #EDEDF2; }
.mf-dp mark { background: rgba(207,255,4,.16); color: var(--acid); padding: 1px 5px; border-radius: 4px; }
.mf-dr .n { padding: 0 16px 12px; font-size: .77rem; color: #6E6E7A; }
@media (max-width: 780px) { .mf-dh, .mf-dp { grid-template-columns: 1fr; } .mf-dh div:first-child, .mf-dp > div:first-child { border-right: 0; border-bottom: 1px solid var(--void-line); } }

/* ── marquee: the real attribute names, moving ───────────────────────────── */

.mf-marq { margin-top: clamp(40px, 6vw, 76px); border-block: 1px solid var(--hair); padding: 16px 0; overflow: hidden; }
.mf-marq-in { display: flex; gap: 40px; width: max-content; animation: marq 42s linear infinite; }
.mf-marq span { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.mf-marq span::after { content: "·"; margin-left: 40px; color: var(--hair); }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mf-marq-in { animation: none; } }

/* ── sections ────────────────────────────────────────────────────────────── */

.mf-sec { padding: clamp(64px, 9vw, 128px) 0; }
.mf-sec.is-white { background: var(--paper); border-block: 1px solid var(--hair); }
.mf-sec.inv { background: var(--void); color: #EDEDF2; border-radius: var(--rad); margin-inline: var(--gut); padding-inline: clamp(20px, 4vw, 56px); }
.mf-sec.inv h2, .mf-sec.inv h3 { color: #FBFBF9; }
.mf-sec.inv p, .mf-sec.inv .lede { color: #9A9AA6; }
.mf-sec.inv .mf-kick { color: #6E6E7A; }
.mf-sechead { max-width: 56ch; margin-bottom: clamp(32px, 4vw, 56px); }
/* Wide variant: headline left, supporting text right, so a long section intro
   does not leave half the row empty. */
.mf-sechead.is-wide { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 64px); align-items: end; }
@media (max-width: 860px) { .mf-sechead.is-wide { grid-template-columns: 1fr; align-items: start; gap: 14px; } }
.mf-sechead.is-wide h2 { margin-bottom: 0; }
.mf-sechead h2 { margin-bottom: 14px; }

/* ── bento: deliberately unequal tiles ───────────────────────────────────── */

.mf-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; grid-auto-rows: 1fr; }
/* Stat tiles are their own row of three, so the numbers line up and the feature
   copy below is not competing with them for the same grid. */
.mf-stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
@media (max-width: 900px) { .mf-stats3 { grid-template-columns: 1fr; } }
.mf-tile {
    grid-column: span 2;
    background: var(--paper);
    border: 1px solid var(--hair);
    border-radius: var(--rad);
    padding: 26px 24px;
    position: relative;
    box-shadow: 0 14px 30px -30px rgba(10,10,11,.45);
}
.mf-tile.dark { border-color: var(--void); }
.mf-tile.acid { border-color: #B8E600; }
.mf-tile.w3 { grid-column: span 3; }
.mf-tile.w4 { grid-column: span 4; }
.mf-tile.w6 { grid-column: span 6; }
.mf-tile.dark { background: var(--void); color: #EDEDF2; }
.mf-tile.dark h3 { color: #FBFBF9; }
.mf-tile.dark p { color: #9A9AA6; }
.mf-tile.acid { background: var(--acid); }
.mf-tile.acid h3, .mf-tile.acid p { color: var(--ink); }
.mf-tile p { font-size: .95rem; margin: 0; }
.mf-tile { display: flex; flex-direction: column; }
.mf-tile > :last-child { margin-bottom: 0; }
.mf-tile .big {
    font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 3.6rem);
    line-height: .9; letter-spacing: -.05em; display: block; margin-bottom: 12px;
    font-variant-numeric: tabular-nums; color: var(--ink);
}
.mf-tile.dark .big { color: #fff; }
/* The defect figures carry a red tick above them rather than being red
   themselves: the number is data, the severity is the mark beside it. */
.mf-tile .big::before {
    content: ""; display: block; width: 26px; height: 3px; border-radius: 2px;
    background: var(--bad); margin-bottom: 14px;
}
.mf-tile.dark .big::before { background: #FF6B72; }
@media (max-width: 900px) {
    .mf-bento { grid-template-columns: repeat(2, 1fr); }
    .mf-tile, .mf-tile.w3, .mf-tile.w4, .mf-tile.w6 { grid-column: span 2; }
}

/* ── steps: a numbered rail, not three equal boxes ───────────────────────── */

.mf-rail { display: grid; gap: 0; counter-reset: s; }
.mf-rail-item {
    counter-increment: s;
    display: grid; grid-template-columns: 92px 1fr 1fr; gap: clamp(16px, 3vw, 44px);
    padding: 30px 0; border-top: 1px solid rgba(255,255,255,.12); align-items: start;
}
.mf-sec:not(.inv) .mf-rail-item { border-top-color: var(--hair); }
.mf-rail-item:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.mf-sec:not(.inv) .mf-rail-item:last-child { border-bottom-color: var(--hair); }
.mf-rail-item::before {
    content: counter(s, decimal-leading-zero);
    font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1;
    letter-spacing: -.05em; color: var(--ink);
}
/* Acid on the bone ground fails contrast badly (both are light). It is allowed
   only ON dark, or as a fill with ink on top. Inside an inverted section the
   numerals go acid, where they finally have something to sit against. */
.mf-sec.inv .mf-rail-item::before { color: var(--acid); }
@media (max-width: 820px) { .mf-rail-item { grid-template-columns: 60px 1fr; } .mf-rail-item > *:last-child { grid-column: 2; } }

/* ── audit rows inside an inverted section ───────────────────────────────── */

.mf-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.mf-fig { background: var(--void-2); border-radius: 16px; padding: 22px; }
.mf-fig .k { display: block; font-family: var(--mono); font-size: .63rem; letter-spacing: .13em; text-transform: uppercase; color: #6E6E7A; margin-bottom: 10px; }
.mf-fig .v { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: -.05em; color: #FBFBF9; font-variant-numeric: tabular-nums; }
.mf-fig .v.ok { color: var(--acid); }
@media (max-width: 760px) { .mf-figs { grid-template-columns: 1fr; } }

.mf-rows { background: var(--void-2); border-radius: 16px; overflow: hidden; }
.mf-rh, .mf-r { display: grid; grid-template-columns: 96px 1fr 76px 112px; gap: 12px; align-items: center; padding: 12px 18px; }
.mf-rh { font-family: var(--mono); font-size: .61rem; letter-spacing: .12em; text-transform: uppercase; color: #6E6E7A; border-bottom: 1px solid var(--void-line); }
.mf-r { border-bottom: 1px solid var(--void-line); }
.mf-r:last-child { border-bottom: 0; }
.mf-r .tg { justify-self: start; font-family: var(--mono); font-size: .59rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; border-radius: 5px; padding: 3px 8px; }
.mf-r.is-critical .tg { color: #FF9AA0; background: rgba(229,72,77,.18); }
.mf-r.is-warning  .tg { color: #F3C078; background: rgba(217,119,6,.18); }
.mf-r.is-info     .tg { color: #8A8A93; background: rgba(255,255,255,.07); }
.mf-r .w { color: #EDEDF2; font-size: .92rem; }
.mf-r .n { font-family: var(--mono); font-size: .82rem; color: #EDEDF2; text-align: right; font-variant-numeric: tabular-nums; }
.mf-r .at { font-family: var(--mono); font-size: .75rem; color: var(--acid); }
@media (max-width: 760px) { .mf-rh { display: none; } .mf-r { grid-template-columns: auto 1fr; row-gap: 5px; } .mf-r .w { grid-column: 1/-1; order: 3; } .mf-r .n { text-align: left; } }

/* ── faq + editions ──────────────────────────────────────────────────────── */

.mf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .mf-two { grid-template-columns: 1fr; } }
.mf-faq { max-width: none; }
/* The list was capped at 78ch inside a 1280px measure, leaving the right half of
   the section empty. Two columns use the width and halve the scroll. */
.mf-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 5vw, 72px); }
@media (max-width: 820px) { .mf-faq-grid { grid-template-columns: 1fr; } }
.mf-q { border-top: 1px solid var(--hair); padding: 22px 0; }
.mf-q h3 { margin-bottom: 9px; }
.mf-q p { font-size: .96rem; }

/* ── closing ─────────────────────────────────────────────────────────────── */

.mf-close { background: var(--acid); border-radius: var(--rad); padding: clamp(40px, 6vw, 86px); text-align: center; }
.mf-close h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); }
.mf-close p { color: rgba(10,10,11,.72); margin-inline: auto; max-width: 48ch; }
.mf-close .mf-actions { justify-content: center; margin-top: 26px; }
.mf-close .mf-fine { color: rgba(10,10,11,.6); }

/* ── footer ──────────────────────────────────────────────────────────────── */

.mf-foot { background: var(--void); color: #9A9AA6; padding: clamp(52px, 6vw, 84px) 0 30px; margin-top: clamp(48px, 6vw, 90px); }
.mf-foot a { color: #9A9AA6; text-decoration: none; }
.mf-foot a:hover { color: #fff; }
.mf-foot .mf-foot-word { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 8vw, 6rem); letter-spacing: -.055em; color: #FBFBF9; margin: 0 0 40px; line-height: .9; }
.mf-foot-word .dot { color: var(--acid); }
.mf-foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, auto); gap: clamp(20px, 3.5vw, 46px); align-items: start; }
@media (max-width: 900px) { .mf-foot-grid { grid-template-columns: 1fr 1fr; } }
.mf-foot-col h4 { font-family: var(--mono); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: #6E6E7A; margin: 0 0 12px; font-weight: 400; }
.mf-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mf-foot-col li { font-size: .89rem; }
.mf-foot-sub h4 { font-family: var(--sans); font-size: .96rem; color: #FBFBF9; font-weight: 650; letter-spacing: 0; text-transform: none; margin-bottom: 8px; }
.mf-foot-sub p { color: #9A9AA6; font-size: .89rem; max-width: 36ch; }
.mf-foot-form { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.mf-foot-form input { flex: 1 1 180px; background: rgba(255,255,255,.05); border: 1px solid var(--void-line); color: #fff; padding: 11px 14px; border-radius: 999px; font-family: var(--sans); font-size: .9rem; }
.mf-foot-form input::placeholder { color: #6E6E7A; }
.mf-foot-form button { background: var(--acid); color: var(--ink); border: 0; padding: 11px 20px; border-radius: 999px; font-weight: 650; cursor: pointer; font-family: var(--sans); }
.mf-foot-base { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--void-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .79rem; color: #6E6E7A; }
.mf-foot-base p { color: #6E6E7A; margin: 0; max-width: 70ch; font-size: .79rem; }

/* ── scroll reveal ───────────────────────────────────────────────────────── */

/* Scroll reveal, gated on `.js`.
 *
 * The first cut hid every .rv element at opacity 0 and relied on JS to bring it
 * back. That means a slow, blocked or failed script leaves a blank page, and it
 * shipped exactly that: the hero rendered with no bullets, no buttons and no
 * product panel. Content must never depend on JS to be visible.
 *
 * The `.js` class is set by an inline script in the head, so the hidden state
 * only ever applies in a browser that has already proven it can un-hide it. */
@media (prefers-reduced-motion: no-preference) {
    .js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.3,1), transform .7s cubic-bezier(.2,.8,.3,1); }
    .js .rv.in { opacity: 1; transform: none; }
    /* The hero deliberately carries no .rv at all. Hiding above-the-fold content
       behind a scroll observer pushed first contentful paint to 8.9s, measured:
       the most important thing on the page was the last thing to appear. */
}
.rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }

/* ── kernel pages ────────────────────────────────────────────────────────── */

body:not(.mf) {
    --bg: #F2F1EC; --bg-2: #FBFBF9; --bg-3: #FBFBF9; --bg-card: #FBFBF9;
    --line: #D9D8D1; --line-2: #C6C5BD;
    --text: #0A0A0B; --muted: #55555C; --faint: #8A8A93;
    --brand: #1B3AF5; --brand-2: #0A0A0B;
    --safe: #12A150; --threat: #E5484D;
    --font: var(--sans); --display: var(--display);
    --radius: 14px; --r: 14px; --r-sm: 999px; --r-lg: 22px;
    background: #F2F1EC; color: #0A0A0B;
}
body:not(.mf) h1, body:not(.mf) h2, body:not(.mf) .section h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.045em; }
body:not(.mf) .btn-primary { background: #0A0A0B; border-color: #0A0A0B; color: #FBFBF9; border-radius: 999px; }


/* ── mobile ──────────────────────────────────────────────────────────────
 * Checked at 390px rather than assumed: the hero panel, the bento and the
 * inverted section all needed explicit handling, and the inverted block's
 * side margin plus its own padding left almost no content width.
 * ---------------------------------------------------------------------- */
@media (max-width: 700px) {
    body.mf { font-size: 16px; }
    .mf-hero { padding-top: 30px; }
    .mf-hero::before { width: 120vw; height: 90vw; left: -30%; top: -10%; }
    .mf-hero h1 { max-width: 100%; }
    .mf-stage { perspective: none; margin-top: 30px; }
    .mf-actions .btn { flex: 1 1 auto; justify-content: center; }
    .mf-sec { padding: 56px 0; }
    .mf-sec.inv { margin-inline: 12px; padding-inline: 18px; border-radius: 18px; }
    .mf-close { padding: 34px 20px; border-radius: 18px; }
    .mf-tile { padding: 22px 18px; }
    .mf-rail-item { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
    .mf-rail-item::before { font-size: 1.9rem; }
    .mf-rail-item > *:last-child { grid-column: 1; }
    .mf-marq { margin-top: 34px; }
    .mf-foot .mf-foot-word { margin-bottom: 26px; }
    .mf-foot-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ── free feed check: the page's one interactive moment ──────────────────── */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.mf-check {
    background: var(--void); color: #EDEDF2;
    border-radius: var(--rad); padding: clamp(28px, 4.5vw, 60px);
    box-shadow: 0 40px 80px -55px rgba(10,10,11,.9);
}
.mf-check h2 { color: #FBFBF9; max-width: 18ch; margin-bottom: 26px; }
.mf-check .mf-kick { color: var(--acid); }
.mf-check .mf-fine { color: #6E6E7A; }

.mf-check-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 640px; }
.mf-check-form input {
    flex: 1 1 300px; min-width: 0;
    background: rgba(255,255,255,.05); border: 1px solid var(--void-line);
    color: #fff; padding: 15px 18px; border-radius: 999px;
    font-family: var(--mono); font-size: .92rem;
}
.mf-check-form input::placeholder { color: #5E5E68; }
.mf-check-form input:focus { outline: 2px solid var(--acid); outline-offset: 2px; border-color: transparent; }
.mf-check-form button { flex: 0 0 auto; }
.mf-check-form button[disabled] { opacity: .6; cursor: progress; }

.mf-check-out { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--void-line); }
.mf-check-msg { color: #9A9AA6; font-size: .95rem; }
.mf-check-msg.is-bad { color: #FF9AA0; }

.mf-score { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 4px; }
.mf-score-n { display: flex; align-items: baseline; gap: 3px; font-family: var(--display); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.mf-score-n span { font-size: clamp(3rem, 7vw, 4.6rem); }
.mf-score-n small { font-size: 1.1rem; color: #6E6E7A; font-weight: 700; }
.mf-score.is-good .mf-score-n span { color: var(--acid); }
.mf-score.is-mid  .mf-score-n span { color: #F3C078; }
.mf-score.is-bad  .mf-score-n span { color: #FF9AA0; }
.mf-score-meta .k { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #6E6E7A; margin: 0 0 4px; }
.mf-score-meta .v { color: #EDEDF2; font-size: .96rem; margin: 0; }

.mf-check-found { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #6E6E7A; margin: 30px 0 12px; clear: both; }
.mf-check-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 1px; background: var(--void-line); border-radius: 12px; overflow: hidden; }
.mf-check-list li { background: var(--void-2); padding: 13px 16px; font-size: .93rem; color: #EDEDF2; display: flex; gap: 12px; align-items: baseline; }
.mf-check-list .at { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--acid); flex: 0 0 auto; min-width: 92px; }
@media (max-width: 620px) {
    .mf-check-list li { flex-direction: column; gap: 5px; }
    .mf-check-form button { width: 100%; }
}

/* Upload as the second way in. Presented as a quiet alternative to the URL
   field rather than a competing control: most people will paste a URL. */
.mf-check-alt { margin-top: 14px; }
.mf-upload { display: inline-flex; cursor: pointer; }
.mf-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mf-upload-face {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .86rem; color: #9A9AA6;
    border-bottom: 1px dashed #3A3A44; padding-bottom: 3px;
    transition: color .15s ease, border-color .15s ease;
}
.mf-upload:hover .mf-upload-face { color: var(--acid); border-color: var(--acid); }
.mf-upload input:focus-visible + .mf-upload-face { outline: 2px solid var(--acid); outline-offset: 4px; border-radius: 3px; }
.mf-upload.has-file .mf-upload-face { color: var(--acid); border-color: var(--acid); border-bottom-style: solid; }

/* ── upload: an equal way in, and the whole panel accepts a drop ─────────── */

.mf-or { display: flex; align-items: center; gap: 14px; margin: 20px 0 16px; color: #5E5E68; font-size: .82rem; }
.mf-or::before, .mf-or::after { content: ""; flex: 1; height: 1px; background: var(--void-line); }

.mf-drop {
    display: grid; place-items: center; gap: 6px; text-align: center;
    padding: 30px 22px; cursor: pointer;
    border: 1.5px dashed #393944; border-radius: 16px;
    background: rgba(255,255,255,.02);
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.mf-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mf-drop-ico { color: #6E6E7A; transition: color .16s ease, transform .16s ease; }
.mf-drop-t { font-weight: 600; color: #EDEDF2; font-size: .98rem; }
.mf-drop-s { font-family: var(--mono); font-size: .72rem; color: #6E6E7A; }
.mf-drop:hover { border-color: var(--acid); background: rgba(207,255,4,.04); }
.mf-drop:hover .mf-drop-ico { color: var(--acid); }
.mf-drop input:focus-visible + .mf-drop-ico { outline: 2px solid var(--acid); outline-offset: 6px; border-radius: 4px; }
.mf-drop.has-file { border-style: solid; border-color: var(--acid); background: rgba(207,255,4,.07); }
.mf-drop.has-file .mf-drop-ico { color: var(--acid); }

/* Dragging anywhere over the panel lights the target, so the whole card reads
   as droppable rather than only the dashed box. */
.mf-check.is-drag { outline: 2px solid var(--acid); outline-offset: 4px; }
.mf-check.is-drag .mf-drop { border-color: var(--acid); background: rgba(207,255,4,.1); }
.mf-check.is-drag .mf-drop-ico { color: var(--acid); transform: translateY(-3px); }

/* ── rich results ────────────────────────────────────────────────────────── */

.mf-score-meta .s { font-size: .86rem; color: #8A8A93; margin: 3px 0 0; }
.mf-chs { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.mf-ch {
    display: inline-flex; align-items: baseline; gap: 7px;
    font-size: .78rem; color: #9A9AA6;
    background: rgba(255,255,255,.05); border: 1px solid var(--void-line);
    border-radius: 999px; padding: 6px 13px;
}
.mf-ch b { font-family: var(--display); font-weight: 800; font-size: .94rem; font-variant-numeric: tabular-nums; }
.mf-ch.is-good b { color: var(--acid); }
.mf-ch.is-mid  b { color: #F3C078; }
.mf-ch.is-bad  b { color: #FF9AA0; }

.mf-bars { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px 26px; margin: 26px 0 4px; }
.mf-bar-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 7px; }
.mf-bar-h span { font-size: .82rem; color: #9A9AA6; }
.mf-bar-h b { font-family: var(--display); font-weight: 800; font-size: .96rem; color: #EDEDF2; font-variant-numeric: tabular-nums; }
.mf-bar-t { height: 5px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.mf-bar-t i { display: block; height: 100%; border-radius: 999px; }
.mf-bar-t i.is-good { background: var(--acid); }
.mf-bar-t i.is-mid  { background: #F3C078; }
.mf-bar-t i.is-bad  { background: #FF9AA0; }

.mf-res-h { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #6E6E7A; margin: 28px 0 11px; }
.mf-res-h b { color: #EDEDF2; font-weight: 700; }
.mf-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.mf-pill {
    font-family: var(--mono); font-size: .73rem; color: #C3C3CC;
    background: rgba(255,255,255,.05); border: 1px solid var(--void-line);
    border-radius: 6px; padding: 5px 10px;
}
.mf-pill.is-req { color: #FF9AA0; border-color: rgba(229,72,77,.4); background: rgba(229,72,77,.1); }
.mf-pill.more { color: #6E6E7A; border-style: dashed; }
@media (max-width: 720px) { .mf-chs { margin-left: 0; width: 100%; } }

/* Jumping to #check used to land the heading under the sticky header. */
#check { scroll-margin-top: 88px; }

.mf-check-list li { flex-wrap: wrap; }
.mf-check-list .sv {
    font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
    border-radius: 4px; padding: 2px 7px; flex: 0 0 auto;
}
.mf-check-list li.is-critical .sv { color: #1A0A0B; background: #FF9AA0; }
.mf-check-list li.is-warning .sv { color: #1A1204; background: #F3C078; }
.mf-check-list li.is-info .sv { color: #CFFF04; background: rgba(207,255,4,.12); border: 1px solid rgba(207,255,4,.3); }
.mf-check-list .ms { flex: 1 1 220px; }

.mf-ck { display: grid; gap: 18px; }
.mf-ck-h, .mf-ck-r {
    display: grid; grid-template-columns: 78px 1.3fr 56px 56px 2fr;
    gap: 10px; align-items: baseline;
}
.mf-ck-h {
    font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
    color: #6E6E7A; padding: 0 10px 8px; border-bottom: 1px solid var(--void-line);
}
.mf-ck-gh {
    font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
    color: #8A8A93; margin: 0 0 8px;
}
.mf-ck-gh b { color: #EDEDF2; }
.mf-ck-r {
    padding: 9px 10px; border-radius: 8px;
    background: rgba(255,255,255,.03); font-size: .86rem; color: #EDEDF2;
}
.mf-ck-r + .mf-ck-r { margin-top: 3px; }
.mf-ck-r .st {
    font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
}
.mf-ck-r.is-yes .st { color: var(--acid); }
.mf-ck-r.is-partial .st { color: #F3C078; }
.mf-ck-r.is-no .st { color: #FF9AA0; }
.mf-ck-r .nm { font-weight: 600; }
.mf-ck-r .fl, .mf-ck-r .qs { font-variant-numeric: tabular-nums; color: #9A9AA6; font-family: var(--mono); font-size: .78rem; }
.mf-ck-r .is { color: #9A9AA6; font-size: .82rem; }
.mf-ck-r .is i { color: #6E6E7A; font-style: normal; }
@media (max-width: 760px) {
    .mf-ck-h { display: none; }
    .mf-ck-r { grid-template-columns: auto 1fr auto; row-gap: 4px; }
    .mf-ck-r .st { grid-column: 1; }
    .mf-ck-r .nm { grid-column: 2; }
    .mf-ck-r .fl { grid-column: 3; }
    .mf-ck-r .qs { display: none; }
    .mf-ck-r .is { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    .mf-bars { grid-template-columns: 1fr; }
    .mf-score { gap: 12px; }
}

.mf-photo { margin: 0; }
.mf-photo img { display: block; width: 100%; height: min(42vw, 420px); object-fit: cover; }
