/* TumbleWing wears the Xzist Digital layout, typography and section rhythm, and
   brings only its own colour. Everything is scoped to .tumblewing-page so the
   sub-brand can never leak into the rest of the site, and this sheet loads last
   so a plain .tumblewing-page selector beats the .inner-page rules it replaces. */
.tumblewing-page{--tw-sky:#a9e4f2;--tw-pale:#e9f7fb;--tw-ink:#173540;--tw-muted:#2f5561;--tw-line:#bde2ee;--tw-deep:#1d3947;--tw-sun:#ffcf3f;--tw-link:#0b5f79}

/* Sub-navigation: the site's own .section-nav, in TumbleWing's colour. */
.tumblewing-page .section-nav{background:var(--tw-pale);border-bottom-color:var(--tw-line);color:#1f4351}
.tumblewing-page .section-nav a[aria-current]{font-weight:600;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px;text-decoration-color:#4ea7c4}
.tw-nav-brand{display:inline-flex;align-items:center;gap:10px;font-weight:600}
.tw-nav-brand>img{width:26px;height:26px;border-radius:7px}

/* Landing hero */
.tw-hero{background:linear-gradient(168deg,#e4f6fb 0%,#c4ecf6 46%,#a9e4f2 100%);color:var(--tw-ink);padding:74px 0 80px}
.tw-hero-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center}
.tw-hero .eyebrow{color:#2c5665;margin-bottom:26px}
.tw-hero h1{font-size:clamp(50px,6.2vw,88px);font-weight:600;line-height:1.03;letter-spacing:-4px}
.tw-hero h1>span{color:var(--tw-link)}
.tw-hero-copy>p{font-size:18px;line-height:1.85;color:var(--tw-muted);max-width:520px;margin-top:28px}
.tw-hero-actions{display:flex;align-items:center;gap:30px;flex-wrap:wrap;margin-top:34px}
.tw-status{display:inline-flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--tw-line);border-radius:9px;padding:15px 21px;font-size:14px;font-weight:600;color:#1f4351}
.tw-status::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--tw-sun);border:1px solid #b98600;flex:none}
.tw-hero .text-link{margin-top:0;color:var(--tw-link)}
.tw-tags{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:36px 0 0}
.tw-tags li{font-size:12.5px;font-weight:600;padding:9px 15px;border-radius:999px;background:#ffffffc7;border:1px solid var(--tw-line);color:#25505e}
.tw-hero-art{border-radius:26px;overflow:hidden;background:#a8e8f5;aspect-ratio:4/3}
.tw-hero-art>img{width:100%;height:100%;object-fit:cover;display:block}

/* Light sections: the site's own, with the sub-brand only on the accents. */
.tumblewing-page .light-section .page-section-heading .eyebrow{color:#41707f}
.tumblewing-page .light-section .page-section-heading h2>span{color:var(--tw-link)}
.tumblewing-page .detail-card{border-color:#d7e7ec}
.tumblewing-page .detail-number{color:#3f7d92}
/* Beats .inner-page .light-section :is(.text-link,...), which paints these olive. */
.tumblewing-page .light-section .text-link{color:var(--tw-link)}
.tumblewing-page .text-link:hover{color:#084a5f}
.tumblewing-page .engagement-facts>div{border-top-color:#cfe6ee}
.tw-promise{list-style:none;margin:0;padding:0}
.tw-promise>li{border-top:1px solid #d7e7ec;padding:22px 0 22px 38px;position:relative}
.tw-promise>li::before{content:"";position:absolute;left:0;top:26px;width:18px;height:18px;border-radius:50%;background:#d9f0f7;border:1px solid #a9d6e4}
.tw-promise>li::after{content:"";position:absolute;left:6px;top:31px;width:7px;height:4px;border-left:2px solid #0b5f79;border-bottom:2px solid #0b5f79;transform:rotate(-45deg)}
.tw-promise strong{display:block;font-size:19px;font-weight:600;letter-spacing:-.4px;color:#303432}
.tw-promise span{display:block;font-size:15px;line-height:1.75;color:#666;margin-top:8px}

/* Dark section: the site's .dark-section, repainted in TumbleWing's navy. */
.tumblewing-page .dark-section{background:var(--tw-deep)}
.tumblewing-page .dark-section .eyebrow{color:#a6cfdd}
.tumblewing-page .dark-section .page-section-heading h2>span{color:var(--tw-sun)}
.tumblewing-page .dark-section .page-section-heading>p{color:#bcd8e2}
.tw-scene-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 60px}
.tw-scene-list>li{display:flex;gap:24px;border-top:1px solid #ffffff26;padding:24px 0}
.tw-scene-list>li>span{font-size:12px;font-weight:600;letter-spacing:1px;color:var(--tw-sun);padding-top:7px;min-width:36px}
.tw-scene-list h3{font-size:22px;font-weight:500;letter-spacing:-.6px}
.tw-scene-list p{font-size:15px;line-height:1.8;color:#b7d3de;margin-top:10px}
.tw-scene-note{margin-top:42px;font-size:16px;line-height:1.8;color:#bcd8e2;max-width:640px}

/* Real frames from the game, in a device-ish surround. */
.tw-scenes{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:36px 30px}
.tw-scenes>li{display:flex;flex-direction:column;gap:22px}
.tw-scenes figure{margin:0;border-radius:22px;overflow:hidden;background:#122b36;border:1px solid #ffffff1f;box-shadow:0 20px 44px #08161d4d;aspect-ratio:5/9}
.tw-scenes img{display:block;width:100%;height:100%;object-fit:cover}
.tw-scenes>li>div>span{display:block;font-size:12px;font-weight:600;letter-spacing:1px;color:var(--tw-sun);margin-bottom:9px}
.tw-scenes h3{font-size:22px;font-weight:500;letter-spacing:-.6px}
.tw-scenes>li>div>p{font-size:15px;line-height:1.75;color:#b7d3de;margin-top:9px}

/* All 64 birds, at the size they are drawn. */
.tw-flock{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(98px,1fr));gap:14px}
.tw-flock>li{background:#fff;border:1px solid #d7e7ec;border-radius:14px;padding:13px 8px 11px;text-align:center}
.tw-flock>li.extinct{background:#fffaf0;border-color:#eadcc2}
.tw-flock img{display:block;width:100%;max-width:74px;height:auto;margin:0 auto}
.tw-flock>li>span{display:block;font-size:11px;line-height:1.45;color:#5d6b70;margin-top:9px;overflow-wrap:anywhere}
.tw-flock-note{margin-top:34px;font-size:16px;line-height:1.85;color:#666;max-width:760px}
.tw-flock-note b{font-weight:600;color:#303432}

/* Where to get it, and where to get help. */
.tw-get{background:var(--tw-pale);color:var(--tw-ink);padding:66px 0}
.tw-get>.container{display:grid;grid-template-columns:repeat(3,1fr);gap:50px}
.tw-get h2{font-size:25px;font-weight:500;letter-spacing:-.9px}
.tw-get p{font-size:15px;line-height:1.85;color:var(--tw-muted);margin-top:15px}
.tw-get a{color:var(--tw-link);text-decoration:underline;text-underline-offset:4px}

/* Pale band: a light section in TumbleWing's colour, for breaking up long reads. */
.tw-band{background:var(--tw-pale);color:var(--tw-ink)}
.tw-band .page-section-heading .eyebrow{color:#2c5665}
.tw-band .page-section-heading h2>span{color:var(--tw-link)}
.tw-band .page-section-heading>p{color:var(--tw-muted)}
.tw-band .faq-list summary{color:var(--tw-ink)}
.tw-band .faq-list p{color:var(--tw-muted)}
.tw-band .faq-list a{color:var(--tw-link);text-decoration:underline;text-underline-offset:4px}

/* Document pages: privacy, terms, support. */
.tw-doc-hero{background:linear-gradient(170deg,#e9f7fb,#cbedf6);color:var(--tw-ink);padding:64px 0 54px}
.tw-doc-hero .eyebrow{color:#2c5665;margin-bottom:24px}
.tw-doc-hero h1{font-size:clamp(40px,5vw,62px);font-weight:500;letter-spacing:-2.6px}
.tw-doc-hero .tw-lede{font-size:19px;line-height:1.8;color:var(--tw-muted);max-width:760px;margin-top:24px}
.tw-doc-hero .tw-meta{font-size:13px;line-height:1.8;color:#3d6472;margin-top:22px}
.tumblewing-page .hosting-note{background:#e4f4f9;border-color:#bfe2ec;color:#1f4351}
.tumblewing-page .hosting-note p{color:#2f5561}
.tumblewing-page .hosting-note a{color:var(--tw-link)}
.tumblewing-page .reading-copy a{color:var(--tw-link)}
.tumblewing-page .reading-copy td,.tumblewing-page .reading-copy th{border-color:#cfe3ea}
.tumblewing-page .faq-list details{border-top-color:#d6e8ee}
.tumblewing-page .faq-list summary>span{color:var(--tw-link)}
.tumblewing-page code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em;background:#e4f4f9;border:1px solid #c6e2ea;border-radius:5px;padding:1px 5px}

@media(max-width:980px){
  .tw-hero-inner{grid-template-columns:1fr;gap:38px}
  .tw-hero-art{order:-1;max-width:460px}
  .tw-scene-list{grid-template-columns:1fr;gap:0}
  .tw-get>.container{grid-template-columns:1fr;gap:34px}
  .tw-scenes{grid-template-columns:repeat(2,1fr);gap:28px 20px}
  .tw-flock{grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:10px}
}
@media(max-width:780px){
  .tw-hero{padding:44px 0 52px}
  .tw-hero h1{font-size:46px;letter-spacing:-2.4px}
  .tw-hero-copy>p{font-size:16px;margin-top:22px}
  .tw-hero-actions{gap:18px;margin-top:28px}
  .tw-tags{margin-top:28px;gap:8px}
  .tw-tags li{font-size:12px;padding:8px 13px}
  .tw-hero-art{border-radius:18px}
  .tw-scene-list>li{gap:16px;padding:20px 0}
  .tw-scene-list h3{font-size:20px}
  .tw-get{padding:46px 0}
  .tw-scenes{grid-template-columns:1fr 1fr;gap:22px 14px}
  .tw-scenes>li{gap:15px}
  .tw-scenes figure{border-radius:15px}
  .tw-scenes h3{font-size:18px}
  .tw-scenes>li>div>p{font-size:14px;line-height:1.7}
  .tw-flock>li{padding:10px 6px 9px;border-radius:11px}
  .tw-flock>li>span{font-size:10px}
  .tw-flock-note{font-size:15px;margin-top:26px}
  .tw-doc-hero{padding:42px 0 36px}
  .tw-doc-hero h1{font-size:37px;letter-spacing:-1.6px}
  .tw-doc-hero .tw-lede{font-size:17px}
}
