/* ═══════════════════════════════════════════
   LITTLE FOLIO SHOP
   Shared styles for shop.html, home-ed-year-planner.html
   and shop-thank-you.html. Everything is scoped under
   .lf-shop so it cannot affect the rest of the site.
═══════════════════════════════════════════ */

.lf-shop {
  --ink: #1A1A18;
  --text: #3A3935;
  --muted: #5F5E58;
  --cream: #F7F1E8;
  --paper: #FFFDF9;
  --grid: #ECE3D7;
  --line: #E3DBCF;

  /* Fill colours (tabs, dots, borders) */
  --coral: #E8593C;
  --teal: #4B9B7A;
  --purple: #7F77DD;
  --amber: #E8A030;
  --blue: #378ADD;
  --rose: #DB6189;
  --moss: #5A7A3A;
  --gold: #C4A832;
  --sienna: #C4703A;

  /* Ink colours (readable text on cream) */
  --coral-ink: #B5432A;
  --teal-ink: #2F6B53;
  --purple-ink: #4F47A8;
  --amber-ink: #8A5A12;
  --blue-ink: #22609F;
  --rose-ink: #A8335F;
  --moss-ink: #4A6630;
  --gold-ink: #6E5E12;

  /* Tints (soft backgrounds) */
  --coral-tint: #FCE9E3;
  --teal-tint: #E4F2EC;
  --purple-tint: #ECEAFB;
  --amber-tint: #FCF0DC;
  --blue-tint: #E3EEFB;
  --rose-tint: #FBE6EE;
  --moss-tint: #EAF0E2;
  --gold-tint: #F7F1D6;

  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Keep the site's page-wide styles (nav/footer CSS on each page: the
   "* { margin: 0; padding: 0 }" reset, body line-height and h1 to h4
   weights) from changing the shop layout. Must stay above the rules below. */
.lf-shop { line-height: normal; }
.lf-shop * { margin: revert; padding: revert; }
.lf-shop h1, .lf-shop h2, .lf-shop h3, .lf-shop h4 { font-weight: bold; line-height: normal; }
#shot-viewer { margin: auto; }
#shot-viewer::backdrop { background: rgba(26,26,24,.75); }
/* The hidden attribute must win over display rules such as .folder and
   .notify, or the product filter and the notify forms cannot hide things */
.lf-shop [hidden] { display: none !important; }

.lf-shop *, .lf-shop *::before, .lf-shop *::after { box-sizing: border-box; }
.lf-shop h1, .lf-shop h2, .lf-shop h3, .lf-shop p, .lf-shop ul, .lf-shop figure { margin: 0; }
.lf-shop img { max-width: 100%; }

.shop-strip {
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  text-align: center;
  padding: 9px 16px;
}
.shop-strip .hl-coral { color: #F3B7A6; font-weight: 700; }
.shop-strip .hl-teal { color: #9FD6BD; font-weight: 700; }

.shop-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px max(24px, env(safe-area-inset-left, 0px)) 80px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Coloured words */
.c-coral { color: var(--coral-ink); }
.c-teal { color: var(--teal-ink); }
.c-purple { color: var(--purple-ink); }
.c-amber { color: var(--amber-ink); }
.c-blue { color: var(--blue-ink); }
.c-rose { color: var(--rose-ink); }
.c-moss { color: var(--moss-ink); }
.c-gold { color: var(--gold-ink); }
.b { font-weight: 700; }

/* Eight-colour ribbon, like the bars in the logo */
.ribbon {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  height: 5px;
  border-radius: 3px;
  overflow: hidden;
}
.ribbon span:nth-child(1) { background: var(--coral); }
.ribbon span:nth-child(2) { background: var(--teal); }
.ribbon span:nth-child(3) { background: var(--purple); }
.ribbon span:nth-child(4) { background: var(--amber); }
.ribbon span:nth-child(5) { background: var(--blue); }
.ribbon span:nth-child(6) { background: #D4537E; }
.ribbon span:nth-child(7) { background: var(--moss); }
.ribbon span:nth-child(8) { background: var(--gold); }

/* Folder: coloured tab on top of a bordered box */
.folder { display: flex; flex-direction: column; }
.ftab {
  align-self: flex-start;
  margin-left: 16px;
  padding: 7px 16px 6px;
  border-radius: 9px 9px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  top: 1.5px;
  white-space: nowrap;
}
.fbody {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fbody > p.pad { padding: 16px 18px 20px; font-size: 15px; line-height: 1.55; color: var(--text); }
.fbody.dashed { border-style: dashed; }

.f-coral .ftab { background: var(--coral); }   .f-coral .fbody { border-color: var(--coral); }
.f-teal .ftab { background: var(--teal); }     .f-teal .fbody { border-color: var(--teal); }
.f-purple .ftab { background: var(--purple); } .f-purple .fbody { border-color: var(--purple); }
.f-amber .ftab { background: var(--amber); }   .f-amber .fbody { border-color: var(--amber); }
.f-blue .ftab { background: var(--blue); }     .f-blue .fbody { border-color: var(--blue); }
.f-rose .ftab { background: var(--rose); }     .f-rose .fbody { border-color: var(--rose); }
.f-moss .ftab { background: var(--moss); color: #fff; } .f-moss .fbody { border-color: var(--moss); }
.f-gold .ftab { background: var(--gold); }     .f-gold .fbody { border-color: var(--gold); }
.f-ink .ftab { background: var(--ink); color: #fff; }
.f-ink .fbody { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* Buttons */
.sbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.sbtn-coral { background: var(--coral-ink); color: #fff; }
.sbtn-coral:hover { background: #8E3320; color: #fff; }
.sbtn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.sbtn-line:hover { background: var(--ink); color: #fff; }
.sbtn-cream { background: var(--cream); color: var(--ink); }
.sbtn-lg { min-height: 54px; font-size: 17px; }
.sbtn:focus-visible, .chip:focus-visible, .arrow:focus-visible, .pick:focus-visible, .lf-shop summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.sq { width: 11px; height: 11px; border-radius: 3px; display: inline-block; flex-shrink: 0; }

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}
.span2 { grid-column: span 2; }

/* ── Shop page ── */
.shop-head { display: flex; flex-direction: column; gap: 16px; }
.shop-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.shop-head h1 { font-size: clamp(34px, 5vw, 46px); line-height: 1.06; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.shop-head .lede { font-size: 18px; line-height: 1.55; color: var(--text); max-width: 640px; margin-top: 10px; }

.section-h { font-size: 26px; font-weight: 700; }
.products-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid #D6CFC4;
  background: var(--paper);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
/* "Everything in the shop" heading with the paper arrow to the filters */
.lf-shop .products-top { justify-content: flex-start; gap: 18px; }
.lf-shop .products-top .section-h {
  font-size: clamp(32px, 4.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.lf-shop .shop-arrow {
  width: 150px;
  height: auto;
  flex-shrink: 0;
  transform: rotate(-4deg) translateY(6px);
}
.lf-shop .products-top .chips { margin-left: auto; }
/* The All chip's dot is ink-coloured, so it vanishes on the ink selected
   state: show it in cream instead (overrides the inline colour) */
.lf-shop .chip[data-filter="all"][aria-pressed="true"] .dot { background: var(--cream) !important; }
/* Below ~1100px the heading, arrow and buttons no longer fit on one row:
   stack them, with the arrow tilted down at the buttons */
@media (max-width: 1100px) {
  .lf-shop .products-top .section-h { flex-basis: 100%; }
  .lf-shop .products-top .chips { margin-left: 0; width: 100%; }
  .lf-shop .shop-arrow { width: 96px; margin: -12px 0 -8px 6px; transform: rotate(28deg); }
}

.feat { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); flex: 1; }
.feat-media { display: block; background: var(--coral-tint); padding: 22px; text-decoration: none; }
.feat-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
/* Year Planner card thumbnail: small laptop with a printed page in front */
.lf-shop .feat-media.has-thumb {
  position: relative;
  overflow: hidden;
  /* Laptop and paper share one grid cell, centred as a pair, so the paper
     stays on the laptop's corner even when the card stretches the panel */
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  min-height: 280px;
  padding: 28px 24px 36px;
}
.lf-shop .thumb-lap, .lf-shop .thumb-paper { grid-area: 1 / 1; }
.lf-shop .thumb-lap { width: 88%; justify-self: center; transform: translateY(-8px); }
.lf-shop .thumb-lap .laptop-lid { margin: 0 6%; padding: 6px 6px 9px; border-radius: 10px 10px 0 0; }
.lf-shop .thumb-lap .laptop-lid::before { width: 4px; height: 4px; margin-left: -2px; top: 2px; }
.lf-shop .thumb-lap .laptop-screen { aspect-ratio: 1366 / 768; cursor: pointer; }
.lf-shop .thumb-lap .laptop-screen img { width: 100%; height: 100%; display: block; object-fit: contain; }
.lf-shop .thumb-lap .laptop-base { height: 9px; border-radius: 2px 2px 10px 10px; }
.lf-shop .thumb-lap .laptop-base::after { width: 60px; margin-left: -30px; height: 4px; }
.lf-shop .thumb-paper {
  position: relative;
  justify-self: end;
  align-self: end;
  right: -10px;
  bottom: -24px;
  width: 42%;
  background: #fff;
  padding: 7px 6px 14px;
  border-radius: 2px;
  box-shadow: 0 14px 28px -10px rgba(26, 26, 24, .45);
  transform: rotate(-4deg);
  transition: transform .25s ease;
}
.lf-shop .thumb-paper img { width: 100%; height: auto; display: block; }
.lf-shop .feat-media.has-thumb:hover .thumb-paper,
.lf-shop .feat-media.has-thumb:focus-visible .thumb-paper { transform: rotate(-2deg) translateY(-6px); }
@media (max-width: 900px) {
  .lf-shop .feat-media.has-thumb { min-height: 0; padding: 22px 16px 30px; }
  .lf-shop .thumb-lap { width: 92%; }
  .lf-shop .thumb-paper { width: 34%; right: -6px; }
}
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 19px; font-weight: 700; }
.card-body p { font-size: 14px; line-height: 1.5; color: var(--text); }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 6px; flex-wrap: wrap; }
.price { font-size: 28px; font-weight: 700; }
.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ticks li { display: flex; gap: 9px; align-items: baseline; }

.notify { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.notify input {
  flex: 1 1 160px;
  min-width: 0;
  min-height: 44px;
  border: 1.5px solid #D6CFC4;
  border-radius: 8px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
}
.notify-msg { font-size: 13px; color: var(--teal-ink); font-weight: 700; }

.faq-h { font-size: 26px; font-weight: 700; }

/* App card artwork. The card's width depends on the grid (one column next to
   two other cards on desktop, full width on tablets), so the layout follows
   the card's own width with a container query, not the screen width. */
.lf-shop .folder[data-cats="app"] { container-type: inline-size; }
.lf-shop .app-body { padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; }
.lf-shop .app-copy { display: flex; flex-direction: column; gap: 12px; height: 100%; min-width: 0; }
.lf-shop .app-list { list-style: none; margin: 2px 0 6px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.45; color: #D9D4CC; }
.lf-shop .app-list li { display: flex; gap: 10px; align-items: center; margin: 0; padding: 0; }
.lf-shop .app-list li::before, .lf-shop .app-list li::marker { content: none; }
/* Narrow card: shapes small in the top-right corner, then the text */
.lf-shop .app-art { display: block; width: 100%; max-width: 140px; height: auto; border: 0; box-shadow: none; background: none; order: -1; justify-self: end; margin: -6px -4px -8px 0; }
/* Medium card (tablets): shapes on the right, smaller */
@container (min-width: 520px) {
  .lf-shop .app-body { grid-template-columns: minmax(0, 1fr) 150px; gap: 18px; align-items: start; }
  .lf-shop .app-art { order: 0; max-width: 150px; margin: 0; }
}
/* Wide card (if it ever spans two columns): shapes on the right, full size */
@container (min-width: 800px) {
  .lf-shop .app-body { grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: 24px; align-items: center; }
  .lf-shop .app-art { max-width: 260px; align-self: center; }
}

/* ── Product page ── */
.two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }

/* Product image gallery: one large square image, six thumbnails underneath */
.lf-shop .gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lf-shop .g-main { position: relative; }
.lf-shop .g-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream);
  cursor: zoom-in;
  touch-action: pan-y;
}
.lf-shop .g-slide { display: none; width: 100%; height: 100%; object-fit: cover; }
.lf-shop .g-slide.is-active { display: block; }
.lf-shop .g-arrow {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(26, 26, 24, .5);
}
.lf-shop .g-arrow:hover { background: var(--ink); color: #fff; }
.lf-shop .g-prev { left: 12px; }
.lf-shop .g-next { right: 12px; }
.lf-shop .g-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(26, 26, 24, .78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.lf-shop .g-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.lf-shop .g-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 9px;
  overflow: hidden;
  background: var(--cream);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  min-height: 44px;
  opacity: .72;
  transition: opacity .15s ease, border-color .15s ease;
}
.lf-shop .g-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.lf-shop .g-thumb:hover { opacity: 1; }
.lf-shop .g-thumb[aria-pressed="true"] { border-color: var(--coral-ink); opacity: 1; }
.lf-shop .g-arrow:focus-visible,
.lf-shop .g-thumb:focus-visible,
.lf-shop .g-stage:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (max-width: 480px) {
  .lf-shop .g-thumbs { gap: 6px; }
  .lf-shop .g-arrow { width: 40px; height: 40px; margin-top: -20px; }
}

.buy { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.buy h1 { font-size: clamp(32px, 4vw, 42px); line-height: 1.06; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.buy .desc { font-size: 17px; line-height: 1.6; color: var(--text); }
.small { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Checkout: instant-access tick box, messages and the buy button */
.lf-shop .buy-action { display: flex; flex-direction: column; gap: 12px; }
.lf-shop .consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
  padding: 12px 14px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 8px;
}
.lf-shop .consent input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--coral-ink);
  cursor: pointer;
}
.lf-shop .consent input:focus { outline: 3px solid var(--coral); outline-offset: 2px; }
.lf-shop .consent a { color: var(--coral-ink); font-weight: 700; }
.lf-shop .consent-msg,
.lf-shop .buy-error { font-size: 15px; line-height: 1.5; font-weight: 700; color: var(--coral-ink); }
.lf-shop .checkout-note {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
}
.lf-shop [hidden] { display: none !important; }
.lf-shop .sbtn:disabled { opacity: 0.75; cursor: progress; }

.lf-shop details { border-top: 1.5px solid var(--line); }
.lf-shop summary { cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: center; min-height: 52px; font-weight: 700; font-size: 16px; }
.lf-shop summary::-webkit-details-marker { display: none; }
.lf-shop summary::after { content: "+"; font-size: 22px; margin-left: auto; }
.lf-shop details[open] summary::after { content: "–"; }
.s-teal summary::after { color: var(--teal-ink); }
.s-blue summary::after { color: var(--blue-ink); }
.s-rose summary::after { color: var(--rose-ink); }

/* Planner FAQ */
.lf-shop .faq-block { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lf-shop .faq-block h2 { font-size: clamp(26px, 4vw, 32px); line-height: 1.15; font-weight: 700; text-align: center; }
.lf-shop .faq-list { width: 100%; max-width: 820px; border-bottom: 1.5px solid var(--line); }
.lf-shop .faq-list summary { font-size: 17px; padding: 6px 0; }
.lf-shop .faq-list .det-p { font-size: 15px; padding-left: 20px; max-width: 70ch; }
.s-coral summary::after { color: var(--coral-ink); }
.s-purple summary::after { color: var(--purple-ink); }
.s-amber summary::after { color: var(--amber-ink); }
.s-moss summary::after { color: var(--moss-ink); }
.s-gold summary::after { color: var(--gold-ink); }
.inside { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; font-size: 14px; color: var(--text); }
.inside li { display: flex; gap: 8px; align-items: center; }
.det-p { margin: 0 0 16px !important; font-size: 14px; line-height: 1.6; color: var(--text); }

/* Laptop carousel */
.peek { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.peek h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.1; font-weight: 700; }
.peek .lede { font-size: 17px; line-height: 1.55; color: var(--text); max-width: 560px; }
.peek-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 20px; align-items: center; width: 100%; max-width: 1020px; margin-top: 8px; }
/* Bigger heading with a green paper arrow pointing down at the laptop */
.lf-shop .peek { position: relative; }
.lf-shop .peek h2 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.01em; }
/* Desktop: arrow curves off the end of the heading and points down at the laptop */
.lf-shop .peek-arrow {
  position: absolute;
  left: calc(50% + 228px);
  top: 22px;
  width: 170px;
  height: auto;
  pointer-events: none;
}
/* Tablets and phones: arrow sits on its own, under the ribbon, pointing down at the laptop */
@media (max-width: 900px) {
  .lf-shop .peek-arrow {
    position: static;
    display: block;
    align-self: flex-end;
    width: 96px;
    margin: -6px 12px -18px auto;
  }
}
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.arrow:hover { background: var(--ink); color: #fff; }
.laptop-lid { background: var(--ink); border-radius: 20px 20px 0 0; padding: 14px 14px 20px; margin: 0 7%; position: relative; }
.laptop-lid::before { content: ""; position: absolute; top: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #3A3935; }
.laptop-screen { background: #fff; aspect-ratio: 1366 / 768; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; text-align: left; position: relative; touch-action: pan-y; }
.laptop-base { height: 18px; background: linear-gradient(#E2DED7, #B9B4AC); border-radius: 2px 2px 20px 20px; position: relative; box-shadow: 0 18px 30px -18px rgba(26,26,24,.55); }
.laptop-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 120px; margin-left: -60px; height: 7px; background: #ABA69E; border-radius: 0 0 9px 9px; }
.slide { position: absolute; inset: 0; display: none; }
.slide.is-active { display: block; }
.slide img { width: 100%; height: 100%; object-fit: contain; object-position: top left; display: block; }
.laptop-screen.is-zoomable { cursor: zoom-in; }
.picks { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pick { font-family: inherit; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; font-size: 14px; font-weight: 700; cursor: pointer; }

.app-band { background: var(--ink); color: var(--cream); border-radius: 14px; padding: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; align-items: center; }
.app-band h2 { font-size: 28px; line-height: 1.15; font-weight: 700; }
.app-band p { font-size: 16px; line-height: 1.6; color: #D9D4CC; }
.on-dark-amber { color: #F5C27A; }
.on-dark-teal { color: #9FD6BD; }
.on-dark-purple { color: #C3BEF2; font-weight: 700; }
.on-dark-coral { color: #F3B7A6; font-weight: 700; }

/* About this planner: left column under the gallery on desktop, after the buy box on phones */
.lf-shop .two > .buy { grid-column: 2; grid-row: 1 / span 2; }
.lf-shop .two > :first-child { grid-column: 1; grid-row: 1; }
.lf-shop .about-planner { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; gap: 14px; padding-top: 8px; border-top: 1.5px solid var(--line); min-width: 0; }
.lf-shop .about-planner h2 { font-size: 24px; line-height: 1.2; font-weight: 700; margin-top: 12px; }
.lf-shop .about-planner p { font-size: 16px; line-height: 1.65; color: var(--text); max-width: 62ch; margin: 0; }
.lf-shop .good-for { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.lf-shop .gf-label { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.lf-shop .about-links a { color: var(--coral-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ── Thank-you page ── */
.ty-main { max-width: 760px; margin: 0 auto; padding: 56px max(24px, env(safe-area-inset-left, 0px)) 80px; display: flex; flex-direction: column; gap: 32px; }
.ty-state { display: flex; flex-direction: column; gap: 32px; }
#ty-checking, #ty-missing { gap: 14px; }
.ty-state > div:first-child { display: flex; flex-direction: column; gap: 12px; }
.step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.num { width: 36px; height: 36px; border-radius: 50%; color: var(--ink); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 16px; }

/* ── Phones and small tablets ── */
@media (max-width: 900px) {
  .grid3, .two, .feat { grid-template-columns: minmax(0, 1fr); }
  .span2 { grid-column: auto; }
  .buy { position: static; }
  .peek-row { grid-template-columns: minmax(0, 1fr); }
  .arrow { display: none; }
  .laptop-lid { margin: 0; padding: 10px 10px 14px; }
  .app-band { padding: 26px; }
  .lf-shop .two > .buy, .lf-shop .two > :first-child, .lf-shop .about-planner { grid-column: auto; grid-row: auto; }
}
@media (max-width: 480px) {
  .ftab { white-space: normal; }
  .inside { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .lf-shop * { scroll-behavior: auto !important; transition: none !important; }
  .lf-shop .feat-media.has-thumb:hover .thumb-paper,
  .lf-shop .feat-media.has-thumb:focus-visible .thumb-paper { transform: rotate(-4deg); }
}
