/* The Guide product page (site/src/screens/guide.ts; rebuilt 2026-11-07 to the product-page pattern,
   docs/research/2026-11-saas-product-pages). Everything else on the page is the site's own CSS (ds/colors_and_type.css,
   site.css, menu.css, consult.css for the mk-* front-page parts); this file adds the hero's picture, the feature blocks
   with their screenshots, the film, the credits card and the product-page spacing. Tokens only, no hex. */

/* The credits card (ruling 230) */
.gd-plan{display:flex;flex-direction:column;gap:var(--s-5)}
.gd-plan .btn{margin-top:auto}


/* ---------- The hero: the promise and the buy box beside a picture of the real Guide ---------- */
.pd-top{padding:clamp(40px,5vw,64px) var(--wrap-px) clamp(48px,6vw,80px)}
.pd-top .wrap{padding:0 var(--wrap-px)}
.pd-grid{align-items:center;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.pd-crumb{display:flex;gap:var(--s-2);align-items:center}
.pd-crumb a{color:var(--muted-2)}
.pd-buy{display:flex;flex-direction:column;gap:var(--s-5)}
.pd-buy form{margin:0}
.pd-sec{padding-top:clamp(56px,7vw,88px);padding-bottom:clamp(56px,7vw,88px)}
.pd-credits{padding-top:0}
.gd-hero-shot{margin:0;display:flex;flex-direction:column;gap:var(--s-3)}

/* A screenshot of the real Guide, in a frame that reads as a window */
.gd-shot{display:block;width:100%;height:auto;border-radius:16px;border:1px solid var(--border-2);background:var(--card);box-shadow:var(--lift-shadow)}
.gd-frame{display:flex;justify-content:center;min-width:0}
.gd-frame .gd-shot{max-width:min(560px,100%);min-width:0;border-radius:18px}
.gd-hero-shot .gd-shot{min-width:0}

/* ---------- Feature blocks: a heading, one or two sentences, one picture; the picture swaps sides each block ---------- */
.gd-feat{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(32px,5vw,72px);align-items:center}
.gd-feat.flip>.stack{order:2}
.gd-feat .lead{max-width:38ch}
@media (max-width:900px){
  .gd-feat{grid-template-columns:minmax(0,1fr);gap:var(--s-6)}
  .gd-feat.flip>.stack{order:0}
  .gd-frame .gd-shot{max-width:100%}
}

/* The price: two cards of one shape, name, figure, what it is, the button at the foot; the value and terms under them */
.gd-tiers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-5)}
.gd-tier{display:flex;flex-direction:column;gap:var(--s-4);min-width:0;padding:var(--s-7);border:1px solid var(--border);border-radius:18px;background:var(--card)}
.gd-tier-name{font-size:var(--fs-small);font-weight:var(--fw-bold);color:var(--text-3)}
.gd-tier-fig{font-size:calc(var(--fs-body)*3.2);font-weight:var(--fw-black);letter-spacing:-.04em;line-height:1;font-variant-numeric:tabular-nums;color:var(--text)}
.gd-includes{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--s-2);color:var(--text-2)}
.gd-includes li{position:relative;padding-left:var(--s-5)}
.gd-includes li::before{content:"";position:absolute;left:0;top:.55em;width:8px;height:8px;border-radius:var(--r-pill);background:var(--blue)}
.gd-tier>.btn,.gd-tier>form,.gd-tier>[data-ask-upgrade]{margin-top:auto;align-self:flex-start}
.gd-tier form{margin-bottom:0}
#price .small a{color:var(--muted-2)}

/* Questions */
.pd-faq{display:flex;flex-direction:column;border-top:1px solid var(--border);max-width:820px}
.pd-faq details{border-bottom:1px solid var(--border)}
.pd-faq summary{display:flex;align-items:center;justify-content:space-between;gap:var(--s-4);width:100%;min-height:60px;padding:var(--s-3) 0;color:var(--text);font-size:calc(var(--fs-body)*1.05);font-weight:var(--fw-bold);white-space:normal;cursor:pointer}
.pd-faq summary::before{order:2;flex:none}
.pd-faq details>p{margin:0 0 var(--s-5);max-width:64ch}

@media (max-width:1000px){.pd-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:700px){
  .pd-top{padding:var(--s-7) var(--s-4) var(--s-9)}
  .pd-top .wrap{padding:0 var(--s-4)}
  .pd-buy{padding:0}
  .pd-buy .btn.lg{width:100%}
  .gd-tiers{grid-template-columns:minmax(0,1fr)}
  .gd-tier{padding:var(--s-5)}
  .gd-tier>.btn,.gd-tier>form,.gd-tier>[data-ask-upgrade],.gd-tier form .btn{align-self:stretch;width:100%}
  .mk-end .row>.row{width:100%}.mk-end .row>.row .btn{flex:1}
}

/* ---------- The film: a poster frame and a play button; guide.js swaps in the video on press ---------- */
.gd-film-sec{border-bottom:1px solid var(--border)}
.gd-film-frame{position:relative;display:block;aspect-ratio:16/9;border-radius:18px;overflow:hidden;border:1px solid var(--border);background:var(--bg);box-shadow:var(--lift-shadow)}
.gd-film-frame img,.gd-film-frame video{display:block;width:100%;height:100%;object-fit:cover}
.gd-play{position:absolute;inset:0;display:grid;place-items:center}
.gd-play i{width:clamp(64px,9vw,88px);height:clamp(64px,9vw,88px);border-radius:50%;background:rgba(var(--bg-rgb),.55);border:1.5px solid rgba(var(--blue-rgb),.6);backdrop-filter:blur(6px);display:grid;place-items:center;transition:transform .2s ease,background-color .2s ease}
.gd-play i::after{content:"";margin-left:6px;border-left:22px solid var(--on-accent);border-top:13px solid transparent;border-bottom:13px solid transparent}
:root[data-theme="light"] .gd-play i{background:rgba(var(--blue-rgb),.75)}
.gd-film-frame:hover .gd-play i,.gd-film-frame:focus-visible .gd-play i{transform:scale(1.06);background:rgba(var(--blue-rgb),.7)}
.gd-film-frame:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
