/* Approved board composition, with the platform's ivory, honey and terracotta finish. */
:root {
  --action-fill: linear-gradient(130deg, #af5338, #983e2d);
  --action-hover: linear-gradient(130deg, #a24a31, #853625);
  --glass-fill: linear-gradient(145deg, #fffcf5, #f5e9d7);
  --control-shadow: 0 5px 12px -6px #8e402c66, inset 0 1px #ffffff48;
}
/* Labels can wrap without squeezing icons or reducing the touch area. */
:is(button, a, summary) { touch-action: manipulation; }
:is(button, a, summary):focus-visible { outline: 3px solid #8b3d2b; outline-offset: 4px; }
.action-icon { width: 20px; height: 20px; flex: 0 0 20px; stroke-width: 1.7; }
.button.primary {
  gap: 24px; min-height: 52px; padding: 14px 22px; border: 1px solid #f0be9d; border-radius: 16px;
  background: var(--action-fill); color: #fffbf3; box-shadow: var(--control-shadow);
  font-size: 14px; line-height: 1.5; font-weight: 600; text-align: left;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button.primary:hover { color: #fffbf3; background: var(--action-fill); transform: none; }
.button.primary:active { transform: translateY(1px); box-shadow: inset 0 2px 4px #57251633; }
.button-label { min-width: 0; }
.button .button-label { font: inherit; line-height: inherit; }
.button .label-compact { display: none; }
.access-link {
  min-height: 46px; padding: 11px 16px; gap: 16px; border: 1px solid #d8c5aa; border-radius: 16px;
  background: var(--glass-fill); box-shadow: inset 0 1px #fff, 0 4px 10px -8px #79573966;
  color: #683f2c; font-size: 13px; line-height: 1.5;
}
.text-link, .light-link { min-height: 44px; gap: 12px; font-size: 13px; line-height: 1.6; }
.text-link > .action-icon, .light-link > .action-icon { width: 18px; height: 18px; flex-basis: 18px; }
.board-hero .hero-actions .text-link {
  min-height: 48px; padding: 11px 16px; border: 1px solid #d8c5aa; border-radius: 16px;
  background: var(--glass-fill); box-shadow: inset 0 1px #fff; color: #683f2c; font-size: 13px;
}
.question-options button {
  min-height: 56px; gap: 14px; align-items: center; padding: 15px 17px;
  border: 1px solid #dcc7ab; border-radius: 16px; background: var(--glass-fill);
  box-shadow: inset 0 1px #fff, 0 4px 10px -8px #79573955;
  font-size: 14px; line-height: 1.65; transition: border-color .18s ease, background .18s ease;
}
.question-options button > span:first-child { min-width: 0; }
.question-options button > .action-icon { color: var(--terra); }
.comment-toggle, .reset-button { min-height: 46px; padding: 12px 0; gap: 12px; font-size: 13px; line-height: 1.6; }
.reset-button { text-align: left; }
.demo-bottom { flex-wrap: wrap; }
.demo-bottom > p { font-size: 12px; }
.phase-tabs button {
  border: 1px solid #decdb5; border-radius: 16px; background: #fffbf399;
  box-shadow: inset 0 1px #fff; transition: border-color .18s ease, background .18s ease;
}
.phase-tabs button[aria-selected=true] {
  border-color: #b77850; background: linear-gradient(130deg, #f7e4c4, #eed7b8);
  box-shadow: inset 0 1px #fff9ec, 0 4px 12px -10px #79573988;
}
.phase-tabs small { font-size: 12px; }
.level-tabs { padding-bottom: 10px; gap: 8px; }
.level-tabs button {
  min-height: 64px; padding: 12px 14px; border: 1px solid #d8c7ac; border-radius: 16px;
  background: #fffbf380; box-shadow: inset 0 1px #fff; font-size: 13px;
}
.level-tabs button[aria-selected=true] { background: linear-gradient(130deg, #f7e4c4, #eed7b8); border-color: #b77850; color: #773b2e; }
.level-tabs button > span { margin-bottom: 4px; }
.module-list summary, .faq-list summary { min-height: 44px; font-size: 14px; }
.module-list summary { padding-block: 10px; }
.faq-list summary > span { flex: none; }
.final-actions .button { font-size: 14px; }
.final-actions .text-link { font-size: 12px; }

/* The board is part of the page, without a panel, screenshot or outer frame. */
.board-hero {
  position: relative; isolation: isolate; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 4vw, 70px); align-items: start; padding-block: 64px 70px;
}
.board-hero::before {
  content: ''; position: absolute; z-index: -1; inset: -30px -36px 0 29%;
  background: radial-gradient(ellipse at 58% 35%, #efd6a150, transparent 67%); pointer-events: none;
}
.board-hero .hero-copy { padding-top: 22px; min-width: 0; }
.board-hero h1 { font-size: clamp(65px, 6.4vw, 100px); line-height: 1.02; margin-bottom: 26px; }
.board-hero .hero-description { max-width: 32ch; }
.board-hero .hero-actions { gap: 14px; }
.board-hero .hero-actions .button { padding: 14px 20px; gap: 22px; min-height: 52px; font-size: 14px; }
.hero-description-compact { display: none; }
.game-preview { --board-row: 160px; --board-space-size: clamp(72px, 7vw, 99px); width: 100%; max-width: none; min-width: 0; margin: 0; }
.game-preview-header { padding: 0; margin-bottom: 27px; }
.game-preview-header h2 { font-size: 30px; }
.game-preview-header .tiny-label { font-size: 10px; }
.board-preview-tag { background: #fffbf380; border-color: #d4bea0; color: #75583b; font-size: 10px; }
.game-board { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; overflow: visible; }
.game-board::before, .game-board::after { display: none; }
.game-board-top { padding-inline: 4px; font-size: 9px; color: #7b684c; }
.board-canvas { margin-top: 32px; position: relative; }
.landing-board-nodes { grid-template-rows: repeat(2, var(--board-row)); }
.landing-board-route {
  /* First path centre = 45/316 of the two-row height; stay centred on each tile. */
  top: calc(var(--board-space-size) / 2 - var(--board-row) * .28481);
  height: calc(var(--board-row) * 2); overflow: visible;
}
.landing-route-shadow { stroke: #a87b3c20; stroke-width: 21; }
.landing-route-track { stroke-width: 12; }
.landing-route-shine { stroke-width: 2; stroke: #fff7de; }
.board-space { width: var(--board-space-size); height: var(--board-space-size); border-radius: 22px; flex: none; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.board-space > img { width: 84%; height: 84%; }
.board-space > span { right: -5px; top: -7px; color: #715333; }
.landing-board-node { gap: 13px; min-height: 44px; min-width: 0; border-radius: 16px; }
.landing-board-node:hover { transform: none; }
.landing-board-node:active .board-space { transform: translateY(2px); }
.board-short-label { background: #f7f2e8e6; font-size: 12px; padding: 3px 6px; color: #65523b; }
.board-pawn { width: 45px !important; height: 52px !important; top: -31px; left: -14px; }
.board-instruction { margin-top: 0; font-size: 11px; color: #756148; line-height: 1.6; }
.mini-pawn { flex: none; }
.board-mission-detail {
  margin-top: 26px; background: none; box-shadow: none; border: 0; border-top: 1px solid #d8ccb8;
  border-radius: 0; padding: 24px 0 16px; grid-template-columns: minmax(0, 1fr) 112px; gap: 25px; min-height: 0;
}
.selected-mission-copy { min-width: 0; }
.board-mission-detail .eyebrow { display: block; font-size: 10px; }
.board-mission-detail h3 { font-size: 29px; }
.board-mission-detail p { font-size: 14px; max-width: 48ch; line-height: 1.75; }
.board-mission-detail .text-link { font-size: 13px; min-height: 46px; gap: 10px; }
.mission-card-preview { border-left: 1px solid #d9cbb4; padding-left: 18px; }
.mission-card-preview img { width: 65px; height: 65px; }
.mission-card-preview .tiny-label { font-size: 9px; color: #75583b; }
.mission-card-preview strong { font-size: 17px; }
.board-reward-line { padding: 15px 0 0; border-top: 1px solid #e2d7c5; font-size: 11px; color: #756148; flex-wrap: wrap; }
.board-reward-line strong { font-size: 12px; }

@media (hover: hover) and (pointer: fine) {
  .button.primary:hover { background: var(--action-hover); transform: translateY(-2px); box-shadow: 0 8px 18px -8px #8e402c88, inset 0 1px #ffffff48; }
  .access-link:hover, .board-hero .hero-actions .text-link:hover { background: #f5e3c8; border-color: #b77850; }
  .landing-board-node:hover .board-space { transform: translateY(-3px); }
  .phase-tabs button:hover, .level-tabs button:hover { border-color: #b77850; }
}
@media (min-width: 1550px) {
  .board-hero { gap: 85px; }
  .game-preview { --board-row: 177px; }
  .game-preview-header h2 { font-size: 33px; }
  .board-mission-detail h3 { font-size: 32px; }
}
@media (max-width: 1100px) {
  .board-hero { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 32px; }
  .board-hero h1 { font-size: clamp(58px, 7.4vw, 78px); }
  .game-preview { --board-row: 143px; --board-space-size: clamp(62px, 7.5vw, 80px); }
  .board-space { border-radius: 18px; }
  .board-short-label { font-size: 11px; }
  .board-mission-detail { grid-template-columns: minmax(0, 1fr) 86px; gap: 18px; }
  .board-mission-detail h3 { font-size: 26px; }
  .mission-card-preview { padding-left: 12px; }
  .mission-card-preview img { width: 54px; height: 54px; }
  .mission-card-preview strong { font-size: 15px; }
  .game-preview-header h2 { font-size: 27px; }
  .board-preview-tag { display: none; }
}
@media (max-width: 800px) {
  .board-hero { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 25px; padding-block: 44px 55px; align-items: start; }
  .board-hero .hero-copy { max-width: none; padding-top: 16px; }
  .board-hero h1 { font-size: clamp(47px, 7.7vw, 65px); margin-bottom: 20px; }
  .board-hero .hero-description { font-size: 14px; line-height: 1.8; max-width: 27ch; }
  .board-hero .hero-copy > .eyebrow { font-size: 9px; line-height: 1.7; margin-bottom: 18px; max-width: 27ch; }
  .board-hero .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 25px; max-width: 215px; }
  .board-hero .hero-actions .button { font-size: 14px; gap: 12px; padding: 13px 16px; }
  .board-hero .hero-actions .text-link { justify-content: space-between; }
  .board-hero .hero-audience { font-size: 11px; line-height: 1.75; max-width: 25ch; margin-top: 20px; }
  .board-hero .hero-caption { font-size: 10px; line-height: 1.7; gap: 6px; margin-top: 12px; }
  .game-preview { --board-row: 120px; --board-space-size: clamp(46px, 8vw, 65px); width: 100%; max-width: none; margin: 0; }
  .game-preview-header { margin-bottom: 20px; padding: 0; }
  .game-preview-header h2 { font-size: 24px; }
  .game-preview-header .tiny-label { font-size: 9px; }
  .game-board { padding: 0; }
  .game-board-top { font-size: 9px; gap: 7px; letter-spacing: .04em; }
  .game-board-top > span:last-child { display: none; }
  .board-space { border-radius: 16px; }
  .board-space > span { width: 20px; height: 20px; font-size: 10px; }
  .board-short-label { font-size: 10px; padding-inline: 2px; }
  .board-pawn { width: 34px !important; height: 40px !important; top: -24px; left: -11px; }
  .board-instruction { font-size: 10px; gap: 6px; }
  .mini-pawn { width: 14px; height: 17px; }
  .board-mission-detail { padding-top: 20px; margin-top: 20px; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .board-mission-detail h3 { font-size: 25px; }
  .board-mission-detail p { font-size: 14px; }
  .mission-card-preview { border-left: 0; border-top: 1px solid #e2d7c5; padding: 13px 0 0; display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 12px; row-gap: 3px; text-align: left; align-items: center; justify-content: start; }
  .mission-card-preview img { grid-row: 1 / 3; width: 46px; height: 46px; }
  .mission-card-preview .tiny-label { font-size: 9px; margin-top: 0; align-self: end; }
  .mission-card-preview strong { font-size: 17px; margin-top: 0; align-self: start; }
  .board-reward-line { gap: 6px; font-size: 10px; line-height: 1.75; }
  .board-reward-line strong { font-size: 11px; }
  .phase-tabs button { padding: 16px 12px; }
}
@media (max-width: 600px) {
  .site-header { gap: 16px; }
  .access-link { min-height: 44px; padding: 10px 12px; gap: 12px; font-size: 12px; }
  .access-link .action-icon { width: 18px; height: 18px; flex-basis: 18px; }
  .board-hero.wrap { width: calc(100% - 32px); }
  .board-hero { grid-template-columns: minmax(0, 1fr) minmax(176px, 1.65fr); gap: 16px; padding-block: 33px 44px; }
  .board-hero::before { inset: -20px -10px 0 25%; }
  .board-hero .hero-copy { padding-top: 6px; }
  .board-hero .hero-copy > .eyebrow { font-size: 9px; line-height: 1.7; letter-spacing: .04em; margin-bottom: 16px; }
  .board-hero h1 { font-size: clamp(29px, 8.8vw, 52px); line-height: 1.05; letter-spacing: -.055em; margin-bottom: 18px; }
  .board-hero .hero-description { font-size: 13px; line-height: 1.75; max-width: none; }
  .hero-description-wide { display: none; }
  .hero-description-compact { display: inline; }
  .board-hero .hero-actions { margin-top: 22px; gap: 10px; flex-wrap: nowrap; }
  .board-hero .hero-actions .button { width: 100%; min-height: 50px; padding: 12px 10px; gap: 8px; font-size: 13px; line-height: 1.5; }
  .hero-actions .button .label-wide { display: none; }
  .hero-actions .button .label-compact { display: inline; }
  .board-hero .hero-actions .button .action-icon { width: 18px; height: 18px; flex-basis: 18px; }
  .board-hero .hero-actions .text-link { min-height: 46px; padding: 10px; gap: 6px; font-size: 12px; }
  .board-hero .hero-actions .text-link .action-icon { width: 16px; height: 16px; flex-basis: 16px; }
  .board-hero .hero-audience { font-size: 11px; line-height: 1.7; max-width: none; margin-top: 18px; }
  .board-hero .hero-caption { font-size: 10px; gap: 6px; margin-top: 10px; align-items: flex-start; }
  .board-hero .live-dot { width: 5px; height: 5px; margin-top: 6px; flex: none; }
  .game-preview { --board-row: 88px; --board-space-size: clamp(36px, 10vw, 54px); }
  .game-preview-header { margin-bottom: 18px; gap: 0; }
  .game-preview-header h2 { font-size: clamp(20px, 5vw, 27px); line-height: 1.2; margin-top: 6px; }
  .game-preview-header .tiny-label { font-size: 9px; letter-spacing: .03em; line-height: 1.7; }
  .game-board-top { display: none; }
  .board-canvas { margin-top: 30px; }
  .landing-board-nodes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .board-space { border-radius: clamp(10px, 2.8vw, 15px); border-width: 1px; box-shadow: 0 3px 0 #b99b6f, 0 5px 0 #a28258, 0 8px 10px -7px #6f4c2c88, inset 0 0 0 1px #e8d7b7; }
  .board-space > span { width: 18px; height: 18px; font-size: 10px; top: -8px; right: -3px; }
  .board-space > img { width: 82%; height: 82%; }
  .board-pawn { width: 27px !important; height: 32px !important; top: -22px; left: -5px; }
  .landing-board-node { width: 100%; min-height: 60px; gap: 10px; padding: 0 0 6px; border-radius: 12px; }
  .board-short-label { display: none; }
  .landing-board-node[aria-pressed=true] .board-space { box-shadow: 0 3px 0 #964b36, 0 5px 0 #7b3d2d, 0 0 0 3px #d5965f25, 0 8px 12px -7px #6f4c2c88, inset 0 0 0 1px #e4bc91; }
  .board-instruction { justify-content: flex-start; gap: 6px; margin-top: -12px; font-size: 10px; line-height: 1.6; }
  .mini-pawn { width: 13px; height: 16px; }
  .board-mission-detail { margin-top: 18px; padding: 18px 0 15px; gap: 15px; }
  .board-mission-detail .eyebrow { font-size: 9px; margin-bottom: 7px; }
  .board-mission-detail h3 { font-size: clamp(21px, 5vw, 28px); line-height: 1.2; letter-spacing: -.035em; }
  .board-mission-detail p { font-size: 13px; line-height: 1.75; margin-top: 12px; max-width: none; }
  .board-mission-detail .text-link { font-size: 13px; min-height: 46px; line-height: 1.6; margin-top: 10px; gap: 8px; align-items: center; }
  .mission-card-preview { grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; }
  .mission-card-preview img { width: 40px; height: 40px; }
  .mission-card-preview .tiny-label { font-size: 9px; }
  .mission-card-preview strong { font-size: 16px; }
  .board-reward-line { padding-top: 12px; font-size: 10px; }
  .board-reward-line strong { font-size: 12px; white-space: nowrap; }
  .board-reward-line strong > span { margin-inline: 4px; }
  .phase-tabs button { padding: 14px 12px; min-height: 86px; gap: 10px; border-radius: 16px; }
  .phase-tabs small { font-size: 11px; line-height: 1.5; }
  .phase-number { flex: none; }
  .level-tabs { gap: 8px; padding: 4px 4px 12px; scroll-padding-inline: 4px; }
  .level-tabs button { min-height: 64px; font-size: 13px; padding: 12px 16px; }
  .question-options button { font-size: 14px; padding: 14px; }
  .demo-bottom { gap: 10px; }
  .reset-button { font-size: 13px; }
  .collection-copy .text-link { font-size: 13px; }
  .final-actions .button { min-height: 52px; font-size: 14px; padding: 14px 18px; }
  .final-actions .text-link { font-size: 12px; }
  .site-footer > a { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; }
}
@media (max-width: 360px) {
  .board-hero { gap: 12px; }
  .board-hero .hero-actions .button { padding-inline: 8px; gap: 6px; }
  .board-hero .hero-actions .text-link { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .button.primary:hover, .button.primary:active, .landing-board-node:hover .board-space, .landing-board-node:active .board-space { transform: none; }
}

/* Approved introduction before the complete interactive board. */
[hidden] { display:none!important; }
.board-hero {display:block;max-width:1000px;}
.board-hero .welcome-copy{max-width:830px;margin-inline:auto;padding-top:0;}
.board-hero .welcome-copy h1{font-size:clamp(38px,5vw,68px);line-height:1.12;margin-bottom:26px;}
.welcome-copy>p{font-size:clamp(16px,1.55vw,19px);line-height:1.8;margin:0 0 20px;max-width:78ch;}
.welcome-copy>.eyebrow{font-size:12px;letter-spacing:.08em;color:var(--terra);}
.welcome-copy .hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px;}
.welcome-guide{background:#fffaf1;border:1px solid #dfceb7;border-radius:20px;padding:24px;margin-top:24px;}
.welcome-guide h2{font-size:26px;margin-bottom:14px;}.welcome-guide li{margin:10px 0;line-height:1.7;}
.board-hero .game-preview{max-width:900px;margin-inline:auto;}
@media(max-width:600px){.board-hero .welcome-copy>.eyebrow{font-size:11px}.board-hero .welcome-copy h1{font-size:40px}.welcome-copy>p{font-size:16px}.welcome-copy .hero-actions .button{font-size:14px;}}
