/* Clawarat Games website. Colours only from src/config/palette.js (ui.sky, ui.ink, ui.accent, ui.cream, ui.white).
   Never white text on orange: text on ui.accent is always ui.ink. */
@font-face { font-family: 'Baloo 2'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/baloo-2-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-style: normal; font-display: swap; src: url('/assets/fonts/baloo-2-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/nunito-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-style: normal; font-display: swap; src: url('/assets/fonts/nunito-latin-800-normal.woff2') format('woff2'); }

:root { --sky: #BFE6FF; --ink: #12243A; --accent: #FF7A1A; --cream: #FFF4E2; --white: #FFFFFF; --display: 'Baloo 2', sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sky); color: var(--ink); font-family: 'Nunito', system-ui, sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--white); padding: 12px 16px; border-radius: 999px; font-weight: 800; }

/* Header */
.site-header { padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand span { font: 800 24px/1 var(--display); color: var(--ink); }
.nav { display: flex; gap: 8px; flex-wrap: wrap; font: 800 17px/1 'Nunito', sans-serif; }
.nav a { padding: 12px 16px; border-radius: 999px; text-decoration: none; }
.nav a[aria-current="page"] { background: var(--white); }

main { flex: 1 0 auto; width: 100%; }

/* Logo word: Cla + WAR + at, white / orange letters with an ink stroke */
.out, .war { -webkit-text-stroke: 0.096em var(--ink); paint-order: stroke fill; }
.out { color: var(--white); }
.war { color: var(--accent); }

/* Home: hero */
.hero { padding: 40px 24px 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-icon { width: 300px; height: 300px; border-radius: 64px; box-shadow: 0 16px 0 rgba(18, 36, 58, 0.12); flex: 0 0 auto; }
.hero-text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.logo { margin: 0; font: 800 clamp(60px, 17vw, 104px)/1 var(--display); letter-spacing: 1px; white-space: nowrap; }
.tagline { margin: 0; font: 800 34px/1.1 var(--display); }
.pitch { margin: 0; font-size: 21px; line-height: 1.5; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; background: var(--accent); color: var(--ink); font: 800 22px/1 var(--display); box-shadow: 0 6px 0 var(--ink); text-decoration: none; }
.pill:hover { color: var(--ink); }
.cta-note { font-size: 16px; }

/* Home: screenshots */
.shots { background: var(--cream); padding: 64px 24px; }
.shots .wrap { display: flex; flex-direction: column; gap: 32px; }
.shots h2 { margin: 0; font: 800 44px/1.1 var(--display); text-align: center; }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.shot-grid figure { margin: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.shot-grid img { width: 100%; max-width: 250px; height: auto; aspect-ratio: 1 / 2; object-fit: cover; border-radius: 28px; border: 6px solid var(--ink); }
.shot-grid figcaption { font: 800 20px/1.2 var(--display); text-align: center; }

/* Home: three facts */
.facts { padding: 64px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.fact { background: var(--white); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.fact p { margin: 0; }
.fact-big { font: 800 44px/1 var(--display); }
.fact-title { font: 800 22px/1.2 var(--display); }
.fact-body { font-size: 17px; line-height: 1.5; }

/* Privacy */
.doc { max-width: 820px; margin: 0 auto; padding: 24px 24px 72px; }
.doc article { background: var(--white); border-radius: 32px; padding: 48px 40px; display: flex; flex-direction: column; gap: 28px; }
.doc h1 { margin: 0; font: 800 52px/1.05 var(--display); }
.doc h2 { margin: 0; font: 800 28px/1.2 var(--display); }
.doc p, .doc li { margin: 0; font-size: 18px; line-height: 1.6; }
.doc ul { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 6px; }
.doc section, .doc .title { display: flex; flex-direction: column; gap: 10px; }
.doc .title { gap: 8px; }
.doc .meta { font-size: 16px; }
.doc .short { background: var(--cream); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.doc .short h2 { font-size: 24px; }

/* Contact and 404 card */
.card-page { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }
.card { background: var(--white); border-radius: 32px; padding: 48px 40px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.card img { width: 120px; height: 120px; border-radius: 28px; }
.card h1 { margin: 0; font: 800 52px/1.05 var(--display); }
.card p { margin: 0; font-size: 19px; line-height: 1.55; max-width: 480px; }
.card .small { font-size: 16px; }
.card .pill { padding: 18px 28px; font-size: 24px; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--ink); color: var(--white); padding: 40px 24px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; font-size: 16px; }
.site-footer .copy { font: 800 20px/1 var(--display); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--accent); }
.site-footer a:focus-visible { outline-color: var(--white); }
.site-footer .credits { flex-basis: 100%; margin: 8px 0 0; font-size: 14px; line-height: 1.5; }

@media (max-width: 600px) {
  .hero { padding-top: 24px; gap: 32px; justify-content: center; }
  .hero-icon { width: 240px; height: 240px; border-radius: 52px; }
  .tagline { font-size: 30px; }
  .pitch { font-size: 19px; }
  .hero .pill { padding: 14px 20px; font-size: 19px; }
  .shots h2 { font-size: 36px; }
  .doc article, .card { padding: 32px 20px; border-radius: 28px; }
  .doc h1, .card h1 { font-size: 42px; }
  .card-page { padding: 24px 16px 56px; }
  .card { padding: 32px 16px; }
  .card .pill { padding: 14px 18px; gap: 8px; font-size: 17px; overflow-wrap: normal; }
}
