:root {
  color-scheme: light;
  --paper: #f7f5eb;
  --ink: #19342f;
  --muted: #5c7068;
  --white: #fffefa;
  --peach: #f9cba5;
  --orange: #e96e4a;
  --yellow: #ffd56b;
  --green: #c9dfbe;
  --line: #d9ded1;
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 16px; z-index: 50; padding: 12px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 26px; letter-spacing: -1.6px; font-weight: 850; white-space: nowrap; }
.brand-icon { background: var(--orange); color: var(--white); border-radius: 100%; width: 32px; height: 32px; display: inline-grid; place-items: center; font-size: 22px; font-weight: 400; letter-spacing: 0; }
.brand-dot { color: var(--orange); margin-left: -8px; }
.nav { display: flex; align-items: center; gap: 10px; }
.nav a { text-decoration: none; border-radius: 50px; padding: 7px 16px; font-size: 14px; font-weight: 700; }
.nav a:hover, .nav a[aria-current="page"] { background: #e8eddf; }
.eyebrow { text-transform: uppercase; font-weight: 850; font-size: 12px; letter-spacing: 2.1px; }
.status-dot { width: 9px; height: 9px; display: inline-block; background: #7ca56e; border-radius: 50%; margin-right: 6px; }
h1, h2, p { margin-top: 0; }
h1, h2 { line-height: 1.13; letter-spacing: -2px; }
em { color: var(--orange); font-style: normal; }
.hero { padding-top: 74px; padding-bottom: 98px; display: grid; grid-template-columns: 1.13fr 0.87fr; align-items: center; gap: 56px; }
.hero h1 { font-size: clamp(54px, 6.1vw, 83px); margin: 19px 0 25px; font-weight: 900; }
.hero-description { max-width: 480px; font-size: clamp(17px, 2vw, 20px); color: var(--muted); line-height: 1.55; margin-bottom: 30px; }
.button { cursor: pointer; display: inline-flex; justify-content: center; align-items: center; gap: 21px; padding: 15px 25px; border-radius: 100px; font-weight: 800; font-size: 15px; text-decoration: none; border: 0; transition: transform .16s ease, background .16s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: #fff; }
.button-primary:hover { background: #d65c3b; }
.button-dark { width: 100%; background: var(--ink); color: white; }
.button-dark:hover { background: #2e5449; }
.micro-copy { font-size: 13px; color: var(--muted); margin: 15px 0 0; }
.hero-art { position: relative; border-radius: 42% 42% 28px 28px; min-height: 435px; background: var(--green); display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; }
.hero-art::before { content: ""; position: absolute; width: 370px; height: 370px; border: 1px dashed rgba(25,52,47,.15); border-radius: 50%; top: 24px; left: 50%; transform: translateX(-50%); }
.art-spark { color: var(--orange); position: absolute; font-size: 42px; }
.art-spark-one { left: 12%; top: 23%; }
.art-spark-two { right: 11%; bottom: 30%; font-size: 52px; }
.clock-illustration { position: relative; width: 210px; height: 270px; margin-top: 35px; filter: drop-shadow(8px 15px 0 rgba(25,52,47,.12)); }
.clock-roof { position: absolute; top: 4px; left: 0; width: 210px; height: 68px; background: #b9563d; clip-path: polygon(50% 0, 100% 100%, 0 100%); z-index: 2; }
.clock-house { position: absolute; left: 16px; top: 64px; width: 178px; height: 176px; background: #e9ac72; border: 9px solid var(--ink); border-bottom-width: 12px; border-radius: 8px 8px 17px 17px; }
.clock-door { position: absolute; width: 67px; height: 73px; border-radius: 40px 40px 8px 8px; background: var(--ink); left: 46px; top: -10px; display: grid; place-items: center; overflow: visible; }
.clock-bird { font-size: 53px; transform: translateY(5px); }
.clock-dial { position: absolute; bottom: 7px; left: 52px; background: var(--paper); width: 58px; height: 58px; border: 6px solid var(--ink); border-radius: 50%; }
.clock-hand { position: absolute; left: 22px; bottom: 22px; background: var(--ink); width: 3px; transform-origin: bottom center; border-radius: 6px; }
.clock-hand-hour { height: 16px; transform: rotate(36deg); }
.clock-hand-minute { height: 20px; transform: rotate(115deg); }
.clock-center { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); left: 20px; top: 20px; }
.clock-pendulum { width: 6px; height: 30px; background: var(--ink); position: absolute; left: 102px; bottom: 0; }
.clock-pendulum::after { content: ""; width: 23px; height: 23px; background: var(--yellow); border: 5px solid var(--ink); border-radius: 50%; position: absolute; bottom: -11px; left: -13px; }
.speech-bubble { position: absolute; top: 64px; right: 9%; background: var(--white); padding: 10px 18px; font-weight: 900; transform: rotate(9deg); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 4px 5px 0 var(--ink); }
.art-caption { color: var(--ink); font-size: 13px; font-weight: 750; margin: 18px 0 0; }
.game-section { background: #e9eee2; border-top: 1px solid #dce3d8; border-bottom: 1px solid #dce3d8; padding: 85px 0 90px; scroll-margin-top: 12px; }
.game-layout { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(35px, 7vw, 110px); align-items: center; }
.section-intro h2 { font-size: clamp(46px, 5vw, 69px); font-weight: 900; margin: 15px 0 20px; }
.section-intro > p:not(.eyebrow):not(.no-download) { max-width: 410px; font-size: 18px; color: var(--muted); }
.game-instructions { border-top: 1px solid #bfcbbd; margin-top: 32px; padding-top: 15px; }
.game-instructions div { padding: 9px 0; font-size: 15px; font-weight: 700; }
.game-instructions strong { color: var(--orange); font-weight: 900; margin-right: 14px; }
.no-download { color: var(--muted); font-size: 13px; margin-top: 22px; }
.game-card { width: 100%; max-width: 490px; justify-self: end; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 9px 11px 0 rgba(25,52,47,.14); padding: 27px; }
.game-topline { display: flex; justify-content: space-between; margin-bottom: 20px; }
.game-stat { display: flex; flex-direction: column; }
.game-stat-right { text-align: right; }
.stat-label { font-size: 11px; letter-spacing: 1.7px; font-weight: 900; color: var(--muted); }
.game-stat strong { font-size: 30px; font-weight: 900; line-height: 1.3; font-variant-numeric: tabular-nums; }
.game-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.window { appearance: none; aspect-ratio: 1/1; min-width: 0; display: grid; place-items: center; background: #f3e8d7; border: 2px solid #e7d9c4; border-radius: 14px; cursor: pointer; padding: 14px; position: relative; transition: background .12s ease, transform .12s ease; }
.window:not(:disabled):hover { background: #fce2c1; }
.window:disabled { cursor: default; opacity: 1; }
.window:active:not(:disabled) { transform: scale(.97); }
.window-shape { border-radius: 50% 50% 9px 9px; display: grid; place-items: center; height: 82%; width: 78%; background: #d9c7a9; border: 5px solid #b89f80; box-shadow: inset 0 8px 0 rgba(25,52,47,.10); }
.window.is-active .window-shape { background: #426758; border-color: #284a3d; }
.bird { font-size: clamp(24px, 4.4vw, 43px); line-height: 1; user-select: none; animation: pop-in .17s ease-out both; }
@keyframes pop-in { from { transform: translateY(16px) scale(.7); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.game-message { font-size: 13px; color: var(--muted); text-align: center; min-height: 40px; margin: 17px 0 11px; }
.below-game { padding-top: 65px; padding-bottom: 70px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.mini-feature { display: flex; align-items: flex-start; gap: 18px; max-width: 550px; }
.feature-symbol { color: var(--orange); font-size: 55px; line-height: .9; }
.mini-feature h2 { font-size: 23px; letter-spacing: -.5px; margin-bottom: 8px; }
.mini-feature p { font-size: 15px; color: var(--muted); margin: 0; }
.feature-links { min-width: 230px; display: flex; flex-direction: column; gap: 10px; }
.text-link { font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 5px; display: inline-flex; justify-content: space-between; gap: 12px; }
.text-link:hover { color: var(--orange); border-color: var(--orange); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 85px; font-size: 13px; color: var(--muted); }
.inside-page { padding-top: 80px; padding-bottom: 95px; }
.inside-page h1 { max-width: 850px; font-size: clamp(50px, 6.2vw, 79px); font-weight: 900; margin: 22px 0; }
.lead { font-size: clamp(18px, 2.4vw, 23px); color: var(--muted); max-width: 660px; margin-bottom: 46px; }
.content-panel { max-width: 830px; border-radius: 24px; border: 1px solid var(--line); background: var(--white); padding: clamp(25px, 5vw, 62px); }
.content-panel h2 { font-size: 28px; letter-spacing: -.9px; margin-bottom: 12px; }
.content-panel h2:not(:first-child) { margin-top: 37px; }
.content-panel p { color: var(--muted); font-size: 17px; max-width: 680px; }
.content-panel .button { margin-top: 20px; }
.article-list { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 900px; }
.article-card { background: var(--white); border: 1px solid var(--line); border-radius: 23px; padding: clamp(25px, 4.8vw, 48px); }
.article-number { color: var(--orange); letter-spacing: 1.5px; font-size: 12px; font-weight: 900; }
.article-card h2 { font-size: clamp(26px, 3vw, 37px); letter-spacing: -1px; margin: 14px 0 20px; }
.article-card p { color: var(--muted); font-size: 17px; max-width: 730px; margin-bottom: 12px; }
.article-card p:last-child { margin-bottom: 0; }
.end-note { max-width: 900px; display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.end-note > span { font-size: 36px; color: var(--orange); }
.end-note p { margin: 0; flex: 1; color: var(--muted); }
.end-note .text-link { white-space: nowrap; }
@media (max-width: 850px) { .hero { gap: 28px; } .hero-art { min-height: 370px; } .game-layout { gap: 35px; } .game-card { padding: 18px; } .game-grid { gap: 8px; } }
@media (max-width: 670px) {
  .container { width: min(100% - 32px, 530px); }
  .header-inner { flex-wrap: wrap; justify-content: center; padding: 18px 0 15px; gap: 12px; }
  .brand { font-size: 23px; }
  .brand-icon { width: 28px; height: 28px; }
  .nav { gap: 3px; }
  .nav a { padding: 5px 12px; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 58px; gap: 35px; }
  .hero h1 { font-size: clamp(47px, 12vw, 70px); }
  .hero-art { min-height: 370px; }
  .game-section { padding: 55px 0 64px; }
  .game-layout { grid-template-columns: 1fr; }
  .section-intro h2 { font-size: 49px; }
  .section-intro > p:not(.eyebrow):not(.no-download) { font-size: 16px; }
  .game-instructions { display: none; }
  .no-download { margin-top: 15px; }
  .game-card { max-width: none; justify-self: stretch; padding: 19px; }
  .window { padding: 9px; }
  .bird { font-size: clamp(30px, 8vw, 44px); }
  .below-game { flex-direction: column; align-items: stretch; padding: 48px 0; }
  .feature-links { min-width: 0; }
  .footer-inner { flex-direction: column; text-align: center; justify-content: center; gap: 3px; padding: 20px 0; }
  .inside-page { padding: 49px 0 70px; }
  .inside-page h1 { font-size: clamp(43px, 10vw, 65px); }
  .end-note { flex-wrap: wrap; }
  .end-note .text-link { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
