:root {
  --ink: #172042;
  --muted: #59647b;
  --blue: #3859d9;
  --blue-deep: #2945b6;
  --paper: #f7f8fc;
  --line: #dce1ed;
  --peach: #ffbe98;
  --lavender: #dcd8fa;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.hero-shell a:focus-visible, .hero-shell button:focus-visible { outline-color: var(--peach); }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; }
h1 { font-size: clamp(44px, 5.5vw, 74px); font-weight: 760; margin-bottom: 24px; }
h2 { font-size: clamp(31px, 3.4vw, 46px); font-weight: 710; }
h3 { font-size: 24px; font-weight: 700; }
p { color: var(--muted); }
em { font-family: Georgia, serif; font-weight: 400; color: var(--blue); }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.narrow { max-width: 800px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 10px; line-height: 1.6; letter-spacing: 1.8px; font-weight: 750; text-transform: uppercase; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 100; background: white; padding: 12px 18px; border-radius: 8px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.topline { min-height: 36px; padding: 8px max(32px, calc((100vw - 1200px)/2)); display: flex; justify-content: space-between; gap: 24px; background: #e9edfb; color: #384a83; font-size: 10px; letter-spacing: 1px; }
.topline span:first-child { font-weight: 750; }
.site-header { display: flex; align-items: center; gap: 30px; width: min(1200px, calc(100% - 64px)); margin: auto; padding: 26px 0; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 11px; }
.brand > span { font-size: 25px; font-weight: 760; line-height: 1; letter-spacing: -1.2px; }
.brand b { color: var(--blue); font-weight: 500; }
.brand small { display: block; font-size: 8px; font-weight: 550; color: var(--muted); line-height: 1.5; letter-spacing: 1.2px; margin-top: 7px; }
.site-header nav { display: flex; gap: 26px; margin-left: auto; font-size: 12px; font-weight: 600; }
.site-header nav a { padding-block: 8px; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--blue); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; padding: 14px 23px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.5; min-height: 48px; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--blue); color: white; border-color: var(--blue); }
.button.primary:hover { background: var(--blue-deep); }
.button.accent { background: var(--peach); border-color: var(--peach); color: var(--ink); }
.button.accent:hover { background: #ffcbaa; }
.button.small { min-height: 42px; padding: 10px 16px; font-size: 11px; gap: 14px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: transparent; padding: 11px; }
.menu-toggle span { height: 2px; width: 20px; display: block; background: var(--ink); margin: 5px 0; transition: transform .2s; }
.menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.hero-shell { background: radial-gradient(ellipse at 100% 0, #344784 0, transparent 55%), #172042; color: white; border-radius: 28px; padding: 64px 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 46px; align-items: center; overflow: hidden; position: relative; }
.hero-shell .eyebrow { color: #d0d8f8; font-size: 9px; letter-spacing: 1.4px; }
.live-dot { width: 7px; height: 7px; background: var(--peach); border-radius: 50%; }
.hero-copy h1 { font-size: clamp(49px, 5.4vw, 73px); margin: 24px 0; letter-spacing: -.06em; line-height: 1.09; }
.hero-copy em { color: var(--peach); }
.hero-copy > p { max-width: 440px; font-size: 15px; color: #c1cbe4; line-height: 1.9; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.hero-link { font-size: 12px; color: #e8edff; font-weight: 600; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 30px; font-size: 10px; color: #c1cbe4; }
.hero-notes span { display: inline-flex; gap: 7px; align-items: center; }
.hero-notes span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--peach); }
.hero-console { background: #f5f5ff; border: 1px solid #8796c8; border-radius: 19px; color: var(--ink); box-shadow: 0 24px 60px #060c2d4d; transform: rotate(3deg); }
.console-top { display: flex; align-items: center; justify-content: space-between; padding: 13px 17px; border-bottom: 1px solid #dde0ef; font-size: 9px; color: #657295; }
.console-dots { color: #9ea9d5; font-size: 8px; letter-spacing: 2px; }
.console-label { padding: 24px 25px 18px; }
.console-label > span { font-size: 8px; color: #5a6789; letter-spacing: 1.6px; font-weight: 700; }
.console-label h2 { font-size: 35px; margin: 10px 0 0; line-height: 1.05; }
.console-grid { padding: 0 21px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.console-tile { min-width: 0; border: 0; text-align: left; border-radius: 12px; padding: 15px; color: var(--ink); display: grid; grid-template-columns: 1fr auto; align-items: end; row-gap: 13px; transition: transform .2s; }
.console-tile:hover { transform: translateY(-4px); }
.console-tile > span:not(.tile-symbol) { font-size: 10px; font-weight: 700; }
.console-tile b { font-size: 15px; font-weight: 500; }
.tile-symbol { grid-column: 1/-1; font-size: 36px; font-weight: 800; line-height: 1.2; letter-spacing: -2px; }
.tile-memory { background: #dcd8fa; }
.tile-2048 { background: #ffcfad; }
.tile-2048 .tile-symbol { font-size: 29px; }
.tile-reflex { background: #cbd9ff; }
.tile-snake { background: #dce8f6; }
.console-bottom { padding: 16px 25px; display: flex; justify-content: space-between; align-items: center; font-size: 9px; color: #596789; }
.console-bottom > span:last-child { font-size: 21px; color: var(--blue); }
.rhythm-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 4px; border-bottom: 1px solid var(--line); font-size: 10px; color: var(--blue); }
.rhythm-strip b { color: var(--ink); font-size: 12px; margin-left: 12px; font-weight: 600; }
.rhythm-strip .strip-note { color: var(--muted); font-size: 11px; }
.section { padding-block: 78px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { margin: 14px 0 0; }
.section-heading > p { font-size: 13px; margin: 0 0 4px; }
.section-heading .eyebrow, .page-intro .eyebrow { color: var(--blue); }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.game-card { min-width: 0; }
.game-cover { position: relative; padding: 0; width: 100%; border: 1px solid #dce1ef; border-radius: 17px; background: #e5e9f6; overflow: hidden; display: block; }
.game-cover img { width: 100%; height: auto; aspect-ratio: 640/440; transition: transform .3s; }
.game-cover:hover img { transform: scale(1.045); }
.play-circle { position: absolute; right: 12px; bottom: 12px; border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; background: #ffffffed; font-size: 18px; }
.game-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px; margin-top: 20px; font-size: 9px; color: var(--muted); }
.game-meta > span:first-child { color: var(--blue); text-transform: uppercase; font-weight: 750; letter-spacing: 1px; }
.game-card h3 { font-size: 23px; margin: 10px 0; }
.game-card p { font-size: 12px; line-height: 1.8; min-height: 44px; }
.game-link { border: 0; border-top: 1px solid var(--line); padding: 14px 0 0; width: 100%; background: transparent; display: flex; justify-content: space-between; align-items: center; color: var(--ink); font-size: 11px; font-weight: 700; }
.game-link:hover { color: var(--blue); }
.section-footnote { margin: 26px 0 0; font-size: 10px; }
.guide-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; border-radius: 24px; background: #e9edfb; overflow: hidden; }
.feature-graphic { min-height: 365px; height: 100%; position: relative; display: grid; place-items: center; overflow: hidden; background: #dde4fb; }
.feature-lock { height: 150px; width: 150px; background: var(--blue); color: #fff; font-size: 110px; line-height: 1; display: grid; place-items: center; border-radius: 34px; transform: rotate(-10deg); z-index: 1; box-shadow: 14px 16px 0 #b6c4f4; }
.orbital { border: 1px solid #b6c4f1; width: 300px; height: 300px; position: absolute; border-radius: 50%; }
.orbital-two { width: 430px; height: 430px; }
.orbital-one::after { content: ''; position: absolute; top: 31px; left: 17px; width: 35px; height: 35px; border-radius: 50%; background: var(--peach); }
.graphic-label { position: absolute; bottom: 25px; font-size: 9px; letter-spacing: 2px; font-weight: 700; z-index: 1; }
.feature-copy { padding: 48px 50px 48px 0; }
.feature-copy h2 { margin: 16px 0 20px; }
.feature-copy p { font-size: 13px; line-height: 1.9; }
.feature-copy .button { margin-top: 10px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.article-card { display: block; min-width: 0; }
.article-art { height: 215px; border-radius: 15px; background: #dce5fb; position: relative; overflow: hidden; margin-bottom: 22px; }
.article-art::before, .article-art::after { content: ''; border: 1px solid #17204218; border-radius: 50%; width: 215px; height: 215px; position: absolute; top: -30px; right: -20px; }
.article-art::after { width: 300px; height: 300px; right: -65px; top: -70px; }
.art-number { position: absolute; left: 22px; top: 18px; font-size: 11px; color: #3c4b73; }
.art-symbol { position: absolute; top: 4px; right: 36px; font-size: 130px; font-weight: 500; line-height: 1.3; color: var(--blue); transform: rotate(-13deg); }
.art-caption { position: absolute; bottom: 18px; left: 22px; font-size: 8px; font-weight: 700; letter-spacing: 1.5px; }
.art-key { background: #f8dac6; }
.art-key .art-symbol { color: #8b4f2b; }
.art-phone { background: #e3ddf9; }
.art-phone .art-symbol { color: #6450a5; font-size: 150px; top: -5px; }
.art-pause { background: #f2e8c7; }
.art-pause .art-symbol { color: #8b7130; }
.art-tabs { background: #d7e9f0; }
.art-tabs .art-symbol { color: #32718b; }
.art-play { background: #d9e0f8; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 10px; color: var(--muted); }
.article-meta > span:first-child { font-weight: 700; text-transform: uppercase; letter-spacing: .9px; color: var(--blue); }
.article-card h3 { font-size: 27px; margin: 13px 0; line-height: 1.2; }
.article-card p { font-size: 12px; line-height: 1.9; margin-bottom: 15px; }
.read-link, .text-link { display: inline-flex; gap: 25px; font-size: 12px; font-weight: 700; }
.article-card:hover h3, .text-link:hover { color: var(--blue); }
.check-callout { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; padding: 45px 50px; background: #172042; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.check-callout .eyebrow { color: #cbd6fa; }
.check-callout h2 { margin: 16px 0; font-size: 39px; }
.check-callout p { font-size: 13px; color: #c1cbe4; margin-bottom: 0; max-width: 470px; }
.check-callout .button { flex-shrink: 0; }
.callout-symbol { position: absolute; z-index: -1; right: 200px; top: -85px; font-size: 360px; line-height: 1.2; color: #222f5b; transform: rotate(10deg); }
.faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.faq h2 { margin: 16px 0; }
.faq > div > p { font-size: 13px; }
.faq .text-link { margin-top: 10px; }
.faq-items { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 22px; color: var(--blue); line-height: 1; }
details[open] summary::after { content: '−'; }
details p { font-size: 13px; margin: 16px 0 0; line-height: 1.9; }
.site-footer { background: #e9edf7; border-top: 1px solid var(--line); }
.footer-top { padding-block: 55px 40px; display: grid; grid-template-columns: 1.1fr .8fr 1fr 1.3fr; gap: 35px; }
.footer-brand p { font-size: 13px; line-height: 1.9; margin: 20px 0 0; }
.footer-top h2 { font-size: 12px; letter-spacing: 0; margin: 5px 0 20px; }
.footer-top > div > a:not(.brand), .text-button { display: block; font-size: 11px; line-height: 2.5; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--ink); text-align: left; }
.footer-top a:hover, .text-button:hover { color: var(--blue); }
.footer-contact p { font-size: 10px; line-height: 1.9; margin: 12px 0; }
.footer-contact .owner { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid #ced6e9; padding-block: 20px; font-size: 10px; color: #56627c; }

.page-intro { padding-block: 60px 30px; }
.page-intro h1 { margin: 18px 0 25px; }
.page-intro > p { max-width: 630px; font-size: 17px; line-height: 1.85; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.filters button { border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 10px 17px; color: var(--ink); font-size: 12px; font-weight: 600; }
.filters button.active { color: white; background: var(--blue); border-color: var(--blue); }
.page-intro .filter-status { font-size: 11px; margin: 18px 0 0; }
.all-articles { padding-top: 15px; row-gap: 50px; }
.reading { max-width: 800px; width: calc(100% - 48px); margin: 0 auto; padding: 55px 0 75px; }
.back-link { font-size: 12px; display: block; margin-bottom: 38px; color: #52618a; }
.reading h1 { font-size: clamp(38px, 4.8vw, 62px); margin: 20px 0 25px; }
.reading .lead { font-size: 21px; color: #5a6681; line-height: 1.65; }
.byline { display: flex; gap: 10px; flex-wrap: wrap; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line); padding: 20px 0 25px; margin-bottom: 36px; }
.reading section { margin: 30px 0; }
.reading section h2 { font-size: 27px; letter-spacing: -.03em; margin-bottom: 14px; }
.reading section p { font-size: 16px; line-height: 1.95; }
.reading p a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.reading-note { background: #e7ecfb; border-left: 3px solid var(--blue); padding: 22px 25px; border-radius: 0 12px 12px 0; font-size: 13px; line-height: 1.9; margin: 30px 0; }
.reading-note strong { display: block; color: var(--blue); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.reading-note p { margin: 0; font-size: 14px; }
.reading-disclaimer { font-size: 11px; line-height: 1.9; }
.next-article { display: grid; grid-template-columns: 1fr auto; gap: 10px 25px; padding: 25px 0; margin-top: 35px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.next-article > span:first-child { grid-column: 1/-1; color: var(--blue); font-size: 9px; letter-spacing: 1px; }
.next-article strong { font-size: 19px; }
.next-article > span:last-child { font-size: 24px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 65px; padding-top: 25px; }
.contact-panel { padding: 38px; background: #e8edfc; border-radius: 22px; }
.contact-panel h2 { margin: 18px 0 25px; }
.large-mail { font-size: clamp(17px, 2.4vw, 27px); font-weight: 700; color: var(--blue); overflow-wrap: anywhere; }
.contact-panel p { font-size: 13px; margin-top: 25px; line-height: 1.95; }
.contact-details { align-self: center; }
.contact-details h2 { margin: 15px 0 30px; }
.contact-details h3 { font-size: 16px; letter-spacing: -.02em; }
.contact-details address { font-size: 14px; font-style: normal; color: var(--muted); line-height: 1.9; max-width: 410px; }
.contact-details p { font-size: 12px; margin-top: 25px; }
.checklist { padding-block: 10px 65px; }
.progress-line { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; margin-bottom: 12px; }
.progress-line > span { font-size: 11px; color: var(--muted); }
progress { appearance: none; width: 100%; height: 7px; border: 0; border-radius: 5px; background: #e1e6f2; display: block; margin-bottom: 30px; overflow: hidden; accent-color: var(--blue); }
progress::-webkit-progress-bar { background: #e1e6f2; }
progress::-webkit-progress-value { background: var(--blue); border-radius: 5px; }
progress::-moz-progress-bar { background: var(--blue); }
.checklist label { display: flex; align-items: start; gap: 17px; padding: 21px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 12px; cursor: pointer; }
.checklist label:has(input:checked) { background: #eaf0ff; border-color: #b9c7f2; }
.checklist input { flex-shrink: 0; width: 20px; height: 20px; accent-color: var(--blue); margin: 4px 0 0; }
.checklist label b { display: block; font-size: 15px; }
.checklist label small { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.check-save { display: flex; align-items: center; gap: 22px; margin-top: 25px; }
.check-save p { font-size: 11px; margin: 0; max-width: 230px; }
#save-result { font-size: 12px; margin-top: 18px; }
.not-found { position: relative; text-align: center; padding-block: 90px; isolation: isolate; overflow: hidden; }
.not-found .eyebrow { display: block; color: var(--blue); }
.not-found h1 { margin: 20px 0; }
.not-found p { font-size: 14px; }
.not-found .button { margin-top: 20px; }
.error-number { position: absolute; inset: -100px 0 auto; z-index: -1; font-size: clamp(180px, 35vw, 450px); font-weight: 900; color: #e8ecf9; letter-spacing: -.08em; }
code { padding: 3px 5px; border-radius: 4px; background: #e4e9f6; font-size: .85em; overflow-wrap: anywhere; }
.toast { position: fixed; z-index: 110; left: 50%; bottom: 25px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 15px 22px; border-radius: 12px; box-shadow: 0 10px 35px #17204230; background: var(--ink); color: white; font-size: 12px; }

dialog { width: min(590px, 94vw); max-height: 92dvh; padding: 28px; border: 1px solid #d5dcef; border-radius: 22px; background: var(--paper); color: var(--ink); overflow-y: auto; box-shadow: 0 30px 100px #080e3f50; }
dialog::backdrop { background: #0a1235bd; backdrop-filter: blur(6px); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.dialog-head .eyebrow { color: var(--blue); font-size: 9px; }
.dialog-head h2 { font-size: 30px; margin: 9px 0; }
.close { flex-shrink: 0; background: #e9edf8; border: 1px solid var(--line); border-radius: 50%; width: 40px; height: 40px; color: var(--ink); font-size: 26px; }
#game-instructions { font-size: 12px; line-height: 1.8; margin-top: 15px; }
.game-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0; }
.game-toolbar b { font-size: 12px; }
.memory-grid, .number-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 390px; margin-inline: auto; }
.memory-card { aspect-ratio: 1; font-size: 30px; font-weight: 650; border: 1px solid #c4ceef; border-radius: 11px; background: #dce4fb; color: var(--blue); }
.memory-card.revealed { background: #ffe0c9; border-color: #edc6a8; color: #59361f; }
.memory-card.matched { background: var(--blue); border-color: var(--blue); color: white; }
.number-grid { padding: 10px; border-radius: 13px; background: #cfd8f2; touch-action: none; }
.number-cell { aspect-ratio: 1; background: #e9edfa; border-radius: 8px; display: grid; place-items: center; font-size: 28px; font-weight: 750; color: var(--ink); }
.number-cell[data-level="2"] { background: #fff0df; }
.number-cell[data-level="4"] { background: #ffd7b9; }
.number-cell[data-level="8"] { background: #ffbe98; }
.number-cell[data-level="16"], .number-cell[data-level="32"] { background: #9aaefa; color: #172042; }
.number-cell[data-level="64"], .number-cell[data-level="high"] { background: var(--blue); color: white; }
.reflex-pad { width: 100%; min-height: 235px; border: 1px solid #c6cdef; border-radius: 16px; background: #e2e2fb; color: var(--ink); padding: 25px; font-size: 22px; font-weight: 650; }
.reflex-pad.wait { background: #dce4fb; }
.reflex-pad.ready { background: var(--peach); border-color: #edaa80; }
.direction-controls { text-align: center; margin-top: 17px; }
.direction-controls button { width: 46px; height: 42px; background: #e2e8fa; color: var(--ink); border: 1px solid #bdc9ec; border-radius: 9px; margin: 3px; touch-action: manipulation; }
.snake-board { display: block; width: 100%; max-width: 390px; margin-inline: auto; border-radius: 12px; image-rendering: pixelated; touch-action: none; }
.snake-start { display: flex; margin: 15px auto 0; }
#game-message { min-height: 22px; margin: 17px 0 0; font-size: 12px; line-height: 1.7; text-align: center; }
[hidden] { display: none !important; }

@media (max-width: 1080px) {
  .header-cta { display: none; }
  .site-header nav { gap: 23px; }
  .hero-shell { padding: 45px 38px; gap: 30px; }
  .hero-copy h1 { font-size: 58px; }
  .hero-copy > p { font-size: 14px; }
  .console-label { padding: 20px; }
  .console-label h2 { font-size: 30px; }
  .console-grid { padding-inline: 15px; }
  .console-tile { padding: 12px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 25px; }
  .game-card p { min-height: 0; }
  .guide-feature { gap: 40px; }
  .feature-copy { padding-right: 30px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 35px 50px; }
  .rhythm-strip .strip-note { display: none; }
}

@media (max-width: 860px) {
  .hero-shell { grid-template-columns: 1fr; padding: 45px; }
  .hero-copy h1 { font-size: 67px; }
  .hero-copy > p { max-width: 510px; }
  .hero-console { width: min(450px, 100%); margin: 15px auto 5px; transform: rotate(2deg); }
  .console-tile { padding: 18px; }
  .hero-console .console-label h2 { font-size: 34px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid:not(.all-articles) > :last-child { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }
  .article-grid:not(.all-articles) > :last-child .article-art { grid-row: 1/5; margin-bottom: 0; }
  .guide-feature { gap: 25px; }
  .feature-copy h2 { font-size: 33px; }
  .feature-graphic { min-height: 370px; }
  .check-callout { padding: 35px; }
  .check-callout h2 { font-size: 33px; }
  .faq { gap: 35px; }
  .contact-grid { gap: 35px; }
}

@media (max-width: 760px) {
  .container, .site-header { width: calc(100% - 40px); }
  .topline { min-height: 31px; padding: 8px 20px; font-size: 8px; }
  .topline > span:last-child { display: none; }
  .site-header { padding-block: 18px; flex-wrap: wrap; justify-content: space-between; gap: 0; }
  .brand > span { font-size: 23px; }
  .brand img { width: 36px; height: 36px; }
  .menu-toggle { display: block; }
  .site-header nav { display: none; width: 100%; order: 4; flex-direction: column; margin: 15px 0 0; gap: 0; border-top: 1px solid var(--line); }
  .site-header nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .site-header.menu-open nav { display: flex; }
  .hero-shell { padding: 35px 25px; border-radius: 21px; gap: 25px; }
  .hero-copy h1 { font-size: clamp(41px, 8.5vw, 62px); margin-top: 21px; }
  .hero-copy > p { font-size: 14px; }
  .hero-shell .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .actions { gap: 20px; }
  .hero-notes { gap: 14px; font-size: 9px; }
  .hero-console { max-width: 420px; }
  .rhythm-strip { gap: 12px; padding-block: 23px; align-items: start; }
  .rhythm-strip b { display: block; margin: 5px 0 0; font-size: 11px; max-width: 110px; }
  .section { padding-block: 52px; }
  .section-heading { align-items: start; gap: 20px; }
  .section-heading > p { font-size: 11px; max-width: 185px; padding-top: 25px; }
  .section-heading h2 { font-size: 33px; }
  .section-heading .text-link { font-size: 11px; text-align: right; padding-top: 25px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.4px; }
  .game-grid { gap: 29px 16px; }
  .game-cover { border-radius: 12px; }
  .game-meta { font-size: 8px; gap: 4px; margin-top: 15px; }
  .game-card h3 { font-size: 21px; margin-top: 9px; }
  .game-card p { font-size: 11px; }
  .game-link { font-size: 10px; }
  .play-circle { width: 28px; height: 28px; bottom: 8px; right: 8px; font-size: 16px; }
  .guide-feature { grid-template-columns: 1fr; gap: 0; border-radius: 20px; }
  .feature-graphic { min-height: 270px; }
  .feature-lock { width: 120px; height: 120px; font-size: 88px; border-radius: 25px; }
  .feature-copy { padding: 30px; }
  .feature-copy h2 { font-size: 36px; }
  .check-callout { padding: 30px; display: block; border-radius: 20px; }
  .check-callout .button { margin-top: 25px; }
  .callout-symbol { right: -25px; top: 5px; }
  .faq { grid-template-columns: 1fr; gap: 30px; }
  .footer-top { gap: 35px 25px; padding-top: 40px; }
  .footer-contact { grid-column: 1/-1; }
  .footer-contact p { max-width: 420px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .page-intro { padding-block: 38px 20px; }
  .page-intro h1 { font-size: 47px; }
  .page-intro > p { font-size: 15px; }
  .all-articles { padding-top: 15px; }
  .reading { padding-block: 35px 55px; }
  .reading h1 { font-size: 42px; }
  .reading .lead { font-size: 19px; }
  .reading section h2 { font-size: 25px; }
  .reading section p { font-size: 15px; }
  .contact-grid { grid-template-columns: 1fr; gap: 35px; padding-top: 10px; }
  .contact-panel { padding: 28px; }
  .contact-details h2 { font-size: 36px; margin-bottom: 20px; }
  .checklist label { padding: 17px; gap: 13px; }
  .checklist label b { font-size: 14px; }
  .check-save { flex-wrap: wrap; gap: 15px; }
  .check-save p { max-width: none; }
  dialog { padding: 21px; }
  .dialog-head h2 { font-size: 26px; }
  .dialog-head .eyebrow { font-size: 8px; letter-spacing: .9px; }
  .game-toolbar { gap: 8px; }
  .game-toolbar b { font-size: 10px; }
  .game-toolbar .button { padding: 8px 11px; font-size: 10px; }
  .number-cell { font-size: 25px; }
  .memory-card { font-size: 25px; }
}

@media (max-width: 540px) {
  .article-grid { grid-template-columns: 1fr; gap: 35px; }
  .article-grid:not(.all-articles) > :last-child { display: block; }
  .article-grid:not(.all-articles) > :last-child .article-art { margin-bottom: 22px; }
  .article-art { height: 215px; }
  .article-card h3 { font-size: 27px; }
  .section-heading { display: block; }
  .section-heading > p { max-width: none; padding-top: 16px; font-size: 12px; }
  .section-heading .text-link { padding-top: 18px; }
  .footer-brand { grid-column: 1/-1; }
  .hero-copy h1 { font-size: clamp(34px, 9.5vw, 49px); }
  .hero-shell { padding: 30px 23px; }
  .hero-console { transform: none; margin-top: 5px; }
  .console-tile { padding: 13px 11px; }
  .console-tile > span:not(.tile-symbol) { font-size: 9px; }
  .console-grid { gap: 8px; padding-inline: 12px; }
  .console-top { padding-inline: 13px; font-size: 8px; }
  .console-label { padding: 20px 16px; }
  .hero-console .console-label h2 { font-size: 30px; }
  .tile-symbol { font-size: 32px; }
  .tile-2048 .tile-symbol { font-size: 25px; }
  .console-bottom { padding: 14px 16px; }
  .game-card h3 { font-size: 19px; }
  .game-meta > span:last-child { display: none; }
  .page-intro h1 { font-size: 42px; }
  .filters { gap: 8px; }
  .filters button { font-size: 10px; padding: 9px 11px; }
  .progress-line { font-size: 11px; gap: 10px; }
  .progress-line > span { font-size: 10px; }
  .reading h1 { font-size: 37px; }
  .reading section h2 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
