/* Critical layout styles are shipped directly with Jekyll, without a CSS build step. */
:root { --studio-ink: #172538; --studio-muted: #526174; --studio-blue: #244b72; --studio-line: #dee6ed; }
html { scroll-padding-top: 24px; }
body { color: var(--studio-ink); background: #fff; }
a:focus-visible, button:focus-visible, main:focus-visible { outline: 3px solid #0870b3; outline-offset: 5px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; color: #fff; background: var(--studio-ink); }
.skip-link:focus { top: 12px; }
.studio-nav { position: relative; border-bottom: 1px solid var(--studio-line); background: #fff; }
.studio-nav-inner { max-width: 1200px; margin: auto; padding: 18px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.studio-nav-inner > a { align-items: center; }
.studio-nav-inner > a img { width: 48px; height: 36px; object-fit: contain; }
.studio-nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.studio-nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; color: var(--studio-ink); font-weight: 600; }
.studio-nav-links a:hover, .studio-nav-links a[aria-current] { color: #146394; text-decoration: underline; text-underline-offset: 7px; }
.studio-shell { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.studio-home h1, .studio-home h2, .studio-home h3 { color: var(--studio-ink); font-weight: 800; letter-spacing: -.035em; }
.studio-home h1 { font-size: clamp(40px, 4.5vw, 62px); line-height: 1.08; margin: 18px 0 24px; }
.studio-home h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.2; margin: 10px 0 18px; }
.studio-home h3 { font-size: 22px; line-height: 1.3; }
.studio-home p { color: var(--studio-muted); line-height: 1.7; }
.studio-home .eyebrow { color: var(--studio-blue); font-size: 12px; letter-spacing: .12em; font-weight: 800; text-transform: uppercase; }
.home-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero-description { font-size: 18px; max-width: 500px; margin-bottom: 26px; }
.hero-visual { min-width: 0; margin: 0; overflow: hidden; border-radius: 24px; background: #f1f6fa; border: 1px solid var(--studio-line); }
.hero-visual > img { display: block; width: 100%; height: auto; }
.hero-visual figcaption { display: flex; gap: 16px; align-items: center; padding: 24px; }
.hero-visual figcaption img { width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0; }
.hero-visual figcaption strong { display: block; font-size: 18px; line-height: 1.4; }
.hero-visual figcaption span { display: block; color: var(--studio-muted); font-size: 14px; margin-top: 5px; }
.store-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
a.store-link { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 22px; border-radius: 12px; color: #fff; background: #172538; text-align: left; text-decoration: none; }
a.store-link:hover { background: #244b72; }
.store-link img { width: 22px; height: 26px; flex-shrink: 0; }
.store-link small { display: block; font: 11px/1.3 Arial, sans-serif; letter-spacing: .02em; }
.store-link strong { display: block; font: 600 22px/1.15 Arial, sans-serif; }
.platform-note { font-size: 12px; margin: 12px 0 18px; }
a.text-link { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; color: var(--studio-blue); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.gameplay-section { padding: 56px 0; background: #f3f7fa; border-block: 1px solid var(--studio-line); }
.section-intro { margin-bottom: 28px; }
.gameplay-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-bottom: 28px; }
.gameplay-grid figure { margin: 0; }
.gameplay-grid img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--studio-line); }
.gameplay-grid h3 { font-size: 19px; margin: 18px 0 8px; }
.gameplay-grid p { font-size: 14px; }
.releases-section { padding-top: 64px; padding-bottom: 64px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.release-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.release-card { padding: 28px; border: 1px solid var(--studio-line); border-radius: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.release-heading { display: flex; gap: 16px; align-items: center; min-width: 0; }
.release-heading img { width: 72px; height: 72px; border-radius: 18px; flex-shrink: 0; }
.release-card h3 { font-size: 22px; overflow-wrap: anywhere; }
.release-card .store-links { margin-top: auto; }
.release-status { display: inline-block; border-radius: 100px; background: #eef2f6; color: #526174; padding: 8px 14px; font-size: 13px; font-weight: 700; }
.studio-about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; padding-top: 48px; padding-bottom: 64px; border-top: 1px solid var(--studio-line); }
.studio-about .text-link { display: flex; overflow-wrap: anywhere; }
.studio-footer { border-top: 1px solid var(--studio-line); padding: 28px 0; font-size: 13px; color: var(--studio-muted); }
.studio-footer .studio-shell { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.studio-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.studio-footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
/* Keep the existing product catalogue readable even when Tailwind hasn't been rebuilt. */
.product-catalog > section { padding: 48px 32px; max-width: 1200px; margin: auto; }
.product-catalog h1 { font-size: 40px; font-weight: 800; }
.product-catalog h2 { font-size: 30px; font-weight: 800; }
.product-catalog h3 { font-size: 22px; font-weight: 700; line-height: 1.3; }
.product-catalog article { border: 1px solid var(--studio-line); border-radius: 20px; padding: 24px; gap: 16px; min-width: 0; }
.product-catalog article > .flex { gap: 16px; align-items: center; }
.product-catalog article > .flex > div { min-width: 0; }
.product-catalog article img { width: 80px; height: 80px; border-radius: 18px; flex-shrink: 0; object-fit: contain; }
.product-catalog article .store-links img { width: 22px; height: 26px; border-radius: 0; }
.product-catalog .grid { gap: 24px; }
.product-catalog p { color: var(--studio-muted); }
@media (max-width: 700px) {
  .studio-shell { padding-left: 22px; padding-right: 22px; }
  .studio-nav-inner { padding: 10px 18px; gap: 6px; flex-wrap: wrap; }
  .studio-nav-inner > a p { display: block; padding-left: 10px; font-size: 17px; }
  .studio-nav-links { width: 100%; justify-content: space-between; gap: 0; }
  .studio-nav-links a { padding: 6px 10px; font-size: 13px; }
  .home-hero { grid-template-columns: minmax(0,1fr); gap: 30px; padding-top: 36px; padding-bottom: 40px; }
  .studio-home h1 { font-size: 43px; max-width: 360px; }
  .hero-description { font-size: 16px; }
  .hero-visual figcaption { padding: 18px; gap: 12px; }
  .hero-visual figcaption strong { font-size: 16px; }
  .hero-visual figcaption span { font-size: 13px; }
  .gameplay-section { padding: 40px 0; }
  .gameplay-grid, .release-grid, .studio-about { grid-template-columns: minmax(0,1fr); }
  .gameplay-grid { gap: 28px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 0; }
  .release-card { padding: 22px; }
  .release-heading { align-items: flex-start; }
  .studio-about { gap: 28px; padding-top: 36px; padding-bottom: 40px; }
  .releases-section { padding-top: 40px; padding-bottom: 40px; }
  .product-catalog > section { padding: 32px 22px; }
  .product-catalog .grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.download-panel { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; padding-top: 64px; padding-bottom: 80px; min-height: 65vh; }
.download-icon { border-radius: 24px; width: 112px; height: 112px; }
.download-panel h1 { font-size: clamp(30px,4vw,44px); line-height: 1.2; font-weight: 800; }

/* Cat Bank product landing page. */
.catbank-page .home-hero { background: #fffaf3; border-radius: 0 0 32px 32px; }
.catbank-page .hero-description strong { color: var(--studio-ink); }
.catbank-faq { padding-top: 64px; padding-bottom: 64px; max-width: 900px; }
.catbank-faq details { border-bottom: 1px solid var(--studio-line); padding: 20px 0; }
.catbank-faq summary { cursor: pointer; font-size: 18px; font-weight: 700; padding: 4px 0; }
.catbank-faq details p { margin-top: 12px; }
.catbank-faq a { text-decoration: underline; text-underline-offset: 3px; }
.catbank-final { background: #fff3df; padding: 48px 0; }
.catbank-final p { margin-bottom: 22px; }
.catbank-final .text-link { margin-top: 18px; }
@media (max-width: 700px) { .catbank-faq { padding-top: 36px; padding-bottom: 36px; } }
