/* pages/websites/websites.css: the Websites page's own classes (ws-*), on top of the home's base (assets/home.css).
   Tokens, grounds, type, tiles, packs, ledgers, prices, the top bar, the footer and the FAQ come from the home: this file
   only places them. No new colour, font, shadow or border colour; space comes from --s1 to --s10. Edit here;
   pages/websites.mjs ships it as assets/websites.css. */

/* ---------- hero: the h1 across, then the words and the two real pages ---------- */
.ws-hero{display:grid;gap:var(--s4)}
.ws-hero .kicker{color:var(--fg-mute)}
.ws-h1{font-size:clamp(2.75rem,1.5rem + 5.2vw,6.25rem);line-height:.94;max-width:none}
.ws-h1 .mk{white-space:nowrap}
.ws-hero-grid{display:grid;gap:var(--s7);margin-top:var(--s5);align-items:end}
.ws-hero-words{display:grid;gap:var(--s5);justify-items:start;align-content:start}
.ws-promise{display:grid;gap:var(--s2);width:100%;max-width:34ch;padding-top:var(--s4);border-top:2px solid var(--rule-2)}
.ws-promise .h3{text-wrap:balance}
/* the computer picture, and the phone laid over its lower right corner */
.ws-shots{position:relative;padding-bottom:var(--s6)}
.ws-computer{aspect-ratio:8/5}
.ws-phone{position:absolute;right:5%;bottom:0;width:26%;aspect-ratio:300/649}
@media (min-width:1024px){
  .ws-hero-grid{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap);margin-top:var(--s6)}
  .ws-hero-words{grid-column:1/6}
  .ws-shots{grid-column:7/-1}
  .ws-phone{width:24%}
}

/* ---------- does: four packed tiles, then what comes with the page ---------- */
.ws-pack{list-style:none}
.ws-pack>li{display:grid;gap:var(--s3);align-content:start;padding:var(--s5)}
.ws-pack>li p{color:var(--fg-2)}
@media (min-width:720px){.ws-pack{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1024px){
  .ws-pack{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ws-pack>li{padding:var(--s6) var(--s5)}
}
.ws-with{width:100%;max-width:640px}
.ws-with>li{display:grid;gap:var(--s1)}
.ws-with b{font-size:1.0625rem;font-weight:800;letter-spacing:-.01em}
.ws-with span{color:var(--fg-2)}
@media (min-width:720px){
  .ws-with>li{grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:var(--s5);align-items:baseline}
}
/* beside the heading the closer's own rule is the top line: no second rule on the list */
@media (min-width:1024px){.ws-with{border-top:0}}

/* ---------- proof: two live pages, a real screenshot each ---------- */
.ws-cards{display:grid;gap:var(--gap)}
.ws-card{display:grid;gap:var(--s5);align-content:start}
.ws-shot{aspect-ratio:4/5}
.ws-shot>img{object-position:top}
.ws-card-say{display:grid;gap:var(--s2);justify-items:start;align-content:start}
.ws-card-say .h3{margin-bottom:var(--s1)}
.ws-card-say p:not(.kicker){color:var(--fg-2);max-width:44ch}
.ws-card-say .lnk{margin-top:var(--s2)}
@media (min-width:720px){
  .ws-card{grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:start}
}
@media (min-width:1024px){
  .ws-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ws-card{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
}

/* ---------- plans: two tiles, the pick in yellow ---------- */
.ws-plan-row{display:grid;gap:var(--gap)}
.ws-plan{display:grid;gap:var(--s4);align-content:start}
.ws-plan-cost{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--s2) var(--s4)}
.ws-plan p:last-child{max-width:40ch}
.ws-plans-foot{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--s3) var(--s6);margin-top:var(--s6)}
@media (min-width:720px){.ws-plan-row{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- how: four steps in a ledger ---------- */
.ws-steps{list-style:none;counter-reset:ws}
.ws-steps>li{counter-increment:ws;display:grid;gap:var(--s2);align-content:start;padding-block:var(--s5)}
.ws-steps>li::before{content:counter(ws,decimal-leading-zero);margin-bottom:var(--s2);font:800 var(--fs-kicker)/1 var(--f-text);letter-spacing:.12em;font-variant-numeric:tabular-nums;color:var(--fg-mute)}
.ws-steps p{color:var(--fg-2);max-width:34ch}
.ws-fine{margin-top:var(--s5)}
@media (min-width:720px){.ws-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--gap)}}
@media (min-width:1024px){
  .ws-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ws-steps>li::before{font:800 var(--fs-h2)/.9 var(--f-display);letter-spacing:-.03em;margin-bottom:var(--s4)}
}

/* ---------- the last call ---------- */
.ws-cta-side{display:grid;gap:var(--s5)}
