/* ============================================================
   Querida Post — storefront (landing + subpages)
   One shared stylesheet. Minimal, magazine-cover feel: dramatic
   typography, acres of whitespace, one focal point per section.
   Brand tokens come from builder.css (--b-page, --b-ink, --b-wax,
   --f-display, --f-sans).
   ============================================================ */

body.storefront {
  --b-page: #FAF6EE;
  --b-specimen: #ECE5D4;
  --b-line: rgba(42, 37, 32, .14);
  background: var(--b-page) url(/assets/shared/paper-grain.svg) 0 0 / 300px;
  font-family: var(--f-sans);
}
.store, .storefront .mast, .storefront .foot { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: 32px; }
.store__skip { position: absolute; left: 16px; top: 8px; z-index: 10; padding: 12px 18px; background: var(--b-paper); translate: 0 -160%; font-size: 14px; }
.store__skip:focus { translate: 0 0; }

/* ---------- Mast ----------
   Slim brand bar. Hairline bottom border. Nav links are tiny caps so the
   headlines below get all the attention. */
.storefront .mast {
  padding-block: 22px 22px;
  align-items: center;
  border-bottom: 1px solid var(--b-line);
}
.storefront .mast__brand {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.storefront .mast__brand small {
  font-size: 9px; letter-spacing: .18em; margin-top: 6px;
  text-transform: uppercase; color: var(--b-ink-soft);
}
.storefront .mast__right { align-items: center; gap: 28px; }
.storefront .linkbtn {
  display: inline-flex; align-items: center; min-height: 32px;
  padding: 0; margin: 0;
  background: none; border: 0; appearance: none; cursor: pointer;
  font: inherit;
  font-family: var(--f-sans);
  font-size: 11px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--b-ink-soft);
  line-height: 1.2;
  transition: color .15s ease;
}
.storefront .linkbtn:hover { color: var(--b-ink); }

/* ---------- Buttons ----------
   One button style across the storefront. Pill shape, generous padding,
   sans-serif small caps. The pill shape is the one modern move; everything
   else stays rectangular/typographic. */
.storefront .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 28px;
  background: var(--b-wax); color: #fff;
  background-image: none; box-shadow: none;
  border: 0; border-radius: 999px;
  font-family: var(--f-sans);
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none;
  transition: transform .18s ease, background-color .18s ease;
}
.storefront .btn--pill { border-radius: 999px; }
.storefront .btn:hover { background: var(--b-wax-dark, #611A26); transform: translateY(-1px); }
.storefront .btn:focus-visible { outline: 2px solid var(--b-wax); outline-offset: 4px; }

/* Shared secondary link style used across hero, release, peek. A quiet
   underlined link that pairs with the primary pill button. */
.mhero__secondary {
  display: inline-flex; align-items: center;
  font-family: var(--f-sans);
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--b-ink);
  text-decoration: underline; text-decoration-color: var(--b-wax);
  text-underline-offset: 6px; text-decoration-thickness: 1.2px;
  transition: color .15s ease;
}
.mhero__secondary:hover { color: var(--b-wax); }

/* Storefront-only seal size normalization. Shared with /collection/ via
   builder.css + these overrides so seals read as one set. */
.storefront .env__seal { width: calc(24% * var(--seal-scale, 1)); }
.storefront .env[data-theme="tide"] { --seal-scale: .72; }
.storefront .env[data-theme="clementine"],
.storefront .env[data-theme="duckling"] { --seal-scale: .82; }
.storefront .env[data-theme="starlight"] { --seal-scale: 1.1; }

/* ---------- Subpage shared chrome ----------
   /features/, /how-it-works/, /faq/ share this header pattern: an eyebrow,
   a large H1, a short deck. Keeps every landing-adjacent page in the same
   editorial voice. */
.subhero {
  padding-block: clamp(72px, 10vw, 140px) clamp(48px, 7vw, 96px);
  max-width: 920px;
}
.subhero__kicker {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 11px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--b-wax);
}
.subhero__h {
  margin: 22px 0 20px;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: .98;
  letter-spacing: -.03em;
  color: var(--b-ink);
  text-wrap: balance;
}
.subhero__h em { font-style: italic; font-weight: 400; color: var(--b-wax); }
.subhero__lede {
  margin: 0;
  max-width: 52ch;
  font-family: var(--f-sans);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--b-ink-soft);
}

/* Shared "big numbered list" pattern used on /features/ and /how-it-works/.
   Oversize display-italic numerals as marginals, hairline rule above each
   entry. Same vocabulary as the engine's I/II/III games. */
.bignum {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 56px;
}
.bignum > li {
  display: grid; grid-template-columns: 110px minmax(0, 1fr);
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--b-line);
}
.bignum__no {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: clamp(56px, 6vw, 96px); line-height: .85;
  letter-spacing: -.03em; color: var(--b-wax); opacity: .9;
}
.bignum__title {
  margin: 0 0 14px;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--b-ink);
}
.bignum__body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: var(--b-ink-soft);
  max-width: 58ch;
}

/* FAQ page — hairline accordion list, big plus/minus markers. */
.faq-list {
  list-style: none; padding: 0; margin: 0;
  max-width: 820px;
}
.faq-list details {
  border-top: 1px solid var(--b-line);
  padding: 0;
}
.faq-list details:last-of-type { border-bottom: 1px solid var(--b-line); }
.faq-list summary {
  list-style: none;
  position: relative;
  padding: 28px 48px 28px 0;
  font-family: var(--f-display);
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.2;
  color: var(--b-ink);
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after {
  content: ''; position: absolute; right: 8px; top: 50%;
  width: 16px; height: 1px; background: var(--b-wax);
  transition: transform .25s ease;
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::before { transform: rotate(45deg); }
.faq-list details[open] summary::after { transform: rotate(-45deg); }
.faq-list details p {
  margin: 0;
  padding: 0 48px 32px 0;
  font-family: var(--f-sans);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--b-ink-soft);
  max-width: 68ch;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .store, .storefront .mast, .storefront .foot { padding-inline: 24px; }
  .bignum > li { grid-template-columns: 80px 1fr; gap: 24px; padding-top: 28px; }
}
@media (max-width: 720px) {
  .store, .storefront .mast, .storefront .foot { padding-inline: 20px; }
  .storefront .mast { flex-wrap: wrap; gap: 10px; padding-block: 16px 14px; }
  .storefront .mast__right { width: 100%; gap: 18px; flex-wrap: wrap; }
  .bignum { gap: 40px; }
  .bignum > li { grid-template-columns: 1fr; gap: 10px; }
  .bignum__no { font-size: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .storefront .btn:hover { transform: none; }
}

/* ---------- Store footer: a destination, not three small links ---------- */
.storefront .foot--store {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px 48px; align-items: start;
  padding-block: 64px 28px; font-family: var(--f-sans); text-transform: none; letter-spacing: 0;
}
.foot--store .foot__name { margin: 0; font-family: var(--f-display); font-size: 30px; font-weight: 500; letter-spacing: -.02em; color: var(--b-ink); }
.foot--store .foot__line { margin: 10px 0 0; max-width: 34ch; font-size: 15px; line-height: 1.6; color: var(--b-ink-soft); }
.foot--store .foot__etsy { margin: 14px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--b-wax); }
.foot--store .foot__col { display: grid; gap: 2px; justify-items: start; }
.foot--store .foot__h { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--b-ink-soft); }
.foot--store .foot__col a { display: inline-flex; align-items: center; min-height: 40px; padding: 0; font-size: 15px; color: var(--b-ink); text-decoration: none; }
.foot--store .foot__col a:hover { color: var(--b-wax); text-decoration: underline; text-underline-offset: 5px; }
.foot--store a:focus-visible { outline: 2px solid var(--b-wax); outline-offset: 3px; }
.foot--store .foot__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 8px 0 0; padding-top: 20px; border-top: 1px solid var(--b-line); font-size: 12px; color: var(--b-ink-soft); }
.foot--store .foot__legal a { color: var(--b-ink-soft); padding: 0; }
@media (max-width: 720px) {
  .storefront .foot--store { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-block: 48px 24px; }
  .foot--store .foot__brand { grid-column: 1 / -1; }
  .foot--store .foot__col a { min-height: 44px; }
}
