:root {
  --landing-ink: #301706;
  --landing-ink-light: #5f3719;
  --landing-muted: #724216;
  --landing-paper: #fff4d8;
  --landing-paper-warm: #f2d492;
  --landing-paper-deep: #d6a756;
  --landing-cinnabar: #8f2414;
  --landing-cinnabar-hover: #b72f19;
  --landing-gold: #bd7a2a;
  --landing-gold-dark: #7a431c;
  --landing-wood: #3a1c09;
  --landing-wood-dark: #1e1108;
  --landing-green: #31551f;
  --landing-line: rgba(95, 55, 25, 0.25);
  --landing-line-gold: rgba(189, 122, 42, 0.55);
  --landing-shadow: 0 1rem 2.5rem rgba(30, 17, 8, 0.16);
}

.landing-page {
  overflow: clip;
  background:
    linear-gradient(rgba(255, 244, 216, 0.93), rgba(242, 212, 146, 0.92)),
    repeating-linear-gradient(95deg, transparent 0 9px, rgba(95, 55, 25, 0.025) 10px 11px);
}

.landing-header,
.landing-main,
.landing-footer {
  width: min(1180px, calc(100% - clamp(24px, 5vw, 72px)));
}

.landing-header {
  min-height: 64px;
  padding-block: 10px;
  border-bottom-color: rgba(95, 55, 25, 0.32);
}

.landing-brand {
  gap: 0.7rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.landing-brand img {
  width: clamp(56px, 7vw, 78px);
  height: auto;
}

.landing-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 2px;
  background: var(--landing-cinnabar);
  transform: scaleX(0);
  transition: transform 140ms ease;
}

.landing-nav a:hover::after,
.landing-nav a:focus-visible::after {
  transform: scaleX(1);
}

.landing-language-switch {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.3rem;
  border: 1px solid var(--landing-line-gold);
  border-radius: 999px;
  background: rgba(255, 244, 216, 0.78);
}

.landing-language-switch .lang-btn {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.landing-language-switch .lang-btn img {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(30, 17, 8, 0.25);
}

.landing-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  min-height: min(650px, calc(100svh - 88px));
  margin-top: 0;
  padding: clamp(32px, 6vw, 76px) 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.landing-hero::before {
  display: none;
}

.landing-hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.landing-hero h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.93;
}

.landing-hero h1 span {
  display: block;
  color: var(--landing-cinnabar);
  font-size: 0.42em;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.landing-hero-visual {
  position: relative;
  min-width: 0;
}

.landing-hero-seal {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  display: grid;
  width: clamp(76px, 9vw, 108px);
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid #ffe2a3;
  border-radius: 50%;
  color: #fff4d8;
  background: var(--landing-cinnabar);
  box-shadow: 0 0 0 7px rgba(143, 36, 20, 0.15);
  font-family: var(--landing-font-display);
  font-weight: 900;
  pointer-events: none;
  text-align: center;
}

.landing-section {
  position: relative;
  padding-block: clamp(52px, 8vw, 94px);
}

.landing-section-heading {
  margin-bottom: clamp(24px, 4vw, 42px);
}

.landing-section h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.landing-section-accent {
  color: var(--landing-cinnabar);
}

.landing-card {
  border-radius: 1.25rem 0.45rem 1.25rem 0.45rem;
  background: rgba(255, 244, 216, 0.74);
}

.landing-rules-shell {
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid var(--landing-line-gold);
  border-radius: clamp(18px, 3vw, 34px);
  background:
    radial-gradient(circle at 85% 0%, rgba(189, 122, 42, 0.24), transparent 36%),
    rgba(255, 244, 216, 0.72);
  box-shadow: var(--landing-shadow);
}

.landing-rules-frame {
  position: relative;
  display: grid;
  grid-template-areas: "stack";
  align-items: start;
}

.landing-rules-frame > * {
  grid-area: stack;
  width: 100%;
  min-width: 0;
}

.landing-rules-fallback {
  position: relative;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  transition:
    opacity 160ms ease,
    visibility 160ms ease;
}

#landing-rules-demo-root {
  position: relative;
  z-index: 1;
}

.landing-rules-frame:has([data-renderer-ready="true"]) [data-rule-fallback] {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.landing-rules-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.landing-rules-tabs button,
.landing-rules-tabs .landing-rules-tab,
.landing-rules-replay {
  box-sizing: border-box;
  margin: 0;
  min-height: 3.5rem;
  border: 2px solid #bd7a2a;
  border-radius: 5px;
  color: #31551f;
  background: linear-gradient(#fff5d8, #e8cc91);
  box-shadow: 0 4px 0 #9a5b20;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.landing-rules-tabs .landing-rules-tab {
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.landing-rules-tabs button,
.landing-rules-tabs .landing-rules-tab {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.8rem;
  text-align: left;
}

.landing-rules-tabs button > span:first-child,
.landing-rules-tabs .landing-rules-tab > span:first-child {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  color: #301706;
  background: #f2d39a;
}

.landing-rules-tabs button strong,
.landing-rules-tabs .landing-rules-tab strong {
  display: block;
}

.landing-rules-tabs button:hover,
.landing-rules-tabs button:focus-visible,
.landing-rules-replay:hover,
.landing-rules-replay:focus-visible {
  outline: none;
  border-color: #ffe2a3;
  color: #3b1f0f;
  background: #31551f;
  box-shadow: 0 0 0 3px rgba(255, 226, 163, 0.25);
}

.landing-rules-tabs button.is-active,
.landing-rules-tabs .landing-rules-tab.is-active {
  border-color: #ffe2a3;
  color: #fff4d8;
  background: #31551f;
  box-shadow: 0 0 0 3px rgba(255, 226, 163, 0.25);
}

.landing-rules-stage {
  display: grid;
  grid-template-columns: minmax(13rem, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(1rem, 3vw, 2.25rem);
  align-items: center;
}

.landing-rules-board {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: clamp(4px, 0.6vw, 9px) solid #7d481c;
  border-radius: clamp(1rem, 2vw, 1.6rem);
  background: #1e1108;
  box-shadow:
    0 5px 0 #61452d,
    0 11px 16px rgb(25 18 10 / 20%);
}

.landing-rules-board .board-host,
.landing-rules-board .board-canvas,
.landing-rules-board .landing-rules-poster {
  display: block;
  width: 100%;
  height: 100%;
}

.landing-rules-board .board-canvas {
  width: 100% !important;
  height: 100% !important;
}

.landing-rules-board .landing-rules-poster {
  margin: 0;
}

.landing-rules-board .landing-rules-poster picture,
.landing-rules-board .landing-rules-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-rules-explanation {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  color: #301706;
}

.landing-rules-explanation h3 {
  margin: 0.6rem 0;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
}

.landing-rules-explanation p {
  margin: 0 0 1rem;
  color: #724216;
  line-height: 1.7;
}

.landing-rules-number {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  color: #fff4d8;
  background: #8f2414;
  font-weight: 800;
}

.landing-rules-replay {
  padding: 0.55rem 1.15rem;
}

@media (max-width: 760px) {
  .landing-rules-tabs,
  .landing-rules-stage {
    grid-template-columns: 1fr;
  }

  .landing-rules-tabs {
    gap: 0.5rem;
  }

  .landing-rules-tabs button,
  .landing-rules-tabs .landing-rules-tab {
    justify-content: flex-start;
  }

  .landing-rules-board {
    grid-column: 1;
    grid-row: 1;
  }

  .landing-rules-explanation {
    grid-column: 1;
    grid-row: 2;
  }
}

.landing-rules-shell:not(:has(#landing-rules-demo-root[data-load-error])) .landing-rules-error,
#landing-rules-demo-root:not([data-load-error]) ~ .landing-rules-error {
  display: none;
}

.landing-rules-error {
  margin-top: 1.5rem;
  color: var(--landing-cinnabar);
  font-weight: 700;
  text-align: center;
}

.landing-modes .landing-card::before {
  display: block;
  margin-bottom: 1rem;
  color: var(--landing-cinnabar);
  font-size: 1.5rem;
}

.landing-modes .landing-card:nth-child(1)::before {
  content: "●";
}
.landing-modes .landing-card:nth-child(2)::before {
  content: "◆";
}
.landing-modes .landing-card:nth-child(3)::before {
  content: "✦";
}

.landing-final-cta {
  display: grid;
  margin-bottom: clamp(52px, 8vw, 92px);
  padding: clamp(34px, 7vw, 76px);
  place-items: center;
  border-radius: clamp(18px, 3vw, 34px);
  color: #fff4d8;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 226, 163, 0.14), transparent 36%),
    var(--landing-green);
  text-align: center;
}

.landing-final-cta h2 {
  max-width: 850px;
  margin: 0 0 1rem;
  color: #fff4d8;
  font-family: var(--landing-font-display);
  font-size: clamp(2rem, 5vw, 4.6rem);
}

.landing-final-cta p {
  max-width: 650px;
  margin: 0 0 1.5rem;
  color: #ead4a9;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .landing-header {
    flex-wrap: wrap;
  }

  .landing-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .landing-hero-visual {
    order: 0;
  }
}

@media (max-width: 640px) {
  .landing-header,
  .landing-main,
  .landing-footer {
    width: min(100% - 24px, 1180px);
  }

  .landing-header-actions,
  .landing-nav {
    gap: 0.65rem;
  }

  .landing-nav a:nth-child(n + 3) {
    display: none;
  }

  .landing-language-switch .lang-btn {
    padding-inline: 0.48rem;
  }

  .landing-language-switch .lang-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .landing-hero {
    gap: 1.5rem;
    padding-block: 26px 46px;
  }

  .landing-hero h1 {
    font-size: clamp(2.8rem, 17vw, 4.6rem);
  }

  .landing-hero-seal {
    right: 0.5rem;
    bottom: -0.75rem;
  }

  .landing-grid {
    grid-template-columns: 1fr;
  }

  .landing-rules-frame {
    min-height: 220px;
  }
}

@media (max-width: 360px) {
  .landing-header {
    flex-wrap: nowrap;
    gap: 0.45rem;
    min-height: 48px;
    padding-block: 4px;
  }

  .landing-brand > span,
  .landing-hero .landing-kicker {
    display: none;
  }

  .landing-brand img {
    width: 42px;
  }

  .landing-header-actions {
    width: auto;
    gap: 0.45rem;
  }

  .landing-nav {
    gap: 0.35rem;
  }

  .landing-nav a {
    font-size: 0.72rem;
  }

  .landing-language-switch .lang-btn img {
    width: 20px;
    height: 14px;
  }

  .landing-hero {
    padding-top: 18px;
  }

  .landing-lead {
    margin-top: 12px;
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .landing-actions {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page *,
  .landing-page *::before,
  .landing-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Landing refresh: retain the supplied folk-board and plaque language. */
.landing-brand img {
  width: clamp(168px, 17vw, 220px);
}

.landing-hero {
  isolation: isolate;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: max(calc((100vw - 1180px) / 2), clamp(24px, 5vw, 72px));
  color: #fff4d8;
  background:
    radial-gradient(circle at 74% 38%, rgba(223, 177, 73, 0.12), transparent 30rem),
    linear-gradient(135deg, #263a27, #17281d);
  border-bottom: 8px solid #b77925;
}

.landing-hero-copy,
.landing-hero-visual {
  position: relative;
  z-index: 1;
}

.landing-hero-leaf-shadow,
.landing-hero-leaves {
  position: absolute;
  pointer-events: none;
  background: url("/assets/landing/hero-leaves.webp") center / contain no-repeat;
  aspect-ratio: 1;
}

.landing-hero-leaf-shadow {
  width: clamp(120px, 18vw, 250px);
  right: 10%;
  top: 2%;
  opacity: 0.11;
  filter: brightness(0.25) blur(2px);
  transform: translateY(var(--hero-bg-y, 0px)) rotate(20deg);
  z-index: 0;
}

.landing-hero-leaves {
  width: clamp(72px, 11vw, 160px);
  right: 0;
  bottom: 0;
  opacity: 0.78;
  transform: translateY(var(--hero-fg-y, 0px));
  z-index: 0;
}

@media (max-width: 760px) {
  .landing-hero-leaves {
    width: 72px;
    opacity: 0.55;
  }
}

.landing-hero .landing-kicker,
.landing-hero .landing-lead {
  color: #f4dfae;
}

.landing-hero .landing-lead {
  max-width: 36rem;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}

.landing-hero-promise {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  color: #dbc78e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.landing-hero-promise::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: #c28c36;
}

.landing-hero h1 {
  color: #fff8df;
  text-shadow: 0 4px 0 rgba(24, 12, 5, 0.28);
}

.landing-hero h1 span {
  color: #e4a83f;
}

.plaque-btn,
.landing-cta {
  display: inline-flex;
  min-height: 48px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.72rem 1.25rem;
  border: 2px solid #d69a36;
  border-radius: 5px;
  color: #fff4d8;
  background: linear-gradient(#3e672b, #294d20);
  box-shadow:
    0 4px 0 #173516,
    0 8px 18px rgba(26, 17, 8, 0.22);
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 120ms ease,
    filter 120ms ease;
}

.plaque-btn::after,
.landing-cta::after {
  content: "›";
  font-size: 1.3em;
  line-height: 1;
}

.plaque-btn:hover,
.plaque-btn:focus-visible,
.landing-cta:hover,
.landing-cta:focus-visible {
  color: #fff8e7;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.plaque-btn.is-secondary,
.landing-secondary-cta.plaque-btn {
  color: #31551f;
  background: linear-gradient(#fff6da, #ead098);
  box-shadow:
    0 4px 0 #a96b24,
    0 8px 18px rgba(26, 17, 8, 0.18);
}

.plaque-btn.is-secondary:hover,
.plaque-btn.is-secondary:focus-visible,
.landing-secondary-cta.plaque-btn:hover,
.landing-secondary-cta.plaque-btn:focus-visible {
  color: #3b1f0f;
}

.landing-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 164px));
  align-items: stretch;
  gap: clamp(8px, 2vw, 16px);
}

.landing-actions > a {
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  padding-inline: 0.75rem;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.landing-actions > a::after {
  flex: 0 0 auto;
}

@media (max-width: 340px) {
  .landing-actions {
    max-inline-size: 164px;
    grid-template-columns: 1fr;
  }

  .landing-actions > a {
    block-size: 66px;
  }
}

.hero-board-card {
  justify-self: end;
  width: min(660px, 100%);
  transform: translateX(var(--hero-board-x, 0px)) rotateY(var(--hero-board-angle, 0deg));
}
.hero-board-card-inner {
  position: relative;
  padding: 0;
}
.hero-board-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding: 0 6px;
  color: #eedcaf;
  font-size: 0.82rem;
  font-weight: 800;
}
.hero-board-real {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
}
.hero-board-real::before {
  content: "";
  position: absolute;
  width: 72%;
  height: 56%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(243, 206, 118, 0.2) 0%,
    rgba(243, 206, 118, 0.06) 38%,
    rgba(19, 30, 20, 0) 72%
  );
  filter: blur(10px);
  transform: translateY(34px);
}
.hero-board-caption {
  position: absolute;
  right: 6px;
  bottom: 0;
  color: #dbc78e;
  font-size: 0.72rem;
  font-weight: 800;
  opacity: 0.84;
}

.v1-stage {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  width: 100%;
}
.v1-stage::after {
  content: "";
  position: absolute;
  bottom: 20px;
  width: 72%;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 11, 7, 0.3), rgba(5, 11, 7, 0) 72%);
  filter: blur(15px);
}
.v1-board-art {
  position: relative;
  z-index: 2;
  width: min(94%, 720px);
  transform: translateY(-5px);
}
.v1-board-outline {
  position: relative;
  width: 100%;
  aspect-ratio: 3.5 / 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(2, 1fr);
  border: 3px solid #2a2218;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 22% 14%, rgb(255 251 225 / 34%), transparent 27%),
    repeating-linear-gradient(7deg, rgb(91 61 22 / 3%) 0 1px, transparent 1px 10px),
    linear-gradient(180deg, #f2e0b3 0%, #e1c47f 100%);
  box-shadow:
    0 7px 0 #806039,
    0 14px 18px rgb(10 20 12 / 22%),
    inset 0 0 0 2px rgb(255 255 255 / 22%);
  overflow: hidden;
}
.v1-board-outline::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.15), transparent 31%),
    radial-gradient(circle at 67% 74%, rgba(117, 82, 27, 0.08), transparent 26%);
  pointer-events: none;
}
.v1-pit {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  border-left: 2px solid #2a2218;
}
.v1-pit.top {
  border-bottom: 2px solid #2a2218;
}
.v1-pit.col5 {
  border-right: 2px solid #2a2218;
}
.v1-pit::before {
  content: none;
}
.v1-pit:nth-child(2) {
  --pit-shift-x: -2%;
  --pit-shift-y: 1%;
  --pit-tone: -7deg;
  --pit-light: 0.98;
}
.v1-pit:nth-child(3) {
  --pit-shift-x: 2%;
  --pit-shift-y: -2%;
  --pit-tone: 5deg;
  --pit-light: 1.03;
}
.v1-pit:nth-child(4) {
  --pit-shift-x: -1%;
  --pit-shift-y: 3%;
  --pit-tone: -3deg;
  --pit-light: 1.01;
}
.v1-pit:nth-child(5) {
  --pit-shift-x: 3%;
  --pit-shift-y: 1%;
  --pit-tone: 8deg;
  --pit-light: 0.96;
}
.v1-pit:nth-child(6) {
  --pit-shift-x: -3%;
  --pit-shift-y: -1%;
  --pit-tone: 2deg;
  --pit-light: 1.04;
}
.v1-pit:nth-child(8) {
  --pit-shift-x: 1%;
  --pit-shift-y: -3%;
  --pit-tone: -9deg;
  --pit-light: 1;
}
.v1-pit:nth-child(9) {
  --pit-shift-x: -2%;
  --pit-shift-y: 2%;
  --pit-tone: 6deg;
  --pit-light: 0.97;
}
.v1-pit:nth-child(10) {
  --pit-shift-x: 2%;
  --pit-shift-y: 2%;
  --pit-tone: -5deg;
  --pit-light: 1.04;
}
.v1-pit:nth-child(11) {
  --pit-shift-x: -1%;
  --pit-shift-y: -1%;
  --pit-tone: 10deg;
  --pit-light: 0.95;
}
.v1-pit:nth-child(12) {
  --pit-shift-x: 3%;
  --pit-shift-y: -2%;
  --pit-tone: -2deg;
  --pit-light: 1.02;
}
.v1-quan {
  position: relative;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(246, 229, 184, 0.58), rgba(214, 181, 105, 0.36));
}
.v1-quan.left {
  grid-column: 1;
  border-right: 2px solid #2a2218;
}
.v1-quan.right {
  grid-column: 7;
  border-left: 2px solid #2a2218;
}
.v1-quan::before {
  content: none;
}
.v1-quan-stone {
  position: relative;
  z-index: 2;
  width: 31px;
  height: 23px;
  border-radius: 46% 54% 50% 48%;
  background: linear-gradient(135deg, #d7b15e, #99622b);
  border: 1px solid rgba(58, 34, 12, 0.48);
  box-shadow:
    inset 0 -4px 0 rgba(0, 0, 0, 0.14),
    inset 2px 2px 3px rgba(255, 240, 191, 0.34),
    2px 3px 0 rgba(24, 23, 18, 0.18);
  transform: rotate(16deg);
}
.v1-stone {
  position: absolute;
  width: 14px;
  height: 11px;
  border: 1px solid rgba(24, 23, 18, 0.25);
  border-radius: 48% 54% 46% 52%;
  box-shadow:
    inset 1px 1px 2px rgb(255 255 255 / 46%),
    inset -1px -2px 2px rgb(35 28 18 / 13%),
    1px 2px 1px rgb(24 23 18 / 18%);
  filter: saturate(0.88) hue-rotate(var(--pit-tone, 0deg)) brightness(var(--pit-light, 1));
}
.v1-stone:nth-child(1) {
  left: calc(20% + var(--pit-shift-x, 0%));
  top: calc(23% + var(--pit-shift-y, 0%));
  border-radius: 56% 44% 51% 49% / 44% 58% 42% 56%;
  background: linear-gradient(145deg, #c8beaa, #938979);
  transform: rotate(12deg);
}
.v1-stone:nth-child(2) {
  left: calc(57% + var(--pit-shift-x, 0%));
  top: calc(19% + var(--pit-shift-y, 0%));
  border-radius: 43% 57% 47% 53% / 54% 45% 55% 46%;
  background: linear-gradient(145deg, #999184, #655e52);
  transform: rotate(-24deg);
}
.v1-stone:nth-child(3) {
  left: calc(39% + var(--pit-shift-x, 0%));
  top: calc(45% + var(--pit-shift-y, 0%));
  border-radius: 58% 42% 55% 45% / 45% 53% 47% 55%;
  background: linear-gradient(145deg, #deb58f, #ad7e5b);
  transform: rotate(31deg);
}
.v1-stone:nth-child(4) {
  left: calc(65% + var(--pit-shift-x, 0%));
  top: calc(61% + var(--pit-shift-y, 0%));
  border-radius: 46% 54% 42% 58% / 57% 44% 56% 43%;
  background: linear-gradient(145deg, #ead9ad, #c3aa78);
  transform: rotate(2deg);
}
.v1-stone:nth-child(5) {
  left: calc(18% + var(--pit-shift-x, 0%));
  top: calc(66% + var(--pit-shift-y, 0%));
  border-radius: 52% 48% 59% 41% / 43% 56% 44% 57%;
  background: linear-gradient(145deg, #81786d, #4d4740);
  transform: rotate(-9deg);
}

.v1-pit:nth-child(3n) > .v1-stone:nth-child(1) {
  left: calc(13% + var(--pit-shift-x));
  top: calc(31% + var(--pit-shift-y));
}
.v1-pit:nth-child(3n) > .v1-stone:nth-child(2) {
  left: calc(61% + var(--pit-shift-x));
  top: calc(28% + var(--pit-shift-y));
}
.v1-pit:nth-child(3n) > .v1-stone:nth-child(3) {
  left: calc(34% + var(--pit-shift-x));
  top: calc(53% + var(--pit-shift-y));
}
.v1-pit:nth-child(3n) > .v1-stone:nth-child(4) {
  left: calc(68% + var(--pit-shift-x));
  top: calc(58% + var(--pit-shift-y));
}
.v1-pit:nth-child(3n) > .v1-stone:nth-child(5) {
  left: calc(25% + var(--pit-shift-x));
  top: calc(69% + var(--pit-shift-y));
}

.v1-pit:nth-child(3n + 1) > .v1-stone:nth-child(1) {
  left: calc(29% + var(--pit-shift-x));
  top: calc(15% + var(--pit-shift-y));
}
.v1-pit:nth-child(3n + 1) > .v1-stone:nth-child(2) {
  left: calc(65% + var(--pit-shift-x));
  top: calc(21% + var(--pit-shift-y));
}
.v1-pit:nth-child(3n + 1) > .v1-stone:nth-child(3) {
  left: calc(47% + var(--pit-shift-x));
  top: calc(53% + var(--pit-shift-y));
}
.v1-pit:nth-child(3n + 1) > .v1-stone:nth-child(4) {
  left: calc(17% + var(--pit-shift-x));
  top: calc(57% + var(--pit-shift-y));
}
.v1-pit:nth-child(3n + 1) > .v1-stone:nth-child(5) {
  left: calc(66% + var(--pit-shift-x));
  top: calc(68% + var(--pit-shift-y));
}

.v1-pit:nth-child(even) > .v1-stone:nth-child(1) {
  background: linear-gradient(145deg, #81786d, #4d4740);
}
.v1-pit:nth-child(even) > .v1-stone:nth-child(2) {
  background: linear-gradient(145deg, #deb58f, #ad7e5b);
}
.v1-pit:nth-child(even) > .v1-stone:nth-child(3) {
  background: linear-gradient(145deg, #ead9ad, #c3aa78);
}
.v1-pit:nth-child(even) > .v1-stone:nth-child(4) {
  background: linear-gradient(145deg, #c8beaa, #938979);
}
.v1-pit:nth-child(even) > .v1-stone:nth-child(5) {
  background: linear-gradient(145deg, #999184, #655e52);
}

.v1-pit:nth-child(3n) > .v1-stone:nth-child(1) {
  background: linear-gradient(145deg, #deb58f, #ad7e5b);
}
.v1-pit:nth-child(3n) > .v1-stone:nth-child(2) {
  background: linear-gradient(145deg, #ead9ad, #c3aa78);
}
.v1-pit:nth-child(3n) > .v1-stone:nth-child(3) {
  background: linear-gradient(145deg, #81786d, #4d4740);
}
.v1-pit:nth-child(3n) > .v1-stone:nth-child(4) {
  background: linear-gradient(145deg, #c8beaa, #938979);
}
.v1-pit:nth-child(3n) > .v1-stone:nth-child(5) {
  background: linear-gradient(145deg, #999184, #655e52);
}

.landing-hero[data-hero-drop="waiting"] .v1-pit:not(.top) > .v1-stone:first-child {
  opacity: 0;
}

@media (min-width: 761px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .landing-hero[data-hero-drop="settled"] .v1-pit:hover > .v1-stone {
    --pit-stone-lift: -10px;
    translate: 0 var(--pit-stone-lift);
    transition-delay: 0ms;
    transition-duration: 120ms;
    transition-timing-function: ease-out;
    filter: brightness(1.08) saturate(0.92) hue-rotate(var(--pit-tone, 0deg));
    box-shadow:
      inset 1px 1px 2px rgb(255 255 255 / 50%),
      inset -1px -2px 2px rgb(35 28 18 / 12%),
      0 9px 5px -4px rgb(23 18 11 / 38%);
  }

  .landing-hero[data-hero-drop="settled"] .v1-pit > .v1-stone {
    pointer-events: none;
    translate: 0 var(--pit-stone-lift, 0px);
    transition:
      translate 220ms cubic-bezier(0.2, 0.85, 0.35, 1.16),
      filter 150ms ease,
      box-shadow 220ms ease;
  }

  .landing-hero[data-hero-drop="settled"] .v1-pit:not(:hover) > .v1-stone:nth-child(2) {
    transition-delay: 25ms;
  }

  .landing-hero[data-hero-drop="settled"] .v1-pit:not(:hover) > .v1-stone:nth-child(3) {
    transition-delay: 50ms;
  }

  .landing-hero[data-hero-drop="settled"] .v1-pit:not(:hover) > .v1-stone:nth-child(4) {
    transition-delay: 75ms;
  }

  .landing-hero[data-hero-drop="settled"] .v1-pit:not(:hover) > .v1-stone:nth-child(5) {
    transition-delay: 100ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero[data-hero-drop] .v1-stone {
    animation: none !important;
    opacity: 1 !important;
    translate: none !important;
  }

  .landing-hero .hero-board-card,
  .landing-hero-leaf-shadow,
  .landing-hero-leaves {
    transition: none !important;
  }
}

.modes {
  border-top: 2px solid var(--landing-gold-dark);
}

.mode-row {
  display: grid;
  grid-template-columns: 70px minmax(180px, 0.7fr) minmax(260px, 1.2fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 42px);
  min-height: 118px;
  border-bottom: 1px solid rgba(95, 55, 25, 0.38);
}

.mode-number {
  color: var(--landing-cinnabar);
  font-family: var(--landing-font-display);
  font-size: 1.5rem;
  font-weight: 900;
}

.mode-title h3,
.mode-title small,
.mode-row p {
  margin: 0;
}

.mode-title h3 {
  font-family: var(--landing-font-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.mode-title small {
  color: var(--landing-cinnabar);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mode-row p {
  color: var(--landing-muted);
  line-height: 1.6;
}

.mode-action {
  inline-size: 168px;
  min-width: 0;
  max-inline-size: 100%;
  white-space: nowrap;
}

.landing-main > section:nth-of-type(odd):not(.landing-hero),
.landing-main > section:nth-of-type(even) {
  position: relative;
  isolation: isolate;
  background: transparent;
}

.landing-main > section:nth-of-type(odd):not(.landing-hero)::before,
.landing-main > section:nth-of-type(even)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  inset-inline: calc(50% - 50vw);
  background: var(--landing-section-background);
  pointer-events: none;
}

.landing-main > section:nth-of-type(odd):not(.landing-hero) {
  --landing-section-background: linear-gradient(135deg, #263a27, #17281d);
  color: #fff4d8;
}

.landing-main > section:nth-of-type(even) {
  --landing-section-background: linear-gradient(180deg, #fff4d8, #f2d492);
}

.landing-main > section:nth-of-type(odd):not(.landing-hero) .landing-kicker,
.landing-main > section:nth-of-type(odd):not(.landing-hero) .landing-section-heading p {
  color: #f4dfae;
}

.landing-main > section:nth-of-type(odd):not(.landing-hero) h2 {
  color: #fff8df;
}

.landing-main > section:nth-of-type(odd):not(.landing-hero) .landing-section-accent {
  color: #e4a83f;
}

.landing-rules-shell {
  width: min(1320px, calc(100vw - 32px));
  box-sizing: border-box;
  margin-left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 860px) {
  .landing-hero {
    width: 100vw;
    padding-inline: clamp(24px, 5vw, 72px);
  }

  .landing-hero-visual {
    order: 0;
  }

  .hero-board-card {
    justify-self: center;
    width: min(560px, 100%);
    margin-inline: auto;
  }

  .mode-row {
    grid-template-columns: 52px minmax(150px, 0.8fr) 1.2fr;
    padding-block: 18px;
  }

  .mode-action {
    grid-column: 2 / -1;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .landing-brand img {
    width: clamp(118px, 38vw, 168px);
  }

  .landing-nav {
    display: none;
  }

  .landing-header-actions {
    width: auto;
  }

  .landing-hero {
    padding-block: 28px 36px;
    gap: 1.25rem;
  }

  .landing-hero-visual {
    display: block;
    width: 100%;
  }

  .hero-board-card {
    justify-self: center;
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
    transform: none !important;
  }

  .hero-board-label {
    margin: 0 0 10px;
    padding: 0 2px;
    font-size: 0.72rem;
  }

  .hero-board-real {
    min-height: 0;
    padding-block: 4px 18px;
  }

  .hero-board-real::before {
    display: none;
  }

  .hero-board-caption {
    font-size: 0.65rem;
    right: 4px;
    bottom: 0;
  }

  .v1-stage {
    min-height: 0;
  }

  .v1-stage::after {
    bottom: 2px;
    height: 16px;
  }

  .v1-board-art {
    width: 100%;
    transform: translateY(-2px);
  }

  .v1-board-outline {
    border-width: 2px;
    box-shadow:
      0 4px 0 #806039,
      0 8px 14px rgb(10 20 12 / 22%),
      inset 0 0 0 1.5px rgb(255 255 255 / 22%);
  }

  .v1-stone {
    width: 11px;
    height: 9px;
  }

  .v1-quan-stone {
    width: 22px;
    height: 16px;
  }

  .mode-row {
    grid-template-columns: 42px 1fr;
    gap: 10px 14px;
  }

  .mode-row p,
  .mode-action {
    grid-column: 2;
  }

  .landing-rules-shell {
    width: calc(100vw - 16px);
    padding: 10px;
  }
}

@media (max-width: 360px) {
  .landing-brand img {
    width: 112px;
  }

  .hero-board-label {
    font-size: 0.62rem;
    gap: 6px;
  }

  .v1-stone {
    width: 9px;
    height: 7px;
  }

  .v1-quan-stone {
    width: 18px;
    height: 13px;
  }
}

html {
  scroll-behavior: smooth;
}
.landing-section[id] {
  scroll-margin-top: 24px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.landing-roadmap-card {
  margin-top: 28px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--landing-line-gold);
  border-radius: 12px;
  background:
    radial-gradient(circle at 10% 10%, rgba(207, 168, 110, 0.12), transparent 45%),
    rgba(255, 252, 244, 0.9);
  box-shadow: 0 4px 16px rgba(43, 23, 12, 0.05);
}

.landing-roadmap-heading h3 {
  margin: 0 0 8px;
  color: var(--landing-wood);
  font-family: var(--landing-font-display);
  font-size: 1.3rem;
  font-weight: 750;
}

.landing-roadmap-heading p {
  margin: 0 0 16px;
  color: var(--landing-ink-light);
  font-size: 1rem;
}

.landing-roadmap-steps {
  margin: 0;
  padding-left: 20px;
  color: var(--landing-ink);
}

.landing-roadmap-steps li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.landing-roadmap-steps li:last-child {
  margin-bottom: 0;
}
