/* The checkout pages an Instagram ad lands on.
 *
 * Plain white, to match the ads, on his direction of 12 Nov 2026. The ads
 * are white with a heavy black headline and one word highlighted in yellow,
 * so the page opens on the same headline in the same clothes and the click
 * feels like one continuous thing rather than two. Every value here is
 * lifted from the ad files in francois-content-engine/marketing/ads/
 * 2026-11-flyers/v2/ so the two cannot drift apart.
 *
 * This is deliberately NOT the Land Rover look that the rest of his work
 * uses. That look is for his own pages, where the job is for it to feel
 * like him. The job here is for it to feel like the ad they just tapped.
 */
:root{
  --ink:#111; --ink-soft:#222; --ink-dim:#555; --ink-faint:#767676;
  --paper:#fff; --line:#e4e4e4; --wash:#f7f7f5;
  --hi:#FFE14D;                       /* the ad's highlight, exactly */
  --sans:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  --r:12px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);
  font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased}

main{max-width:620px;margin:0 auto;padding:44px 22px 70px}
@media (max-width:620px){main{padding:30px 18px 54px}}

/* The headline, in the ad's own type: heavy, tight, one word highlighted. */
h1{font-weight:800;letter-spacing:-.03em;line-height:1.02;
  font-size:clamp(38px,8.4vw,60px);margin:0}
h1 mark{background:var(--hi);color:inherit;padding:0 .08em;border-radius:2px}

/* The ad's second line, which is also the credential. Same words on both. */
p.said{font-size:clamp(17px,2.3vw,20px);line-height:1.4;color:var(--ink-soft);
  margin:20px 0 0;font-weight:400}

/* "Glad you want my book", with his face next to it. His idea, 12 Nov. */
.hello{display:flex;gap:16px;align-items:flex-start;margin:30px 0 0;
  padding:18px 18px 16px;background:var(--wash);border-radius:var(--r)}
.hello img{width:62px;height:62px;border-radius:50%;flex:none;display:block;object-fit:cover}
.hello .says{margin:0}
.hello b{display:block;font-weight:700;font-size:17px;margin-bottom:3px}
.hello p{margin:0;font-size:15.5px;line-height:1.55;color:var(--ink-soft)}
@media (max-width:420px){.hello{gap:13px;padding:15px}.hello img{width:52px;height:52px}}

.lead-in{font-weight:700;font-size:15px;margin:32px 0 10px;color:var(--ink)}
.gets{list-style:none;margin:0;padding:0}
.gets li{font-size:16px;line-height:1.5;color:var(--ink-soft);
  padding:7px 0 7px 27px;position:relative}
.gets li::before{content:"";position:absolute;left:3px;top:14px;width:9px;height:9px;
  border-radius:50%;background:var(--hi);box-shadow:inset 0 0 0 1px rgba(0,0,0,.14)}

.safe{font-size:14px;color:var(--ink-dim);line-height:1.6;margin:20px 0 0}
.safe a{color:var(--ink-dim)}
.signoff{font-size:17px;color:var(--ink-soft);margin:30px 0 0}
.signoff span{display:block;font-weight:700;color:var(--ink)}

/* ---- the buy box ---- */
.buybox{margin-top:28px;border:1px solid var(--line);border-radius:var(--r);
  padding:22px 22px 20px;background:var(--paper);box-shadow:0 2px 14px rgba(0,0,0,.05)}
@media (max-width:620px){.buybox{padding:18px 16px}}

.bx-row{display:flex;justify-content:space-between;align-items:baseline;gap:14px;
  font-size:16px;font-weight:600;color:var(--ink)}
.bx-amt{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.bx-was{color:var(--ink-faint);font-weight:400;margin-right:3px;text-decoration-thickness:1px}

/* The bump, flagged in the ad's yellow so the eye lands on it. */
.bx-bump-wrap{margin-top:18px;border:1px solid #e8d26a;border-radius:var(--r);
  padding:16px 16px 14px;background:#fffbe8}
.bx-flag{margin:0 0 8px;font-weight:800;font-size:10.5px;letter-spacing:.14em;
  text-transform:uppercase;color:#8a6d00}
.bx-bump-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.bx-bump-head strong{font-weight:700;font-size:16px;line-height:1.3;color:var(--ink)}
.bx-bump-body{margin:9px 0 0;font-size:14.5px;line-height:1.55;color:var(--ink-soft)}
.bx-tick{display:flex;gap:10px;align-items:flex-start;margin-top:13px;cursor:pointer;
  padding:11px 12px;border-radius:9px;background:var(--hi);border:1px solid #e3c63f}
.bx-tick:hover{filter:brightness(.97)}
.bx-tick input{margin:1px 0 0;width:19px;height:19px;accent-color:#111;flex:none}
.bx-tick span{font-weight:700;font-size:15px;line-height:1.4;color:var(--ink)}

.bx-total{display:flex;justify-content:space-between;align-items:baseline;gap:14px;
  margin-top:16px;padding-top:14px;border-top:1px solid var(--line);
  font-size:14px;color:var(--ink-dim);font-weight:600}
.bx-total .bx-amt{font-size:16px;color:var(--ink)}

.bx-lab{display:block;font-size:11px;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;color:var(--ink-dim);margin:16px 0 7px}
.bx-fields{display:block;margin-top:16px}
.bx-fields input{display:block;width:100%;font:inherit;font-size:16px;padding:13px 14px;
  border-radius:9px;border:1px solid #cfcfcf;background:var(--paper);color:var(--ink)}
.bx-fields input::placeholder{color:#9a9a9a}
.bx-fields input:focus{outline:none;border-color:var(--ink)}

/* The ad's button: black, square-ish, heavy. */
.btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:56px;
  margin-top:18px;font-family:var(--sans);font-weight:700;font-size:18px;
  letter-spacing:-.01em;color:#fff;background:var(--ink);border:0;border-radius:var(--r);
  padding:15px 22px;cursor:pointer;transition:opacity .15s,transform .15s;
  -webkit-tap-highlight-color:transparent}
.btn:hover{opacity:.88}
.btn:active{transform:translateY(1px)}
.btn:disabled{opacity:.5;cursor:default}
.bx-err{margin:11px 0 0;font-size:14.5px;color:#b3261e;min-height:1px}
.bx-fine{margin:13px 0 0;font-size:12.5px;line-height:1.55;color:var(--ink-dim);text-align:center}
@media (prefers-reduced-motion:reduce){.btn{transition:none}}

/* The book itself. It is in the ad, so it is on the page: a buyer should
   see the thing they are paying for just before they pay for it. */
.cover{display:block;width:168px;height:auto;margin:30px auto 0;border-radius:8px;
  box-shadow:0 14px 34px rgba(0,0,0,.22)}

/* The arrow to his face, drawn to the mock he approved: one smooth curve
   from the caption down into the photo, with a clean open V for the head.
   His word on the previous one was "that's a very ugly arrow", and he was
   right, it was a scratchy hook.
   The head's point is 14,46 in a 64x54 box. The margins below put that
   point on the centre of the photo, so the row overlaps the card top on
   purpose. Change the photo size or the card padding and redo the numbers. */
.whois{display:flex;align-items:flex-start;gap:10px;margin:28px 0 -18px 39px;
  position:relative;z-index:1}
.whois svg{width:64px;height:54px;flex:none;color:var(--ink)}
.whois span{font-size:15px;line-height:1.35;color:var(--ink);font-weight:600;
  padding-top:4px}
/* On a phone the caption cannot sit beside the arrow and stay on one line:
   at 360px there is not enough room for both, and when it wrapped the word
   "author." landed on the card's top edge. So below 560px it stacks, the
   caption on its own full width and the arrow under it. The arrow keeps its
   own negative bottom margin rather than the row having one, so the overlap
   with the card is fixed no matter how many lines the caption takes. */
@media (max-width:560px){
  /* Column, with the caption pulled above the arrow by order. The SVG is
     first in the markup because that is the reading order on a wide screen,
     left to right; stacked, the caption has to come first or the arrow
     points at the words instead of at him. */
  .whois{display:flex;flex-direction:column;align-items:flex-start;margin:24px 0 0 0}
  .whois span{order:-1;font-size:14px;padding-top:0;margin-bottom:2px}
  .whois svg{width:56px;height:47px;margin:0 0 -14px 29px}
}
.whois + .hello{margin-top:0}

/* The line that follows the list of outcomes. */
.then{margin:14px 0 0;font-size:16px;line-height:1.5;color:var(--ink-soft)}

/* The refund promise, right under the button. */
.bx-refund{margin:13px 0 0;font-size:14.5px;line-height:1.5;text-align:center;
  color:var(--ink);font-weight:600}

/* Buying it for somebody else. */
.bx-gift{display:flex;gap:10px;align-items:flex-start;margin-top:18px;cursor:pointer;
  padding:12px 13px;border-radius:9px;border:1px dashed #cfcfcf;background:#fafafa}
.bx-gift:hover{border-color:var(--ink)}
.bx-gift input{margin:1px 0 0;width:19px;height:19px;accent-color:#111;flex:none}
.bx-gift span{font-weight:600;font-size:15px;line-height:1.4;color:var(--ink)}
.bx-gift-to{margin-top:12px;padding-left:2px}
.bx-gift-note{margin:8px 0 0;font-size:13px;line-height:1.5;color:var(--ink-dim)}

/* The book, riding along behind the course. Quieter than the bump box on
   purpose: it is included, not another decision. */
.bonus{margin-top:26px;border:1px dashed #d8d8d8;border-radius:var(--r);padding:18px 18px 16px;
  background:var(--wash);display:grid;grid-template-columns:1fr 92px;gap:16px;align-items:center}
.bonus-kick{margin:0 0 6px;font-weight:800;font-size:10.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink-dim)}
.bonus-body{margin:0;font-size:15px;line-height:1.55;color:var(--ink-soft)}
.bonus img{width:92px;height:auto;border-radius:6px;box-shadow:0 8px 20px rgba(0,0,0,.18)}
@media (max-width:460px){.bonus{grid-template-columns:1fr 72px;gap:12px}.bonus img{width:72px}}
