/* ============================================================================
   site_ads.css — the Google Ads landing page at /main.

   The page is `/`'s design (site_landing.css: palette, header, films, FAQ,
   closing band, footer) with the ALEKS pages' hero (site_aleks.css: `.ak-hero`,
   copy on the left and the `.ak-solve` input card on the right, plus the width
   chain that makes the embedded math field fill the card). Both load before
   this file; what is here is only what neither page has.

   (site_main.css is a different, older file that the blog still loads. It is
   not used by this page any more.)

   Grounds, top to bottom — no two neighbours share a fill without a rule:
       hero          warm paper + grid    (.ak-hero)
       the film      white                (.mn-film)
       quotes        page fill            (.lp-social, only when there are any)
       how it works  white                (.lp-how, carries its own top rule)
       why igni      plum tint
       FAQ           page fill
       close         warm paper
       footer        ink
   ========================================================================== */

/* The subject strip sits above the headline, as on `/`. `.lp-hero-subjects`
   assumes `/`'s centred hero; here the copy is left-set and the rail takes the
   column's width. */
.mn-hero .mn-subjects { margin-bottom: 18px; }

/* ── The film, under the hero ────────────────────────────────────────────────
   It used to sit beside the box, which put three things in competition in one
   screen. Here it is the only thing in its section. Capped narrower than `/`'s
   480: centred on its own a portrait film that wide runs ~600px tall, more than
   a laptop screen once the heading is above it. */
.mn-film {
    padding: clamp(50px, 7vw, 88px) 0;
    background: var(--lp-card);
    border-top: 1px solid var(--lp-line);
    text-align: center;
}
.mn-film .lp-h2 { margin-bottom: clamp(26px, 3.5vw, 40px); }
.mn-film-media {
    display: flex;
    justify-content: center;
}
.mn-film .lp-video-plain { --lp-media-max: 420px; }

/* ── Phone: the box has to be on the first screen ────────────────────────────
   As it was on the old /main. Safari leaves about 660px of a 844px iPhone for
   the page, so everything above and inside the card is trimmed to what earns
   its place: headline, one sentence, the subject strip, then the card with its
   title, field and button. The hero's three points, the card's sub-line and the
   reassurances under the button are dropped here; they repeat what the
   sentence, the FAQ and the comparison already say. */
@media (max-width: 760px) {
    .mn-hero { padding-top: 22px; }
    .mn-hero .ak-hero-inner { gap: 16px; }

    /* The strip moves from above the headline to just above the card. The copy
       column becomes a flex column so `order` can do it; site_landing.css
       already gives `.lp-hero-subjects` order 1 and the phone fade at this
       width, so only the spacing is set here. */
    .mn-hero .ak-hero-copy { display: flex; flex-direction: column; }
    .mn-hero .mn-subjects { margin: 18px 0 0; }

    .mn-hero .ak-hero-points,
    .mn-hero .ak-solve-sub,
    .mn-hero .ak-solve-points { display: none; }

    .mn-hero .ak-h1 { margin-bottom: 10px; }
    .mn-hero .ak-sub { margin-bottom: 0; font-size: 0.97rem; max-width: 34ch; }

    .mn-hero .ak-solve { padding: 16px; }
    .mn-hero .ak-solve-title { margin-bottom: 12px; font-size: 1.1rem; }
    .mn-hero .ak-solve-btn { margin-top: 12px; }
}
