/* Worduel journal: shared game tokens, logo, typography and letter seals */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 16px var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1,h2,h3,h4,p,figure,dl,dd { margin: 0; }
a,button,summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.seal-defs { position: absolute; overflow: hidden; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 50; background: white; padding: 16px; }
.skip:focus { top: 10px; }
.site-header { min-height: 88px; display: flex; align-items: center; gap: 36px; border-bottom: 1px solid var(--line-2); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--rausch); font-size: 26px; font-weight: 800; letter-spacing: -1.4px; }
.brand img { display: block; width: 40px; height: auto; }
.journal-link { font-size: 13px; font-weight: 600; }
.site-header > .button { margin-left: auto; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 48px; padding: 14px 24px; border-radius: var(--r-md); background: var(--rausch); color: white; font-size: 14px; font-weight: 700; transition: background .15s; }
.button:hover,.button.light:hover { background: var(--rausch-dark); }
.button.small { padding: 12px 20px; }
.button.light { color: white; background: var(--rausch); }
.eyebrow { font-size: 12px; font-weight: 700; line-height: 1.6; }
.eyebrow > span:not(.tiny-spark) { color: var(--muted); font-weight: 400; }
.tiny-spark { display: none; }
.journal-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; padding-block: 56px 48px; }
.hero-copy,.article-heading { min-width: 0; }
.hero-copy > .eyebrow { color: var(--rausch); }
.hero-copy h1 { margin: 18px 0; font-size: clamp(36px, 4vw, 54px); letter-spacing: -2.2px; line-height: 1.1; font-weight: 800; overflow-wrap: anywhere; }
.hero-lead { max-width: 460px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-art { padding: 20px; display: grid; place-items: center; }
.demo-board { display: grid; gap: 8px; width: min(100%, 310px); }
.demo-board .example-row { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; }
.demo-board .example-cell { width: 100%; height: auto; font-size: 24px; }
.language-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 20px 0 28px; border-top: 1px solid var(--line-2); }
.language-tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); font-size: 12px; font-weight: 500; }
.language-tabs a:hover { background: var(--bg-soft); }
.language-tabs a.active { background: var(--ink); border-color: var(--ink); color: white; }
.feature-card { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .15s; }
.feature-art { position: relative; display: grid; place-items: center; min-height: 300px; padding: 38px 38px 58px; background: var(--bg-soft); }
.feature-locale { position: absolute; bottom: 22px; color: var(--muted); font-size: 12px; }
.feature-copy { padding: 36px; display: flex; flex-direction: column; }
.feature-copy h2 { font-size: clamp(24px, 2.5vw, 32px); font-weight: 750; line-height: 1.22; letter-spacing: -1px; margin: 14px 0; overflow-wrap: anywhere; }
.feature-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.75; }
.card-bottom { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
.arrow { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; color: var(--ink); }
.feature-card:hover,.story-card:hover { box-shadow: var(--shadow-md); }
.feature-card:hover .arrow,.story-card:hover .arrow { background: var(--ink); color: white; border-color: var(--ink); }
.section-label { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 44px 0 22px; }
.section-label h2 { font-size: 24px; letter-spacing: -.7px; line-height: 1.2; }
.section-label > span { color: var(--muted); font-size: 12px; }
.story-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.story-card { border: 1px solid var(--line-2); border-radius: var(--r-lg); min-width: 0; overflow: hidden; transition: box-shadow .15s; }
.story-card > a { display: flex; flex-direction: column; height: 100%; }
.card-art { display: flex; align-items: center; justify-content: space-between; position: relative; height: 96px; padding: 22px 24px; background: var(--bg-soft); }
.card-symbol { font-size: 38px; letter-spacing: -2px; font-weight: 800; }
.card-locale { border: 1px solid currentColor; border-radius: 8px; padding: 6px 8px; font-size: 11px; font-weight: 700; }
.card-dots { display: none; }
.tone-strategy .card-art,.tone-strategy .article-art { color: var(--amber-dark); background: var(--amber-soft); }
.tone-vocabulary .card-art,.tone-vocabulary .article-art { color: var(--ok); background: var(--ok-soft); }
.tone-together .card-art,.tone-together .article-art { color: var(--rausch); background: var(--rausch-soft); }
.tone-play .card-art,.tone-play .article-art { color: var(--ice-dark); background: var(--ice-soft); }
.card-copy { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-copy h3 { font-size: 20px; line-height: 1.35; letter-spacing: -.5px; margin: 12px 0; overflow-wrap: anywhere; }
.card-copy > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.75; }
.bottom-invite { display: flex; align-items: center; gap: 28px; padding: 34px; margin: 48px 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--bg-soft); }
.bottom-invite h2 { font-size: 26px; letter-spacing: -.7px; margin: 8px 0; }
.bottom-invite p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.7; }
.bottom-invite .button { margin-left: auto; flex-shrink: 0; }
.invite-spark { color: var(--rausch); font-size: 54px; }
.pagination { display: flex; justify-content: center; gap: 24px; padding: 32px; }
.pagination a { text-decoration: underline; text-underline-offset: 4px; }
.site-footer { border-top: 1px solid var(--line-2); padding: 36px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.site-footer p { margin-top: 15px; max-width: 340px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.site-footer nav { display: flex; justify-content: flex-end; flex-wrap: wrap; align-content: flex-start; gap: 18px 22px; font-size: 12px; line-height: 1.6; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer .game-links { justify-content: flex-start; gap: 12px; margin-top: 18px; font-weight: 600; }
.footer-bottom { grid-column: 1/-1; display: flex; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 11px; }
.footer-bottom > span { margin-right: auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; padding: 28px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.breadcrumbs a:hover { text-decoration: underline; }
.article-hero { display: grid; grid-template-columns: 1fr 180px; gap: 44px; align-items: center; padding-block: 10px 36px; border-bottom: 1px solid var(--line-2); }
.article-heading h1 { max-width: 850px; margin: 16px 0; font-size: clamp(30px,3.4vw,44px); font-weight: 800; letter-spacing: -1.6px; line-height: 1.18; overflow-wrap: anywhere; }
.article-deck { color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 780px; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 12px; }
.author-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--rausch-soft); color: var(--rausch); font-size: 22px; font-weight: 800; }
.byline strong { display: block; margin-bottom: 5px; }
.byline > div > span { color: var(--muted); }
.article-art { position: relative; height: 180px; display: grid; place-items: center; border-radius: var(--r-lg); }
.article-symbol { font-size: 84px; font-weight: 800; line-height: 1; letter-spacing: -8px; }
.art-corner { position: absolute; bottom: 16px; right: 18px; font-size: 10px; font-weight: 600; letter-spacing: .08em; }
.article-layout { display: grid; grid-template-columns: 210px minmax(0,720px); justify-content: space-between; gap: 64px; padding: 40px 0 48px; }
.toc { position: sticky; top: 28px; display: flex; flex-direction: column; gap: 15px; font-size: 12px; line-height: 1.65; }
.toc .eyebrow { margin-bottom: 4px; }
.toc > a:not(.toc-play) { border-left: 2px solid var(--line-2); padding-left: 12px; color: var(--muted); }
.toc > a:hover { color: var(--ink); border-color: var(--ink); }
.toc-play { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line-2); font-weight: 700; }
.article-body { min-width: 0; overflow-wrap: anywhere; }
.article-summary { font-size: 19px; font-weight: 500; line-height: 1.75; margin-bottom: 30px; }
.body-heading { font-size: 27px; font-weight: 750; letter-spacing: -.7px; line-height: 1.3; margin: 40px 0 18px; }
.body-paragraph { color: var(--ink-2); font-size: 16px; line-height: 1.9; margin: 20px 0; }
.article-body h3 { font-size: 18px; line-height: 1.5; }
.article-body h4 { font-size: 15px; line-height: 1.5; }
.callout { display: flex; gap: 18px; padding: 26px; margin: 30px 0; border-radius: var(--r-md); background: var(--ok-soft); }
.callout p { font-size: 14px; line-height: 1.8; margin-top: 8px; }
.callout-mark { font-size: 28px; line-height: 1.4; color: var(--ok); }
.callout-coral { background: var(--rausch-soft); }
.callout-coral .callout-mark { color: var(--rausch); }
.callout-ink { background: var(--graphite); color: white; }
.callout-ink .callout-mark { color: white; }
.list-block { padding: 20px 0; }
.list-block ul { margin-bottom: 0; padding-left: 22px; }
.list-block li { padding: 7px 0 7px 4px; font-size: 15px; line-height: 1.8; }
.steps-block { margin: 30px 0; }
.steps-block ol { margin: 20px 0; padding: 0; list-style: none; }
.steps-block li { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line-2); }
.step-number { display: grid; place-items: center; align-self: flex-start; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: var(--bg-soft); font-size: 14px; font-weight: 700; }
.steps-block p { color: var(--ink-2); font-size: 14px; line-height: 1.8; margin-top: 7px; }
.table-block { margin: 32px 0; }
.table-block figcaption { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.table-scroll { overflow: auto; border: 1px solid var(--line-2); border-radius: var(--r-md); }
table { border-collapse: collapse; width: 100%; font-size: 14px; text-align: left; line-height: 1.7; }
th,td { padding: 14px 18px; min-width: 110px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
thead { background: var(--bg-soft); }
tbody tr:last-child > * { border-bottom: 0; }
.words-block { margin: 32px 0; }
.word-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.word-card { padding: 24px; border: 1px solid var(--line-2); border-radius: var(--r-md); }
.word-card dt { font-size: 28px; font-weight: 750; letter-spacing: -.6px; margin-bottom: 12px; }
.word-card dd { font-size: 14px; line-height: 1.8; }
.word-card .word-example { border-top: 1px solid var(--line-2); margin-top: 14px; padding-top: 14px; color: var(--muted); }
.comparison-block { margin: 32px 0; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.comparison-grid > div { padding: 24px; border-radius: var(--r-md); background: var(--bg-soft); }
.comparison-grid > div + div { background: var(--ok-soft); }
.comparison-grid > div > span { color: var(--muted); font-size: 12px; font-weight: 700; }
.comparison-grid h4 { margin: 12px 0; }
.comparison-grid p { font-size: 14px; line-height: 1.8; }
.quiz-block { margin: 32px 0; background: var(--amber-soft); padding: 28px; border-radius: var(--r-lg); }
.quiz-block h3 { margin: 12px 0 20px; font-size: 22px; font-weight: 700; letter-spacing: -.5px; }
.quiz-options { display: grid; gap: 10px; }
.quiz-options button { display: flex; gap: 14px; text-align: left; border: 1px solid var(--line); background: white; padding: 14px; border-radius: var(--r-sm); color: var(--ink); cursor: pointer; font-size: 14px; line-height: 1.6; }
.quiz-options button > span { color: var(--muted); }
.quiz-options button[aria-pressed=true] { outline: 2px solid var(--ink); }
.quiz-options button.correct { background: var(--ok-soft); border-color: var(--ok); }
.quiz-options button.incorrect { background: var(--rausch-soft); }
.quiz-answer { font-size: 14px; margin-top: 20px; }
.quiz-answer p { line-height: 1.8; margin-top: 14px; }
.quiz-answer summary { cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.board-block { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; margin: 32px 0; }
.example-board { display: grid; gap: 8px; margin: 26px auto; width: fit-content; direction: ltr; }
.example-row { display: flex; gap: 8px; direction: ltr; }
.example-cell { position: relative; width: 52px; aspect-ratio: 1; display: grid; place-items: center; font-weight: 800; font-size: 25px; color: var(--pale-ink); }
.example-cell svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: var(--pale); stroke: var(--pale); stroke-width: 6; stroke-linejoin: round; }
.example-cell > span { position: relative; }
.example-cell small { position: absolute; bottom: 4px; right: 13px; font-size: 8px; line-height: 1; }
.example-cell.state-g { color: white; }
.example-cell.state-g svg { fill: var(--green); stroke: var(--green); filter: drop-shadow(0 2px 0 var(--green-dark)); }
.example-cell.state-y { color: var(--yellow-ink); }
.example-cell.state-y svg { fill: white; stroke: var(--yellow); }
.board-block figcaption { color: var(--muted); font-size: 14px; line-height: 1.8; }
.faq-block { margin: 36px 0; }
.faq-block > h3 { margin-bottom: 18px; }
.faq-block details { border-top: 1px solid var(--line-2); }
.faq-block details:last-child { border-bottom: 1px solid var(--line-2); }
.faq-block summary { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font-weight: 600; font-size: 14px; cursor: pointer; list-style: none; line-height: 1.7; }
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary span { font-size: 22px; font-weight: 400; }
.faq-block details[open] summary span { transform: rotate(45deg); }
.faq-block details > p { color: var(--ink-2); font-size: 14px; line-height: 1.85; padding-bottom: 20px; }
.sources-block { border-top: 1px solid var(--line-2); padding-top: 24px; margin-top: 36px; }
.sources-block h3 { font-size: 14px; }
.sources-block ol { padding-left: 20px; font-size: 13px; line-height: 1.9; }
.sources-block a { text-decoration: underline; text-underline-offset: 3px; }
.article-cta { position: relative; padding: 28px; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; margin: 32px 0; background: var(--bg-soft); }
.article-cta h3 { font-size: 24px; letter-spacing: -.6px; position: relative; }
.article-cta p { line-height: 1.8; font-size: 14px; margin: 14px 0 22px; position: relative; }
.cta-star { display: none; }
.article-end { padding: 24px 0; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--muted); line-height: 1.8; }
.article-end > span { display: none; }
.article-end > a { display: inline-block; margin-top: 12px; text-decoration: underline; text-underline-offset: 3px; }
.generation-note { max-width: 480px; }
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--rausch); width: 0; z-index: 10; }
.related { margin-bottom: 48px; }
@media (max-width: 960px) {
  .wrap { width: calc(100% - 48px); }
  .journal-hero { gap: 24px; }
  .story-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-layout { grid-template-columns: 180px minmax(0,1fr); gap: 32px; }
  .article-hero { grid-template-columns: 1fr 130px; gap: 24px; }
  .article-art { height: 130px; }
  .article-symbol { font-size: 64px; }
  .feature-copy { padding: 28px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { min-height: 76px; gap: 16px; }
  .brand { font-size: 22px; letter-spacing: -1px; gap: 7px; }
  .brand img { width: 30px; }
  .journal-link { display: none; }
  .button.small { min-height: 42px; padding: 11px 14px; font-size: 12px; gap: 9px; }
  .journal-hero { grid-template-columns: 1fr; padding-block: 34px 28px; gap: 12px; }
  .hero-copy h1 { font-size: 36px; letter-spacing: -1.4px; }
  .hero-lead { font-size: 15px; }
  .hero-art { display: none; }
  .language-tabs { padding-block: 18px 24px; gap: 7px; }
  .language-tabs a { padding: 8px 11px; font-size: 11px; min-height: 36px; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-art { min-height: 200px; padding: 24px 32px 48px; }
  .demo-board { max-width: 230px; gap: 6px; }
  .demo-board .example-row { gap: 6px; }
  .demo-board .example-cell { font-size: 20px; }
  .feature-locale { bottom: 17px; }
  .feature-copy { padding: 24px; }
  .feature-copy h2 { font-size: 25px; letter-spacing: -.7px; }
  .story-grid { grid-template-columns: 1fr; gap: 18px; }
  .section-label { margin-top: 32px; }
  .section-label h2 { font-size: 22px; }
  .card-copy { padding: 22px; }
  .card-copy h3 { font-size: 21px; }
  .bottom-invite { flex-wrap: wrap; gap: 18px; padding: 24px; margin: 36px 0; }
  .bottom-invite > div { flex: 1; }
  .bottom-invite .button { margin-left: 0; }
  .invite-spark { font-size: 42px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; gap: 15px 18px; }
  .footer-bottom { flex-wrap: wrap; gap: 16px; }
  .breadcrumbs { font-size: 11px; padding-block: 22px; }
  .article-hero { display: block; padding-block: 4px 28px; }
  .article-heading h1 { font-size: 32px; letter-spacing: -1px; }
  .article-deck { font-size: 15px; }
  .article-art { display: none; }
  .article-layout { display: block; padding-block: 24px 36px; }
  .article-sidebar { margin-bottom: 28px; }
  .toc { position: static; gap: 10px; padding: 20px; border: 1px solid var(--line-2); border-radius: var(--r-md); }
  .toc-play { display: none; }
  .article-summary { font-size: 18px; }
  .body-heading { font-size: 25px; margin-top: 32px; }
  .body-paragraph { font-size: 15px; }
  .callout { padding: 20px; gap: 14px; }
  .callout-mark { font-size: 24px; }
  .word-cards,.comparison-grid { grid-template-columns: 1fr; }
  .quiz-block,.board-block,.article-cta { padding: 22px; }
  .example-cell { width: 40px; font-size: 21px; }
  .example-cell small { bottom: 3px; right: 10px; font-size: 7px; }
  .example-row,.example-board { gap: 6px; }
  .steps-block li { gap: 16px; }
  th,td { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; }
}
@media print {
  .site-header,.site-footer,.article-sidebar,.article-art,.article-cta,.related,.reading-progress { display: none; }
  .wrap { width: 100%; }
  .article-layout,.article-hero { display: block; }
  .article-body details > * { display: block; }
  .article-body { font-size: 12pt; }
  a { text-decoration: underline; }
  body { background: white; color: black; }
}
