/* The Bird Box announcement. Block pastel: solid pastels, plum outline and lip,
   no gradients, dark mode on dusky periwinkle (never black). */
@font-face { font-family: "Fira Sans"; src: url("fonts/fira-sans-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/fira-sans-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/fira-sans-extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --lav: #ddccff; --mint: #a8efd0; --pink: #ffd0e4; --peach: #ffd3bf; --sky: #c7dff9; --butter: #f8f4c8; --white: #fff;
  --plum: #4b1d52; --ink: #2d1231; --muted: #5b4163;
  --ground: #fbf7ff; --on: #2d1231; --on-muted: #5b4163;
  --r: 18px;
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #3d497b; --on: #f6f8fe; --on-muted: #d6ddf6; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--on);
  font: 400 1.0625rem/1.55 "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5rem; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 .7rem; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
code { font: 600 .92em ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: var(--white); color: var(--ink);
       border: 2px solid var(--plum); border-radius: 8px; padding: .02em .35em; white-space: nowrap; }
.small { font-size: .92rem; }
.center { text-align: center; justify-content: center; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 9; background: var(--butter); color: var(--ink);
        border: 2.5px solid var(--plum); border-radius: 12px; padding: .5rem .9rem; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.band { margin: 3.2rem auto; }
.band > h2 { margin-bottom: 1.1rem; }
.muted { color: var(--muted); }
.band > .muted, .band > p.muted { color: var(--on-muted); }

/* blocks: one flat colour, plum outline, plum lip */
.block { background: var(--white); color: var(--ink); border: 2.5px solid var(--plum); border-radius: var(--r);
         box-shadow: 0 5px 0 var(--plum); padding: 1.15rem 1.15rem 1.25rem; }
.block .muted { color: var(--muted); }
.lav { background: var(--lav); } .mint { background: var(--mint); } .pink { background: var(--pink); }
.peach { background: var(--peach); } .sky { background: var(--sky); } .butter { background: var(--butter); }
.white { background: var(--white); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px;
       padding: .6rem 1.15rem; font-family: inherit; font-weight: 800; font-size: 1.05rem; line-height: 1.2; color: var(--ink); text-decoration: none;
       border: 2.5px solid var(--plum); border-radius: 14px; box-shadow: 0 4px 0 var(--plum); cursor: pointer;
       transition: transform .08s ease, box-shadow .08s ease; -webkit-tap-highlight-color: transparent; }
.btn:active, .btn.is-pressed { transform: translateY(3px); box-shadow: 0 1px 0 var(--plum); }
.btn.big { min-height: 60px; font-size: 1.2rem; padding: .55rem 1.3rem; flex-direction: column; gap: 0; }
.btn .cmd { font-size: 1.35rem; white-space: nowrap; flex: none; }
.btn .sub { font-weight: 400; font-size: .88rem; }
.cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.copied { min-height: 1.4em; margin-top: .5rem; font-weight: 700; }

/* hero */
.hero { position: relative; background: var(--sky); color: var(--ink); border-bottom: 2.5px solid var(--plum); overflow: hidden; }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr; gap: .5rem; padding-top: 2.2rem; padding-bottom: 2.4rem; }
.kicker { display: inline-block; color: var(--ink); background: var(--butter); border: 2.5px solid var(--plum); border-radius: 999px;
          padding: .15rem .8rem; font-weight: 800; font-size: .95rem; box-shadow: 0 3px 0 var(--plum); }
.hero h1 { font-size: clamp(3rem, 15vw, 5.6rem); margin: .9rem 0 .5rem; letter-spacing: -.03em; }
.lede { font-size: clamp(1.15rem, 4.6vw, 1.45rem); max-width: 32rem; }
.soon { font-weight: 700; }
.hero-bird { position: relative; width: min(230px, 62vw); margin: 0 auto -.4rem; order: -1; }
.hero .bird { display: block; width: 100%; height: auto; }
.note { position: absolute; width: 30px; height: 40px; color: var(--plum); opacity: 0; }
.n1 { left: 74%; top: 18%; } .n2 { left: 86%; top: 32%; } .n3 { left: 80%; top: 4%; }
.sprinkles { position: absolute; inset: 0; pointer-events: none; }
.sprinkles i { position: absolute; width: 16px; height: 6px; border-radius: 4px; border: 2px solid var(--plum); }
@media (min-width: 760px) {
  .hero-in { grid-template-columns: 1.25fr 1fr; align-items: center; padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .hero-bird { order: 0; width: 100%; max-width: 360px; }
}

/* the galah */
.g-body, .g-wing, .g-tail { fill: var(--lav); stroke: var(--plum); stroke-width: 4; stroke-linejoin: round; }
.g-chest, .g-head { fill: var(--pink); stroke: var(--plum); stroke-width: 4; }
.g-crest { fill: var(--white); stroke: var(--plum); stroke-width: 4; stroke-linejoin: round; }
.g-ring { fill: var(--white); stroke: var(--plum); stroke-width: 3; }
.g-eye { fill: var(--plum); } .g-glint { fill: var(--white); }
.g-beak-top, .g-beak-low { fill: var(--butter); stroke: var(--plum); stroke-width: 3.5; stroke-linejoin: round; }
.g-line, .g-cheek { fill: none; stroke: var(--plum); stroke-width: 3; stroke-linecap: round; }
.g-foot { fill: var(--peach); stroke: var(--plum); stroke-width: 3; }
.g-beak-low { transform-box: fill-box; transform-origin: 0% 0%; }
.bird { transform-origin: 50% 90%; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: .4rem .9rem; align-items: start; }
.step > .phone, .step > .stage { grid-column: 1 / -1; }
.num { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--plum);
       color: var(--white); font-weight: 800; font-size: 1.3rem; }
@media (min-width: 760px) {
  .steps { grid-template-columns: 1fr 1fr 1fr; align-items: start; }
  .steps .step:last-child { grid-column: 1 / -1; }
  .step { grid-template-columns: 1fr; }
}

/* screenshots */
.phone { margin: .9rem auto 0; width: min(270px, 100%); }
.phone picture, .phone img { display: block; width: 100%; height: auto; }
.phone .frame { border: 3px solid var(--plum); border-radius: 26px; overflow: hidden; background: var(--white);
                box-shadow: 0 6px 0 var(--plum); padding: 0; }
.phone figcaption, .stage figcaption { font-size: .9rem; color: var(--muted); text-align: center; margin-top: .7rem; }
.stage { margin: .9rem 0 0; }
.stage img { display: block; width: 100%; height: auto; border: 2.5px solid var(--plum); border-radius: 14px; box-shadow: 0 4px 0 var(--plum); background: #1c0f21; }
.shots-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.2rem; }
.shots-row .phone { margin: 0; flex: 1 1 220px; max-width: 270px; }
.pay-shot { margin-top: 1.4rem; }
.pay-shot .phone { margin-top: 0; }
@media (min-width: 760px) { .pay-row { display: grid; grid-template-columns: 1fr 310px; gap: 1.6rem; align-items: start; } }

/* the toy */
.toy { position: relative; overflow: hidden; }
.reels { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1rem 0; }
.reel { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; min-height: 86px; text-align: left;
        background: var(--white); color: var(--ink); font-family: inherit; border: 2.5px solid var(--plum); border-radius: 14px;
        box-shadow: 0 4px 0 var(--plum); padding: .55rem .75rem; cursor: pointer; overflow: hidden;
        transition: transform .08s ease, box-shadow .08s ease; -webkit-tap-highlight-color: transparent; }
.reel:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--plum); }
.reel[data-reel="about"] { grid-column: 1 / -1; }
.rl { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.rv { font-size: 1.12rem; font-weight: 800; line-height: 1.2; }
.reel.spinning .rv { animation: flick .09s steps(2) infinite; }
@keyframes flick { 50% { transform: translateY(-3px); } }
.toy-go { display: flex; justify-content: center; }
.recipe { background: var(--white); border: 2.5px solid var(--plum); border-radius: 14px; padding: .9rem 1rem; margin: 1.1rem 0 .9rem; }
.r-line { font-weight: 700; font-size: 1.1rem; }
.r-price { color: var(--muted); font-weight: 700; }
.burst { position: absolute; inset: 0; pointer-events: none; }
.burst i { position: absolute; width: 14px; height: 6px; border-radius: 4px; border: 2px solid var(--plum); }
@media (min-width: 760px) {
  .reels { grid-template-columns: repeat(4, 1fr); }
}

/* two modes */
.two { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .two { grid-template-columns: 1fr 1fr; align-items: start; } }

/* exact notes */
.tag { display: inline-block; background: var(--white); border: 2.5px solid var(--plum); border-radius: 999px; padding: .05rem .7rem;
       font-weight: 800; font-size: .85rem; margin-bottom: .6rem; }
.big-p { font-size: 1.2rem; font-weight: 700; }
.ticks { margin: .3rem 0 1rem; padding-left: 1.2rem; }
.ticks li { margin: .3rem 0; }
.listen { margin-top: 1.2rem; }
.clips { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .8rem; }
@media (min-width: 760px) { .clips { grid-template-columns: 1fr 1fr; } }
.clip { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; align-items: center; background: var(--white);
        border: 2.5px solid var(--plum); border-radius: 14px; box-shadow: 0 4px 0 var(--plum); padding: .7rem .8rem; }
.play { width: 56px; height: 56px; border-radius: 50%; border: 2.5px solid var(--plum); background: var(--butter);
        box-shadow: 0 4px 0 var(--plum); cursor: pointer; display: grid; place-items: center; padding: 0;
        transition: transform .08s ease, box-shadow .08s ease; }
.play:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--plum); }
.play svg { width: 22px; height: 22px; fill: var(--plum); }
.play .i-pause { display: none; }
.clip.on .play { background: var(--mint); }
.clip.on .i-play { display: none; } .clip.on .i-pause { display: block; }
.c-title { font-weight: 800; line-height: 1.2; }
.c-what { font-size: .88rem; color: var(--muted); }
.c-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: .6rem; margin-top: .35rem; }
.track { flex: 1; min-height: 44px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.rail { position: relative; width: 100%; height: 14px; border: 2px solid var(--plum); border-radius: 999px; background: var(--lav); overflow: hidden; }
.fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--plum); }
.time { font: 600 .85rem ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--muted); min-width: 4.6em; text-align: right; }
.eq { display: none; gap: 3px; align-items: flex-end; height: 16px; }
.eq i { width: 4px; background: var(--plum); border-radius: 2px; height: 30%; }
.clip.on .eq { display: inline-flex; }

/* paying */
.pay-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .pay-grid { grid-template-columns: repeat(3, 1fr); } }
.prices { margin-top: 1.4rem; padding: .6rem .6rem 1rem; }
table { width: 100%; border-collapse: collapse; }
caption { text-align: left; font-weight: 800; font-size: 1.25rem; padding: .5rem .6rem .7rem; }
th, td { text-align: left; padding: .55rem .6rem; border-top: 2px solid var(--lav); vertical-align: top; }
thead th { border-top: 0; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
td b { font-size: 1.05rem; }
td span { display: block; font-size: .85rem; color: var(--muted); }
.prices .small { padding: 0 .6rem; margin-top: .6rem; }

/* getting sprinkles, promises */
.get, .fair { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .get { grid-template-columns: repeat(2, 1fr); } .get li:last-child { grid-column: 1 / -1; } .fair { grid-template-columns: 1fr 1fr; } }
.amt { display: inline-block; background: var(--white); border: 2.5px solid var(--plum); border-radius: 12px; padding: .1rem .6rem;
       font-weight: 800; font-size: 1.3rem; margin-bottom: .6rem; }
.band > p.center { margin-top: 1.2rem; }
.fair .phone { width: min(240px, 100%); }
@media (min-width: 760px) { .fair { align-items: start; } .fair .keep { grid-column: 2; grid-row: 1 / span 3; } }

/* the end */
.final { text-align: center; padding: 1.6rem 1.2rem 1.8rem; }
.small-bird { width: 140px; height: auto; display: block; margin: 0 auto .4rem; }
.end { margin-bottom: 3.5rem; }

/* motion: only when the viewer is fine with it, and only after the script runs */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero .bird { animation: bob 1.7s ease-in-out infinite alternate; }
  .hero .g-crest { transform-box: fill-box; transform-origin: 30% 100%; animation: crest 3.4s ease-in-out infinite; }
  .hero .note { animation: float 3.6s ease-in infinite; }
  .hero .n2 { animation-delay: 1.2s; } .hero .n3 { animation-delay: 2.4s; }
  .singing .g-beak-low { animation: sing .32s ease-in-out infinite alternate; }
  .singing .note { animation-duration: 1.8s; }
  .small-bird { animation: bob 1.7s ease-in-out infinite alternate; }
  .clip.on .eq i { animation: eq .5s ease-in-out infinite alternate; }
  .clip.on .eq i:nth-child(2) { animation-delay: .15s; } .clip.on .eq i:nth-child(3) { animation-delay: .3s; } .clip.on .eq i:nth-child(4) { animation-delay: .07s; }
  .sprinkles i { animation: drift 7s ease-in-out infinite alternate; }
  .sprinkles i:nth-child(3n) { animation-duration: 9s; } .sprinkles i:nth-child(4n) { animation-delay: -3s; }
}
@keyframes bob { from { transform: translateY(0) rotate(-1.5deg); } to { transform: translateY(-8px) rotate(1.5deg); } }
@keyframes crest { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-9deg); } 86% { transform: rotate(5deg); } }
@keyframes float { 0% { opacity: 0; transform: translate(0, 10px) rotate(-10deg); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(26px, -70px) rotate(14deg); } }
@keyframes sing { from { transform: rotate(0); } to { transform: rotate(22deg); } }
@keyframes eq { from { height: 20%; } to { height: 100%; } }
@keyframes drift { from { transform: translateY(0) rotate(var(--r0, 20deg)); } to { transform: translateY(-14px) rotate(calc(var(--r0, 20deg) + 40deg)); } }
@keyframes pop { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); } }
.defs { position: absolute; }
.stage img { max-width: 720px; margin: 0 auto; }
.stage figcaption { max-width: 720px; margin-left: auto; margin-right: auto; }

/* the review's fixes (28 Oct 2026) */
.get li { display: flex; flex-direction: column; align-items: flex-start; }
.get li .amt { order: -1; }
.get li > p:not(.amt) { align-self: stretch; }
h2 .tag { display: table; margin-bottom: .5rem; font-size: .85rem; }
.btn .sub { white-space: normal; }
@media (max-width: 759px) { .sprinkles i.mid { display: none; } }
@media (prefers-color-scheme: dark) {
  .hero { background: var(--ground); color: var(--on); }
  .hero .lede, .hero .soon, .hero .copied { color: var(--on); }
}
