:root {
  color-scheme: light;
  --amber: #D97706;
  --amber-dark: #A94F08;
  --amber-light: #F6BD64;
  --ink: #2F2B26;
  --muted: #716A61;
  --cream: #FFFDF8;
  --paper: #FFF8EA;
  --line: #EDE4D6;
  --sage: #DDE6D5;
  --display: "Trebuchet MS", "Avenir Next", ui-rounded, system-ui, sans-serif;
  --body: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--amber-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #7B3908; }
a:focus-visible { outline: 3px solid #E9A449; outline-offset: 4px; border-radius: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: absolute; z-index: 20; top: 12px; left: 12px; padding: 10px 14px; background: white; border: 2px solid var(--amber); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.section-wrap, .header-inner, .footer-inner { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: relative; z-index: 2; background: rgba(255, 253, 248, .93); border-bottom: 1px solid rgba(237, 228, 214, .76); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 21px/1 var(--display); letter-spacing: -.65px; }
.brand:hover { color: var(--amber-dark); }
.brand-mark { display: block; width: 42px; height: 42px; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.main-nav a { color: #5D564D; text-decoration: none; font-size: 14px; font-weight: 650; }
.main-nav a:hover { color: var(--amber-dark); }
.main-nav .nav-cta { color: white; padding: 11px 18px; border-radius: 999px; background: var(--amber); box-shadow: 0 4px 10px rgba(172, 90, 9, .15); transition: transform .18s ease, background .18s ease; }
.main-nav .nav-cta:hover { color: white; background: var(--amber-dark); transform: translateY(-1px); }

.hero { min-height: 585px; padding-block: 72px 82px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(28px, 6vw, 82px); }
.hero-copy { max-width: 565px; padding-block: 8px; }
.eyebrow { margin: 0 0 17px; display: flex; align-items: center; gap: 9px; color: #9B580D; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 100%; background: var(--amber); box-shadow: 0 0 0 4px #FCE9CC; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
h1 { margin-bottom: 22px; font-size: clamp(44px, 5.6vw, 70px); line-height: 1.02; letter-spacing: -.057em; font-weight: 850; }
h1 span { color: var(--amber); }
.hero-text { max-width: 520px; margin-bottom: 13px; color: #5B554D; font-size: 18px; line-height: 1.7; }
.hero-link-copy { max-width: 510px; margin-bottom: 26px; color: var(--muted); font-size: 15px; }
.hero-link-copy a, .rules-cta a { font-weight: 750; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 0 23px; border-radius: 999px; font-size: 15px; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--amber); box-shadow: 0 10px 22px rgba(168, 82, 3, .19); }
.button-primary:hover { color: white; background: var(--amber-dark); box-shadow: 0 12px 25px rgba(168, 82, 3, .24); }
.button span { font-size: 19px; line-height: 1; }
.text-link { color: #5F584E; font-size: 14px; font-weight: 750; text-decoration: none; }
.text-link:hover { color: var(--amber-dark); }
.free-note { margin: 21px 0 0; display: flex; align-items: center; gap: 8px; color: #6D675E; font-size: 13px; }
.check-mark { width: 18px; height: 18px; display: inline-grid; place-items: center; color: #537143; background: #E8F0DF; border-radius: 50%; font-size: 11px; font-weight: 900; }

.hero-art { position: relative; min-height: 410px; display: grid; place-items: center; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; z-index: -1; width: 390px; height: 360px; max-width: 94%; border-radius: 47% 53% 56% 44% / 48% 43% 57% 52%; background: #FFF1D9; transform: rotate(-8deg); }
.hero-art::after { content: ""; position: absolute; z-index: -1; width: 315px; height: 310px; border: 1px dashed #EAC98F; border-radius: 48% 52% 44% 56%; transform: rotate(17deg); }
.art-card { width: min(348px, 85%); padding: 17px; background: #FFFEFA; border: 1px solid #F1E5D3; border-radius: 21px; box-shadow: 0 22px 58px rgba(110, 77, 35, .15), 0 3px 10px rgba(110, 77, 35, .06); transform: rotate(2deg); }
.art-card-top, .art-card-bottom { display: flex; align-items: center; justify-content: space-between; color: #8D8274; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.live-dot { width: 7px; height: 7px; margin-right: -32px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px #FFF0D6; }
.tiny-paw { font-size: 16px; line-height: 1; filter: grayscale(1); opacity: .48; }
.puzzle-board { width: min(275px, 100%); margin: 15px auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; aspect-ratio: 1; }
.tile { position: relative; display: grid; place-items: center; border-radius: 7px; overflow: hidden; }
.blank-tile { background: #F0EDE6; box-shadow: inset 0 1px 2px rgba(72, 61, 45, .05); }
.lit-tile { background: #FFF1D4; box-shadow: inset 0 0 12px rgba(235, 165, 66, .15); }
.wall-tile { color: #F7DCAA; background: #605447; font-size: 14px; font-weight: 800; box-shadow: inset 0 2px 2px rgba(255,255,255,.1); }
.bulb-tile { background: #F7C568; box-shadow: inset 0 0 18px rgba(255,255,255,.38); }
.bulb-tile i { position: relative; width: 13px; height: 13px; border: 2px solid #FFF7E5; border-radius: 50%; background: #FFFDF3; box-shadow: 0 0 8px 4px #FFE29A, 0 0 18px 7px rgba(255, 195, 69, .45); }
.art-card-bottom { padding: 0 2px 1px; font-size: 10px; font-weight: 650; letter-spacing: 0; }
.mini-stars { color: #D78A17; letter-spacing: .18em; }
.art-spark { position: absolute; z-index: 1; color: #D9932B; }
.spark-one { top: 48px; right: 15%; font-size: 31px; transform: rotate(9deg); }
.spark-two { left: 6%; bottom: 72px; font-size: 25px; }
.cat-tag { position: absolute; right: 0; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 10px 15px; color: #6E5235; background: #FFFEFA; border: 1px solid #F1E5D3; border-radius: 999px; box-shadow: 0 8px 18px rgba(110,77,35,.1); font-size: 11px; font-weight: 750; transform: rotate(-4deg); }
.cat-tag-face { color: var(--amber-dark); font-size: 17px; }
.orbit { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #E4A647; }
.orbit-a { top: 46px; left: 17%; }
.orbit-b { right: 11%; bottom: 78px; width: 5px; height: 5px; background: #829170; }

.quick-strip { background: #F8F3E9; border-block: 1px solid #EEE6D9; }
.quick-strip-inner { width: min(930px, calc(100% - 48px)); min-height: 73px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.quick-strip p { margin: 0; display: flex; align-items: center; gap: 10px; color: #635C52; font-size: 13px; font-weight: 700; }
.strip-icon { color: var(--amber); font-size: 16px; }
.strip-divider { width: 1px; height: 23px; background: #E1D7C7; }

.content-section { padding-block: 106px 92px; }
.section-heading { max-width: 650px; margin: 0 auto 39px; text-align: center; }
.section-heading .eyebrow, .tips-intro .eyebrow { justify-content: center; }
h2 { margin-bottom: 15px; font-size: clamp(32px, 4.1vw, 47px); line-height: 1.13; letter-spacing: -.044em; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 16px; }
.section-heading strong { color: var(--ink); }
.rule-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rule-card { position: relative; min-height: 250px; padding: 27px 25px 23px; background: white; border: 1px solid #EFE8DE; border-radius: 17px; box-shadow: 0 5px 18px rgba(68, 49, 23, .035); transition: transform .2s ease, box-shadow .2s ease; }
.rule-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(68, 49, 23, .08); }
.rule-number { position: absolute; top: 24px; right: 24px; color: #C6B9A7; font: 700 12px/1 var(--display); }
.rule-icon { width: 43px; height: 43px; margin-bottom: 21px; display: grid; place-items: center; color: #A65807; background: #FFF1D8; border-radius: 13px; font-size: 23px; font-weight: 800; }
.eye-symbol { color: #587052; background: #EDF2E8; font-size: 20px; }
.clue-symbol { color: white; background: #615547; font: 800 17px/1 var(--display); }
.rule-card h3, .tip-card h3 { margin-bottom: 8px; font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.rule-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.rule-reminder { margin-top: 22px; padding: 16px 19px; display: flex; gap: 12px; align-items: flex-start; background: #FBF7EF; border: 1px solid #F0E9DD; border-radius: 12px; }
.rule-reminder > span { margin-top: 1px; color: var(--amber); }
.rule-reminder p { margin: 0; color: #645D53; font-size: 14px; }
.rule-reminder strong { color: var(--ink); }
.rules-cta { margin: 25px 0 0; text-align: center; color: #6B645A; font-size: 14px; }

.tips-section { background: #F8F4EC; border-block: 1px solid #EFE8DE; }
.tips-wrap { padding-block: 89px 92px; display: grid; grid-template-columns: .83fr 1.17fr; align-items: start; gap: clamp(35px, 8vw, 105px); }
.tips-intro { padding-top: 15px; }
.tips-intro .eyebrow { justify-content: flex-start; }
.tips-intro h2 { max-width: 360px; font-size: clamp(33px, 4vw, 45px); }
.tips-intro > p:not(.eyebrow) { max-width: 330px; color: var(--muted); font-size: 15px; }
.tip-doodle { margin-top: 30px; display: flex; align-items: center; gap: 12px; color: #BD791E; font-size: 18px; }
.doodle-line { width: 82px; border-top: 1px dashed #C9AD7F; }
.tips-list { margin: 0; padding: 0; display: grid; gap: 13px; list-style: none; counter-reset: tips; }
.tip-card { padding: 21px 22px; display: grid; grid-template-columns: 37px 1fr; gap: 14px; background: #FFFEFA; border: 1px solid #EEE5D7; border-radius: 15px; box-shadow: 0 4px 12px rgba(68,49,23,.025); }
.tip-index { width: 34px; height: 34px; display: grid; place-items: center; color: #985209; background: #FFF0D4; border-radius: 50%; font: 800 14px/1 var(--display); }
.tip-card h3 { margin: 2px 0 5px; font-size: 16px; }
.tip-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.tip-card strong { color: #494239; }

.closing-section { padding-block: 84px 91px; }
.closing-card { position: relative; min-height: 285px; padding: 48px clamp(28px, 6vw, 70px); display: flex; align-items: center; overflow: hidden; color: #FFF8EB; background: #60411F; border-radius: 24px; }
.closing-card::before { content: ""; position: absolute; width: 475px; height: 475px; top: -260px; right: 95px; border: 1px solid rgba(255,240,209,.12); border-radius: 50%; box-shadow: 0 0 0 31px rgba(255,240,209,.035), 0 0 0 63px rgba(255,240,209,.027); }
.closing-copy { position: relative; z-index: 1; max-width: 625px; }
.closing-copy .eyebrow { margin-bottom: 12px; color: #F6CB84; }
.closing-copy h2 { margin-bottom: 11px; color: #FFFCF6; font-size: clamp(32px, 4vw, 45px); }
.closing-copy > p:not(.eyebrow) { max-width: 575px; margin-bottom: 22px; color: #F1E3CB; font-size: 14px; }
.closing-copy strong { color: white; }
.button-light { min-height: 48px; color: #533815; background: #FFDB9F; }
.button-light:hover { color: #3D270B; background: #FFE9C4; }
.closing-moon { position: absolute; right: clamp(25px, 9vw, 115px); top: 50%; width: 190px; height: 190px; display: grid; place-items: center; border-radius: 50%; background: #E5AC50; box-shadow: 0 0 0 18px rgba(238,187,100,.08), 0 0 80px rgba(246,184,78,.17); transform: translateY(-50%); }
.moon-glow { position: absolute; inset: 14px; border: 1px solid rgba(255,249,229,.45); border-radius: 50%; }
.moon-cat { position: relative; margin-top: -10px; color: #644520; font: 800 50px/1 var(--display); letter-spacing: -8px; }
.moon-stars { position: absolute; bottom: 34px; color: #FFF3DB; font-size: 11px; }
.site-footer { background: #F8F4EC; border-top: 1px solid #EFE8DE; }
.footer-inner { min-height: 85px; display: flex; align-items: center; gap: 21px; }
.footer-brand { gap: 8px; font-size: 17px; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-inner > p { margin: 0; color: #857D72; font-size: 12px; }
.footer-play { margin-left: auto; color: #665B4C; font-size: 12px; font-weight: 750; text-decoration: none; }
.footer-play:hover { color: var(--amber-dark); }
.copyright { color: #9A9185; font-size: 11px; }

@media (max-width: 820px) {
  .hero { min-height: auto; padding-block: 58px 65px; gap: 20px; grid-template-columns: 1fr 0.88fr; }
  h1 { font-size: clamp(43px, 7vw, 59px); }
  .hero-text { font-size: 16px; }
  .hero-art { min-height: 355px; }
  .hero-art::before { height: 320px; }
  .art-card { width: min(320px, 90%); padding: 14px; }
  .puzzle-board { gap: 4px; }
  .quick-strip-inner { gap: 11px; }
  .quick-strip p { font-size: 11px; }
  .rule-card { padding: 23px 19px; }
  .tips-wrap { gap: 36px; }
  .closing-moon { right: 25px; width: 145px; height: 145px; opacity: .85; }
  .closing-copy { max-width: 72%; }
  .footer-inner { gap: 13px; }
}
@media (max-width: 620px) {
  .section-wrap, .header-inner, .footer-inner { width: min(100% - 36px, 500px); }
  .header-inner { min-height: 69px; gap: 12px; }
  .brand { gap: 7px; font-size: 18px; }
  .brand-mark { width: 36px; height: 36px; }
  .main-nav { gap: 12px; }
  .main-nav > a:not(.nav-cta) { display: none; }
  .main-nav .nav-cta { padding: 10px 13px; font-size: 12px; }
  .hero { padding-block: 49px 45px; grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { max-width: 500px; }
  .eyebrow { font-size: 10px; }
  h1 { margin-bottom: 17px; font-size: clamp(48px, 12vw, 62px); }
  .hero-text { margin-bottom: 10px; font-size: 15px; }
  .hero-link-copy { margin-bottom: 19px; font-size: 13px; }
  .hero-actions { gap: 18px; }
  .button { min-height: 48px; padding-inline: 19px; font-size: 13px; }
  .free-note { margin-top: 16px; font-size: 12px; }
  .hero-art { min-height: 340px; margin-top: 6px; }
  .hero-art::before { width: 340px; height: 300px; }
  .hero-art::after { width: 285px; height: 270px; }
  .art-card { width: min(302px, 81%); }
  .puzzle-board { width: min(242px, 100%); }
  .cat-tag { right: 2%; bottom: 7px; }
  .spark-one { right: 12%; top: 38px; }
  .quick-strip-inner { width: calc(100% - 34px); min-height: auto; padding-block: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .quick-strip p { font-size: 11px; line-height: 1.4; }
  .strip-divider { display: none; }
  .content-section { padding-block: 67px 63px; }
  .section-heading { margin-bottom: 26px; }
  h2 { font-size: 35px; }
  .section-heading > p:last-child { font-size: 14px; }
  .rule-list { grid-template-columns: 1fr; gap: 11px; }
  .rule-card { min-height: auto; padding: 19px 19px 18px; display: grid; grid-template-columns: 47px 1fr; column-gap: 14px; align-items: start; }
  .rule-number { top: 17px; right: 17px; }
  .rule-icon { grid-row: span 2; width: 43px; height: 43px; margin: 0; }
  .rule-card h3 { margin: 1px 24px 5px 0; font-size: 16px; }
  .rule-card p { grid-column: 2; font-size: 13px; }
  .rule-reminder { margin-top: 14px; padding: 13px; }
  .rule-reminder p, .rules-cta { font-size: 12px; }
  .tips-wrap { padding-block: 62px 66px; grid-template-columns: 1fr; gap: 17px; }
  .tips-intro { padding-top: 0; }
  .tips-intro h2 { max-width: 380px; font-size: 35px; }
  .tips-intro > p:not(.eyebrow) { max-width: 440px; font-size: 14px; }
  .tip-doodle { display: none; }
  .tips-list { gap: 10px; }
  .tip-card { padding: 16px; grid-template-columns: 32px 1fr; gap: 11px; }
  .tip-index { width: 30px; height: 30px; font-size: 12px; }
  .tip-card h3 { font-size: 14px; }
  .tip-card p { font-size: 12px; }
  .closing-section { padding-block: 56px 62px; }
  .closing-card { min-height: 0; padding: 32px 24px; border-radius: 19px; }
  .closing-copy { max-width: 100%; }
  .closing-copy .eyebrow { font-size: 9px; }
  .closing-copy h2 { max-width: 310px; font-size: 33px; }
  .closing-copy > p:not(.eyebrow) { max-width: 100%; font-size: 12px; }
  .closing-moon { right: -51px; top: 8px; width: 115px; height: 115px; transform: none; opacity: .23; }
  .moon-cat { font-size: 32px; }
  .moon-glow { inset: 9px; }
  .moon-stars { bottom: 21px; }
  .site-footer { padding-block: 15px; }
  .footer-inner { min-height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 15px; }
  .footer-inner > p { font-size: 10px; }
  .footer-play { margin-left: 0; font-size: 11px; }
  .copyright { text-align: right; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
