/* October 2026: the board's ink, ceramic stones and turquoise light. */
:root {
  color-scheme: dark;
  --void: #081827;
  --deep: #06121e;
  --surface: #10283a;
  --text: #f0f6f6;
  --text-soft: #c5d5dc;
  --muted: #9aafb9;
  --neural-cyan: #59e0c5;
  --electric-iris: #a8baff;
  --goban-gold: #f2cb8a;
  --line: #bedce21f;
  --display: "Sora", "Avenir Next", sans-serif;
  --body: "Manrope", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --shell: min(1280px, calc(100% - 80px));
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font: 16px/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--neural-cyan);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
::selection {
  color: var(--void);
  background: var(--neural-cyan);
}
.shell {
  width: var(--shell);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--neural-cyan);
  color: var(--void);
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: var(--neural-cyan);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 99;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: #081827ed;
  transition: border-color 0.3s;
  backdrop-filter: blur(18px);
}
.site-header.is-scrolled {
  border-color: var(--line);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font: 500 18px var(--display);
  letter-spacing: -0.8px;
}
.brand strong {
  font-weight: 750;
}
.brand-mark {
  width: 36px;
  height: 36px;
  position: relative;
  display: block;
  background:
    linear-gradient(
      90deg,
      transparent 48%,
      #59e0c566 49%,
      #59e0c566 51%,
      transparent 52%
    ),
    linear-gradient(
      transparent 48%,
      #59e0c566 49%,
      #59e0c566 51%,
      transparent 52%
    );
}
.brand-mark:before,
.brand-mark:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  left: 2px;
  top: 2px;
  background: radial-gradient(circle at 30% 25%, #7e8990, #121b24 65%);
  box-shadow: 0 0 0 1px #a6bcc855;
}
.brand-mark:after {
  left: 20px;
  top: 20px;
  background: radial-gradient(circle at 30% 25%, #fff, #d5e3e4 85%);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 650;
  color: var(--text-soft);
}
.main-nav a {
  padding: 14px 0;
  transition: color 0.2s;
}
.main-nav a:hover {
  color: var(--neural-cyan);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.language-link {
  font: 12px var(--mono);
  color: var(--muted);
  padding: 10px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 54px;
  padding: 14px 23px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  transition:
    background 0.25s,
    transform 0.25s,
    border-color 0.25s;
}
.button:hover {
  transform: translateY(-3px);
  border-color: var(--neural-cyan);
}
.button-primary {
  color: var(--deep);
  background: var(--neural-cyan);
  border-color: var(--neural-cyan);
}
.button-primary:hover {
  background: #8cf0dc;
}
.button-secondary {
  background: #ffffff06;
}
.button-compact {
  min-height: 42px;
  padding: 10px 17px;
  font-size: 12px;
  gap: 16px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: var(--neural-cyan);
  font-weight: 750;
  font-size: 14px;
  min-height: 44px;
}
.text-link:hover {
  color: #b2faeb;
}
.eyebrow,
.section-kicker {
  font: 11px/1.5 var(--mono);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--neural-cyan);
  display: flex;
  align-items: center;
  gap: 12px;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: var(--neural-cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 5px #59e0c510;
}
.pill {
  display: inline-flex;
  padding: 4px 9px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.4px;
  color: var(--text-soft);
  white-space: nowrap;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 72px 0 0;
  background: radial-gradient(ellipse at 76% 42%, #17515c60, transparent 50%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 55px;
  align-items: center;
  min-height: 750px;
  padding-bottom: 68px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font: 650 clamp(46px, 5.15vw, 76px) / 1.08 var(--display);
  letter-spacing: -4.2px;
  margin: 26px 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--neural-cyan);
}
.hero-lead {
  max-width: 460px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 15px;
}
.hero-note {
  font-size: 12px;
  color: var(--muted);
}
.hero-note a {
  border-bottom: 1px solid #9aafb955;
}
.hero-platforms {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
  font: 11px var(--mono);
  color: var(--muted);
}
.hero-platforms a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
}
.hero-platforms img {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}
.hero-art {
  position: relative;
  min-width: 0;
  height: 690px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: 9% -25% 5% -10%;
  background:
    linear-gradient(#83c2c012 1px, transparent 1px),
    linear-gradient(90deg, #83c2c012 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse, #000, transparent 68%);
  transform: rotate(-12deg);
}
.phone {
  position: relative;
  width: 280px;
  padding: 7px;
  background: #020a11;
  border: 1px solid #7d9aa650;
  border-radius: 38px;
  box-shadow:
    0 25px 65px #0006,
    inset 0 0 0 2px #566f7c20;
}
.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 31px;
  background: var(--deep);
  aspect-ratio: 430/900;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone:after {
  content: "";
  position: absolute;
  top: 70px;
  right: -3px;
  height: 60px;
  width: 3px;
  background: #61737d;
  border-radius: 2px;
}
.hero-phone-primary {
  z-index: 2;
  transform: translate3d(-32px, var(--phone-shift, 0px), 0) rotate(-6deg);
}
.hero-phone-secondary {
  position: absolute;
  width: 222px;
  right: -4px;
  top: 88px;
  transform: translate3d(0, calc(var(--phone-shift, 0px) * -0.65), 0)
    rotate(9deg);
  opacity: 0.92;
  z-index: 1;
}
.hero-caption {
  position: absolute;
  bottom: 28px;
  left: 25px;
  z-index: 3;
  background: #143347ee;
  border: 1px solid #b4dbdd30;
  border-radius: 14px;
  padding: 16px 23px;
  box-shadow: 0 10px 35px #0003;
  font-size: 12px;
}
.hero-caption strong {
  display: block;
  font: 15px var(--display);
  margin-bottom: 4px;
}
.hero-caption span {
  color: var(--muted);
}
.hero-orbit {
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid #59e0c51c;
  border-radius: 50%;
  left: 4%;
  top: 18%;
  transform: rotate(-30deg);
}
.hero-orbit:after {
  content: "";
  position: absolute;
  top: 46%;
  right: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neural-cyan);
  box-shadow: 0 0 30px #59e0c590;
}
.hero-five {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  position: relative;
  width: fit-content;
}
.hero-five:before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 1px;
  background: #59e0c54d;
  transform: scaleX(0);
  transform-origin: left;
  animation: winning-line 1s 1.1s forwards;
}
.ceramic-stone {
  position: relative;
  display: block;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: radial-gradient(circle at 28% 23%, #fcffff, #cfdddd 80%);
  box-shadow: 0 5px 10px #0004;
  animation: stone-arrive 0.6s both;
  animation-delay: calc(var(--stone) * 0.13s + 0.4s);
}
.hero-five .ceramic-stone:nth-child(3) {
  background: radial-gradient(circle at 28% 23%, #64f3d6, #36baa7 85%);
}
.hero-five > span:last-child {
  position: relative;
  color: var(--muted);
  font: 10px var(--mono);
  margin-left: 10px;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.community {
  display: flex;
  align-items: center;
  gap: 14px;
}
.community-copy p {
  display: inline;
  font-size: 12px;
  color: var(--muted);
}
.community-number {
  color: var(--text);
  font: 700 18px var(--display);
  margin-right: 8px;
}
.community-note {
  margin-left: 12px;
}
.hero-discover {
  font-size: 12px;
  color: var(--text-soft);
  display: flex;
  gap: 26px;
  align-items: center;
}
.hero-discover span {
  color: var(--neural-cyan);
}
.section {
  padding: 110px 0;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 50px;
}
.section-heading h2,
.section-copy h2 {
  font: 600 clamp(32px, 3.5vw, 50px) / 1.15 var(--display);
  letter-spacing: -2.3px;
  margin-top: 18px;
}
.section-heading h2 em,
.section-copy h2 em {
  font-style: normal;
  color: var(--neural-cyan);
}
.section-heading > p {
  color: var(--muted);
  font-size: 15px;
  max-width: 420px;
  justify-self: end;
}
.section-copy > p:not(.section-kicker) {
  color: var(--text-soft);
  margin-top: 22px;
  font-size: 15px;
}
.section-copy > .text-link {
  margin-top: 24px;
}
.modes-section {
  background: var(--deep);
}
.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.mode-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 25px;
  position: relative;
  overflow: hidden;
  background: #ffffff02;
  transition:
    border-color 0.3s,
    background 0.3s,
    transform 0.3s;
}
.mode-card:hover {
  transform: translateY(-6px);
  border-color: #59e0c55a;
  background: #59e0c506;
}
.mode-card h3 {
  font: 600 19px var(--display);
  letter-spacing: -0.6px;
  margin: 34px 0 12px;
}
.mode-card p {
  font-size: 13px;
  color: var(--muted);
}
.mode-symbol {
  font: 30px var(--mono);
  color: var(--neural-cyan);
  height: 46px;
}
.mode-card .text-link {
  margin-top: 20px;
  font-size: 12px;
}
.rules-strip {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-top: 27px;
}
.rules-strip p {
  color: var(--muted);
  font-size: 12px;
}
.rules-strip strong {
  color: var(--text-soft);
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
}
.rules-strip .text-link {
  flex-shrink: 0;
  font-size: 12px;
}
.screens-section {
  background: linear-gradient(145deg, #0c2536, var(--void) 60%);
}
.screen-showcase {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: center;
}
.screen-tabs {
  display: grid;
  gap: 10px;
}
.screen-tab {
  display: grid;
  grid-template-columns: 38px 1fr 22px;
  align-items: center;
  gap: 16px;
  text-align: left;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  border-radius: 12px;
  padding: 20px;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.screen-tab[aria-selected="true"] {
  background: #59e0c50b;
  border-color: #59e0c55a;
  color: var(--text);
}
.screen-tab .tab-symbol {
  font: 21px var(--mono);
  color: var(--neural-cyan);
}
.screen-tab strong {
  font: 600 17px var(--display);
  letter-spacing: -0.5px;
  display: block;
  margin-bottom: 5px;
}
.screen-tab small {
  font: 12px/1.65 var(--body);
  color: var(--muted);
  display: block;
}
.screen-tab > span:last-child {
  color: var(--neural-cyan);
}
.screen-panels {
  min-width: 0;
  position: relative;
  padding: 40px 0 30px;
  background: radial-gradient(ellipse, #194558aa, transparent 70%);
}
.screen-panel {
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
}
.screen-panel .phone {
  width: min(255px, 44%);
  border-radius: 30px;
  transform: rotate(-3deg);
}
.screen-panel .phone-screen {
  border-radius: 23px;
}
.screen-panel .phone:nth-child(2) {
  transform: translateY(30px) rotate(3deg);
  width: min(232px, 41%);
}
.screen-panel.is-entering {
  animation: panel-arrive 0.5s both;
}
.capture-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 36px;
  max-width: 470px;
}
.capture-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.learn-section {
  background: #0e2434;
  border-block: 1px solid var(--line);
}
.learn-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.learn-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.learn-list li {
  padding-left: 25px;
  position: relative;
  color: var(--muted);
  font-size: 14px;
}
.learn-list li:before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--neural-cyan);
  font: 18px var(--mono);
}
.learn-list strong {
  color: var(--text-soft);
}
.coaching-art {
  position: relative;
  border: 1px solid #59e0c545;
  border-radius: 22px;
  background: #0a1b29;
  padding: 24px;
  box-shadow: 0 25px 60px #0003;
}
.coaching-art-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font: 11px var(--mono);
  color: var(--muted);
  margin-bottom: 20px;
}
.coaching-board {
  width: 100%;
  aspect-ratio: 1.25;
  display: block;
  background: #16363e;
  border-radius: 12px;
  border: 1px solid #59e0c540;
}
.coaching-board .grid {
  stroke: #59e0c547;
  stroke-width: 0.6;
}
.coaching-board .dark {
  fill: url(#dark-stone);
}
.coaching-board .light {
  fill: url(#light-stone);
}
.coaching-board .annotation {
  stroke: #f2cb8a;
  stroke-width: 2.5;
  fill: none;
}
.coaching-art-footer {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
}
.coaching-art-footer span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.coaching-art figcaption {
  color: var(--muted);
  font: 10px/1.6 var(--mono);
  margin-top: 18px;
}
.rapfi-levels {
  display: flex;
  align-items: end;
  gap: 5px;
  margin-top: 28px;
  height: 50px;
  width: 190px;
}
.rapfi-levels span {
  flex: 1;
  background: linear-gradient(#59e0c5aa, #59e0c515);
  border: 1px solid #59e0c540;
  border-radius: 4px 4px 0 0;
  height: calc(12px + var(--level) * 6px);
}
.nations-section {
  overflow: clip;
  background: radial-gradient(ellipse at 50% 65%, #143e4a, var(--void) 75%);
}
.cup-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
  padding: 28px 0;
  border-block: 1px solid var(--line);
}
.cup-points > div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.cup-points > div:first-child {
  border-left: 0;
  padding-left: 0;
}
.cup-points dt {
  color: var(--muted);
  font-size: 12px;
}
.cup-points dd {
  font: 600 30px var(--display);
  margin: 5px 0 0;
  letter-spacing: -1px;
}
.cup-points dd span {
  font: 11px var(--body);
  color: var(--muted);
  letter-spacing: 0;
}
.cup-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 24px;
  max-width: 850px;
}
.cup-note strong {
  color: var(--text-soft);
}
.world-explorer__fallback {
  color: var(--muted);
  font-size: 12px;
}
.competition-section {
  background: var(--deep);
}
.competition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.competition-card {
  padding: 40px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #163043, #102332);
}
.competition-card h3 {
  font: 600 29px/1.25 var(--display);
  letter-spacing: -1px;
  margin: 24px 0 16px;
}
.competition-card p:not(.section-kicker) {
  font-size: 14px;
  color: var(--muted);
}
.competition-card .text-link {
  margin-top: 24px;
}
.season-date {
  display: flex;
  gap: 22px;
  align-items: center;
  border-block: 1px solid var(--line);
  padding: 24px 0;
  margin-top: 28px;
}
.season-date strong {
  font: 600 48px var(--display);
  letter-spacing: -3px;
  color: var(--goban-gold);
}
.season-date span {
  color: var(--muted);
  font: 11px/1.7 var(--mono);
}
.season-date b {
  color: var(--text);
  display: block;
  font-size: 13px;
}
.table-cycle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 25px 0;
  margin-top: 20px;
  border-block: 1px solid var(--line);
}
.table-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--text);
  color: var(--void);
  border-radius: 50%;
  font: 700 14px var(--display);
}
.table-avatar.defender {
  background: var(--neural-cyan);
}
.table-cycle small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.table-cycle strong {
  font-size: 13px;
}
.table-cycle > .versus {
  color: var(--muted);
  font: 10px var(--mono);
  margin-inline: auto;
}
.table-example-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.table-example-controls button {
  background: #59e0c515;
  border: 1px solid #59e0c55a;
  color: var(--neural-cyan);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  min-height: 44px;
}
.table-example-controls span {
  font-size: 11px;
  color: var(--muted);
}
.table-status {
  min-height: 45px;
  margin-top: 16px;
  font-size: 12px !important;
}
.competition-note {
  font: 11px/1.7 var(--body) !important;
  margin-top: 12px !important;
}
.table-example-label {
  font: 10px var(--mono);
  color: var(--muted);
  display: block;
  margin-top: 15px;
}
.demo-section {
  background: var(--void);
}
.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 100px;
}
.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 690px;
}
.hero-stage .phone {
  width: 285px;
}
.hero-stage .phone-screen {
  aspect-ratio: 660/1500;
}
.hero-stage .demo-controls {
  left: 50%;
  transform: translateX(-50%);
}
.hero-stage .match-card {
  display: none !important;
}
.demo-instructions {
  display: flex;
  gap: 25px;
  margin-top: 28px;
  flex-wrap: wrap;
  color: var(--muted);
  font: 11px/1.7 var(--mono);
}
.demo-instructions span {
  border-left: 2px solid var(--neural-cyan);
  padding-left: 12px;
}
.demo-controls .demo-scenes {
  background: #0b2133;
}
.download-section {
  padding-top: 70px;
}
.download-heading {
  text-align: center;
  max-width: 770px;
  margin: 0 auto 50px;
}
.download-heading .section-kicker {
  justify-content: center;
}
.download-heading h2 {
  font: 600 clamp(36px, 4.5vw, 63px) / 1.1 var(--display);
  letter-spacing: -3px;
  margin: 20px 0;
}
.download-heading p:not(.section-kicker) {
  color: var(--muted);
  font-size: 15px;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  background: #ffffff03;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.platform-card:hover {
  border-color: #59e0c580;
  transform: translateY(-5px);
}
.platform-card .platform-icon {
  width: 32px;
  height: 32px;
  color: var(--neural-cyan);
  margin-bottom: 25px;
}
.platform-card strong {
  font: 600 21px var(--display);
  letter-spacing: -0.8px;
  margin: 16px 0 10px;
}
.platform-card > p {
  color: var(--muted);
  font-size: 13px;
}
.platform-card .text-link {
  margin-top: 25px;
}
.platform-card .pill {
  margin-top: auto;
}
.desktop-entry {
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.desktop-entry > span {
  font-size: 12px;
  color: var(--muted);
}
.desktop-entry a {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  font-weight: 750;
  min-height: 44px;
}
.desktop-entry img {
  width: 25px;
  height: 25px;
}
.download-note {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px;
}
.download-note a {
  text-decoration: underline;
}
.faq-section {
  border-top: 1px solid var(--line);
  padding-block: 70px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 85px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}
.faq summary {
  position: relative;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  padding-right: 35px;
  min-height: 30px;
  display: flex;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--neural-cyan);
  font: 22px var(--mono);
}
.faq[open] summary:after {
  content: "−";
}
.faq p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}
.faq p a {
  color: var(--neural-cyan);
  text-decoration: underline;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 50px 0 25px;
  background: var(--deep);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
}
.footer-brand p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 230px;
}
.footer-group h2 {
  font: 650 12px var(--display);
  margin: 8px 0 14px;
}
.footer-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-group a {
  display: inline-block;
  min-height: 36px;
  padding: 5px 0;
  color: var(--muted);
  font-size: 12px;
}
.footer-group a:hover {
  color: var(--neural-cyan);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 36px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.footer-bottom button {
  color: var(--muted);
  background: none;
  border: 0;
  font-size: 11px;
  padding: 10px;
}
.mobile-play {
  display: none;
}
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.8s,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--reveal-order, 0) * 65ms);
}
.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes stone-arrive {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.65);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes winning-line {
  to {
    transform: scaleX(1);
  }
}
@keyframes panel-arrive {
  from {
    opacity: 0.4;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1600px) {
  .hero-art {
    height: 760px;
  }
  .hero-phone-primary {
    width: 305px;
  }
  .hero-phone-secondary {
    width: 245px;
    right: 4%;
  }
  .hero-grid {
    min-height: 820px;
  }
}
@media (max-width: 1120px) {
  :root {
    --shell: calc(100% - 56px);
  }
  .main-nav {
    gap: 18px;
  }
  .main-nav a:nth-last-child(1) {
    display: none;
  }
  .header-inner {
    gap: 20px;
  }
  .header-actions {
    gap: 14px;
  }
  .hero-grid {
    gap: 25px;
    min-height: 660px;
  }
  .hero {
    padding-top: 48px;
  }
  .hero h1 {
    letter-spacing: -2.8px;
  }
  .hero-art {
    height: 600px;
  }
  .hero-phone-primary {
    width: 240px;
    transform: translate3d(-20px, var(--phone-shift, 0px), 0) rotate(-6deg);
  }
  .hero-phone-secondary {
    width: 188px;
    right: -3%;
    top: 90px;
  }
  .hero-caption {
    bottom: 10px;
    left: 0;
  }
  .mode-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .screen-showcase,
  .learn-grid,
  .demo-layout {
    gap: 40px;
  }
  .screen-panel {
    gap: 16px;
  }
  .screen-panel .phone {
    width: 48%;
  }
  .screen-panel .phone:nth-child(2) {
    width: 43%;
  }
  .footer-main {
    gap: 30px;
  }
  .section {
    padding: 88px 0;
  }
  .competition-card {
    padding: 30px;
  }
  .community-note {
    display: none !important;
  }
  .faq-layout {
    gap: 40px;
  }
}
@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 40px);
  }
  html {
    scroll-padding-top: 84px;
  }
  .header-inner {
    min-height: 72px;
    gap: 16px;
    justify-content: space-between;
  }
  .brand {
    font-size: 16px;
    gap: 9px;
  }
  .brand-mark {
    transform: scale(0.85);
  }
  .main-nav {
    display: none;
  }
  .header-actions {
    gap: 16px;
  }
  .header-actions .button {
    padding: 10px 13px;
  }
  .hero {
    padding-top: 38px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 24px;
  }
  .hero-copy {
    max-width: 570px;
  }
  .hero h1 {
    font-size: clamp(42px, 8.8vw, 65px);
    letter-spacing: -2.8px;
    margin: 22px 0;
  }
  .hero-lead {
    font-size: 15px;
    max-width: 490px;
  }
  .hero-actions {
    margin-top: 25px;
  }
  .hero-art {
    height: 610px;
    max-width: 480px;
    width: 100%;
    margin: 10px auto 0;
  }
  .hero-phone-primary {
    width: 250px;
    transform: translate3d(-36px, var(--phone-shift, 0px), 0) rotate(-6deg);
  }
  .hero-phone-secondary {
    width: 205px;
    right: 3%;
    top: 60px;
  }
  .hero-caption {
    left: 5%;
    bottom: 10px;
  }
  .hero-five {
    margin-top: 25px;
  }
  .hero-platforms {
    margin-top: 20px;
    gap: 18px;
  }
  .hero-bottom {
    padding-block: 20px;
  }
  .hero-discover {
    font-size: 10px;
    gap: 12px;
  }
  .community-copy p {
    font-size: 10px;
  }
  .community-number {
    font-size: 15px;
  }
  .section {
    padding: 68px 0;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }
  .section-heading > p {
    justify-self: start;
    max-width: 530px;
    font-size: 14px;
  }
  .section-heading h2,
  .section-copy h2 {
    font-size: 34px;
    letter-spacing: -1.7px;
  }
  .mode-card {
    padding: 22px 20px;
  }
  .mode-card h3 {
    font-size: 17px;
    margin-top: 20px;
  }
  .mode-card p {
    font-size: 12px;
  }
  .rules-strip {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .screen-showcase {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .screen-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .screen-tab {
    padding: 14px 12px;
    grid-template-columns: 1fr 15px;
    gap: 4px;
    border: 1px solid var(--line);
    min-width: 0;
  }
  .screen-tab .tab-symbol {
    display: none;
  }
  .screen-tab strong {
    font-size: 12px;
  }
  .screen-tab small {
    font-size: 10px;
  }
  .screen-panels {
    max-width: 540px;
    width: 100%;
    margin: auto;
    padding-top: 25px;
  }
  .screen-panel .phone {
    max-width: 220px;
    width: 46%;
  }
  .screen-panel .phone:nth-child(2) {
    max-width: 200px;
    width: 43%;
    transform: translateY(18px) rotate(3deg);
  }
  .capture-note {
    font-size: 10px;
    margin-top: 30px;
  }
  .learn-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .coaching-art {
    max-width: 510px;
    width: 100%;
    margin: auto;
    padding: 20px;
  }
  .cup-points {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .cup-points > div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .cup-points dd {
    font-size: 27px;
  }
  .competition-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .competition-card {
    padding: 28px;
  }
  .competition-card h3 {
    font-size: 26px;
  }
  .demo-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .hero-stage {
    min-height: 680px;
    max-width: 400px;
    margin: auto;
    width: 100%;
  }
  #app-demo-stage.demo-ready {
    min-height: 690px;
    margin-top: 10px;
  }
  #app-demo-stage.demo-ready .phone-hero {
    width: 285px;
    max-width: calc(100% - 24px);
  }
  .demo-controls {
    max-width: 100%;
  }
  .download-heading h2 {
    font-size: 41px;
    letter-spacing: -2px;
  }
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .platform-card {
    padding: 23px;
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 18px;
  }
  .platform-card .platform-icon {
    grid-column: 1;
    grid-row: 1/4;
    margin-top: 5px;
  }
  .platform-card strong {
    margin: 6px 0;
    font-size: 18px;
    grid-column: 2;
  }
  .platform-card .pill {
    width: fit-content;
    margin: 0;
    grid-column: 2;
    grid-row: 1;
  }
  .platform-card > p {
    grid-column: 2;
    font-size: 12px;
  }
  .platform-card .text-link {
    grid-column: 2;
    margin-top: 10px;
    font-size: 12px;
  }
  .desktop-entry {
    justify-content: start;
    gap: 18px;
    padding: 16px;
  }
  .desktop-entry > span {
    flex-basis: 100%;
    font-size: 11px;
  }
  .desktop-entry a {
    font-size: 11px;
    gap: 7px;
  }
  .desktop-entry img {
    width: 22px;
    height: 22px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-main {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .footer-brand {
    grid-column: 1/-1;
    margin-bottom: 15px;
  }
  .footer-group a {
    font-size: 11px;
  }
  .footer-bottom {
    font-size: 9px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .site-footer {
    padding-bottom: 85px;
  }
  .mobile-play {
    display: flex;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 30;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px 9px 17px;
    border-radius: 15px;
    border: 1px solid #59e0c542;
    background: #0b2233f5;
    box-shadow: 0 5px 30px #0008;
    backdrop-filter: blur(15px);
    transform: translateY(160%);
    transition: transform 0.3s;
  }
  .mobile-play.is-visible {
    transform: none;
  }
  .mobile-play > span {
    font-size: 11px;
    font-weight: 650;
  }
  .mobile-play .button {
    min-height: 38px;
    font-size: 11px;
    padding: 8px 14px;
  }
  .marketing-consent-banner {
    bottom: 85px !important;
  }
}
@media (max-width: 380px) {
  :root {
    --shell: calc(100% - 32px);
  }
  .brand {
    font-size: 14px;
  }
  .header-actions {
    gap: 10px;
  }
  .header-actions .button {
    font-size: 10px;
  }
  .hero h1 {
    font-size: 40px;
    letter-spacing: -2.3px;
  }
  .hero-art {
    height: 530px;
  }
  .hero-phone-primary {
    width: 220px;
    transform: translate3d(-22px, var(--phone-shift, 0px), 0) rotate(-5deg);
  }
  .hero-phone-secondary {
    width: 170px;
    right: -2%;
    top: 66px;
  }
  .hero-caption {
    left: 0;
    bottom: 0;
    padding: 12px 17px;
  }
  .hero-caption strong {
    font-size: 13px;
  }
  .hero-five {
    gap: 12px;
  }
  .hero-five > span:last-child {
    font-size: 8px;
    margin-left: 2px;
  }
  .hero-actions .button {
    font-size: 12px;
    padding-inline: 16px;
    gap: 15px;
  }
  .mode-grid {
    grid-template-columns: 1fr;
  }
  .mode-card h3 {
    margin-top: 12px;
  }
  .mode-symbol {
    height: 33px;
  }
  .screen-tab {
    padding: 12px 9px;
  }
  .screen-tab strong {
    font-size: 11px;
  }
  .screen-panel {
    gap: 13px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-group:last-child {
    grid-column: 1/-1;
  }
  .footer-group:last-child ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-discover {
    display: none;
  }
  .hero-five > span:last-child {
    white-space: nowrap;
  }
  .demo-scenes button {
    font-size: 10px;
  }
  .cup-note {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .hero-five:before {
    transform: none;
  }
  .hero-phone-primary {
    transform: translateX(-32px) rotate(-6deg);
  }
  .hero-phone-secondary {
    transform: rotate(9deg);
  }
  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
  .scroll-progress {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hero-actions .button {
    min-height: 48px;
    font-size: 11px;
    padding: 12px 10px;
    gap: 8px;
  }
  .hero-five {
    gap: 10px;
  }
  .hero-five .ceramic-stone {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .hero-five > span:last-child {
    font-size: 8px;
    white-space: nowrap;
    margin-left: 6px;
  }
}

/* Keep intrinsically wide player rows inside compact competition cards. */
.competition-card {
  min-width: 0;
}
.footer-group a {
  min-height: 44px;
}
@media (max-width: 760px) {
  .competition-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 380px) {
  .competition-card {
    padding: 22px;
  }
  .table-cycle {
    gap: 8px;
  }
  .table-avatar {
    width: 32px;
    height: 32px;
  }
  .table-cycle strong {
    font-size: 11px;
  }
  .table-cycle small {
    font-size: 8px;
  }
  .season-date {
    gap: 14px;
  }
}

/* Preserve reflow for enlarged text; an offscreen invitation is not focusable. */
.hero-copy,
.screen-tab > span,
.footer-group {
  min-width: 0;
}
.hero h1,
.section-heading h2,
.section-copy h2,
.download-heading h2 {
  overflow-wrap: anywhere;
}
.footer-group a {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.mobile-play {
  visibility: hidden;
}
.mobile-play.is-visible {
  visibility: visible;
}
@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 10px;
  }
  .header-actions {
    flex-wrap: wrap;
  }
  .brand {
    white-space: normal;
  }
  .brand-mark {
    flex-shrink: 0;
  }
  .eyebrow {
    flex-wrap: wrap;
  }
  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-actions .button {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .screen-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.footer-group h2 {
  overflow-wrap: anywhere;
}

/* Scene controls remain usable when visitors enlarge text. */
.demo-scenes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.demo-scenes button {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
#app-demo-stage.demo-ready {
  padding-bottom: 140px;
}
.hero-five {
  max-width: 100%;
}
.hero-five > span:last-child {
  min-width: 0;
  white-space: normal;
}
.hero-five::before {
  right: auto;
  width: 148px;
}
@media (max-width: 760px) {
  .hero-five::before {
    left: 9px;
    width: 112px;
  }
}
#app-demo-stage {
  flex-direction: column;
}
#app-demo-stage.demo-ready {
  padding-bottom: 0;
}
#app-demo-stage .demo-controls {
  position: static;
  transform: none;
  margin-top: 24px;
}
