/* Mostly Asleep prototype: the Sleep Sounds page. The app's own colours and typeface
   (Figtree) inside the studio's frame. Flat grounds only; no Sloth, no script, no motion. */

@font-face { font-family: "Figtree"; src: url("../../_fonts/figtree.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

.tab { margin: 4px 16px 10px; color: var(--muted); font-size: 11px; letter-spacing: .02em; }
/* The planner's edge: dashed while the app is not out, solid once it is. */
.edge { border-top: 4px dashed var(--edge); }
.live .edge { border-top: 4px solid var(--text); }

.app {
  --indigo: #141233; --black: #05050D; --cream: #F2ECE1; --amber: #F2B366;
  color: var(--cream);
  font: 400 17px/27px "Figtree", "Sans fallback", Arial, sans-serif;
  font-variation-settings: normal;
}
.app :focus-visible { outline-color: var(--cream); }
.panel { padding: 28px 16px; background: var(--indigo); }
.panel.next { padding-top: 12px; }
.panel.black { padding: 24px 16px; background: var(--black); }
.in { max-width: 640px; margin: 0 auto; }
.icon { display: block; border-radius: 14px; }
.app h1 { margin: 18px 0 0; font-weight: 700; font-size: 32px; line-height: 36px; letter-spacing: -.01em; }
.app h2 { margin: 0; padding-top: 16px; border-top: 1px solid #3B3960; color: var(--amber); font-weight: 700; font-size: 22px; line-height: 28px; }
.app p { margin: 12px 0 0; }
.app a { color: var(--amber); }
.what { font-weight: 600; font-size: 18px; line-height: 26px; }
.app .panel.black p:first-child { margin: 0; }
.say-soon { font-weight: 600; }
.follow { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 600; }

/* Store badges, live state: placeholders at the official proportions, never animated. */
.badges { display: flex; flex-wrap: wrap; gap: 22px 24px; }
.badge-ph { display: inline-flex; align-items: center; justify-content: center; height: 44px; border: 1px solid var(--cream); border-radius: 6px; font-weight: 500; font-size: 12px; line-height: 16px; }
.ph-app { width: 132px; }
.ph-play { width: 149px; }

.shots { display: flex; gap: 12px; margin: 16px -16px 0; padding: 0 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px; }
.shot { flex: none; width: 216px; height: 347px; margin: 0; overflow: hidden; border-radius: 12px; outline: 1px solid #3B3960; outline-offset: -1px; scroll-snap-align: start; }
.shot img { display: block; width: 216px; height: 347px; }

.does { margin: 12px 0 0; padding-left: 20px; }
.does li { margin-top: 6px; padding-left: 2px; }
.samples { margin: 14px 0 0; padding: 0; list-style: none; }
.samples li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; padding: 8px 0; border-top: 1px solid #3B3960; }
.play { position: relative; grid-row: span 2; width: 44px; height: 44px; padding: 0; border: 1.5px dashed var(--amber); border-radius: 50%; background: none; }
.play::before { content: ""; position: absolute; top: 14px; left: 17px; border-left: 12px solid var(--amber); border-block: 7px solid transparent; }
.s-name { align-self: end; font-weight: 600; line-height: 22px; }
.s-note { align-self: start; font-size: 14px; line-height: 20px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 18px 0 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }
.links a { display: inline-block; margin-right: 22px; padding: 10px 0; font-weight: 600; }
.app .small { font-size: 14px; line-height: 20px; }

@media (min-width: 1024px) {
  .tab { max-width: var(--wrap); margin: 0 auto 12px; padding: 0 32px; box-sizing: content-box; }
  .panel { padding: 40px 32px; }
  .panel.next { padding-top: 8px; }
  .panel.black { padding: 32px; }
}
