/* ══════════════════════════════════════════════════════════════════════
   SME AI Office — the marketing page grammar (2026-09-30, "Option B").
   ──────────────────────────────────────────────────────────────────────
   ⚠ ONE PAGE = HERO + BLOCKS + PRICE (+ GROW). Every Business page and every
   Back office page is built from the same block: ONE LINE (twelve words or
   fewer, in the trade's words) and ONE PICTURE, nothing else. Sides alternate.
   Approved by Kevin 2026-09-30 (docs/notes/marketing-deck.md, section 5), the
   look picked from three previews the same day: white, near-black, bigger
   type, ONE green for the whole site, pictures edge to edge in soft rounded
   frames, generous space. The per-trade accent colours are gone on purpose.

   Loaded AFTER shell.css (which owns the top bar, the footer, the buttons'
   tokens and the free-setup line). This file owns only what is between them.
   Pages on it carry <body class="pg">. The older `ap` pages (pricing, Done
   for you, FAQ, About, the engine pages) still use ap.css and are untouched
   by this file.

   Pictures (section 4 of the deck):
     .p-frame.p-browser  kind A, the customer's live demo website, with its
                         address bar (the address is the point)
     .p-frame            kind B, the owner's screen, a tight crop, no bar
     .p-phone            a phone shot in a phone frame
     .p-scene            THE BUSINESS HERO (Kevin, 2026-09-30, "b is good, do it for the
                         rest"): the kind-C warm cutaway of the business, with the demo
                         on a phone (.p-over) sitting on its bottom-right corner. Every
                         Business page opens with it; a Business without its cutaway yet
                         keeps its old picture and an .a-todo prompt until it lands.
                         Membership has no customer website, so its corner is a small
                         owner-screen card (.p-over.p-card) instead of a phone.
     .p-looks            the four website looks in a 2×2 grid
     .p-todo             a picture still to take: hidden on smeaio.com, shown
                         on localhost and with ?todo (html.show-todo, shell.js)
     .a-todo             a picture still to DRAW (ChatGPT), with its prompt:
                         same switch, same shape as ap.css's box
   ══════════════════════════════════════════════════════════════════════ */
body.pg{margin:0;background:#fff;color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased;line-height:1.45}
.pg img{display:block;max-width:100%;height:auto}
.pg main{display:block}
.p-w{max-width:1240px;margin:0 auto;padding:0 24px}

/* ── the words ─────────────────────────────────────── */
.p-eyebrow{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);margin:0 0 12px}
.pg h1{font-size:clamp(40px,5.4vw,68px);line-height:1.04;letter-spacing:-.04em;font-weight:800;margin:0;max-width:14ch}
.pg h2{font-size:clamp(28px,3.4vw,42px);line-height:1.12;letter-spacing:-.035em;font-weight:700;margin:0;max-width:16ch}
.p-go{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:30px}
.p-btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 26px;border-radius:10px;background:var(--accent);color:#fff;text-decoration:none;font-size:17px;font-weight:600;letter-spacing:-.01em;line-height:1.15;border:1px solid var(--accent)}
.p-btn:hover{background:#006E52;border-color:#006E52}
.p-link{font-size:16px;font-weight:600;color:var(--accent);text-decoration:none}
.p-link:hover{text-decoration:underline;text-underline-offset:3px}
.p-small{font-size:14.5px;line-height:1.5;color:var(--ink-2);margin:18px 0 0;max-width:60ch}
.p-small a{color:var(--accent);font-weight:600;text-decoration:none}
.p-small a:hover{text-decoration:underline}
/* the free-setup line shell.js fills (SG only) reuses ap.css's link class */
.a-link{color:var(--accent);font-weight:600;text-decoration:none}
.a-link:hover{text-decoration:underline;text-underline-offset:3px}

/* ── hero ──────────────────────────────────────────── */
.p-hero{padding:72px 0 48px}
.p-hero .p-w{display:grid;grid-template-columns:5fr 6fr;gap:64px;align-items:center}
.p-hero .p-w>*{min-width:0}

/* ── pictures ──────────────────────────────────────── */
.p-pic{margin:0}
.p-frame{border-radius:24px;overflow:hidden;background:var(--grey,#F6F6F7)}
.p-frame>a{display:block;text-decoration:none}
.p-bar{display:block;padding:10px 16px;font-size:12.5px;color:var(--ink-2);background:#EDEEEF;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.p-looks{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}
.p-looks>*{min-width:0}
.p-looks.n3{grid-template-columns:repeat(3,1fr)}
/* three looks side by side need the whole width: the line sits above them */
.p-blk:has(.p-looks.n3){grid-template-columns:1fr;gap:28px;align-items:start}
.p-blk:has(.p-looks.n3) h2{order:0}
.p-looks.n2{grid-template-columns:1fr 1fr}
.p-looks a{display:block;position:relative;border-radius:18px;overflow:hidden;text-decoration:none;background:var(--grey,#F6F6F7)}
.p-looks span{position:absolute;left:10px;bottom:10px;font-size:12.5px;font-weight:600;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.94);color:var(--ink)}
.p-phone{margin:0 auto;max-width:260px}
.p-phone>a,.p-phone>span{display:block;border-radius:36px;border:9px solid #1D1D1F;background:#1D1D1F;overflow:hidden}
.p-phone img{border-radius:26px}
/* the Business hero: the cutaway, the phone on its corner (header comment) */
.p-scene{position:relative;margin:0;padding-bottom:28px}
.p-scene>.p-frame{width:88%}
.p-scene>.p-over{position:absolute;right:0;bottom:0;margin:0;z-index:2;filter:drop-shadow(0 14px 26px rgba(20,20,25,.28))}
.p-scene>.p-phone.p-over{width:25%;max-width:150px}
.p-scene .iphone-pro-max.iphone-pro-max{border-width:5px;border-radius:26px;padding:18px 3px 12px;box-shadow:0 0 0 1px #77777b,0 0 0 2px #c3c0bb}
.p-scene .iphone-pro-max.iphone-pro-max img{left:3px;top:18px;width:calc(100% - 6px);height:calc(100% - 30px);border-radius:0 0 18px 18px}
.p-scene .iphone-pro-max::before{top:5px;height:9px}
.p-scene .iphone-pro-max::after{bottom:4px;height:3px}
.p-scene>.p-card{width:50%;border-radius:14px;overflow:hidden;background:#fff;border:1px solid var(--hair)}
/* a picture still to TAKE: the block stays, the frame is a note, live it is hidden */
.p-todo{display:none;aspect-ratio:1200/750;border-radius:24px;background:#F1F2F3;border:2px dashed #B5B8BC;padding:24px;flex-direction:column;align-items:center;justify-content:center;text-align:center}
html.show-todo .p-todo{display:flex}
.p-todo b{font-size:15px;color:var(--ink);margin-bottom:6px}
.p-todo span{font-size:13.5px;line-height:1.5;color:var(--ink-2);max-width:34ch}
/* a picture still to DRAW, with its prompt (the shape ap.css uses) */
.a-todo{display:none;margin:24px 0 0;border:2px dashed var(--accent);border-radius:18px;background:var(--accent-wash);padding:22px 24px;text-align:left}
html.show-todo .a-todo{display:block}
.a-todo>b{display:block;font-size:15px;color:var(--accent);margin-bottom:6px}
.a-todo p{font-size:14px;line-height:1.5;color:var(--ink-2);margin:8px 0 0}
.a-todo blockquote{margin:10px 0 0;padding:12px 14px;background:#fff;border-radius:10px;font-size:13.5px;line-height:1.55;color:var(--ink);white-space:normal}

/* ── blocks: one line, one picture, sides alternate ── */
.p-blocks{padding:16px 0 48px}
.p-blk{display:grid;grid-template-columns:5fr 7fr;gap:72px;align-items:center;padding:56px 0}
.p-blk>*{min-width:0}
.p-blk:nth-child(even){grid-template-columns:7fr 5fr}
.p-blk:nth-child(even) h2{order:2}
/* a block whose picture is still to take is hidden live with it, so the page never shows a gap */
.p-blk.p-wait{display:none}
html.show-todo .p-blk.p-wait{display:grid}

/* ── the price line, and Grow ──────────────────────── */
.p-price{max-width:1240px;margin:24px auto 0;padding:88px 24px;background:var(--grey,#F6F6F7);border-radius:32px;text-align:center}
.p-price h2{margin:0 auto;max-width:24ch}
.p-price .p-go{justify-content:center}
.p-price .p-small{margin-left:auto;margin-right:auto}
.p-price .fs-line{max-width:60ch;margin:18px auto 0;color:var(--ink-2)}
.p-grow{padding:88px 0 96px}
.p-grow h2{font-size:22px;line-height:1.3;letter-spacing:-.02em;font-weight:600;margin:0 0 22px;max-width:32ch}
.p-grow ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:820px}
.p-grow li{background:#fff;border:1px solid var(--hair);border-radius:18px;padding:18px 20px;display:flex;flex-direction:column;gap:4px}
.p-grow li b{font-size:16px}
.p-grow li span,.p-grow li a{font-size:14.5px;color:var(--ink-2)}
.p-grow li a{color:var(--accent);font-weight:600;text-decoration:none}
.p-grow li a:hover{text-decoration:underline}
.p-grow .p-small{margin-top:22px}
.pg main>:last-child{margin-bottom:0}
.p-end{height:64px}

/* ── responsive ─────────────────────────────────────── */
@media(max-width:940px){
  .p-hero{padding:48px 0 32px}
  .p-hero .p-w,.p-blk,.p-blk:nth-child(even){grid-template-columns:1fr;gap:28px}
  .p-blk{padding:36px 0}
  .p-blk:nth-child(even) h2{order:0}
  .pg h1,.pg h2{max-width:none}
  .p-price{margin:24px 16px 0;padding:56px 24px;border-radius:24px}
  .p-grow{padding:64px 0 72px}
}
@media(max-width:560px){
  .p-w{padding:0 16px}
  .p-looks.n3{grid-template-columns:1fr 1fr}
  .p-grow ul{grid-template-columns:1fr}
  .p-price{margin:16px 8px 0;padding:44px 20px}
}
