/* THE SELLING PAGE (templates/site.html). Built on pntry.css's tokens, so
   day and night follow the phone like the app. Phone first, then wide. */

/* the selling page is a page: it scrolls like one (the app shell locks html/body in pntry.css) */
html.site, html.site body { overflow: auto; height: auto; min-height: 100%; display: block; }
body.site { background: var(--bg); color: var(--ink); margin: 0; }
.site main { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* the web app: one small bar, the apps are the product (Thom, 18 Oct) */
.site-webapp { background: var(--ink); color: var(--card); text-align: center; font-size: 14px; font-weight: 700;
  padding: 9px 16px; }
.site-webapp span { opacity: .75; }
.site-webapp a { color: var(--butter); text-decoration: none; margin-left: 4px; }

.site-head { max-width: 1080px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; }
.site-brand img { height: 34px; display: block; }
.site-nav { display: flex; align-items: center; gap: 18px; font-weight: 800; font-size: 15px; }
.site-nav a { color: var(--ink-2); text-decoration: none; }
.site-nav .site-get { background: var(--butter); color: var(--on-butter); padding: 9px 16px; border-radius: 999px;
  border: var(--sticker-border); box-shadow: var(--sticker-btn); }

.site-hero { display: grid; gap: 28px; align-items: center; padding: 22px 0 40px; }
.site-hero h1 { font-family: var(--hero); font-weight: 400; font-size: clamp(46px, 9vw, 84px); line-height: .95;
  letter-spacing: .01em; margin: 6px 0 16px; }
.site-hero .motto { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 34ch; margin: 0 0 22px; }
.site-hero .crest { font-weight: 900; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.site-hero-art { text-align: center; }
.site-hero-art img { width: min(100%, 420px); height: auto; }

.site-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 4px 0 8px; }
.site-badges a { display: inline-block; line-height: 0; }
/* Google's badge carries its own padding; Apple's doesn't: this lines them up */
.site-badges .badge-google { margin: -12px 0 -12px -6px; }
.site-small { font-size: 14px; font-weight: 600; color: var(--ink-3); margin: 6px 0 0; }

.site-block { padding: 34px 0; }
.site-block h2 { font-family: var(--hero); font-weight: 400; font-size: clamp(30px, 5vw, 44px); line-height: 1.05; margin: 6px 0 12px; }
.site-lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }

.site-steps { display: grid; gap: 14px; }
.site-step { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--slight); }
.site-step h3 { font-size: 19px; font-weight: 900; margin: 10px 0 6px; }
.site-step p { margin: 0; color: var(--ink-2); line-height: 1.5; font-weight: 600; }
.site-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--butter); color: var(--on-butter); font-family: var(--hero); font-size: 18px; }

.site-split { display: grid; gap: 26px; align-items: center; }
.site-art { text-align: center; }
/* Thom's line drawings as ink: the page's own colour, day or night */
.site-mask { display: inline-block; background: var(--ink); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.site-mask.fridge { width: min(80vw, 340px); aspect-ratio: 1; -webkit-mask-image: url("/static/site/fridge.png"); mask-image: url("/static/site/fridge.png"); }
.site-mask.boy { width: 120px; aspect-ratio: 1; -webkit-mask-image: url("/static/site/boy.png"); mask-image: url("/static/site/boy.png"); }
.site-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.site-list li { background: var(--card); border-radius: var(--radius-sm); padding: 14px 16px; line-height: 1.5;
  color: var(--ink-2); font-weight: 600; box-shadow: var(--slight); }
.site-list b { color: var(--ink); font-weight: 900; }

.site-price { display: flex; justify-content: center; }
.site-price-card { background: var(--card); border: var(--sticker-border); box-shadow: var(--sticker); border-radius: var(--radius);
  padding: 28px 26px; text-align: center; max-width: 420px; width: 100%; }
.site-price-card p { color: var(--ink-2); font-weight: 600; line-height: 1.5; margin: 6px 0 0; }
.site-amount { font-family: var(--hero); font-size: 64px; color: var(--ink) !important; line-height: 1; margin: 8px 0 4px !important; }
.site-amount small { font-family: var(--body); font-size: 18px; font-weight: 800; color: var(--ink-3); }

.site-get-it { text-align: center; }
.site-get-it .site-badges { justify-content: center; }
.site-get-it .site-lede { margin: 0 auto 14px; }
.site-wait { display: flex; gap: 8px; max-width: 460px; margin: 18px auto 0; flex-wrap: wrap; justify-content: center; }
.site-wait input { flex: 1 1 220px; min-height: 50px; border-radius: 14px; border: 0; background: var(--bg-2);
  padding: 0 14px; font: inherit; font-weight: 600; color: var(--ink); }
.site-wait button { min-height: 50px; padding: 0 18px; border-radius: 14px; background: var(--butter); color: var(--on-butter);
  border: var(--sticker-border); box-shadow: var(--sticker-btn); font: inherit; font-weight: 900; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.site-faq details { background: var(--card); border-radius: var(--radius-sm); padding: 4px 18px; margin: 0 0 10px; box-shadow: var(--slight); }
.site-faq summary { font-weight: 900; font-size: 17px; padding: 14px 0; cursor: pointer; list-style: none; }
.site-faq summary::-webkit-details-marker { display: none; }
.site-faq summary::after { content: "+"; float: right; color: var(--ink-3); }
.site-faq details[open] summary::after { content: "\2212"; }
.site-faq details p { margin: 0 0 16px; color: var(--ink-2); line-height: 1.55; font-weight: 600; }

.site-foot { max-width: 1080px; margin: 30px auto 0; padding: 26px 20px 40px; display: flex; flex-wrap: wrap; gap: 10px 20px;
  justify-content: center; font-size: 14px; font-weight: 700; color: var(--ink-3); border-top: 1px solid var(--line); }
.site-foot a { color: var(--ink-2); text-decoration: none; }

@media (max-width: 560px) {
  .site-nav a:not(.site-get) { display: none; }       /* phones: the one button that matters */
}
@media (min-width: 860px) {
  .site-hero { grid-template-columns: 1.15fr 1fr; padding: 40px 0 60px; }
  .site-steps { grid-template-columns: repeat(4, 1fr); }
  .site-split { grid-template-columns: 1fr 1.2fr; }
}

/* no store yet: the badge is there, dimmed, with the word on it; the web is the way in */
.site-badges .soon { position: relative; display: inline-block; opacity: .55; }
.site-badges .soon b { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--ink); color: var(--card);
  font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.site-webstart { margin: 14px 0 0; }
