/* Public pages only. This stylesheet is never loaded into the scorer. */
:root {
  color-scheme: dark;
  --bg: #0b1713; --panel: #14251e; --text: #f4f3e9;
  --muted: #b5c3b9; --line: #30473a; --accent: #bfe982; --ink: #152313;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { line-height: 1.7; }
img, svg { max-width: 100%; }
.wrap { width: min(1220px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; background: var(--accent); color: var(--ink); padding: 14px 20px; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 104px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .13em; font-weight: 800; text-decoration: none; line-height: 1.45; }
.brand img { border-radius: 11px; }
.brand small { display: block; font-size: 11px; letter-spacing: .23em; color: var(--muted); }
.header-note { margin-left: auto; font-size: 13px; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 16px 23px; background: var(--accent); border: 1px solid var(--accent); border-radius: 5px; color: var(--ink); font-size: 14px; font-weight: 750; text-decoration: none; transition: background .18s, transform .18s; }
.button:hover { background: #d5f5ad; transform: translateY(-2px); }
.button span[aria-hidden] { font-size: 21px; line-height: 1; }
.button-small { min-height: 44px; padding: 11px 18px; font-size: 13px; }
.topic-nav { border-block: 1px solid var(--line); background: #102019; }
.topic-links { display: flex; align-items: center; gap: 28px; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.topic-links a { flex-shrink: 0; display: block; min-height: 52px; padding: 18px 0 15px; color: var(--muted); font-size: 12px; line-height: 1.4; font-weight: 650; text-decoration: none; border-bottom: 3px solid transparent; }
.topic-links a:hover { color: var(--text); }
.topic-links a[aria-current] { color: var(--accent); border-color: var(--accent); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding-block: 88px 66px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 750; line-height: 1.6; letter-spacing: .16em; color: var(--accent); text-transform: uppercase; }
.eyebrow > span { height: 7px; width: 7px; border-radius: 50%; background: var(--accent); }
h1 { font-size: clamp(42px,4.45vw,64px); line-height: 1.04; letter-spacing: -.055em; font-weight: 800; margin: 23px 0; }
h1 em { font-style: normal; color: var(--accent); }
.intro { max-width: 510px; font-size: 17px; color: var(--muted); line-height: 1.75; }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 13px; font-weight: 650; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--accent); }
.hero-note { margin-top: 17px; font-size: 11px; color: var(--muted); }
.hero-note a { display: inline-block; padding-block: 5px; color: var(--text); text-underline-offset: 3px; }
.hero-note a:hover { color: var(--accent); }
.hero-figure { min-width: 0; position: relative; }
.hero-figure figcaption { font-size: 10px; line-height: 1.6; color: var(--muted); margin-top: 13px; padding-left: 4px; }
.mock { background: linear-gradient(145deg,#1b3027,#111f19); border: 1px solid #45604b; border-radius: 12px; overflow: hidden; box-shadow: 0 26px 70px #0004; transform: rotate(-1deg); }
.mock-top, .mock-foot { display: flex; align-items: center; gap: 9px; padding: 20px 22px; font-size: 10px; font-weight: 650; letter-spacing: .12em; }
.mock-top { border-bottom: 1px solid var(--line); }
.status { margin-left: auto; font-size: 10px; font-weight: 600; letter-spacing: 0; border: 1px solid #506747; border-radius: 4px; padding: 5px 8px; color: var(--accent); white-space: nowrap; }
.mock-foot { border-top: 1px solid var(--line); padding: 17px 22px; color: var(--muted); letter-spacing: 0; font-weight: 450; line-height: 1.5; }
.dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.push { margin-left: auto; }
.mock-title { display: flex; gap: 12px; align-items: center; padding: 24px 22px; font-size: 24px; font-weight: 750; letter-spacing: -.025em; }
.mock-title > span { margin-left: auto; font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.scorecard { display: grid; grid-template-columns: 1fr .7fr 1fr; padding: 38px 18px 30px; text-align: center; gap: 4px; }
.scorecard > div { display: flex; flex-direction: column; gap: 9px; }
.scorecard span { font-size: 14px; color: var(--muted); }
.scorecard strong { font-size: 70px; letter-spacing: -.055em; line-height: 1.1; }
.scorecard > div:first-child strong { color: var(--accent); }
.scorecard small { font-size: 10px; color: var(--muted); }
.scorecard .score-divider { padding-top: 18px; gap: 13px; }
.score-divider strong { font-size: 26px; letter-spacing: 0; }
.score-divider span { font-size: 9px; letter-spacing: .12em; }
.score-line { display: flex; align-items: center; gap: 20px; margin: 0 22px 24px; padding: 21px; background: #a9c47d0a; border: 1px solid #557441; border-radius: 5px; }
.score-line > span { align-self: stretch; width: 3px; background: var(--accent); }
.score-line p { font-size: 25px; line-height: 1.2; font-weight: 400; letter-spacing: -.035em; }
.score-line strong { color: var(--accent); }
.score-line svg { width: 66px; height: 66px; margin-left: auto; color: var(--accent); }
.mock-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.mock-table th, .mock-table td { padding: 14px 18px; border-top: 1px solid var(--line); text-align: right; }
.mock-table th:first-child { text-align: left; width: 52%; }
.mock-table thead th { font-size: 10px; font-weight: 550; color: var(--muted); padding-block: 10px; }
.mock-table tbody th { font-weight: 550; }
.rank { display: inline-block; width: 25px; color: #a0b29f; }
.mock-table .qualifier { background: #31442b; }
.mock-table .qualifier th:first-child { border-left: 3px solid var(--accent); padding-left: 15px; }
.mock-table .you { color: var(--accent); background: #233a2d; }
.mock-table .you th { font-weight: 750; }
.world-art { text-align: center; padding: 24px 10px 20px; position: relative; }
.world-number { font-weight: 800; font-size: 156px; letter-spacing: -.075em; line-height: 1.12; color: #263b29; -webkit-text-stroke: 1px #8e90603d; }
.trophy { position: absolute; width: 116px; top: 65px; left: calc(50% - 58px); color: var(--accent); filter: drop-shadow(0 5px 18px #0008); }
.world-art p { font-size: 10px; letter-spacing: .18em; margin-top: 14px; color: var(--accent); }
.rounds { margin: 8px 22px 26px; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; }
.rounds i { color: #778374; font-style: normal; }
.rounds strong { background: var(--accent); color: var(--ink); padding: 7px 10px; border-radius: 3px; }
.page-world { --accent: #efcf83; }
.page-world .mock { border-color: #796746; background: linear-gradient(145deg,#292c1e,#151f17); }
.bracket-labels { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 17px; font-size: 9px; color: var(--muted); letter-spacing: .08em; padding: 28px 20px 0; }
.bracket { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 17px; padding: 18px 20px 32px; }
.bracket-col { display: flex; flex-direction: column; justify-content: center; gap: 26px; min-width: 0; }
.bracket-node { display: flex; flex-direction: column; gap: 11px; padding: 17px 12px; border: 1px solid #52734b; border-radius: 5px; background: #213326; position: relative; font-size: 12px; line-height: 1.6; }
.bracket-node small { font-size: 10px; color: var(--muted); }
.bracket-col:not(:last-child) .bracket-node:after { content: ""; position: absolute; width: 18px; height: 1px; right: -18px; top: 50%; background: #68805c; }
.final-node { text-align: center; border-color: var(--accent); background: #35432a; color: var(--accent); padding: 16px 6px; }
.final-node svg { width: 55px; align-self: center; }
.online-pair { display: flex; align-items: center; gap: 18px; justify-content: center; padding: 26px 24px 18px; }
.online-pair > div { flex: 1; text-align: center; }
.board { max-width: 170px; margin: 0 auto; }
.online-pair strong, .online-pair > div > span { display: block; font-size: 12px; margin-top: 8px; }
.online-pair > div > span { font-size: 10px; color: var(--muted); margin-top: 4px; }
.connection { font-size: 28px; color: var(--accent); }
.online-score { display: flex; justify-content: space-around; align-items: center; background: #21372d; margin: 0 22px 24px; padding: 14px 10px; border-radius: 5px; text-align: center; }
.online-score div > span { display: block; font-size: 10px; color: var(--muted); }
.online-score strong { font-size: 34px; color: var(--accent); font-variant-numeric: tabular-nums; }
.online-score > span { font-size: 9px; line-height: 1.8; letter-spacing: .08em; color: var(--muted); }
.video-frame { position: relative; margin: 24px 24px 0; padding: 12px 0 32px; background: radial-gradient(ellipse,#52604445,#0d1914 75%); border: 1px solid var(--line); border-radius: 4px; }
.video-frame .board { width: 170px; max-width: 60%; }
.frame-corner { position: absolute; width: 18px; height: 18px; border: 2px solid #bfe982a8; }
.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.camera-label { position: absolute; bottom: 12px; left: 0; width: 100%; text-align: center; font-size: 10px; color: var(--muted); }
.code-panel { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; }
.code-panel > div > span { display: block; font-size: 9px; letter-spacing: .14em; color: var(--muted); }
.code-panel strong { font-family: Consolas,monospace; display: block; font-size: 25px; letter-spacing: .2em; margin-top: 6px; color: var(--accent); }
.code-note { font-size: 12px; line-height: 1.5; color: var(--muted); }
.forum-messages { display: grid; gap: 18px; padding: 0 22px 28px; }
.message { display: flex; gap: 12px; align-items: start; }
.avatar { width: 31px; height: 31px; flex-shrink: 0; display: grid; place-items: center; background: #5e6541; border-radius: 50%; font-size: 11px; font-weight: 700; color: #f3edc6; }
.avatar.mint { background: #365c4a; color: #c2eed4; }
.avatar.amber { background: #745b31; color: #ffe1a0; }
.message > div { min-width: 0; flex: 1; background: #24362b; border: 1px solid #3e5542; border-radius: 0 7px 7px 7px; padding: 11px 14px; }
.message strong { font-size: 12px; }
.message small { font-size: 9px; color: var(--accent); font-weight: 450; margin-left: 10px; }
.message p { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 5px; }
.facts { display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--line); padding-block: 29px; gap: 26px; }
.facts > div { display: flex; flex-direction: column; gap: 8px; padding-left: 28px; border-left: 1px solid var(--line); }
.facts > div:first-child { padding-left: 0; border: 0; }
.facts strong { font-size: 25px; font-weight: 650; letter-spacing: -.035em; }
.facts span { font-size: 12px; color: var(--muted); }
.feature-section { padding-block: 92px; }
.section-heading { max-width: 680px; margin-bottom: 42px; }
h2 { font-size: clamp(28px,3.15vw,42px); font-weight: 700; line-height: 1.15; letter-spacing: -.04em; }
.section-heading h2 { margin: 16px 0 20px; }
.section-heading > p:last-child { font-size: 16px; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 38px 36px; }
.feature { border-top: 1px solid var(--line); padding-top: 23px; }
.feature-number { font-size: 11px; color: var(--accent); font-variant-numeric: tabular-nums; }
.feature h3 { font-size: 19px; line-height: 1.35; letter-spacing: -.02em; font-weight: 650; margin: 14px 0 12px; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.steps-section { background: #14271e; border-block: 1px solid var(--line); padding-block: 70px; }
.steps-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; }
.steps-layout h2 { margin: 18px 0 24px; max-width: 360px; }
.steps { counter-reset: steps; list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.steps li { display: flex; gap: 23px; align-items: start; counter-increment: steps; }
.steps li:before { content: counter(steps,decimal-leading-zero); min-width: 39px; min-height: 39px; display: grid; place-items: center; border: 1px solid #567249; color: var(--accent); font-size: 12px; border-radius: 50%; margin-top: 3px; }
.steps h3 { font-size: 17px; font-weight: 650; letter-spacing: -.015em; margin-bottom: 7px; }
.steps p { color: var(--muted); font-size: 14px; }
.faq-section { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; padding-block: 90px; }
.faq-section h2 { margin-top: 18px; }
.questions details { border-top: 1px solid var(--line); }
.questions details:last-child { border-bottom: 1px solid var(--line); }
.questions summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; padding: 22px 0; font-size: 15px; line-height: 1.55; font-weight: 600; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary span { color: var(--accent); font-weight: 400; font-size: 22px; transition: transform .2s; }
.questions details[open] summary span { transform: rotate(45deg); }
.questions details p { font-size: 14px; color: var(--muted); padding: 0 28px 24px 0; }
.related-section { padding-bottom: 80px; }
.related-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.related-heading h2 { font-size: 30px; }
.related-heading > span { font-size: 10px; letter-spacing: .15em; color: var(--muted); }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.related-card { display: block; text-decoration: none; border: 1px solid var(--line); background: #13231b; border-radius: 5px; padding: 26px; position: relative; transition: border-color .2s,background .2s; }
.related-card:hover { border-color: var(--accent); background: #1c3123; }
.related-type { font-size: 9px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.related-card h3 { font-size: 20px; font-weight: 650; letter-spacing: -.025em; margin: 19px 0 10px; padding-right: 20px; }
.related-card p { font-size: 13px; color: var(--muted); }
.related-card > span:last-child { position: absolute; right: 24px; top: 63px; color: var(--accent); font-size: 21px; }
.closing { border-top: 1px solid var(--line); padding-block: 48px 60px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.closing h2 { margin-top: 14px; }
.site-footer { padding-block: 30px 32px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-name { text-decoration: none; font-size: 14px; font-weight: 650; }
.footer-name small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 8px; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 12px; }
.footer-top nav a { min-height: 44px; display: flex; align-items: center; text-decoration: none; }
.footer-top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer > p { font-size: 10px; color: var(--muted); margin-top: 25px; }
.companion-links { border: 1px solid var(--line); border-radius: 6px; display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 32px; margin-bottom: 70px; background: var(--panel); }
.companion-links h2 { font-size: 28px; margin: 13px 0; }
.companion-links p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.companion-links .actions { margin: 0; }
@media (min-width:1500px) { .hero { padding-block: 100px 78px; } }
@media (max-width:1100px) {
  .wrap { width: calc(100% - 56px); } .hero { gap: 38px; padding-block: 64px 52px; } h1 { font-size: 49px; }
  .topic-links { gap: 23px; } .topic-links a { font-size: 11px; } .actions { gap: 14px; }
  .hero .text-link { font-size: 12px; } .feature-grid { gap: 30px 26px; } .steps-layout,.faq-section { gap: 55px; }
  .mock-top,.mock-foot { padding-inline: 16px; } .scorecard strong { font-size: 57px; } .score-divider strong { font-size: 22px; }
  .push { display: none; } .bracket,.bracket-labels { padding-inline: 14px; gap: 12px; } .bracket-node { padding-inline: 8px; }
  .bracket-col:not(:last-child) .bracket-node:after { width: 13px; right: -13px; }
  .companion-links { align-items: start; } .companion-links .actions { max-width: 215px; }
}
@media (max-width:820px) {
  .wrap { width: calc(100% - 40px); } .site-header { min-height: 88px; }
  .hero { grid-template-columns: 1fr; padding-block: 49px; gap: 38px; } .hero-copy { max-width: 630px; }
  .hero h1 { font-size: clamp(44px,8vw,65px); max-width: 650px; } .intro { max-width: 600px; }
  .hero-figure { width: 100%; max-width: 530px; margin-inline: auto; } .mock { transform: none; }
  .facts { gap: 18px; padding-block: 23px; } .facts > div { padding-left: 19px; } .facts strong { font-size: 23px; } .facts span { font-size: 11px; }
  .feature-section { padding-block: 65px; } .feature-grid { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .steps-layout,.faq-section { grid-template-columns: 1fr; gap: 35px; } .steps-layout h2 { max-width: 570px; }
  .steps-section { padding-block: 48px; } .faq-section { padding-block: 60px; }
  .related-grid { grid-template-columns: repeat(2,1fr); } .related-heading > span { display: none; } .related-section { padding-bottom: 50px; }
  .closing { align-items: start; } .closing h2 { font-size: 31px; } .closing .button { flex-shrink: 0; font-size: 12px; gap: 16px; padding-inline: 17px; }
  .scorecard strong { font-size: 70px; } .score-divider strong { font-size: 26px; } .push { display: inline; }
  .companion-links { flex-direction: column; gap: 22px; margin-bottom: 50px; } .companion-links .actions { max-width: none; }
}
@media (max-width:500px) {
  .wrap { width: calc(100% - 36px); } .site-header { gap: 12px; min-height: 80px; }
  .brand { font-size: 10px; gap: 8px; letter-spacing: .07em; } .brand small { font-size: 9px; letter-spacing: .14em; } .brand img { width: 35px; height: 35px; }
  .header-note { display: none; } .site-header .button { margin-left: auto; gap: 11px; padding: 10px 12px; font-size: 12px; }
  .topic-links { width: 100%; padding-inline: 18px; gap: 24px; } .topic-links a { font-size: 12px; }
  .hero { padding-block: 38px 34px; gap: 30px; } .hero h1 { font-size: 45px; line-height: 1.05; letter-spacing: -.055em; margin: 20px 0; }
  .eyebrow { font-size: 10px; letter-spacing: .12em; } .intro { font-size: 15px; line-height: 1.75; }
  .hero .actions { margin-top: 24px; gap: 9px 18px; } .hero .button { font-size: 13px; gap: 20px; padding: 14px 16px; min-height: 49px; }
  .hero .text-link { font-size: 12px; } .hero-note { font-size: 10px; margin-top: 12px; } .hero-figure figcaption { font-size: 9px; }
  .mock-top { padding: 17px 15px; font-size: 9px; letter-spacing: .08em; } .status { font-size: 9px; padding: 4px 6px; }
  .mock-foot { padding: 15px; font-size: 9px; } .push { display: none; } .mock-title { font-size: 21px; padding: 21px 16px; }
  .mock-table th,.mock-table td { padding: 12px 14px; } .mock-table .qualifier th:first-child { padding-left: 11px; }
  .scorecard { padding: 27px 11px 24px; } .scorecard strong { font-size: 60px; } .scorecard small { font-size: 9px; }
  .scorecard .score-divider { padding-top: 17px; } .score-divider strong { font-size: 23px; } .score-divider span { font-size: 8px; }
  .score-line { margin-inline: 16px; padding: 18px; } .score-line p { font-size: 23px; }
  .world-number { font-size: 138px; } .trophy { width: 100px; left: calc(50% - 50px); top: 64px; }
  .world-art p { font-size: 9px; letter-spacing: .12em; } .rounds { margin: 5px 17px 20px; font-size: 13px; }
  .bracket-labels { font-size: 8px; } .bracket-node { font-size: 11px; padding: 13px 7px; } .bracket-node small { font-size: 9px; } .bracket { padding-bottom: 23px; }
  .online-pair { padding: 20px 18px; gap: 10px; } .online-pair .board { max-width: 120px; } .connection { font-size: 24px; }
  .online-score { margin-inline: 16px; margin-bottom: 19px; } .video-frame { margin: 18px 18px 0; } .video-frame .board { width: 150px; }
  .code-panel { padding: 20px; } .code-panel strong { font-size: 23px; } .code-note { font-size: 11px; }
  .forum-messages { padding: 0 15px 20px; gap: 13px; } .message { gap: 9px; } .message > div { padding: 10px; } .message p { font-size: 11px; }
  .facts { gap: 14px; padding-block: 24px; } .facts > div { padding-left: 14px; gap: 7px; } .facts strong { font-size: 18px; } .facts span { font-size: 10px; line-height: 1.6; }
  .feature-section { padding-block: 49px; } .section-heading { margin-bottom: 30px; } .section-heading h2 { margin: 14px 0 16px; } .section-heading > p:last-child { font-size: 14px; }
  .feature-grid { grid-template-columns: 1fr; gap: 28px; } .feature { padding-top: 19px; } .feature h3 { font-size: 19px; margin-top: 11px; } .feature p { font-size: 14px; }
  .steps li { gap: 16px; } .steps li:before { min-width: 34px; min-height: 34px; font-size: 11px; } .steps h3 { font-size: 17px; } .steps p { font-size: 14px; }
  .faq-section { gap: 25px; padding-block: 48px; } .questions summary { font-size: 14px; padding: 20px 0; } .questions details p { padding-right: 10px; }
  .related-grid { grid-template-columns: 1fr; } .related-heading h2 { font-size: 28px; } .related-card { padding: 23px; } .related-card h3 { margin-top: 15px; } .related-card > span:last-child { top: 52px; }
  .closing { flex-direction: column; padding-block: 38px 42px; gap: 24px; } .closing .button { font-size: 13px; min-height: 50px; }
  .footer-top { align-items: start; flex-direction: column; gap: 15px; } .footer-top nav { gap: 23px; font-size: 12px; } .site-footer > p { margin-top: 17px; line-height: 1.8; }
  .companion-links { padding: 24px; } .companion-links .actions { gap: 12px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*:before,*:after { transition: none !important; } }

/* Keep the descriptive topic inside the visible page heading. */
.hero h1 { margin-top: 0; }
.hero-title { display: block; margin-top: 23px; }

@media (max-width:380px) {
  .facts { grid-template-columns: 1fr; gap: 0; padding-block: 12px; }
  .facts > div, .facts > div:first-child { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border: 0; }
  .facts > div + div { border-top: 1px solid var(--line); }
  .facts span { max-width: 150px; text-align: right; }
}

.companion-links > div:first-child { max-width: 720px; }
.companion-links .button { white-space: nowrap; }
