/* FashApps public website. System fonts and local assets. */
:root {
  color-scheme: light;
  --paper: #f5f3eb;
  --paper-light: #fbfaf5;
  --ink: #19392d;
  --muted: #57665d;
  --rust: #a5472b;
  --apricot: #e9986d;
  --gold: #efcc86;
  --line: #d8ded3;
  --serif: Georgia, "Times New Roman", serif;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 280px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .24em; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #bb552e; outline-offset: 6px; border-radius: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { line-height: 1.75; }
::selection { background: #e6d8a4; color: #17352a; }
.wrap { width: min(1184px, calc(100% - 80px)); margin-inline: auto; }
.section-space { padding-block: 108px; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 20; padding: 14px 22px; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 23px; font-weight: 750; letter-spacing: -.045em; text-decoration: none; flex-shrink: 0; }
.brand-symbol { width: 37px; height: 37px; display: grid; place-items: center; padding-bottom: 4px; border-radius: 11px; background: var(--ink); color: var(--paper); font-size: 29px; font-weight: 780; letter-spacing: -.08em; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 13px; font-weight: 650; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.site-header .nav-highlight { border: 1px solid #bbc6bb; border-radius: 50px; padding: 0 20px; }
.nav-highlight[aria-current="page"] { border-color: var(--ink); }
.eyebrow { font-size: 11px; font-weight: 760; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; margin-bottom: 1px; border-radius: 50%; background: var(--rust); }
.home-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding-block: 52px 88px; }
.hero-copy h1 { font-size: clamp(64px, 6.45vw, 88px); line-height: 1.03; letter-spacing: -.067em; font-weight: 660; margin-top: 23px; }
.text-rust { color: var(--rust); }
.hero-description { font-size: 16px; max-width: 440px; margin-top: 28px; color: var(--muted); }
.button { min-height: 53px; padding: 13px 22px; display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; border: 1px solid transparent; border-radius: 7px; text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.55; transition: background .18s ease, transform .18s ease; }
.button span { font-size: 20px; line-height: 1; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { background: #294f3e; }
.hero-copy .button { margin-top: 29px; }
.button-light { color: var(--ink); background: var(--paper); }
.button-light:hover { background: #e8e2cf; }
.button-gold { background: var(--gold); color: #2f3020; }
.button-gold:hover { background: #f9daa0; }
.store-availability { margin-top: 27px; padding-top: 22px; max-width: 450px; border-top: 1px solid #ffffff2a; }
.store-heading { color: #d2ded3; font-size: 10px; font-weight: 720; letter-spacing: .12em; text-transform: uppercase; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.store-button { display: inline-flex; align-items: center; gap: 12px; width: 188px; max-width: 100%; min-height: 74px; padding: 14px 16px; border: 1px solid #75887c; border-radius: 9px; background: #244735; color: var(--paper); font: inherit; text-align: left; cursor: default; }
.store-button:disabled { opacity: 1; -webkit-text-fill-color: currentColor; }
.store-button img { width: 28px; height: 34px; flex: 0 0 28px; }
.store-button > span { display: grid; gap: 5px; }
.store-button strong { font-size: 16px; font-weight: 650; line-height: 1.2; letter-spacing: -.025em; white-space: nowrap; }
.store-button small { font-size: 11px; color: var(--gold); white-space: nowrap; }
.store-availability .store-note { margin-top: 12px; color: #cad8ca; font-size: 11px; line-height: 1.6; }
/* Official badge assets can replace the pending controls once listings exist. */
.store-download { display: inline-flex; padding: 12px; }
.store-download img { height: 48px; width: auto; }
.feature-poster { min-height: 547px; position: relative; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; background: #e6ddc9; border-radius: 160px 160px 15px 15px; overflow: hidden; text-decoration: none; padding: 44px 34px 31px; }
.feature-poster::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 55% 38%, #f0e9d8 0, #e8e0cf 45%, #cfc7af 100%); }
.feature-poster::after { content: ""; position: absolute; width: 310px; height: 60px; border-radius: 50%; background: #5f4d562c; filter: blur(18px); left: calc(50% - 155px); bottom: 118px; z-index: -1; }
.poster-topline { display: flex; justify-content: space-between; gap: 12px; padding-inline: 35px; font-size: 10px; font-weight: 720; text-transform: uppercase; letter-spacing: .15em; color: #635a49; }
.poster-orbit { width: 330px; height: 330px; border: 1px solid #b2a68c; border-radius: 50%; position: absolute; top: 106px; left: calc(50% - 165px); z-index: -1; }
.poster-orbit::after { content: ""; position: absolute; inset: 17px; border: 1px dashed #b2a68c; border-radius: 50%; }
.poster-letters { position: absolute; top: 134px; left: 43px; display: flex; gap: 6px; transform: rotate(-13deg); }
.poster-letters > span { display: inline-flex; justify-content: center; align-items: center; position: relative; width: 59px; height: 63px; border: 1px solid #c5b082; border-radius: 8px; color: #372f25; background: linear-gradient(145deg, #fff3cd, #e0c88e); font-family: var(--serif); font-size: 35px; font-weight: 700; box-shadow: 0 4px 0 #baa378, 0 8px 13px #55472f12; }
.poster-letters small { position: absolute; right: 7px; bottom: 5px; font: 10px ui-sans-serif, system-ui, sans-serif; }
.poster-cauldron { position: absolute; width: 270px; right: 36px; bottom: 117px; filter: drop-shadow(0 16px 13px #2c1d362c); transition: transform .3s ease; }
.feature-poster:hover .poster-cauldron { transform: translateY(-5px) rotate(2deg); }
.poster-spark { position: absolute; font-size: 40px; color: #6b724d; }
.spark-one { right: 42px; top: 105px; }
.spark-two { left: 46px; top: 301px; font-size: 32px; }
.poster-caption { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; border-top: 1px solid #b9b29c; padding-top: 22px; }
.poster-caption div { display: grid; gap: 6px; }
.poster-caption div > span { font-size: 10px; text-transform: uppercase; letter-spacing: .09em; color: #635a49; }
.poster-caption strong { font-family: var(--serif); font-size: 34px; font-weight: 500; letter-spacing: -.05em; }
.round-arrow { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid #aaa58c; border-radius: 50%; font-size: 23px; }
.chapter-divider { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vision-section { display: grid; grid-template-columns: 1.1fr 1fr; gap: 42px 70px; }
.section-heading h2, .closing-note h2, .alchemy-copy h2, .languages-section h2 { font-size: clamp(31px, 3.5vw, 45px); font-weight: 580; letter-spacing: -.046em; line-height: 1.18; margin-top: 17px; }
.vision-copy { padding-top: 30px; }
.lead { font-size: 20px; line-height: 1.6; letter-spacing: -.02em; }
.vision-copy > p + p { font-size: 14px; color: var(--muted); margin-top: 20px; }
.values-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 22px; }
.value-card { border-top: 1px solid var(--line); padding-top: 23px; }
.number-label, .step-number { font-family: var(--serif); color: var(--rust); font-size: 15px; font-style: italic; }
.value-card h3 { font-size: 18px; font-weight: 640; letter-spacing: -.025em; margin-top: 21px; }
.value-card p { margin-top: 12px; color: var(--muted); font-size: 13px; }
.games-section { color: var(--paper); background: var(--ink); }
.games-heading { max-width: 650px; }
.games-heading .eyebrow { color: #c1d2c1; }
.game-feature { display: grid; grid-template-columns: .8fr 1fr; gap: 90px; align-items: center; border-top: 1px solid #ffffff2a; padding-top: 56px; margin-top: 50px; }
.game-icon-frame { display: grid; place-items: center; padding: 40px; background: radial-gradient(ellipse at center, #3b5c43, #244536 70%); border: 1px solid #ffffff1c; border-radius: 15px; min-height: 356px; }
.game-icon-frame img { width: 242px; border-radius: 22%; box-shadow: 0 22px 42px #081a2070; transform: rotate(-7deg); }
.game-feature-copy .eyebrow { color: #d8bd83; }
.game-feature h3 { font-family: var(--serif); font-size: 49px; font-weight: 500; letter-spacing: -.05em; margin-top: 12px; }
.game-feature-copy > p:not(.eyebrow) { margin-top: 17px; color: #d2ded3; max-width: 450px; font-size: 14px; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 21px 0 30px; padding: 0; }
.tag-list li { border: 1px solid #668173; border-radius: 50px; font-size: 11px; padding: 6px 14px; }
.closing-note { padding-block: 100px; display: flex; align-items: center; gap: 70px; max-width: 930px; }
.closing-star { font-family: var(--serif); font-size: 152px; line-height: 1; color: var(--rust); }
.closing-note p:not(.eyebrow) { max-width: 580px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); }
.footer-main { display: flex; align-items: center; gap: 30px; padding-block: 40px; }
.footer-main > p { font-size: 13px; color: var(--muted); }
.footer-main nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 26px; }
.footer-main nav a { font-size: 12px; font-weight: 650; padding-block: 12px; text-decoration: none; }
.footer-main nav a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; padding-block: 20px 28px; color: var(--muted); font-size: 10px; }

/* LexiArena */
.game-hero { background: #19392d; color: var(--paper); overflow: hidden; }
.game-hero-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: center; padding-block: 39px 65px; }
.game-hero-layout > *, .alchemy-layout > * { min-width: 0; }
.back-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #c7d8c5; font-size: 12px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.game-name { margin-top: 47px; color: var(--gold); font-size: 13px; letter-spacing: .24em; }
.game-hero h1 { font-size: clamp(56px, 5.5vw, 76px); line-height: 1.03; font-weight: 560; letter-spacing: -.055em; margin-top: 19px; }
.game-hero h1 em { color: var(--gold); font-family: var(--serif); font-weight: 500; }
.game-hero .hero-description { color: var(--paper); font-size: 20px; margin-top: 25px; line-height: 1.5; max-width: 405px; }
.game-hero-copy > p:not(.eyebrow):not(.hero-description) { margin-top: 16px; max-width: 425px; color: #cad8ca; font-size: 14px; }
.game-hero .button { margin-top: 30px; }
.game-stage { position: relative; min-height: 570px; isolation: isolate; }
.stage-halo { position: absolute; left: -20px; right: -20px; top: 80px; height: 480px; background: radial-gradient(ellipse, #9bac6850, transparent 65%); z-index: -1; }
.stage-halo::after { content: ""; position: absolute; width: 380px; height: 380px; left: calc(50% - 190px); top: 30px; border: 1px solid #adbc8729; border-radius: 50%; }
.word-board { position: absolute; top: 105px; left: 13px; width: 345px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; padding: 13px; background: #896d43; border: 2px solid #c7ae71; border-radius: 15px; box-shadow: 0 10px 0 #463d29, 0 26px 40px #07140e5c; transform: rotate(-12deg); }
.word-board > span { aspect-ratio: 1; display: grid; place-items: center; position: relative; border: 1px solid #d8c494; border-radius: 4px; background: #e5d7b0; box-shadow: inset 0 0 8px #79603b12; }
.word-board > .board-letter { background: #fff0c7; color: #322718; font-size: 36px; font-family: var(--serif); font-weight: 700; box-shadow: 0 3px 0 #b08d4c; }
.board-letter small { position: absolute; right: 5px; bottom: 3px; font: 9px ui-sans-serif, system-ui, sans-serif; }
.word-board > .board-bonus { background: #83aaa4; border-color: #93b5a8; color: #183e3b; font-size: 16px; font-weight: 600; }
.word-board > .board-star { background: #79648e; border-color: #aa8aab; color: #f0d592; font-size: 27px; }
.stage-cauldron { position: absolute; width: 237px; right: -11px; top: 269px; filter: drop-shadow(0 20px 16px #09150fb3); }
.stage-potion { position: absolute; width: 65px; filter: drop-shadow(0 12px 12px #07190e70); }
.potion-left { top: 434px; left: 39px; transform: rotate(-15deg); }
.potion-right { top: 103px; right: 1px; transform: rotate(16deg); }
.stage-star { color: #bfa365; position: absolute; font-size: 42px; }
.star-one { top: 66px; left: 6px; }
.star-two { top: 209px; right: -4px; font-size: 25px; }
.stage-note { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; text-transform: uppercase; font-size: 9px; color: #d5d9ba; letter-spacing: .18em; }
.game-hero-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #ffffff26; padding-block: 23px; font-size: 10px; color: #c2d1c1; letter-spacing: .05em; }
.introduction-section { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 70px; }
.intro-copy { padding-top: 28px; }
.steps-grid { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; padding: 0; margin: 10px 0 0; }
.steps-grid li { border-top: 1px solid var(--line); padding-top: 25px; }
.step-number { font-size: 30px; }
.steps-grid h3 { font-size: 18px; letter-spacing: -.02em; margin-top: 21px; }
.steps-grid p { font-size: 13px; color: var(--muted); margin-top: 12px; }
.alchemy-section { background: #eae3d5; }
.alchemy-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 85px; }
.alchemy-art { position: relative; min-height: 330px; isolation: isolate; }
.alchemy-circle { position: absolute; height: 290px; width: 290px; border: 1px solid #b7ad93; border-radius: 50%; top: 0; left: calc(50% - 145px); }
.alchemy-circle::after { content: ""; position: absolute; inset: 13px; border: 1px dashed #c1b598; border-radius: 50%; }
.alchemy-art-mark { position: absolute; top: -10px; left: calc(50% - 17px); padding: 0 5px; color: #7d6941; background: #eae3d5; font-size: 29px; }
.potion-collection { display: flex; align-items: end; justify-content: center; gap: 10px; position: absolute; top: 52px; left: -12px; right: -12px; }
.potion-collection img { width: 17%; max-width: 74px; filter: drop-shadow(0 15px 8px #54413b30); }
.potion-collection img:nth-child(1) { transform: translateY(25px) rotate(-16deg); }
.potion-collection img:nth-child(2) { transform: translateY(-8px) rotate(-8deg); }
.potion-collection img:nth-child(3) { width: 22%; max-width: 96px; transform: translateY(-12px); }
.potion-collection img:nth-child(4) { transform: translateY(-8px) rotate(8deg); }
.potion-collection img:nth-child(5) { transform: translateY(25px) rotate(16deg); }
.alchemy-art-label { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 17px; color: #675743; }
.alchemy-copy > p:not(.eyebrow) { margin-top: 24px; font-size: 14px; color: #536052; }
.game-stats { display: flex; flex-wrap: wrap; gap: 28px; margin: 29px 0 0; padding-top: 23px; border-top: 1px solid #c8c1ad; }
.game-stats dt { font-size: 39px; font-family: var(--serif); letter-spacing: -.06em; }
.game-stats dd { margin: 6px 0 0; font-size: 10px; color: #536052; }
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.mode-card { border: 1px solid var(--line); border-radius: 11px; padding: 29px 26px; background: #faf9f2; }
.mode-symbol { display: flex; align-items: center; justify-content: center; width: 49px; height: 49px; border-radius: 14px; background: #e2e8dc; color: #2f6547; margin-bottom: 33px; font-size: 24px; }
.mode-card:nth-child(2) .mode-symbol { background: #f0e1d2; color: #9c4c29; }
.mode-card:nth-child(3) .mode-symbol { background: #e7deec; color: #75577b; }
.mode-card .eyebrow { font-size: 9px; color: #5b675b; }
.mode-card h3 { font-size: 22px; line-height: 1.25; font-weight: 640; letter-spacing: -.035em; margin-top: 12px; }
.mode-card p { font-size: 13px; color: var(--muted); margin-top: 19px; }
.practice-note { display: flex; align-items: center; gap: 25px; margin-top: 25px; padding: 25px 28px; border: 1px solid var(--line); border-radius: 10px; }
.practice-note > span { font-size: 27px; color: var(--rust); }
.practice-note h3 { font-size: 14px; font-weight: 650; }
.practice-note p { font-size: 12px; color: var(--muted); margin-top: 7px; }
.languages-section { text-align: center; padding-block: 62px 90px; border-top: 1px solid var(--line); }
.language-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0; margin: 29px 0 0; }
.language-list li { border: 1px solid #c7d0c3; border-radius: 40px; padding: 10px 22px; font-size: 12px; }
.game-outro { display: flex; align-items: center; justify-content: center; gap: 35px; padding: 43px 50px; margin-bottom: 80px; border-radius: 12px; background: #e6eadf; }
.game-outro img { width: 100px; border-radius: 21px; }
.game-outro h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.04em; font-weight: 620; margin-top: 10px; }
.game-outro p:not(.eyebrow) { font-size: 12px; color: var(--muted); margin-top: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: 12px; font-weight: 700; margin-top: 9px; }

@media (min-width: 1440px) { .wrap { width: min(1240px, calc(100% - 120px)); } .home-hero { gap: 95px; } .feature-poster { min-height: 570px; } .game-stage { margin-left: 20px; } }
@media (max-width: 1020px) {
  .wrap { width: calc(100% - 56px); }
  .section-space { padding-block: 80px; }
  .home-hero { gap: 35px; padding-top: 35px; }
  .hero-copy h1 { font-size: 65px; }
  .feature-poster { min-height: 525px; padding-inline: 25px; }
  .poster-letters { left: 25px; }
  .poster-letters > span { width: 48px; height: 53px; font-size: 31px; }
  .poster-cauldron { width: 235px; right: 23px; bottom: 125px; }
  .poster-topline { padding-inline: 20px; font-size: 9px; }
  .vision-section, .introduction-section { gap: 38px; }
  .values-grid { gap: 25px; }
  .game-feature { gap: 45px; }
  .game-icon-frame { padding: 30px; min-height: 305px; }
  .game-feature h3 { font-size: 43px; }
  .game-hero h1 { font-size: 61px; }
  .game-hero-layout { gap: 10px; }
  .game-stage { min-height: 530px; }
  .word-board { width: 295px; top: 109px; left: 12px; gap: 4px; padding: 10px; }
  .word-board > .board-letter { font-size: 31px; }
  .stage-cauldron { width: 215px; right: -4px; top: 252px; }
  .potion-left { top: 399px; left: 19px; width: 56px; }
  .potion-right { top: 83px; right: 0; width: 55px; }
  .alchemy-layout { gap: 40px; }
  .game-stats { gap: 21px; }
  .game-stats dt { font-size: 34px; }
  .mode-grid { gap: 14px; }
  .mode-card { padding: 24px 20px; }
  .mode-card h3 { font-size: 20px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 91px; gap: 15px; }
  .brand { font-size: 21px; gap: 8px; }
  .brand-symbol { width: 32px; height: 32px; font-size: 25px; border-radius: 9px; }
  .site-header nav { gap: 15px; }
  .site-header nav a { font-size: 11px; gap: 8px; }
  .site-header .nav-highlight { padding: 0 12px; }
  .home-hero { grid-template-columns: 1fr; gap: 40px; padding-block: 36px 54px; }
  .hero-copy h1 { font-size: clamp(59px, 10vw, 78px); }
  .hero-description { max-width: 540px; font-size: 15px; }
  .feature-poster { width: 100%; max-width: 510px; min-height: 490px; margin-inline: auto; border-radius: 120px 120px 14px 14px; padding: 35px 30px 28px; }
  .poster-topline { padding-inline: 42px; }
  .poster-letters { left: 45px; top: 116px; }
  .poster-letters > span { width: 58px; height: 60px; font-size: 35px; }
  .poster-cauldron { width: 248px; right: 44px; bottom: 108px; }
  .poster-orbit { width: 300px; height: 300px; top: 81px; left: calc(50% - 150px); }
  .spark-two { top: 285px; }
  .chapter-divider { font-size: 9px; letter-spacing: .04em; }
  .section-space { padding-block: 65px; }
  .vision-section { grid-template-columns: 1fr; gap: 27px; }
  .vision-copy { padding-top: 0; }
  .values-grid { margin-top: 10px; gap: 25px; }
  .value-card h3 { font-size: 16px; }
  .value-card p { font-size: 12px; }
  .game-feature { gap: 35px; grid-template-columns: .8fr 1fr; padding-top: 36px; margin-top: 35px; }
  .game-icon-frame { min-height: 260px; padding: 28px; }
  .game-feature-copy > p:not(.eyebrow) { font-size: 13px; }
  .game-feature .button { gap: 18px; font-size: 12px; }
  .closing-note { padding-block: 68px; gap: 32px; }
  .closing-star { font-size: 105px; }
  .footer-main { gap: 20px; flex-wrap: wrap; padding-block: 30px; }
  .footer-main > p { font-size: 12px; }
  .footer-main nav { gap: 20px; }
  .game-hero-layout { grid-template-columns: minmax(0, 1fr); padding-block: 23px 38px; gap: 12px; }
  .game-hero-copy { max-width: 580px; }
  .game-name { margin-top: 26px; }
  .game-hero h1 { font-size: clamp(53px, 9.2vw, 75px); }
  .game-hero .hero-description { max-width: 520px; font-size: 19px; }
  .game-hero-copy > p:not(.eyebrow):not(.hero-description) { max-width: 520px; }
  .game-stage { width: 420px; max-width: 100%; min-height: 490px; margin-inline: auto; }
  .word-board { top: 70px; left: 24px; width: 305px; }
  .stage-cauldron { top: 222px; right: 0; width: 210px; }
  .potion-left { top: 360px; left: 40px; }
  .potion-right { top: 50px; right: 7px; }
  .star-one { top: 28px; left: 20px; }
  .star-two { top: 166px; }
  .stage-halo { top: 0; }
  .introduction-section { grid-template-columns: 1fr; gap: 26px; }
  .intro-copy { padding-top: 0; font-size: 18px; }
  .steps-grid { gap: 25px; }
  .steps-grid h3 { font-size: 16px; }
  .steps-grid p { font-size: 12px; }
  .alchemy-layout { grid-template-columns: minmax(0, 1fr); gap: 47px; }
  .alchemy-art { width: 420px; max-width: 100%; margin-inline: auto; min-height: 320px; }
  .alchemy-copy { max-width: 600px; }
  .game-stats { justify-content: space-between; max-width: 460px; }
  .mode-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .mode-card { padding: 27px; }
  .mode-symbol { float: right; margin: 0 0 15px 20px; }
  .mode-card h3 { font-size: 24px; }
  .mode-card p { max-width: 510px; }
  .languages-section { padding-block: 45px 65px; }
  .game-outro { padding: 32px; margin-bottom: 65px; gap: 24px; }
  .game-outro img { width: 85px; }
  .game-outro h2 { font-size: 24px; }
}
@media (max-width: 520px) {
  .site-header { flex-wrap: wrap; padding-block: 18px 12px; gap: 9px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 10px; }
  .site-header nav a { min-height: 42px; }
  .site-header .nav-highlight { border: 0; padding-inline: 0; }
  .eyebrow { font-size: 10px; letter-spacing: .12em; }
  .home-hero { padding-top: 22px; gap: 34px; }
  .hero-copy h1 { font-size: clamp(48px, 11.8vw, 64px); margin-top: 19px; }
  .hero-description { margin-top: 22px; font-size: 14px; }
  .button { font-size: 12px; padding-inline: 18px; min-height: 50px; gap: 24px; }
  .feature-poster { min-height: 453px; padding-inline: 25px; border-radius: 100px 100px 13px 13px; }
  .poster-topline { padding-inline: 13px; font-size: 8px; }
  .poster-orbit { width: 265px; height: 265px; left: calc(50% - 132.5px); top: 85px; }
  .poster-letters { left: 28px; top: 108px; gap: 4px; }
  .poster-letters > span { width: 46px; height: 50px; font-size: 28px; }
  .poster-cauldron { width: 205px; right: 25px; bottom: 109px; }
  .spark-one { font-size: 28px; right: 24px; top: 84px; }
  .spark-two { left: 30px; top: 257px; font-size: 28px; }
  .poster-caption strong { font-size: 29px; }
  .poster-caption div > span { font-size: 8px; }
  .round-arrow { width: 36px; height: 36px; font-size: 20px; }
  .chapter-divider { font-size: 8px; gap: 12px; }
  .section-space { padding-block: 54px; }
  .section-heading h2, .closing-note h2, .alchemy-copy h2, .languages-section h2 { font-size: 32px; letter-spacing: -.047em; }
  .lead { font-size: 18px; }
  .vision-copy > p + p { font-size: 13px; }
  .values-grid { grid-template-columns: 1fr; gap: 25px; }
  .value-card { position: relative; padding: 23px 0 0 37px; }
  .value-card .number-label { position: absolute; left: 0; top: 25px; }
  .value-card h3 { margin-top: 0; font-size: 17px; }
  .value-card p { font-size: 13px; }
  .game-feature { grid-template-columns: 1fr; gap: 28px; }
  .game-icon-frame { min-height: 286px; }
  .game-icon-frame img { width: 192px; }
  .game-feature h3 { font-size: 43px; }
  .tag-list { margin-block: 20px 25px; }
  .closing-note { align-items: start; padding-block: 60px; gap: 20px; }
  .closing-star { font-size: 50px; margin-top: 20px; }
  .closing-note h2 { font-size: 29px; }
  .closing-note p:not(.eyebrow) { font-size: 13px; }
  .footer-main { gap: 15px 23px; }
  .footer-main nav { margin-left: 0; width: 100%; }
  .footer-bottom { font-size: 9px; }
  .game-hero h1 { font-size: clamp(45px, 11.2vw, 59px); }
  .game-hero .hero-description { font-size: 18px; }
  .game-hero-copy > p:not(.eyebrow):not(.hero-description) { font-size: 13px; }
  .game-stage { min-height: 421px; }
  .word-board { width: 258px; top: 63px; left: 8px; gap: 4px; padding: 9px; border-radius: 12px; }
  .word-board > .board-letter { font-size: 27px; }
  .word-board > .board-bonus { font-size: 13px; }
  .stage-cauldron { width: 180px; right: -4px; top: 192px; }
  .potion-left { width: 45px; top: 307px; left: 27px; }
  .potion-right { top: 54px; right: 2px; width: 47px; }
  .star-one { top: 16px; font-size: 33px; }
  .star-two { right: -1px; top: 158px; font-size: 24px; }
  .stage-note { font-size: 8px; letter-spacing: .1em; }
  .game-hero-bottom { font-size: 9px; gap: 16px; }
  .game-hero-bottom > span:last-child { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 25px; }
  .steps-grid li { padding-top: 23px; padding-left: 49px; position: relative; }
  .step-number { font-size: 27px; position: absolute; left: 0; top: 22px; }
  .steps-grid h3 { margin-top: 0; font-size: 18px; }
  .steps-grid p { font-size: 13px; }
  .alchemy-art { min-height: 278px; }
  .alchemy-circle { width: 255px; height: 255px; left: calc(50% - 127.5px); }
  .potion-collection { top: 55px; gap: 7px; left: 0; right: 0; }
  .alchemy-art-label { font-size: 15px; }
  .game-stats { gap: 16px; }
  .game-stats dt { font-size: 34px; }
  .game-stats dd { font-size: 9px; }
  .mode-card { padding: 25px 22px; }
  .mode-card h3 { font-size: 23px; }
  .practice-note { padding: 22px; gap: 18px; align-items: start; }
  .language-list { gap: 8px; }
  .language-list li { padding: 9px 17px; font-size: 11px; }
  .game-outro { padding: 29px 24px; align-items: start; flex-direction: column; gap: 23px; }
  .game-outro img { width: 73px; border-radius: 16px; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 32px); }
  .site-header nav { gap: 9px; }
  .site-header nav a { font-size: 10px; gap: 5px; }
  .hero-copy h1 { font-size: 47px; }
  .feature-poster { min-height: 430px; padding-inline: 20px; }
  .poster-cauldron { width: 189px; right: 19px; }
  .poster-letters { left: 20px; }
  .poster-letters > span { width: 43px; height: 47px; }
  .poster-caption div > span { font-size: 7px; }
  .game-stage { min-height: 380px; }
  .word-board { width: 227px; left: 8px; }
  .word-board > .board-letter { font-size: 23px; }
  .stage-cauldron { width: 155px; top: 177px; right: -3px; }
  .potion-left { top: 280px; }
  .stage-note { font-size: 7px; }
  .alchemy-circle { width: 230px; height: 230px; left: calc(50% - 115px); }
  .game-stats { gap: 10px; }
  .game-stats dt { font-size: 31px; }
  .game-stats dd { font-size: 8px; }
  .closing-note { gap: 15px; }
  .closing-star { font-size: 38px; }
  .closing-note h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .button:hover, .feature-poster:hover .poster-cauldron { transform: none; }
}
@media print {
  .site-header nav, .skip-link, .button, .game-stage, .feature-poster, .alchemy-art, .site-footer { display: none; }
  .wrap { width: 100%; }
  .section-space, .home-hero, .closing-note { padding-block: 25px; }
  .game-hero, .games-section { background: white; color: black; }
  .game-hero p, .game-feature p, .game-hero h1 em { color: black; }
}

.footer-legal { display: flex; flex-wrap: wrap; gap: .65rem 1.3rem; }
.footer-legal a { color: inherit; text-decoration: none; font-size: 12px; padding-block: 8px; }
.footer-legal a:hover { text-decoration: underline; }
