.legal-page { background: #171b18; color: #293129; }
.legal-page .page-shell { width: min(1320px, calc(100% - 36px)); }
.legal-page .site-header { border-color: #465044; color: #f4ecd8; }
.legal-page .brand small { color: #9eaa99; }
.legal-nav { display: flex; align-items: center; gap: 5px; }
.legal-nav a { padding: 8px 10px; border-radius: 5px; color: #bec9b8; font: 700 10px/1 ui-monospace, "Cascadia Code", monospace; text-decoration: none; text-transform: uppercase; }
.legal-nav a:hover, .legal-nav a[aria-current="page"] { background: #303930; color: #f7d979; }
.legal-nav .back-to-game { margin-left: 8px; border: 1px solid #6b765f; background: #d7c6a2; color: #272a25; box-shadow: inset 0 1px #fff8, 0 3px 0 #75684f; }
.legal-shell { padding: 58px 0 70px; }
.legal-hero { position: relative; max-width: 950px; padding: 42px clamp(24px, 5vw, 64px); border: 8px solid #c9b994; border-radius: 18px; background: #d9d0b8; box-shadow: inset 0 0 0 3px #726b5c, 0 18px 50px #0007; }
.legal-hero::after { content: ""; position: absolute; inset: 14px; pointer-events: none; border: 1px solid #a69c84; border-radius: 8px; }
.legal-hero h1 { position: relative; z-index: 1; margin: 12px 0 18px; color: #1e2b23; font-size: clamp(44px, 7vw, 92px); line-height: .9; letter-spacing: -.065em; }
.legal-hero p { position: relative; z-index: 1; max-width: 760px; color: #4d574d; font-size: 15px; line-height: 1.75; }
.legal-hero a { color: #8e3c29; font-weight: 800; }
.legal-date { margin-bottom: 12px; font: 700 11px/1.4 ui-monospace, "Cascadia Code", monospace; text-transform: uppercase; }
.legal-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 24px; }
.legal-toc { position: sticky; top: 18px; display: grid; gap: 2px; padding: 15px; border: 4px solid #7b735f; border-radius: 10px; background: #c7b991; box-shadow: inset 0 0 0 2px #e7dcc1, 0 10px 30px #0005; }
.legal-toc strong { margin-bottom: 8px; color: #32392f; font: 900 10px/1 ui-monospace, "Cascadia Code", monospace; letter-spacing: .14em; }
.legal-toc a { padding: 7px 8px; border-radius: 4px; color: #30382f; font: 800 11px/1.35 ui-monospace, "Cascadia Code", monospace; text-decoration: none; }
.legal-toc a:hover { background: #283128; color: #ecdb9a; }
.legal-document { min-width: 0; padding: clamp(24px, 5vw, 58px); border: 1px solid #e2dac6; border-radius: 4px; background: #f5f0e4; box-shadow: 0 18px 50px #0005; }
.legal-document section { scroll-margin-top: 20px; padding: 0 0 32px; margin: 0 0 34px; border-bottom: 1px dashed #b9af98; }
.legal-document section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.legal-document h2 { display: flex; gap: 11px; align-items: center; margin: 0 0 16px; color: #263127; font-size: clamp(22px, 3vw, 32px); letter-spacing: -.035em; }
.legal-document h2 span { display: inline-grid; place-items: center; flex: 0 0 auto; width: 32px; height: 26px; border-radius: 3px; background: #333d34; color: #f3d982; font: 800 10px/1 ui-monospace, "Cascadia Code", monospace; box-shadow: 0 3px 0 #1118; }
.legal-document h3 { margin: 20px 0 8px; color: #3b4b3d; font-size: 15px; }
.legal-document p, .legal-document li { color: #4c554d; font-size: 14px; line-height: 1.8; }
.legal-document p { margin: 0 0 13px; }
.legal-document p:last-child { margin-bottom: 0; }
.legal-document ul { margin: 10px 0 16px; padding-left: 21px; }
.legal-document li + li { margin-top: 6px; }
.legal-document a { color: #a33e28; font-weight: 800; }
.data-table { margin: 16px 0 20px; border: 1px solid #b9af98; }
.data-table > div { display: grid; grid-template-columns: minmax(150px, .34fr) 1fr; }
.data-table > div + div { border-top: 1px solid #cbc2ad; }
.data-table strong, .data-table p { padding: 12px 14px; margin: 0; }
.data-table strong { background: #e2dac6; color: #343e35; font: 800 11px/1.45 ui-monospace, "Cascadia Code", monospace; text-transform: uppercase; }
.data-table p { font-size: 12px; line-height: 1.65; }
.contact-shell { max-width: 1120px; margin-inline: auto; }
.legal-email-button { position: relative; z-index: 2; display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; min-width: min(100%, 390px); margin-top: 24px; padding: 15px 18px; border: 2px solid #596154; border-radius: 7px; background: #f09856; color: #2b2c27 !important; font: 900 13px/1 ui-monospace, "Cascadia Code", monospace; text-decoration: none; box-shadow: inset 0 2px #ffd4a8, 0 6px 0 #8f4e2b, 0 10px 18px #0003; }
.legal-email-button:active { transform: translateY(4px); box-shadow: inset 0 2px #ffd4a8, 0 2px 0 #8f4e2b; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.contact-grid article { position: relative; padding: 24px; border: 3px solid #766e5a; border-radius: 10px; background: #eee6d2; box-shadow: inset 0 0 0 2px #fff8df, 0 9px 24px #0004; }
.contact-grid article > span { position: absolute; top: 12px; right: 14px; color: #b15a3f; font: 900 11px/1 ui-monospace, "Cascadia Code", monospace; }
.contact-grid h2 { margin: 0 0 10px; color: #2e382f; font-size: 18px; }
.contact-grid p { margin: 0; color: #576057; font-size: 12px; line-height: 1.65; }
.legal-card { margin-top: 18px; padding: 28px; border: 4px solid #756c58; border-radius: 12px; background: #d5c9aa; box-shadow: inset 0 0 0 2px #f1e6c9, 0 12px 30px #0004; }
.response-card { display: grid; grid-template-columns: .8fr 1fr; gap: 22px 40px; }
.response-card h2 { margin: 6px 0 0; color: #2b352d; font-size: 28px; }
.response-card ul { margin: 0; padding-left: 20px; color: #455046; font-size: 13px; line-height: 1.8; }
.response-card p { grid-column: 1 / -1; margin: 0; padding-top: 16px; border-top: 1px dashed #91866d; color: #596058; font-size: 12px; line-height: 1.65; }

/* Teacher landing page */
.teacher-page { background-color: #15201d; }
.teacher-page::before { opacity: .48; filter: saturate(.72) brightness(.68); }
.teacher-shell { padding: 48px 0 72px; }
.teacher-hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); gap: clamp(30px, 5vw, 72px); align-items: center; min-height: 650px; }
.teacher-hero-copy h1 { max-width: 770px; margin: 12px 0 24px; color: #f3ead5; font-size: clamp(48px, 6.8vw, 92px); line-height: .94; letter-spacing: -.065em; text-shadow: 4px 5px 0 #0e1714; }
.teacher-hero-copy > p { max-width: 690px; margin: 0; color: #c3c2b1; font-size: 15px; line-height: 1.8; }
.teacher-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.teacher-primary, .teacher-secondary { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 54px; padding: 0 20px; border-radius: 6px; font: 900 11px/1 ui-monospace, "Cascadia Code", monospace; text-decoration: none; text-transform: uppercase; }
.teacher-primary { min-width: 282px; border: 2px solid #3c3028; background: #ec8156; color: #252a25; box-shadow: inset 0 2px #ffc29f, inset -2px -2px #a94b32, 0 7px 0 #793c2d, 0 12px 24px #0005; }
.teacher-primary:hover { background: #f59166; }
.teacher-primary:active { translate: 0 4px; box-shadow: inset 0 2px #ffc29f, inset -2px -2px #a94b32, 0 3px 0 #793c2d; }
.teacher-primary span { font-size: 19px; }
.teacher-secondary { border: 2px solid #8b816d; background: #d9ceb4; color: #30372f; box-shadow: inset 1px 2px #fff8df, 0 5px 0 #6d6658; }
.teacher-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 38px 0 0; padding: 0; list-style: none; }
.teacher-facts li { min-width: 0; padding: 13px 14px; border: 1px solid #59645b; border-radius: 5px; background: rgba(30,46,40,.82); box-shadow: inset 0 1px #ffffff12; }
.teacher-facts strong, .teacher-facts span { display: block; }
.teacher-facts strong { color: #f0d06f; font: 900 10px/1.35 ui-monospace, "Cascadia Code", monospace; text-transform: uppercase; }
.teacher-facts span { margin-top: 6px; color: #d3dbd0; font-size: 10px; line-height: 1.45; }
.teacher-monitor { padding: 14px 14px 20px; border: 9px solid #c9b994; border-radius: 28px; background: #aaa087; box-shadow: inset 0 0 0 3px #5f5b50, inset 0 -12px 18px #847b65, 0 28px 60px #0009; rotate: .7deg; }
.teacher-monitor-top { display: flex; justify-content: space-between; padding: 3px 10px 11px; color: #3d4138; font: 900 8px/1 ui-monospace, "Cascadia Code", monospace; letter-spacing: .09em; }
.teacher-monitor-top i { color: #17362b; font-style: normal; }
.teacher-screen { position: relative; min-height: 440px; overflow: hidden; padding: 28px; border: 8px solid #494b43; border-radius: 14px; background: repeating-linear-gradient(0deg, rgba(165,255,204,.025) 0 1px, transparent 1px 4px), radial-gradient(circle at 50% 38%, #264f43, #102821 74%); color: #c5e4b7; text-align: center; box-shadow: inset 0 0 42px #0009, 0 2px #f1e4c3; }
.teacher-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 18%, #ffffff0c 33%, transparent 46%); }
.teacher-screen-kicker { display: block; color: #efc86e; font: 900 8px/1 ui-monospace, "Cascadia Code", monospace; letter-spacing: .16em; }
.teacher-screen > strong { display: block; margin-top: 5px; font-size: 54px; text-shadow: 0 0 13px #8dca9b55; }
.teacher-screen > p { margin: 6px 0 26px; color: #c1d9c4; font: 700 12px/1.5 ui-monospace, "Cascadia Code", monospace; }
.teacher-cat { position: relative; width: 124px; height: 112px; margin: 30px auto 6px; border: 7px solid #c4ddb4; border-radius: 48% 48% 44% 44%; box-shadow: 0 0 18px #a3dba755; }
.teacher-cat::before, .teacher-cat::after { content: ""; position: absolute; top: -29px; width: 43px; height: 50px; border: 7px solid #c4ddb4; background: #17372e; rotate: 45deg; z-index: -1; }
.teacher-cat::before { left: 3px; }
.teacher-cat::after { right: 3px; }
.teacher-cat i, .teacher-cat b { position: absolute; top: 39px; width: 11px; height: 14px; border-radius: 50%; background: #c4ddb4; }
.teacher-cat i { left: 28px; }
.teacher-cat b { right: 28px; }
.teacher-cat em { position: absolute; left: 50%; top: 60px; width: 15px; height: 10px; border-bottom: 4px solid #e99a6b; border-radius: 50%; translate: -50% 0; }
.teacher-guess { display: grid; grid-template-columns: 50px 1fr 20px; gap: 9px; align-items: center; max-width: 290px; margin: 7px auto; padding: 8px 10px; border: 1px solid #4f7761; background: #10261fcc; font: 800 9px/1 ui-monospace, "Cascadia Code", monospace; text-align: left; }
.teacher-guess span { color: #edc36a; }
.teacher-guess b { color: #c4d6c2; }
.teacher-guess i { color: #71d699; font-style: normal; }
.teacher-monitor-controls { display: flex; justify-content: flex-end; align-items: center; gap: 7px; padding: 14px 12px 0; }
.teacher-monitor-controls span { width: 9px; height: 9px; border-radius: 50%; background: #9d5940; box-shadow: inset 1px 1px #edb591; }
.teacher-monitor-controls b { margin-left: 3px; color: #34362e; font: 900 8px/1 ui-monospace, monospace; }
.teacher-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; margin: 44px 0 84px; padding: 17px 24px; border-block: 1px solid #526057; color: #bfc4b7; font: 900 9px/1.4 ui-monospace, "Cascadia Code", monospace; letter-spacing: .09em; }
.teacher-strip i { color: #e5bb61; font-style: normal; }
.teacher-section { padding: 78px 0; }
.teacher-section-heading { max-width: 800px; margin-bottom: 34px; }
.teacher-section-heading > span { color: #e5bd62; font: 900 9px/1 ui-monospace, "Cascadia Code", monospace; letter-spacing: .14em; }
.teacher-section-heading h2, .teacher-workbench-copy h2, .teacher-lesson h2, .teacher-final-cta h2 { margin: 10px 0 12px; color: #f0e8d6; font-size: clamp(35px, 5vw, 62px); line-height: 1; letter-spacing: -.055em; }
.teacher-section-heading p { max-width: 700px; margin: 0; color: #cbd4ca; font-size: 13px; line-height: 1.75; }
.teacher-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: none; }
.teacher-steps article { position: relative; min-height: 220px; padding: 27px; border: 3px solid #756c59; border-radius: 9px; background: #e5dcc5; box-shadow: inset 0 0 0 2px #fff9e8, 0 9px 0 #36372f, 0 18px 30px #0004; }
.teacher-steps article > span { display: grid; place-items: center; width: 36px; height: 32px; border-radius: 4px; background: #354b40; color: #f0ca68; font: 900 12px/1 ui-monospace, monospace; box-shadow: 0 4px 0 #17241e; }
.teacher-steps h3 { margin: 30px 0 9px; color: #303b33; font-size: 21px; }
.teacher-steps p { margin: 0; color: #414941; font-size: 12px; line-height: 1.7; }
.teacher-workbench { display: grid; grid-template-columns: minmax(420px, .94fr) minmax(0, 1.06fr); gap: clamp(35px, 6vw, 80px); align-items: center; margin: 70px 0; padding: clamp(30px, 5vw, 70px); border: 1px solid #566259; border-radius: 16px; background: rgba(28,43,37,.88); box-shadow: inset 0 1px #ffffff0d, 0 22px 54px #0005; }
.teacher-pack-card { overflow: hidden; border: 7px solid #b7a986; border-radius: 12px; background: #eee5d0; color: #303930; box-shadow: inset 0 0 0 2px #6e6757, 0 16px 35px #0006; rotate: -.8deg; }
.teacher-pack-header { display: flex; justify-content: space-between; padding: 15px 17px; border-bottom: 2px solid #8b816b; background: #d5c7a5; font: 900 9px/1 ui-monospace, monospace; letter-spacing: .1em; }
.teacher-pack-header b { color: #2e7354; }
.teacher-pack-card pre { margin: 0; padding: 25px 22px; overflow: auto; background: repeating-linear-gradient(0deg, #f8f2e5 0 26px, #e2d8c1 27px); color: #344039; font: 800 13px/27px ui-monospace, "Cascadia Code", monospace; }
.teacher-pack-card > p { margin: 0; padding: 14px 17px; border-top: 2px solid #b7ad98; color: #464a42; font-size: 10px; line-height: 1.6; }
.teacher-pack-card code { color: #b34f35; font-weight: 900; }
.teacher-workbench-copy > p { color: #cdd5cc; font-size: 13px; line-height: 1.75; }
.teacher-workbench-copy ul { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.teacher-workbench-copy li { position: relative; padding-left: 25px; color: #d1d0c2; font-size: 12px; line-height: 1.5; }
.teacher-workbench-copy li::before { content: "✓"; position: absolute; left: 0; color: #edbd62; font-weight: 900; }
.teacher-controls-section { padding-bottom: 90px; }
.teacher-controls-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.teacher-controls-grid article { padding: 23px; border: 1px solid #6b756b; border-radius: 7px; background: rgba(218,207,181,.95); box-shadow: inset 1px 1px #fff7df, 0 6px 0 #343b35; }
.teacher-controls-grid article > span { display: grid; place-items: center; width: 38px; height: 34px; border: 2px solid #40564a; border-radius: 5px; background: #64776a; color: #f8d778; font: 900 17px/1 ui-monospace, monospace; box-shadow: inset 1px 1px #aab6a8, 0 3px 0 #27372f; }
.teacher-controls-grid h3 { margin: 18px 0 7px; color: #303a32; font-size: 16px; }
.teacher-controls-grid p { margin: 0; color: #414941; font-size: 11px; line-height: 1.65; }
.teacher-lesson { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 6vw, 90px); margin: 60px 0 100px; padding: clamp(32px, 5vw, 62px); border-block: 1px solid #59655d; background: rgba(12,25,21,.38); }
.teacher-lesson ol { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.teacher-lesson li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 15px 18px; border: 1px solid #59685f; background: #21352e; color: #d7ded4; }
.teacher-lesson li > b { color: #efc364; font: 900 11px/1.5 ui-monospace, monospace; }
.teacher-lesson li span, .teacher-lesson li strong { display: block; }
.teacher-lesson li strong { margin-bottom: 4px; color: #f0eadb; font-size: 13px; }
.teacher-lesson li span { font-size: 11px; line-height: 1.55; }
.teacher-safety { display: grid; grid-template-columns: 58px 1fr; gap: 22px; align-items: start; max-width: 1040px; margin: 0 auto 70px; padding: 26px; border: 3px solid #8d7651; border-radius: 8px; background: #e5d4ab; box-shadow: inset 0 0 0 2px #fff0cd, 0 8px 0 #4e4536; }
.teacher-safety > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #c96745; color: #fff2d8; font: 900 26px/1 ui-monospace, monospace; box-shadow: inset 2px 2px #f3a383, 0 4px 0 #713924; }
.teacher-safety h2 { margin: 1px 0 8px; color: #353b32; font-size: 22px; }
.teacher-safety p { margin: 0; color: #474b43; font-size: 12px; line-height: 1.7; }
.teacher-safety a { color: #9f3e2b; font-weight: 900; }
.teacher-faq > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.teacher-faq details { align-self: start; border: 2px solid #6e705f; border-radius: 6px; background: #d8cdb2; color: #30372f; box-shadow: inset 0 1px #fff6dc, 0 5px 0 #383b34; }
.teacher-faq summary { padding: 17px 45px 17px 18px; cursor: pointer; font-size: 13px; font-weight: 850; }
.teacher-faq details p { margin: 0; padding: 0 18px 18px; color: #414941; font-size: 11px; line-height: 1.7; }
.teacher-final-cta { display: flex; justify-content: space-between; gap: 40px; align-items: center; margin-top: 70px; padding: clamp(30px, 5vw, 60px); border: 8px solid #b9aa87; border-radius: 18px; background: #d6c8a8; box-shadow: inset 0 0 0 3px #6a6455, 0 18px 50px #0007; }
.teacher-final-cta h2 { color: #26352d; }
.teacher-final-cta p { margin: 0; color: #414941; font-size: 13px; }
.teacher-final-cta .teacher-primary { flex: 0 0 auto; }

@media (max-width: 1000px) {
  .teacher-hero { grid-template-columns: 1fr; }
  .teacher-monitor { width: min(620px, 100%); margin-inline: auto; }
  .teacher-workbench { grid-template-columns: 1fr; }
  .teacher-controls-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .legal-page .site-header { align-items: flex-start; gap: 18px; padding: 17px 0; }
  .legal-nav { flex-wrap: wrap; justify-content: flex-end; }
  .legal-nav .back-to-game { width: 100%; margin-left: 0; text-align: center; }
  .legal-shell { padding-top: 30px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-toc strong { grid-column: 1 / -1; }
  .teacher-shell { padding-top: 28px; }
  .teacher-hero { min-height: auto; }
  .teacher-hero-copy h1 { font-size: clamp(48px, 12vw, 72px); }
  .teacher-facts, .teacher-steps { grid-template-columns: 1fr; }
  .teacher-steps article { min-height: 0; }
  .teacher-lesson { grid-template-columns: 1fr; }
  .teacher-final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 540px) {
  .legal-page .page-shell { width: min(100% - 20px, 1320px); }
  .legal-page .site-header { display: block; }
  .legal-nav { justify-content: flex-start; margin-top: 15px; }
  .legal-nav a { padding-inline: 7px; }
  .legal-nav .back-to-game { width: auto; margin-left: auto; }
  .legal-hero { padding: 30px 22px; border-width: 5px; }
  .legal-hero h1 { font-size: 43px; }
  .legal-toc { grid-template-columns: 1fr; }
  .legal-document { padding: 26px 20px; }
  .legal-document h2 { align-items: flex-start; font-size: 23px; }
  .data-table > div { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .response-card { grid-template-columns: 1fr; }
  .response-card p { grid-column: auto; }
  .teacher-hero-copy h1 { font-size: 46px; }
  .teacher-monitor { padding: 8px 8px 14px; border-width: 6px; border-radius: 19px; }
  .teacher-screen { min-height: 395px; padding: 22px 13px; border-width: 6px; }
  .teacher-screen > strong { font-size: 44px; }
  .teacher-actions { display: grid; }
  .teacher-primary, .teacher-secondary { width: 100%; min-width: 0; }
  .teacher-strip { margin-bottom: 38px; }
  .teacher-section { padding: 48px 0; }
  .teacher-section-heading h2, .teacher-workbench-copy h2, .teacher-lesson h2, .teacher-final-cta h2 { font-size: 39px; }
  .teacher-workbench { margin: 40px 0; padding: 22px 12px; }
  .teacher-pack-card pre { padding-inline: 12px; font-size: 10px; }
  .teacher-controls-grid, .teacher-faq > div { grid-template-columns: 1fr; }
  .teacher-lesson { margin-bottom: 60px; padding-inline: 14px; }
  .teacher-safety { grid-template-columns: 1fr; }
  .teacher-final-cta { padding: 26px 22px; border-width: 5px; }
}

/* Language discovery */
.language-page { background-color: #15201d; }
.language-page::before { opacity: .5; filter: saturate(.76) brightness(.7); }
.language-shell { padding: 52px 0 74px; }
.language-hero { min-height: 600px; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(400px, .97fr); align-items: center; gap: clamp(38px, 7vw, 100px); }
.language-hero h1 { margin: 13px 0 24px; color: #f2ead8; font-size: clamp(50px, 6.9vw, 96px); line-height: .93; letter-spacing: -.066em; text-shadow: 4px 5px 0 #0c1713; }
.language-hero h1 em { color: #ef805b; font-style: normal; }
.language-hero > div:first-child > p { max-width: 700px; margin: 0 0 30px; color: #c2c4b7; font-size: 15px; line-height: 1.8; }
.language-terminal { padding: 14px 14px 19px; border: 8px solid #b9aa86; border-radius: 17px; background: #9c927b; box-shadow: inset 0 0 0 3px #56554c, inset 0 -10px 18px #766e5b, 0 25px 55px #0008; rotate: .6deg; }
.language-terminal > div { display: flex; justify-content: space-between; padding: 4px 8px 12px; color: #414239; font: 900 8px/1 ui-monospace, "Cascadia Code", monospace; letter-spacing: .09em; }
.language-terminal > div b { color: #10241d; }
.language-terminal ol { display: grid; gap: 8px; min-height: 390px; margin: 0; padding: 30px; align-content: center; border: 8px solid #484a43; border-radius: 12px; background: repeating-linear-gradient(0deg, rgba(165,255,204,.025) 0 1px, transparent 1px 4px), radial-gradient(circle at 50% 40%, #285247, #102721 74%); box-shadow: inset 0 0 40px #0009, 0 2px #e8daba; list-style: none; }
.language-terminal li { display: grid; grid-template-columns: 45px 1fr 24px; gap: 13px; align-items: center; padding: 11px 13px; border: 1px solid #4c765f; background: #10251fcc; }
.language-terminal li > i { display: grid; place-items: center; width: 38px; height: 32px; border: 1px solid #769c7d; border-radius: 4px; color: #efca70; font: 900 10px/1 ui-monospace, monospace; font-style: normal; }
.language-terminal li span, .language-terminal li strong, .language-terminal li small { display: block; }
.language-terminal li strong { color: #d4e7cb; font-size: 20px; }
.language-terminal li small { margin-top: 3px; color: #bdd8c5; font: 800 8px/1 ui-monospace, monospace; text-transform: uppercase; }
.language-terminal li > b { color: #78d99c; font-size: 20px; }
.language-terminal > p { margin: 13px 0 0; color: #202820; font: 900 11px/1.4 ui-monospace, "Cascadia Code", monospace; text-align: center; }
.language-picker { padding: 72px 0 96px; }
.language-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.language-card-grid article { min-width: 0; padding: 22px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; border: 3px solid #766e5b; border-radius: 8px; background: #dfd5bd; color: #303a32; box-shadow: inset 0 0 0 2px #fff5db, 0 7px 0 #363830, 0 14px 26px #0003; }
.language-card-grid article > i { display: grid; place-items: center; width: 46px; height: 42px; border: 2px solid #28443c; border-radius: 6px; background: #446458; color: #f4cf75; font: 900 13px/1 ui-monospace, monospace; font-style: normal; box-shadow: inset 1px 1px #84998d, 0 4px 0 #24372f; }
.language-card-grid h3 { margin: 2px 0 7px; font-size: 18px; }
.language-card-grid h3 a { color: inherit; text-decoration-color: #a34a35; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.language-card-grid h3 a:hover { color: #9f422e; }
.language-card-grid p { min-height: 52px; margin: 0; color: #414941; font-size: 10px; line-height: 1.6; }
.language-card-grid code { display: block; min-height: 38px; margin-top: 12px; overflow-wrap: anywhere; color: #9f422e; font: 900 11px/1.45 ui-monospace, "Cascadia Code", monospace; }
.language-card-grid article > a { grid-column: 1 / -1; margin-top: 6px; padding: 11px 12px; display: flex; justify-content: space-between; border: 1px solid #7b654a; border-radius: 5px; background: #cdbd99; color: #2e3b34; font: 900 9px/1 ui-monospace, monospace; text-decoration: none; text-transform: uppercase; box-shadow: inset 1px 1px #fff0c9, 0 3px 0 #685944; }
.language-card-grid article > a:hover { background: #e7cc91; }
.language-explainer { margin: 40px 0 65px; padding: clamp(34px, 5vw, 68px); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(34px, 6vw, 80px); align-items: center; border: 1px solid #59665d; border-radius: 16px; background: rgba(24,40,34,.9); box-shadow: inset 0 1px #ffffff0d, 0 22px 50px #0005; }
.language-explainer h2 { margin: 10px 0 16px; color: #f0e8d6; font-size: clamp(38px, 5vw, 65px); line-height: .98; letter-spacing: -.057em; }
.language-explainer > div:first-child p { margin: 0; color: #cbd5cb; font-size: 13px; line-height: 1.75; }
.language-rules { display: grid; gap: 10px; }
.language-rules article { display: grid; grid-template-columns: 42px 1fr; gap: 5px 14px; align-items: center; padding: 16px; border: 2px solid #746b58; border-radius: 7px; background: #ded3b9; box-shadow: inset 1px 1px #fff5dc, 0 5px 0 #343831; }
.language-rules article > span { grid-row: 1 / 3; display: grid; place-items: center; width: 39px; height: 36px; border-radius: 5px; background: #49655a; color: #f1c96e; font: 900 12px/1 ui-monospace, monospace; }
.language-rules h3 { margin: 0; color: #303a32; font-size: 15px; }
.language-rules p { margin: 0; color: #414941; font-size: 10px; line-height: 1.5; }
.language-faq a { color: #923e2c; font-weight: 900; }
.language-final-cta { margin-bottom: 10px; }

@media (max-width: 1100px) {
  .language-hero { grid-template-columns: 1fr; }
  .language-terminal { width: min(660px, 100%); margin-inline: auto; }
  .language-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .language-shell { padding-top: 30px; }
  .language-hero { min-height: 0; }
  .language-hero h1 { font-size: clamp(48px, 13vw, 72px); }
  .language-card-grid { grid-template-columns: 1fr; }
  .language-explainer { grid-template-columns: 1fr; padding: 28px 20px; }
}

@media (max-width: 540px) {
  .language-hero h1 { font-size: 45px; }
  .language-terminal { padding: 7px 7px 13px; border-width: 5px; }
  .language-terminal ol { min-height: 360px; padding: 18px 12px; border-width: 5px; }
  .language-terminal li { grid-template-columns: 40px 1fr 20px; gap: 9px; padding-inline: 9px; }
  .language-terminal li strong { font-size: 17px; }
  .language-picker { padding-block: 50px; }
  .language-card-grid article { padding: 18px 16px; }
  .language-card-grid p { min-height: 0; }
  .language-explainer h2 { font-size: 38px; }
}

/* How to play */
.guide-page { background-color: #15201d; }
.guide-page::before { opacity: .48; filter: saturate(.76) brightness(.7); }
.guide-shell { padding: 52px 0 76px; }
.guide-hero { min-height: 590px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(410px, .9fr); gap: clamp(42px, 7vw, 100px); align-items: center; }
.guide-hero-copy h1 { margin: 13px 0 24px; color: #f3ead8; font-size: clamp(49px, 6.6vw, 91px); line-height: .94; letter-spacing: -.066em; text-shadow: 4px 5px 0 #0c1713; }
.guide-hero-copy h1 em { color: #ef805b; font-style: normal; }
.guide-hero-copy > p { max-width: 660px; margin: 0 0 29px; color: #c1c4b7; font-size: 15px; line-height: 1.8; }
.guide-console { padding: 13px 13px 20px; border: 9px solid #b7aa89; border-radius: 26px; background: #9c927b; box-shadow: inset 0 0 0 3px #56554c, inset 0 -12px 20px #746c59, 0 27px 58px #0009; rotate: .7deg; }
.guide-console-bar { display: flex; justify-content: space-between; padding: 5px 11px 12px; color: #3e4139; font: 900 8px/1 ui-monospace, "Cascadia Code", monospace; letter-spacing: .09em; }
.guide-console-bar b { color: #10241d; }
.guide-console ol { min-height: 390px; display: grid; gap: 10px; align-content: center; margin: 0; padding: 28px; border: 8px solid #484a43; border-radius: 13px; background: repeating-linear-gradient(0deg, rgba(165,255,204,.028) 0 1px, transparent 1px 4px), radial-gradient(circle at 50% 40%, #285247, #102721 74%); box-shadow: inset 0 0 42px #0009, 0 2px #e8daba; list-style: none; }
.guide-console li { display: grid; grid-template-columns: 43px 1fr 22px; gap: 13px; align-items: center; padding: 13px; border: 1px solid #4c765f; background: #10251fcc; }
.guide-console li > span { display: grid; place-items: center; width: 38px; height: 32px; border: 1px solid #779b7d; border-radius: 4px; color: #efca70; font: 900 10px/1 ui-monospace, monospace; }
.guide-console li strong, .guide-console li small { display: block; }
.guide-console li strong { color: #d6e7cd; font-size: 15px; }
.guide-console li small { margin-top: 5px; color: #bdd8c5; font: 800 8px/1 ui-monospace, monospace; text-transform: uppercase; }
.guide-console li > b { color: #79d99c; font: 900 17px/1 ui-monospace, monospace; }
.guide-console > p { margin: 15px 0 0; color: #202820; font: 900 9px/1 ui-monospace, monospace; text-align: center; }
.guide-section { padding: 72px 0; }
.guide-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.guide-steps article { min-height: 245px; padding: 25px; border: 3px solid #766d59; border-radius: 8px; background: #dfd5bd; color: #303a32; box-shadow: inset 0 0 0 2px #fff5db, 0 8px 0 #363830, 0 16px 28px #0003; }
.guide-steps article > span { display: grid; place-items: center; width: 40px; height: 36px; border-radius: 5px; background: #476459; color: #f4cf75; font: 900 11px/1 ui-monospace, monospace; box-shadow: inset 1px 1px #83998c, 0 4px 0 #25372f; }
.guide-steps h3 { margin: 29px 0 10px; color: #303a32; font-size: 19px; }
.guide-steps p { margin: 0; color: #414941; font-size: 11px; line-height: 1.7; }
.guide-alias-section { margin: 45px 0 55px; padding: clamp(32px, 5vw, 68px); display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(40px, 7vw, 90px); align-items: center; border: 1px solid #58655c; border-radius: 16px; background: rgba(24,40,34,.9); box-shadow: inset 0 1px #ffffff0d, 0 22px 50px #0005; }
.guide-alias-copy h2, .guide-shortcuts h2 { margin: 10px 0 17px; color: #f0e8d6; font-size: clamp(39px, 5vw, 66px); line-height: .98; letter-spacing: -.057em; }
.guide-alias-copy p, .guide-shortcuts > div:first-child p { color: #cbd5cb; font-size: 13px; line-height: 1.75; }
.guide-alias-machine { padding: 13px; border: 7px solid #b2a584; border-radius: 13px; background: #a19880; box-shadow: inset 0 0 0 2px #5d594e, 0 16px 36px #0007; rotate: -.65deg; }
.guide-alias-machine > div { display: flex; justify-content: space-between; padding: 6px 8px 12px; color: #414139; font: 900 8px/1 ui-monospace, monospace; }
.guide-alias-machine > div b { color: #10241d; }
.guide-alias-machine > code { display: block; padding: 25px 14px; border: 6px solid #484a43; background: #102721; color: #efcf78; font: 900 clamp(16px, 2.5vw, 27px)/1.4 ui-monospace, "Cascadia Code", monospace; text-align: center; box-shadow: inset 0 0 26px #0009; }
.guide-alias-machine ul { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 10px 0 0; padding: 0; list-style: none; }
.guide-alias-machine li { display: flex; justify-content: space-between; padding: 10px 12px; border: 1px solid #49705a; background: #18362c; color: #d2dfcb; font: 900 10px/1 ui-monospace, monospace; }
.guide-alias-machine li b { color: #78d99c; font-size: 8px; }
.guide-role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.guide-role-grid article { display: grid; grid-template-columns: 74px 1fr; gap: 22px; align-items: start; padding: 30px; border: 2px solid #726b59; border-radius: 9px; background: #ddd2b8; box-shadow: inset 1px 1px #fff5dc, 0 7px 0 #363931; }
.guide-role-icon { display: grid; place-items: center; width: 68px; height: 64px; border: 3px solid #294138; border-radius: 10px; background: #4b675c; color: #f1c96e; font: 900 35px/1 Georgia, serif; box-shadow: inset 2px 2px #81988b, 0 5px 0 #28372f; }
.guide-role-grid small { color: #9e4935; font: 900 8px/1 ui-monospace, monospace; letter-spacing: .12em; }
.guide-role-grid h3 { margin: 8px 0 10px; color: #303a32; font-size: 22px; }
.guide-role-grid p { margin: 0; color: #414941; font-size: 11px; line-height: 1.7; }
.guide-mode-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.guide-mode-grid article { min-height: 180px; padding: 22px; border: 1px solid #6b756b; border-radius: 7px; background: rgba(218,207,181,.96); box-shadow: inset 1px 1px #fff7df, 0 6px 0 #343b35; }
.guide-mode-grid i { display: grid; place-items: center; width: 39px; height: 36px; border: 2px solid #40564a; border-radius: 5px; background: #64776a; color: #f8d778; font: 900 17px/1 ui-monospace, monospace; font-style: normal; box-shadow: inset 1px 1px #aab6a8, 0 3px 0 #27372f; }
.guide-mode-grid h3 { margin: 19px 0 7px; color: #303a32; font-size: 16px; }
.guide-mode-grid p { margin: 0; color: #414941; font-size: 10px; line-height: 1.65; }
.guide-shortcuts { margin: 70px 0 55px; padding: clamp(32px, 5vw, 68px); display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(38px, 7vw, 90px); align-items: center; border: 1px solid #59665d; border-radius: 16px; background: rgba(18,33,28,.93); box-shadow: inset 0 1px #ffffff0d, 0 22px 50px #0005; }
.guide-keyboard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.guide-keyboard > div { min-width: 0; display: flex; align-items: center; gap: 7px; padding: 9px; border: 1px solid #5e6b62; border-radius: 6px; background: #253b33; }
.guide-keyboard > div.wide { grid-column: span 2; }
.guide-keyboard kbd { min-width: 34px; padding: 9px 8px; border: 2px solid #83785f; border-radius: 5px; background: #d7c8a6; color: #29352f; font: 900 10px/1 ui-monospace, monospace; text-align: center; box-shadow: inset 1px 1px #fff0cb, 0 4px 0 #594f3e; }
.guide-keyboard span { min-width: 0; color: #c9cabe; font: 800 9px/1.25 ui-monospace, monospace; }
.guide-keyboard b { color: #b8d3c0; font: 800 9px/1 ui-monospace, monospace; }
.guide-faq code { color: #923e2c; font-weight: 900; }
.guide-final-cta { margin-bottom: 8px; }

@media (max-width: 1100px) {
  .guide-hero { grid-template-columns: 1fr; }
  .guide-console { width: min(650px, 100%); margin-inline: auto; }
  .guide-steps, .guide-mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-shortcuts { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .guide-shell { padding-top: 30px; }
  .guide-hero { min-height: 0; }
  .guide-hero-copy h1 { font-size: clamp(47px, 13vw, 72px); }
  .guide-alias-section, .guide-role-grid { grid-template-columns: 1fr; }
  .guide-keyboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
  .guide-hero-copy h1 { font-size: 44px; }
  .guide-console { padding: 7px 7px 14px; border-width: 5px; border-radius: 18px; }
  .guide-console ol { min-height: 350px; padding: 17px 11px; border-width: 5px; }
  .guide-console li { grid-template-columns: 39px 1fr 20px; gap: 9px; padding-inline: 9px; }
  .guide-section { padding-block: 48px; }
  .guide-steps, .guide-mode-grid { grid-template-columns: 1fr; }
  .guide-steps article { min-height: 0; }
  .guide-alias-section, .guide-shortcuts { padding: 27px 18px; }
  .guide-alias-copy h2, .guide-shortcuts h2 { font-size: 38px; }
  .guide-alias-machine ul { grid-template-columns: 1fr; }
  .guide-role-grid article { grid-template-columns: 56px 1fr; padding: 22px 16px; gap: 14px; }
  .guide-role-icon { width: 52px; height: 50px; font-size: 27px; }
  .guide-keyboard > div.wide { grid-column: 1 / -1; }
}

/* Individual language guides */
.language-detail-page { background-color: #15201d; }
.language-detail-page::before { opacity: .5; filter: saturate(.76) brightness(.7); }
.language-detail-shell { padding: 28px 0 76px; }
.language-breadcrumb { display: flex; gap: 9px; align-items: center; color: #b8c7bc; font: 800 9px/1 ui-monospace, "Cascadia Code", monospace; text-transform: uppercase; letter-spacing: .08em; }
.language-breadcrumb a { color: #d6c999; text-decoration: none; }
.language-breadcrumb a:hover { color: #f0c86c; }
.language-breadcrumb strong { color: #b5beb4; }
.language-detail-hero { min-height: 610px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(410px, .92fr); align-items: center; gap: clamp(40px, 7vw, 100px); }
.language-detail-hero > * { min-width: 0; }
.language-detail-copy h1 { margin: 17px 0 24px; color: #f2ead8; font-size: clamp(48px, 6.4vw, 88px); line-height: .94; letter-spacing: -.064em; text-shadow: 4px 5px 0 #0c1713; }
.language-detail-copy h1 em { color: #ef805b; font-style: normal; }
.language-detail-copy > p { max-width: 680px; margin: 0 0 29px; color: #c0c4b7; font-size: 15px; line-height: 1.8; }
.language-nameplate { display: inline-grid; grid-template-columns: 42px auto; gap: 11px; align-items: center; margin-top: 19px; padding: 8px 13px 8px 8px; border: 1px solid #586c60; border-radius: 7px; background: #1d312a; box-shadow: inset 0 1px #ffffff0b, 0 5px 0 #0d1713; }
.language-nameplate > i { display: grid; place-items: center; width: 40px; height: 37px; border: 1px solid #789383; border-radius: 5px; background: #49675a; color: #f1c96e; font: 900 12px/1 ui-monospace, monospace; font-style: normal; }
.language-nameplate span, .language-nameplate small, .language-nameplate strong { display: block; }
.language-nameplate small { color: #b7d3c1; font: 900 7px/1 ui-monospace, monospace; letter-spacing: .12em; }
.language-nameplate strong { margin-top: 5px; color: #e6e2d4; font-size: 16px; }
.language-answer-machine { padding: 13px 13px 18px; border: 8px solid #b9aa86; border-radius: 18px; background: #9c927b; box-shadow: inset 0 0 0 3px #56554c, inset 0 -10px 18px #766e5b, 0 25px 55px #0008; rotate: .65deg; }
.language-answer-machine > div { display: flex; justify-content: space-between; padding: 5px 8px 12px; color: #414239; font: 900 8px/1 ui-monospace, monospace; letter-spacing: .08em; }
.language-answer-machine > div b { color: #10241d; }
.language-answer-machine > section { min-height: 355px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 32px 25px; border: 8px solid #484a43; border-radius: 12px; background: repeating-linear-gradient(0deg, rgba(165,255,204,.025) 0 1px, transparent 1px 4px), radial-gradient(circle at 50% 42%, #285247, #102721 74%); box-shadow: inset 0 0 42px #0009, 0 2px #e8daba; text-align: center; }
.language-answer-machine section > small { color: #b6d1bf; font: 900 8px/1 ui-monospace, monospace; letter-spacing: .12em; }
.language-answer-machine code { max-width: 100%; margin: 28px 0 16px; overflow-wrap: anywhere; color: #f1d078; font: 900 clamp(20px, 3vw, 34px)/1.4 ui-monospace, "Cascadia Code", monospace; }
.language-answer-machine section p { margin: 0; color: #c3d7c7; font-size: 11px; line-height: 1.6; }
.language-answer-machine section > strong { margin-top: 24px; padding: 8px 12px; border: 1px solid #5fa176; border-radius: 4px; background: #1e4937; color: #8de0a9; font: 900 9px/1 ui-monospace, monospace; }
.language-answer-machine footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px 15px; padding: 14px 7px 0; color: #202820; font: 900 8px/1 ui-monospace, monospace; }
.language-theme-section { padding: 74px 0 95px; }
.language-theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.language-theme-grid > a { display: grid; grid-template-columns: 44px minmax(0, 1fr) 22px; gap: 14px; align-items: center; padding: 19px; border: 3px solid #766e5b; border-radius: 8px; background: #dfd5bd; color: #303a32; box-shadow: inset 0 0 0 2px #fff5db, 0 7px 0 #363830; text-decoration: none; }
.language-theme-grid > a:hover { background: #eadcb9; translate: 0 -2px; box-shadow: inset 0 0 0 2px #fff9e6, 0 9px 0 #363830; }
.language-theme-grid i { display: grid; place-items: center; width: 42px; height: 39px; border-radius: 5px; background: #49655a; color: #f1c96e; font: 900 10px/1 ui-monospace, monospace; font-style: normal; box-shadow: inset 1px 1px #84998d, 0 4px 0 #24372f; }
.language-theme-grid span, .language-theme-grid strong, .language-theme-grid small { display: block; }
.language-theme-grid strong { font-size: 15px; }
.language-theme-grid small { margin-top: 5px; color: #414941; font-size: 10px; line-height: 1.4; }
.language-theme-grid b { color: #a24a35; font-size: 20px; }
.language-detail-explainer { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(35px, 6vw, 85px); align-items: center; margin: 35px 0 55px; padding: clamp(35px, 5vw, 68px); border: 1px solid #59665d; border-radius: 16px; background: rgba(24,40,34,.92); box-shadow: inset 0 1px #ffffff0d, 0 22px 50px #0005; }
.language-detail-explainer h2 { margin: 10px 0 16px; color: #f0e8d6; font-size: clamp(40px, 5vw, 66px); line-height: .98; letter-spacing: -.057em; }
.language-detail-explainer > div p { margin: 0; color: #cbd5cb; font-size: 13px; line-height: 1.75; }
.language-detail-explainer ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.language-detail-explainer li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 16px; border: 2px solid #746b58; border-radius: 7px; background: #ded3b9; box-shadow: inset 1px 1px #fff5dc, 0 5px 0 #343831; }
.language-detail-explainer li i { display: grid; place-items: center; width: 38px; height: 35px; border-radius: 5px; background: #49655a; color: #f1c96e; font: 900 11px/1 ui-monospace, monospace; font-style: normal; }
.language-detail-explainer li span, .language-detail-explainer li strong, .language-detail-explainer li small { display: block; }
.language-detail-explainer li strong { color: #303a32; font-size: 14px; }
.language-detail-explainer li small { margin-top: 5px; color: #414941; font-size: 10px; line-height: 1.5; }
.language-detail-faq code { color: #923e2c; font-weight: 900; overflow-wrap: anywhere; }
.language-detail-faq a { color: #923e2c; font-weight: 900; }
.language-detail-final { margin-bottom: 8px; }

@media (max-width: 1000px) {
  .language-detail-hero { grid-template-columns: 1fr; padding-top: 55px; }
  .language-answer-machine { width: 100%; max-width: 660px; margin-inline: auto; }
}

@media (max-width: 760px) {
  .language-detail-shell { padding-top: 20px; }
  .language-detail-hero { min-height: 0; }
  .language-detail-copy h1 { font-size: clamp(46px, 13vw, 70px); }
  .language-theme-grid, .language-detail-explainer { grid-template-columns: 1fr; }
  .language-detail-explainer { padding: 28px 20px; }
}

@media (max-width: 540px) {
  .language-breadcrumb { margin-top: 12px; }
  .language-detail-hero { padding-top: 38px; }
  .language-detail-copy h1 { font-size: 43px; }
  .language-nameplate { margin-top: 15px; }
  .language-answer-machine { padding: 7px 7px 13px; border-width: 5px; }
  .language-answer-machine > section { min-height: 320px; padding-inline: 13px; border-width: 5px; }
  .language-answer-machine code { font-size: 20px; }
  .language-theme-section { padding-block: 50px; }
  .language-theme-grid > a { padding: 16px 13px; }
  .language-detail-explainer h2 { font-size: 38px; }
}

/* Readable type scale for information pages */
.legal-nav a { font-size: 12px; }
.legal-date, .legal-toc strong, .legal-toc a { font-size: 12px; }
.legal-hero p { font-size: 17px; }
.legal-document h3 { font-size: 17px; }
.legal-document p, .legal-document li { font-size: 16px; }
.legal-document h2 span { font-size: 12px; }
.data-table strong { font-size: 12px; }
.data-table p { font-size: 14px; }
.contact-grid p, .response-card p { font-size: 14px; }
.response-card ul { font-size: 15px; }

.teacher-hero-copy > p, .language-hero > div:first-child > p, .guide-hero-copy > p,
.language-detail-copy > p { font-size: 17px; }
.teacher-primary, .teacher-secondary { font-size: 13px; }
.teacher-facts strong, .teacher-facts span { font-size: 12px; }
.teacher-monitor-top, .teacher-screen-kicker { font-size: 10px; }
.teacher-section-heading p, .teacher-workbench-copy > p, .teacher-lesson li span,
.teacher-safety p, .teacher-faq details p, .teacher-final-cta p { font-size: 14px; }
.teacher-steps p, .teacher-workbench-copy li { font-size: 14px; }
.teacher-pack-card > p { font-size: 12px; }
.teacher-controls-grid p { font-size: 13px; }
.teacher-lesson li strong { font-size: 15px; }
.teacher-faq summary { font-size: 15px; }

.language-card-grid p, .language-rules p { font-size: 13px; }
.language-explainer > div:first-child p, .language-detail-explainer > div p { font-size: 15px; }
.guide-console-bar, .guide-alias-machine > div { font-size: 10px; }
.guide-console li small, .guide-console > p { font-size: 10px; }
.guide-steps p, .guide-role-grid p { font-size: 14px; }
.guide-alias-copy p, .guide-shortcuts > div:first-child p { font-size: 15px; }
.guide-alias-machine li { font-size: 12px; }
.guide-alias-machine li b, .guide-role-grid small { font-size: 10px; }
.guide-mode-grid p { font-size: 13px; }
.guide-keyboard span, .guide-keyboard b { font-size: 11px; }
.language-answer-machine section p { font-size: 13px; }
.language-theme-grid small, .language-detail-explainer li small { font-size: 12px; }

@media (max-width: 780px) {
  .legal-nav a { font-size: 11px; }
}
