/* 2026-11-06: the simple shop. Roomy shelves, one price path, a page for each board. */
:root { --panel: linear-gradient(165deg, #24423f 0%, #1b2527 62%, #171b1b 100%); }

/* Launch ribbon */
.launch-ribbon { margin: 0; padding: 8px var(--gutter); text-align: center; background: var(--dawn); color: var(--ink); font-size: .86rem; font-weight: 650; }


.rib-short { display: none; }
@media (max-width: 560px) { .rib-long { display: none; } .rib-short { display: inline; } }
/* The promise under the hero price */
.hero-promise { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }

/* Hero: words on the left, the three devices on the right */
.hero-devices { width: 100%; max-width: 820px; height: auto; position: relative; }
.hero-copy .hero-price { color: var(--text); }
@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); justify-items: stretch; align-items: center; gap: 48px; }
  .hero-copy { text-align: left; max-width: 520px; justify-self: end; }
  .hero h1 { font-size: clamp(2.9rem, 4.5vw, 4.3rem); }
  .hero-copy .cta-row { justify-content: flex-start; }
  .hero-copy .music-btn { margin-left: 0; }
}

/* Three plain truths: no boxes, no icons */
.truths { max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter) 16px; display: grid; gap: 36px; }
.truth h2 { font: 650 1.15rem/1.3 var(--sans); margin: 0 0 8px; color: var(--text); }
.truth p { margin: 0; color: var(--muted); line-height: 1.6; }
.truth .link { margin-top: 8px; padding-left: 0; }
@media (min-width: 800px) {
  .truths { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 48px 56px; }
  .truth { grid-column: span 2; }
  .truth:nth-child(n+4) { grid-column: span 3; }
}

/* The shelf: small cards with a lot of air between them */
.boards, .bundles-shelf { max-width: none; }
.shelf { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 18px; }
@media (min-width: 700px) { .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 32px; } }
@media (min-width: 1000px) { .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 72px 40px; } }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-pic { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: var(--r); background: var(--panel); overflow: hidden; }
.card-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5%; transition: transform .35s ease; }
.card-pic:hover img { transform: scale(1.04); }
.tag { position: absolute; z-index: 1; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px; background: var(--dawn); color: var(--ink); font-size: .72rem; font-weight: 700; }
.card h3 { margin: 14px 0 2px; font: 650 1.05rem/1.25 var(--sans); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--dawn); }
.card-what { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.35; }
.card-price { margin: 8px 0 12px; font-size: 1.02rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.card-price s { margin-left: 6px; font-size: .82em; font-weight: 400; color: var(--muted); }
.card-btn { margin-top: auto; width: 100%; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 650 .92rem var(--sans); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.card-btn:hover { border-color: var(--dawn); color: var(--dawn); }
.card-btn[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.card-btn:active { transform: scale(.97); }
.shelf-note { max-width: var(--max); margin: 56px auto 0; text-align: center; color: var(--muted); }
.bundles-shelf { padding-top: 24px; }
.bundles-shelf .section-head, .boards .section-head { text-align: center; }
.boards .sub { margin-left: auto; margin-right: auto; }

/* Quieter, shorter sections further down */
.try .section-head { text-align: center; }
.try .sub { margin-left: auto; margin-right: auto; }
.try-frame { max-width: 860px; margin-left: auto; margin-right: auto; }
.faq-list details:first-child { border-top: 1px solid var(--line); }

/* Cart bar: every width, only once something is in the cart */
.cartbar { position: fixed; z-index: 40; left: 50%; bottom: 14px; translate: -50% 0; width: min(760px, calc(100vw - 24px)); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 8px 8px 20px; border: 1px solid var(--line); border-radius: 999px; background: rgba(23,27,27,.96); box-shadow: 0 14px 40px -12px #000; }
.cartbar[hidden] { display: none; }
.cartbar p { margin: 0; min-width: 0; font-size: .95rem; line-height: 1.3; }
.cartbar b { font-weight: 600; color: var(--muted); margin-right: 4px; }
.cartbar strong { font-variant-numeric: tabular-nums; }
.cartbar s { margin-left: 4px; color: var(--muted); font-size: .85em; }
.cartbar span { margin-left: 10px; color: var(--mist); font-size: .86rem; }
.cartbar .btn { flex: none; }
body.has-cart { padding-bottom: 76px; }
@media (max-width: 699px) {
  .cartbar { border-radius: var(--r); padding: 8px 8px 8px 14px; }
  .cartbar span { display: block; margin: 2px 0 0; font-size: .8rem; }
}

/* Order review */
.order-preview h2 { font-size: 32px; margin: 8px 0 4px; }
.order-preview li { display: inline-flex; align-items: center; gap: 4px; }
.order-preview li button { width: 24px; height: 24px; margin-right: -6px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.05rem; line-height: 1; cursor: pointer; }
.order-preview li button:hover { color: var(--text); background: var(--surface-2); }
.order-sum { white-space: nowrap; }
.order-preview .order-sum s { color: var(--muted); margin-right: 6px; font-size: 1.05rem; font-weight: 400; }
#order-error { margin: 8px 0; color: var(--dawn); }
#order-error:empty { display: none; }

/* Board page */
.bp { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 72px; }
.bp-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .92rem; text-decoration: none; }
.bp-back:hover { color: var(--text); }
.bp-top { display: grid; gap: 36px; margin-top: 12px; }
@media (min-width: 1000px) { .bp-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; } .bp-buy { position: sticky; top: 88px; } }
.gal-main { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r); background: var(--panel); overflow: hidden; }
.gal-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 3%; }
.gal-main img.is-screen { padding: 3%; -webkit-mask-image: linear-gradient(transparent 3%, #000 9%, #000 91%, transparent 97%); mask-image: linear-gradient(transparent 3%, #000 9%, #000 91%, transparent 97%); }
.gal-row { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; margin: 10px 0 12px; }
.gal-arrow { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.gal-arrow:hover { border-color: var(--dawn); color: var(--dawn); }
.gal-cap { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.35; text-align: center; }
.gal-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.gal-thumb { padding: 0; aspect-ratio: 3 / 2; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; cursor: pointer; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.gal-thumb:first-child img { object-fit: contain; }
.gal-thumb[aria-current="true"] { border-color: var(--dawn); box-shadow: 0 0 0 1px var(--dawn); }
.bp-buy h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 0 0 8px; }
.bp-hook { margin: 0 0 18px; color: var(--muted); font-size: 1.08rem; line-height: 1.45; }
.bp-tag { display: inline-block; margin-bottom: 12px; padding: 3px 11px; border-radius: 999px; background: var(--dawn); color: var(--ink); font-size: .74rem; font-weight: 700; }
.bp-price { margin: 0 0 18px; font-size: 1.9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.bp-price s { margin-left: 8px; font-size: .58em; font-weight: 400; color: var(--muted); }
.bp-facts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 6px; color: var(--muted); font-size: .95rem; }
.bp-facts li { padding-left: 18px; position: relative; }
.bp-facts li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--mist); }
.pick { margin: 0 0 18px; padding: 0; border: 0; display: grid; gap: 8px; }
.pick legend { padding: 0; margin-bottom: 8px; font-weight: 650; }
.pick label { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.pick label:has(input:checked) { border-color: var(--dawn); background: rgba(247,202,120,.07); }
.pick input { width: 18px; height: 18px; margin: 0; }
.pick small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.3; }
.pick b { font-variant-numeric: tabular-nums; }
.bp-acts { display: grid; gap: 8px; }
.bp-acts .btn { width: 100%; justify-content: center; }
.bp-acts [hidden] { display: none; }
.bp-section { margin-top: 88px; }
.bp-section h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 22px; }
.bp-free { margin-top: 28px; color: var(--muted); }
.bp-film { display: grid; gap: 16px; }
.bp-film video { width: 100%; max-width: 900px; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r); background: #0b0d0e; }
.bp-film .btn { justify-self: start; }
@media (max-width: 699px) { .gal-thumbs { gap: 6px; } .bp-section { margin-top: 64px; } }

/* Feature lists: one-line descriptions sit at the top like their neighbors */
.feat li { align-content: start; align-items: start; }
.feat li b, .feat li span { align-self: start; }

/* Four matching bundle cards: 4 across on a laptop, 2 across on a tablet, 1 on a phone. */
#bundles .shelf { grid-template-columns: minmax(0, 1fr); gap: 44px; }
@media (min-width: 700px) { #bundles .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px 32px; } }
@media (min-width: 1000px) { #bundles .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 699px) { #bundles .card-pic { aspect-ratio: 16 / 10; } }

/* All 16 stands out: a gold ring that hugs the whole card, without moving the other cards. */
#bundles .card { position: relative; transition: transform .22s ease; }
#bundles .card-best { z-index: 1; }
#bundles .card-best::before { content: ""; position: absolute; z-index: -1; inset: -12px; border: 2px solid var(--dawn); border-radius: calc(var(--r) + 10px); background: rgba(247,202,120,.07); box-shadow: 0 0 34px -8px rgba(247,202,120,.55); pointer-events: none; }
#bundles .card-best .card-btn:not([aria-pressed="true"]) { background: var(--dawn); border-color: var(--dawn); color: var(--ink); }
#bundles .card-best .card-btn:not([aria-pressed="true"]):hover { background: #fbdb9d; border-color: #fbdb9d; color: var(--ink); }
/* Pops to the front on a laptop, where the four cards sit side by side. */
@media (min-width: 1000px) { #bundles .card-best { transform: scale(1.05); } }

/* Whichever bundle the mouse is on lifts a little. Only on devices with a mouse. */
@media (hover: hover) {
  #bundles .card:hover { z-index: 2; transform: translateY(-8px); }
  #bundles .card:hover .card-pic { box-shadow: 0 18px 34px -14px #000; }
  #bundles .card-pic { transition: box-shadow .22s ease; }
}
@media (hover: hover) and (min-width: 1000px) { #bundles .card-best:hover { transform: translateY(-8px) scale(1.05); } }
@media (prefers-reduced-motion: reduce) {
  #bundles .card { transition: none; }
  #bundles .card:hover { transform: none; }
  #bundles .card-best:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 1000px) { #bundles .card-best, #bundles .card-best:hover { transform: scale(1.05); } }
