/* THE STUDIO HOME'S LOOK (sites/home.html; the approved d11 mockup, ported
   2026-10-07). Only the home page loads it — the other studio pages keep
   site.css. Strict CSP: every rule lives here, nothing inline; the three
   OFL families are self-hosted under /fonts/ (licences beside them). One
   palette, light only, as approved. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/bricolage-grotesque-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/figtree-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-latin-regular.woff2') format('woff2');
}

:root {
  --bg: #e4e2ec;
  --paper: #f5f4f8;
  --ink: #2b2140;
  --deep: #1e1630;
  --soft: #574f6c;
  --line: #c9c5d6;
  --yolk: #f4b63f;
  --yolk2: #f8cd70;
  --cream: #fff4da;
  --red: #e2564b;
  --teal: #3e8c86;
  --display: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ed: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --spring: cubic-bezier(0.3, 1.35, 0.45, 1);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  color-scheme: light;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 20;
  font: 600 15px/1.2 var(--body);
  color: var(--ink);
}
.skip:focus {
  left: 16px;
  top: 8px;
  background: var(--paper);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
}
.defs {
  position: absolute;
}
.dc {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
  overflow-x: clip;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
.dc * {
  box-sizing: border-box;
}
.dc a {
  color: inherit;
}
.dc a:focus-visible,
.dc button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 8px;
}
.dc .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
.dc .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0 22px;
}
.dc .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.dc .brand svg {
  width: 38px;
  height: 38px;
}
.dc .nav {
  display: flex;
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
}
.dc .nav a {
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
}
.dc .nav a:hover {
  border-color: var(--ink);
}
/* hero */
.dc .hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 20px 0 24px;
}
.dc .cloud {
  margin-top: 80px;
}
.dc .cl {
  position: relative;
}
.dc .puff {
  position: absolute;
  border-radius: 50%;
  background: var(--paper);
  animation: k-puff 8s ease-in-out infinite;
}
.dc .cloud .puff:nth-child(1) {
  width: 150px;
  height: 150px;
  left: 3%;
  top: -54px;
}
.dc .cloud .puff:nth-child(2) {
  width: 200px;
  height: 200px;
  left: 27%;
  top: -82px;
  animation-delay: -2s;
}
.dc .cloud .puff:nth-child(3) {
  width: 150px;
  height: 150px;
  left: 60%;
  top: -50px;
  animation-delay: -4s;
}
.dc .cloud .puff:nth-child(4) {
  width: 130px;
  height: 130px;
  left: -4%;
  bottom: -40px;
  animation-delay: -3s;
}
.dc .cloud .puff:nth-child(5) {
  width: 160px;
  height: 160px;
  right: 10%;
  bottom: -52px;
  animation-delay: -5s;
}
.dc .cloud-in {
  position: relative;
  background: var(--paper);
  border-radius: 64px;
  padding: 30px 36px 40px;
}
.dc .trail {
  position: absolute;
  right: -56px;
  top: -136px;
  width: 110px;
  height: 120px;
  pointer-events: none;
}
.dc .trail i {
  position: absolute;
  border-radius: 50%;
  background: var(--paper);
  animation: k-think 3.6s ease-in-out infinite;
}
.dc .trail i:nth-child(1) {
  width: 34px;
  height: 34px;
  left: 0;
  bottom: 0;
}
.dc .trail i:nth-child(2) {
  width: 22px;
  height: 22px;
  left: 44px;
  bottom: 44px;
  animation-delay: 0.3s;
}
.dc .trail i:nth-child(3) {
  width: 13px;
  height: 13px;
  left: 76px;
  bottom: 80px;
  animation-delay: 0.6s;
}
.dc .dreamt {
  font-family: var(--ed);
  font-style: italic;
  font-size: 21px;
  color: var(--soft);
  margin: 0 0 22px;
  width: fit-content;
}
.dc h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(42px, 5.4vw, 70px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
}
.dc h1 em {
  font-family: var(--ed);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}
.dc .hook {
  font-family: var(--ed);
  font-style: italic;
  font-size: 25px;
  line-height: 1.2;
  margin: 16px 0 0;
}
.dc .lede {
  font-size: 18px;
  max-width: 30em;
  color: var(--soft);
  margin: 12px 0 44px;
}
.dc .lede b {
  color: var(--ink);
  font-weight: 600;
}
.dc .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.dc .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: 600 16px/1.15 var(--body);
  padding: 15px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s var(--spring);
  text-align: center;
}
.dc .btn.play {
  background: var(--ink);
  color: var(--paper);
}
.dc .btn.play:hover {
  transform: translateY(-2px);
}
.dc .btn.play:active {
  transform: translateY(1px) scale(0.97);
}
.dc .btn.store {
  border: 1.5px dashed var(--soft);
  color: var(--soft);
  cursor: not-allowed;
  font-weight: 500;
}
.dc .btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.dc .hint {
  font-family: var(--ed);
  font-style: italic;
  font-size: 18px;
  color: #2a2140;
  margin: 16px 0 0;
}
.dc .alsos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 56px 0 0 20px;
}
.dc .alsos > span {
  font-family: var(--ed);
  font-style: italic;
  font-size: 19px;
  color: var(--soft);
}
.dc .mb {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  text-decoration: none;
  background: radial-gradient(circle at 30% 18%, #fff 0, #f7f5fb 30%, #eae6f3 100%);
  box-shadow:
    inset 0 0 0 1.5px var(--line),
    0 16px 30px -22px rgba(43, 33, 64, 0.55);
  animation: k-drift 7s ease-in-out infinite;
}
.dc .mb + .mb {
  animation-duration: 8.4s;
  animation-delay: -3s;
}
.dc .mb svg {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex: none;
}
.dc .mb b {
  display: block;
  font: 700 16px/1.1 var(--display);
  letter-spacing: -0.01em;
}
.dc .mb small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soft);
}
/* stage */
.dc .stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 110px;
}
.dc .moon {
  position: absolute;
  width: min(610px, 118%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, var(--yolk2), var(--yolk) 62%);
  top: calc(50% + 40px);
  left: 50%;
  transform: translate(-50%, -62%);
}
.dc .moon::before {
  content: '';
  position: absolute;
  inset: -7%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 205, 112, 0.45) 55%, rgba(248, 205, 112, 0) 71%);
  animation: k-glow 7s ease-in-out infinite;
  z-index: -1;
}
.dc .moon .hen {
  position: absolute;
  width: 26%;
  left: 55%;
  bottom: 95.5%;
  transform: rotate(11deg);
  transform-origin: 50% 100%;
  overflow: visible;
}
.dc .zz {
  position: absolute;
  left: 80%;
  bottom: 104%;
  width: 1px;
  height: 1px;
}
.dc .zz span {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--ed);
  font-style: italic;
  color: var(--deep);
  line-height: 1;
  /* the band chicken's stream, bigger: every z is born at the SAME spot and
     drifts up and to the right (k-zh), three of them 1.2 s apart */
  animation: k-zh 3.6s ease-in infinite;
}
.dc .zz span:nth-child(1) {
  font-size: 34px;
}
.dc .zz span:nth-child(2) {
  font-size: 28px;
  animation-delay: -1.2s;
}
.dc .zz span:nth-child(3) {
  font-size: 22px;
  animation-delay: -2.4s;
}
.dc .sky {
  position: absolute;
  inset: 0 -6%;
  pointer-events: none;
}
.dc .st {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--yolk);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: k-tw 3.6s ease-in-out infinite;
}
.dc .st.s {
  width: 8px;
  height: 8px;
  background: var(--ink);
  opacity: 0.5;
}
.dc .shoot {
  position: absolute;
  top: 6%;
  left: 0;
  width: 90px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(43, 33, 64, 0), var(--ink));
  opacity: 0;
  animation: k-shoot 11s ease-in infinite 2s;
}
.dc .stack {
  position: relative;
  width: min(262px, 58vw);
  animation: k-bob 7s ease-in-out infinite;
  touch-action: pan-y;
}
/* a gallery card: the App Store image itself (it carries its own drawn
   phone and headline), so no bezel around it, a thin ink line and a shadow */
.dc .phone {
  background: var(--paper);
  border-radius: 28px;
  box-shadow:
    0 0 0 2px var(--ink),
    0 30px 60px -24px rgba(43, 33, 64, 0.55);
  transition: transform 0.7s var(--spring);
  cursor: pointer;
}
.dc .phone img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 780/1695;
  border-radius: 28px;
  object-fit: cover;
  background: var(--paper);
  pointer-events: none;
}
.dc .phone[data-pos='0'] {
  position: relative;
  z-index: 3;
  cursor: default;
}
.dc .phone[data-pos='1'],
.dc .phone[data-pos='2'] {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  z-index: 1;
}
.dc .phone[data-pos='1'] {
  transform: translateX(30%) rotate(7deg) scale(0.88);
}
.dc .phone[data-pos='2'] {
  transform: translateX(-30%) rotate(-7deg) scale(0.88);
}
.dc .phone[data-pos='1']:hover {
  transform: translateX(38%) rotate(10deg) scale(0.9);
}
.dc .phone[data-pos='2']:hover {
  transform: translateX(-38%) rotate(-10deg) scale(0.9);
}
.dc .switch {
  position: relative;
  z-index: 4;
  display: flex;
  gap: 4px;
  margin-top: 44px;
  background: var(--paper);
  padding: 4px;
  border-radius: 999px;
  box-shadow: 0 1px 0 var(--line);
}
.dc .pill {
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 60px;
  border-radius: 999px;
  background: var(--ink);
  transition:
    transform 0.5s var(--spring),
    width 0.5s var(--spring);
}
.dc .switch button {
  position: relative;
  font: 600 13px/1 var(--body);
  color: var(--soft);
  background: none;
  border: 0;
  padding: 10px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s;
}
.dc .switch button[aria-pressed='true'] {
  color: var(--paper);
}
.dc .switch:not(.js) button[aria-pressed='true'] {
  background: var(--ink);
}
.dc .breath {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: k-breath 4.2s ease-in-out infinite;
}
/* divider band */
.dc .band {
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
  padding: 72px 16px 40px;
  text-align: center;
}
.dc .edge {
  position: absolute;
  bottom: 22px;
  width: 300px;
  height: 200px;
  pointer-events: none;
}
.dc .edge.l {
  left: -70px;
}
.dc .edge.r {
  right: -70px;
}
.dc .edge .puff:nth-child(1) {
  width: 170px;
  height: 170px;
  left: 0;
  bottom: 0;
}
.dc .edge .puff:nth-child(2) {
  width: 120px;
  height: 120px;
  left: 120px;
  bottom: -10px;
  animation-delay: -3s;
}
.dc .edge .puff:nth-child(3) {
  width: 96px;
  height: 96px;
  left: 70px;
  bottom: 110px;
  animation-delay: -5s;
}
.dc .edge.r .puff:nth-child(1) {
  left: auto;
  right: 0;
}
.dc .edge.r .puff:nth-child(2) {
  left: auto;
  right: 120px;
}
.dc .edge.r .puff:nth-child(3) {
  left: auto;
  right: 70px;
}
.dc .band .st {
  z-index: 1;
}
.dc .perch {
  position: relative;
  width: min(240px, 46vw);
  margin: 0 auto;
  z-index: 2;
}
.dc .ck {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.dc .ck svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.dc .ck g,
.dc .ck path,
.dc .ck ellipse,
.dc .ck circle {
  transform-box: fill-box;
}
.dc .bird {
  transform-origin: 50% 100%;
}
.dc .breathe {
  transform-origin: 50% 100%;
  animation: k-breathe 3.8s ease-in-out infinite;
}
.dc .headbob {
  animation: k-hb 3.8s ease-in-out infinite;
}
.dc .head {
  transform-origin: 70% 95%;
  transition: transform 0.5s var(--spring);
}
.dc .wing {
  transform-origin: 12% 30%;
  transition: transform 0.45s var(--spring);
}
.dc .blo {
  transform-origin: 100% 0;
  transition: transform 0.35s ease;
}
.dc .bup {
  transform-origin: 100% 60%;
}
.dc .eye .op {
  transform-origin: 50% 50%;
  transform: scaleY(0.1);
  opacity: 0;
  transition:
    transform 0.25s ease,
    opacity 0.2s;
}
.dc .eye .sh {
  transition: opacity 0.15s;
}
.dc .ck .zs {
  transition: opacity 0.4s;
}
.dc .ck .zs text {
  font-family: var(--ed);
  font-style: italic;
  fill: var(--deep);
  animation: k-zz 3.6s ease-in infinite;
}
.dc .ck .zs text:nth-child(2) {
  animation-delay: -1.2s;
}
.dc .ck .zs text:nth-child(3) {
  animation-delay: -2.4s;
}
.dc .burst > * {
  opacity: 0;
  transform-origin: 50% 50%;
}
.dc .ck.half .eyeL .op,
.dc .ck.look .eye .op,
.dc .ck.awake .eye .op {
  transform: scaleY(1);
  opacity: 1;
}
.dc .ck.half .eyeL .sh,
.dc .ck.look .eye .sh,
.dc .ck.awake .eye .sh {
  opacity: 0;
}
.dc .ck.half .eyeL .op {
  animation: k-blink 4.2s 1s infinite;
}
.dc .ck.half .wing {
  transform: rotate(-26deg) translateY(-3px);
}
.dc .ck.half .bup {
  animation: k-twitch 0.5s ease 2;
}
.dc .ck.half .head {
  transform: rotate(-4deg);
}
.dc .ck.half .zs,
.dc .ck.awake .zs,
.dc .ck.look .zs {
  opacity: 0;
}
.dc .ck.look .head {
  transform: rotate(16deg) translate(2px, -6px);
}
.dc .ck.look .op ellipse {
  transform: translateY(-2px);
}
.dc .ck.yawn .blo {
  transform: rotate(-34deg);
}
.dc .ck.yawn .head {
  transform: rotate(9deg) translateY(-2px);
}
.dc .ck.awake .head {
  transform: rotate(-6deg) translateY(-3px);
}
.dc .ck.awake .wing {
  animation: k-flap 0.22s ease-in-out 4;
}
.dc .ck.hop .bird {
  animation: k-hop 0.75s cubic-bezier(0.3, 0.7, 0.4, 1);
}
.dc .ck.hop .burst > * {
  animation: k-fly 1s cubic-bezier(0.15, 0.7, 0.3, 1) both;
}
.dc .ck.hop .burst > :nth-child(2n) {
  animation-delay: 0.06s;
}
.dc .say {
  position: absolute;
  right: 88%;
  bottom: 66%;
  margin: 0;
  font-family: var(--ed);
  font-style: italic;
  font-size: 21px;
  line-height: 1.15;
  white-space: nowrap;
  color: var(--deep);
  background: #fbfafd;
  border: 2px solid var(--deep);
  border-radius: 18px 18px 4px 18px;
  padding: 8px 14px 9px;
  opacity: 0;
  transform: translateY(8px) scale(0.85);
  transform-origin: 100% 100%;
  transition:
    opacity 0.25s,
    transform 0.35s var(--spring);
  pointer-events: none;
  z-index: 3;
}
.dc .say.on {
  opacity: 1;
  transform: none;
}
.dc .bhint {
  position: relative;
  z-index: 2;
  margin: 10px 0 0;
  font-family: var(--ed);
  font-style: italic;
  font-size: 19px;
  color: #2a2140;
}
/* section heads */
.dc .shead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-top: 1.5px solid var(--ink);
  padding-top: 18px;
  margin-bottom: 8px;
}
.dc h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1;
}
.dc .shead p {
  font-family: var(--ed);
  font-style: italic;
  font-size: 20px;
  color: var(--soft);
  margin: 0;
}
.dc section {
  scroll-margin-top: 20px;
}
/* coop */
.dc .coop {
  position: relative;
  margin: 0 0 96px;
}
.dc .games {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dc .game {
  display: grid;
  grid-template-columns: 72px 112px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 44px 0 62px;
  border-bottom: 1px solid var(--line);
}
.dc .num {
  font-family: var(--ed);
  font-size: 64px;
  line-height: 1;
  color: var(--soft);
  opacity: 0.55;
  transition:
    opacity 0.3s,
    transform 0.4s;
}
.dc .game:hover .num,
.dc .game:focus-within .num {
  opacity: 1;
  transform: translateX(4px);
}
.dc .ico {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow:
    0 14px 28px -16px rgba(43, 33, 64, 0.6),
    inset 0 0 0 1px rgba(43, 33, 64, 0.08);
}
.dc .ico svg {
  display: block;
  width: 100%;
  height: 100%;
}
.dc .ico svg *,
.dc .mb svg * {
  transform-box: view-box;
}
.dc .dots,
.dc .dash {
  transform-origin: 56px 56px;
  transition: transform 1.1s var(--spring);
}
.dc .game:hover .dots,
.dc .game:focus-within .dots {
  transform: rotate(120deg);
}
.dc .game:hover .dash,
.dc .game:focus-within .dash {
  transform: rotate(-60deg);
}
.dc .game:hover .bu,
.dc .game:focus-within .bu {
  animation: k-bu 1.6s ease-in-out infinite alternate;
}
.dc .bu:nth-child(2) {
  animation-delay: -0.5s !important;
}
.dc .bu:nth-child(3) {
  animation-delay: -1s !important;
}
.dc .gname {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 4px;
}
.dc h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
}
.dc .egg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px 5px 8px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--soft);
}
.dc .egg i {
  width: 10px;
  height: 13px;
  border-radius: 50% 50% 50% 50%/60% 60% 40% 40%;
  background: var(--line);
  display: block;
  transform-origin: 50% 100%;
  animation: k-wob 5s ease-in-out infinite;
}
.dc .game:nth-child(2) .egg i {
  animation-delay: -2.3s;
}
.dc .line {
  font-family: var(--ed);
  font-style: italic;
  font-size: 22px;
  margin: 0 0 6px;
}
.dc .long {
  color: var(--soft);
  margin: 0;
  max-width: 34em;
}
.dc .acts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
.dc .acts .btn {
  font-size: 15px;
  padding: 13px 20px;
}
/* about + footer */
.dc .about {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  background: var(--paper);
  border-radius: 28px;
  padding: 30px 40px;
  margin-bottom: 64px;
}
.dc .about svg {
  width: 120px;
  height: auto;
  overflow: visible;
}
.dc .about p {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.dc .about a {
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--yolk);
}
.dc footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 24px 0 40px;
  font-size: 14px;
  color: var(--soft);
  border-top: 1px solid var(--line);
}
.dc footer nav {
  display: flex;
  gap: 20px;
}
.dc footer a {
  text-decoration: none;
}
.dc footer a:hover {
  text-decoration: underline;
}
/* the little chicken */
.dc .mini {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 8;
  width: 50px;
  height: 37px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.dc .mini:focus-visible {
  border-radius: 50%;
}
.dc .mi {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 50% 100%;
  transition:
    transform 0.18s ease-in,
    opacity 0.18s;
}
.dc .mi svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.dc .mi text {
  font-family: var(--ed);
  font-style: italic;
  fill: var(--deep);
  animation: k-zz 3.6s ease-in infinite;
}
.dc .mi text + text {
  animation-delay: -1.8s;
}
.dc .mini:hover .mi {
  transform: rotate(-4deg);
}
.dc .mi.gone {
  transform: scale(0.2);
  opacity: 0;
}
.dc .mi.settle {
  animation: k-settle 0.55s var(--spring);
}
.dc .fx {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 9;
}
.dc .fx b {
  position: absolute;
  left: -30px;
  top: -30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--paper);
  opacity: 0;
}
.dc .fx i {
  position: absolute;
  left: -4px;
  top: -9px;
  width: 8px;
  height: 18px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--ink);
  opacity: 0;
}
.dc .fx i:nth-child(3n) {
  background: var(--yolk2);
}
.dc .fx i:nth-child(4n) {
  background: var(--red);
}
.dc .fx.on b {
  animation: k-poof 0.5s ease-out;
}
.dc .fx.on i {
  animation: k-fly 0.75s cubic-bezier(0.15, 0.7, 0.3, 1) both;
}
@keyframes k-fly {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.3);
  }
  12% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1);
  }
}
@keyframes k-poof {
  0% {
    transform: scale(0.3);
    opacity: 1;
  }
  45% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}
@keyframes k-settle {
  0% {
    transform: translateY(-16px) scale(0.5);
    opacity: 0;
  }
  55% {
    transform: translateY(0) scale(1.1, 0.88);
    opacity: 1;
  }
  80% {
    transform: scale(0.97, 1.04);
  }
  100% {
    transform: none;
  }
}
@keyframes k-glow {
  50% {
    transform: scale(1.04);
    opacity: 0.6;
  }
}
@keyframes k-zz {
  0% {
    transform: translate(0, 6px);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translate(22px, -40px);
    opacity: 0;
  }
}
@keyframes k-zh {
  0% {
    transform: translate(0, 8px);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translate(34px, -62px);
    opacity: 0;
  }
}
@keyframes k-tw {
  0%,
  100% {
    transform: scale(1) rotate(0);
    opacity: 0.95;
  }
  50% {
    transform: scale(0.45) rotate(45deg);
    opacity: 0.35;
  }
}
@keyframes k-shoot {
  0% {
    transform: translate(-40px, 0) rotate(18deg);
    opacity: 0;
  }
  2% {
    opacity: 0.7;
  }
  7% {
    transform: translate(260px, 84px) rotate(18deg);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes k-bob {
  50% {
    transform: translateY(-8px);
  }
}
@keyframes k-breath {
  50% {
    transform: scale(1.025, 1.05);
  }
}
@keyframes k-breathe {
  50% {
    transform: scale(1.025, 1.045);
  }
}
@keyframes k-hb {
  50% {
    transform: translateY(2.5px);
  }
}
@keyframes k-think {
  30% {
    transform: scale(1.16);
  }
}
@keyframes k-puff {
  50% {
    transform: scale(1.05);
  }
}
@keyframes k-drift {
  0%,
  100% {
    transform: translate(0, 0) rotate(0);
  }
  33% {
    transform: translate(4px, -8px) rotate(0.8deg);
  }
  66% {
    transform: translate(-3px, -3px) rotate(-0.6deg);
  }
}
@keyframes k-blink {
  0%,
  90%,
  100% {
    transform: scaleY(1);
  }
  94% {
    transform: scaleY(0.1);
  }
}
@keyframes k-twitch {
  30% {
    transform: rotate(-9deg);
  }
  65% {
    transform: rotate(5deg);
  }
}
@keyframes k-flap {
  0%,
  100% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(-38deg);
  }
}
@keyframes k-hop {
  14% {
    transform: scale(1.08, 0.9);
  }
  45% {
    transform: translateY(-34px) scale(0.95, 1.07);
  }
  76% {
    transform: scale(1.07, 0.92);
  }
  90% {
    transform: translateY(-4px);
  }
}
@keyframes k-wob {
  0%,
  78%,
  100% {
    transform: rotate(0);
  }
  83% {
    transform: rotate(-16deg);
  }
  88% {
    transform: rotate(13deg);
  }
  93% {
    transform: rotate(-6deg);
  }
}
@keyframes k-bu {
  to {
    transform: translateY(-6px);
  }
}
@media (max-width: 860px) {
  .dc .wrap {
    padding: 0 16px;
  }
  .dc .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 8px 0 40px;
  }
  .dc .cloud {
    margin-top: 56px;
  }
  .dc .cloud .puff:nth-child(1) {
    width: 100px;
    height: 100px;
    top: -36px;
  }
  .dc .cloud .puff:nth-child(2) {
    width: 130px;
    height: 130px;
    top: -52px;
  }
  .dc .cloud .puff:nth-child(3) {
    width: 100px;
    height: 100px;
    top: -34px;
  }
  .dc .cloud .puff:nth-child(4) {
    width: 90px;
    height: 90px;
    bottom: -28px;
  }
  .dc .cloud .puff:nth-child(5) {
    width: 100px;
    height: 100px;
    bottom: -32px;
  }
  .dc .cloud-in {
    border-radius: 40px;
    padding: 22px 20px 28px;
  }
  .dc .trail {
    right: 22%;
    top: auto;
    bottom: -96px;
    width: 60px;
    height: 80px;
    transform: scaleY(-1);
  }
  .dc .trail i:nth-child(1) {
    width: 24px;
    height: 24px;
  }
  .dc .trail i:nth-child(2) {
    width: 16px;
    height: 16px;
    left: 28px;
    bottom: 34px;
  }
  .dc .trail i:nth-child(3) {
    width: 10px;
    height: 10px;
    left: 46px;
    bottom: 62px;
  }
  .dc .hook {
    font-size: 22px;
  }
  .dc .lede {
    font-size: 17px;
  }
  .dc .ctas .btn {
    flex: 1 1 220px;
  }
  .dc .alsos {
    margin: 44px 0 0;
    gap: 10px;
  }
  .dc .alsos > span {
    flex-basis: 100%;
  }
  .dc .mb {
    padding: 6px 14px 6px 6px;
    gap: 9px;
  }
  .dc .mb svg {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .dc .mb b {
    font-size: 14px;
  }
  .dc .stage {
    padding-top: 110px;
  }
  .dc .band {
    padding: 96px 16px 32px;
  }
  .dc .edge {
    width: 150px;
    height: 130px;
    bottom: 30px;
  }
  .dc .edge.l {
    left: -40px;
  }
  .dc .edge.r {
    right: -40px;
  }
  .dc .edge .puff:nth-child(1) {
    width: 96px;
    height: 96px;
  }
  .dc .edge .puff:nth-child(2) {
    width: 70px;
    height: 70px;
    left: 64px;
  }
  .dc .edge.r .puff:nth-child(2) {
    right: 64px;
  }
  .dc .edge .puff:nth-child(3) {
    width: 54px;
    height: 54px;
    left: 34px;
    bottom: 70px;
  }
  .dc .edge.r .puff:nth-child(3) {
    right: 34px;
  }
  .dc .perch {
    width: 180px;
  }
  .dc .say {
    right: auto;
    left: 50%;
    bottom: 100%;
    margin: 0 0 10px;
    font-size: 19px;
    transform: translate(-50%, 8px) scale(0.85);
    transform-origin: 50% 100%;
    border-radius: 18px;
  }
  .dc .say.on {
    transform: translate(-50%, 0);
  }
  .dc .game {
    grid-template-columns: auto 1fr;
    gap: 16px 18px;
    padding: 36px 0 60px;
    align-items: start;
  }
  .dc .num {
    display: none;
  }
  .dc .ico {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }
  .dc h3 {
    font-size: 24px;
  }
  .dc .game .line {
    font-size: 20px;
  }
  .dc .game .long {
    font-size: 16px;
  }
  .dc .acts {
    grid-column: 1/-1;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .dc .acts .btn {
    flex: 1 1 200px;
  }
  .dc .about {
    grid-template-columns: 1fr;
    padding: 26px 24px;
    gap: 14px;
  }
  .dc .about svg {
    width: 96px;
  }
  .dc .shead {
    flex-direction: column;
    gap: 8px;
  }
  .dc footer {
    font-size: 13px;
  }
  .dc footer nav {
    gap: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dc *,
  .dc *::before,
  .dc *::after {
    animation: none !important;
    transition: none !important;
  }
  .dc .shoot,
  .dc .burst,
  .dc .fx {
    display: none;
  }
  .dc .zz span:nth-child(2) {
    left: 20px;
    top: -24px;
  }
  .dc .zz span:nth-child(3) {
    left: 38px;
    top: -44px;
  }
}

/* --- what the mockup set inline, as rules (strict CSP) ------------------- */
.dc .wrap {
  padding-left: calc(32px + var(--safe-left));
  padding-right: calc(32px + var(--safe-right));
}
@media (max-width: 860px) {
  .dc .wrap {
    padding-left: calc(16px + var(--safe-left));
    padding-right: calc(16px + var(--safe-right));
  }
}
/* the live App Store link: first in the row, the filled, biggest button;
   Play in your browser is the quiet outlined one beside it */
.dc a.btn.store {
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  padding: 17px 26px;
}
.dc .ctas a.btn.play {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.dc a.btn.store:hover {
  transform: translateY(-2px);
}
/* the stars of the sky (hero) */
.dc .sky .st:nth-child(1) {
  left: 4%;
  top: 12%;
}
.dc .sky .st:nth-child(2) {
  left: 14%;
  top: 30%;
  animation-delay: -1.2s;
}
.dc .sky .st:nth-child(3) {
  left: 92%;
  top: 24%;
  animation-delay: -2.1s;
}
.dc .sky .st:nth-child(4) {
  left: 86%;
  top: 4%;
  animation-delay: -0.6s;
}
.dc .sky .st:nth-child(5) {
  left: 2%;
  top: 58%;
  animation-delay: -2.8s;
  width: 10px;
  height: 10px;
}
.dc .sky .st:nth-child(6) {
  left: 96%;
  top: 66%;
  animation-delay: -1.7s;
}
.dc .sky .st:nth-child(7) {
  left: 30%;
  top: 2%;
  animation-delay: -3.2s;
  width: 11px;
  height: 11px;
}
/* the stars of the band (children 3–8, after the two edge clouds) */
.dc .band > .st:nth-child(3) {
  left: 12%;
  top: 22%;
}
.dc .band > .st:nth-child(4) {
  left: 24%;
  top: 48%;
  animation-delay: -1.4s;
}
.dc .band > .st:nth-child(5) {
  left: 33%;
  top: 16%;
  animation-delay: -2.6s;
}
.dc .band > .st:nth-child(6) {
  right: 14%;
  top: 30%;
  animation-delay: -1s;
  width: 11px;
  height: 11px;
}
.dc .band > .st:nth-child(7) {
  right: 27%;
  top: 14%;
  animation-delay: -0.4s;
}
.dc .band > .st:nth-child(8) {
  right: 22%;
  top: 56%;
  animation-delay: -3s;
}
/* where each feather of the big chicken's burst flies */
.dc .burst > :nth-child(1) {
  --x: -80px;
  --y: -60px;
  --r: -70deg;
}
.dc .burst > :nth-child(2) {
  --x: -30px;
  --y: -96px;
  --r: 90deg;
}
.dc .burst > :nth-child(3) {
  --x: 40px;
  --y: -90px;
  --r: 50deg;
}
.dc .burst > :nth-child(4) {
  --x: 92px;
  --y: -50px;
  --r: -90deg;
}
.dc .burst > :nth-child(5) {
  --x: 100px;
  --y: -4px;
  --r: 120deg;
}
.dc .burst > :nth-child(6) {
  --x: -96px;
  --y: -10px;
  --r: 60deg;
}
.dc .burst > :nth-child(7) {
  --x: -56px;
  --y: -110px;
  --r: -140deg;
}
.dc .burst > :nth-child(8) {
  --x: 70px;
  --y: -112px;
  --r: 45deg;
}
/* … and of the little chicken's (child 1 is the puff <b>) */
.dc .fx i:nth-child(2) {
  --x: -46px;
  --y: -30px;
  --r: -70deg;
}
.dc .fx i:nth-child(3) {
  --x: -20px;
  --y: -54px;
  --r: 90deg;
}
.dc .fx i:nth-child(4) {
  --x: 22px;
  --y: -56px;
  --r: 50deg;
}
.dc .fx i:nth-child(5) {
  --x: 48px;
  --y: -26px;
  --r: -90deg;
}
.dc .fx i:nth-child(6) {
  --x: 52px;
  --y: 10px;
  --r: 120deg;
}
.dc .fx i:nth-child(7) {
  --x: -52px;
  --y: 6px;
  --r: 60deg;
}
.dc .fx i:nth-child(8) {
  --x: -6px;
  --y: -64px;
  --r: -140deg;
}
.dc .fx i:nth-child(9) {
  --x: 34px;
  --y: -44px;
  --r: 45deg;
}
.dc .fx i:nth-child(10) {
  --x: -34px;
  --y: -48px;
  --r: 20deg;
}
.dc .about .late {
  animation-delay: -2.6s;
}
/* the little chicken: it tilts with a sloped perch (home.js sets the angle
   in its transform) and rides a bobbing phone in step with it */
.dc .mini {
  transform-origin: 50% 100%;
}
.dc .rider {
  display: block;
  width: 100%;
  height: 100%;
}
.dc .mini.ride .rider {
  animation: k-bob 7s ease-in-out infinite;
}
/* a back phone carrying the little chicken holds still under it */
.dc .phone[data-pos='1'].carry:hover {
  transform: translateX(30%) rotate(7deg) scale(0.88);
}
.dc .phone[data-pos='2'].carry:hover {
  transform: translateX(-30%) rotate(-7deg) scale(0.88);
}
/* launch: the About card follows the band directly */
.dc .wrap > .about:first-child {
  margin-top: 32px;
}

/* THE ROOSTER + MOON (2026-10-15, the approved r2 design): the rooster of the
   logo replaces the hen, the hero moon is the logo's sickle in its night
   circle, and the band is a night-to-dawn strip with a clean crescent. */
.dc {
  display: block;
}
.dc .brand svg {
  width: 46px;
  height: 46px;
  flex: none;
}
.dc .btn.play svg {
  width: 13px;
  height: 13px;
}
.dc .zz span {
  width: 1em;
  height: 1em;
  display: block;
}
.dc .zz svg {
  display: block;
  width: 0.7em;
  height: 0.7em;
  fill: none;
  stroke: currentColor;
  stroke-width: 6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.dc .mini {
  width: 50px;
  height: 43px;
}
.dc .mi .mz path {
  animation: k-mz 3.6s ease-in infinite;
  transform-box: fill-box;
}
.dc .mi .mz path + path {
  animation-delay: -1.8s;
}
@keyframes k-mz {
  0% {
    transform: translate(0, 20px);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translate(70px, -120px);
    opacity: 0;
  }
}
/* the band rooster: its head parts live in the 512 logo space (scaled .46),
   so the d11 head/wing moves are restated in those units; comb + face share one origin */
.dc .ck [transform] {
  transform-box: view-box;
  transform-origin: 0 0;
}
.dc .ck .head {
  transform-box: view-box;
  transform-origin: 232px 330px;
}
.dc .headbob {
  animation-name: k-hb5;
}
@keyframes k-hb5 {
  50% {
    transform: translateY(5px);
  }
}
.dc .ck.half .head {
  transform: rotate(-4deg);
}
.dc .ck.look .head {
  transform: rotate(7deg) translate(10px, -12px);
}
.dc .ck.look .op ellipse {
  transform: translateY(-4px);
}
.dc .ck.yawn .head {
  transform: rotate(5deg) translateY(-6px);
}
.dc .ck.awake .head {
  transform: rotate(-5deg) translateY(-8px);
}
.dc .ck.half .wing {
  transform: rotate(-26deg) translateY(-6px);
}
.dc .ck .mouth {
  transform-origin: 50% 0;
  transform: scaleY(0);
  transition: transform 0.35s ease;
}
.dc .ck.yawn .mouth {
  transform: scaleY(1.25);
}
.dc .ck.yawn .blo {
  transform: translateY(16px);
}
.dc .ck .blo {
  transform-origin: 50% 0;
}
.dc .ck .zs path {
  animation: k-zz 3.6s ease-in infinite;
}
.dc .ck .zs path:nth-child(2) {
  animation-delay: -1.2s;
}
.dc .ck .zs path:nth-child(3) {
  animation-delay: -2.4s;
}
.dc .say {
  color: #1e1630;
  background: #fbfafd;
}

/* r2: the sickle moon in its night circle is the hero's motif */
.dc .stage {
  padding-top: calc(min(610px, 118%) * 0.44);
}
.dc .moon {
  background: none;
  top: 0;
  transform: translateX(-50%);
}
.dc .moon::before {
  background: radial-gradient(circle, rgba(255, 244, 218, 0.9) 50%, rgba(255, 244, 218, 0) 71%);
  opacity: 0.55;
}
.dc .moon .disc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.dc .moon .hen {
  width: 30%;
  left: 19.5%;
  top: 11.5%;
  bottom: auto;
  transform: rotate(-7deg);
}
.dc .zz {
  left: 48%;
  top: 26%;
  bottom: auto;
}
.dc .zz span {
  color: #f8cd70;
}
.dc .band {
  padding: 112px 16px 28px;
}
.dc .strip {
  position: absolute;
  top: 24px;
  left: -16%;
  width: 132%;
  height: 400px;
  display: block;
}
.dc .sickle {
  position: absolute;
  width: 84px;
  height: 84px;
  left: calc(50% - 380px);
  top: 168px;
  transform: rotate(-18deg);
  z-index: 1;
}
.dc .band > .st.n {
  background: #fff4da;
  opacity: 1;
}
.dc .band > .st.n.s {
  background: #f8cd70;
}
.dc .band > .st.n:nth-of-type(1) {
  left: calc(50% - 250px);
  top: 150px;
}
.dc .band > .st.n:nth-of-type(2) {
  left: calc(50% - 300px);
  top: 270px;
  animation-delay: -1.4s;
}
.dc .band > .st.n:nth-of-type(3) {
  left: calc(50% - 200px);
  top: 230px;
  animation-delay: -2.6s;
  width: 10px;
  height: 10px;
}
.dc .band > .st.n:nth-of-type(4) {
  left: calc(50% - 440px);
  top: 300px;
  animation-delay: -1s;
}
.dc .band > .st.n:nth-of-type(5) {
  left: calc(50% + 190px);
  top: 160px;
  animation-delay: -0.4s;
  opacity: 0.7;
}
.dc .band > .st.n:nth-of-type(6) {
  left: calc(50% - 150px);
  top: 120px;
  animation-delay: -3s;
  width: 9px;
  height: 9px;
}
.dc .bhint {
  margin-top: 64px;
}
.dc footer {
  border-top: 0;
}
@media (max-width: 860px) {
  .dc .band {
    padding-top: 104px;
  }
  .dc .strip {
    left: -55%;
    width: 210%;
    height: 340px;
    top: 30px;
  }
  .dc .sickle {
    width: 52px;
    height: 52px;
    left: calc(50% - 168px);
    top: 196px;
  }
  .dc .band > .st.n:nth-of-type(1) {
    left: calc(50% - 120px);
    top: 120px;
  }
  .dc .band > .st.n:nth-of-type(2) {
    left: calc(50% - 150px);
    top: 290px;
  }
  .dc .band > .st.n:nth-of-type(3) {
    left: calc(50% - 104px);
    top: 250px;
  }
  .dc .band > .st.n:nth-of-type(4) {
    left: calc(50% - 176px);
    top: 330px;
  }
  .dc .band > .st.n:nth-of-type(5) {
    left: calc(50% + 120px);
    top: 150px;
  }
  .dc .band > .st.n:nth-of-type(6) {
    left: calc(50% - 60px);
    top: 92px;
  }
  .dc .bhint {
    margin-top: 70px;
  }
}

@media (max-width: 860px) {
  .dc .brand svg {
    width: 40px;
    height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dc *,
  .dc *::before,
  .dc *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* the hero title is the way to the game's page */
.dc .title-link {
  color: inherit;
  text-decoration: none;
}
.dc .title-link:hover,
.dc .title-link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
