:root {
  --ground: #111010;
  --panel: #1f1d1c;
  --ink: #efe3d1;
  --muted: #a39b90;
  --line: #2b2826;
  --ember: #ff704c;
  --spark: #ffc59a;
  --bone: #e8dcc6;
  --paper: #efe6d6;
  --paper-ink: #1d1a17;
  --paper-dim: #5d554c;
  --paper-line: #d6cab6;
  --copper: #a8401f;
  --cell: #2a2827;
  --wrap: 1320px;
  --sans: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --mono: ui-monospace,Menlo,"Roboto Mono",Consolas,monospace;
  color-scheme: dark;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ground);
  font-synthesis: weight style;
  text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

button,summary {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

button:focus-visible,a:focus-visible,summary:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 5px;
}

h1,h2,h3,p,figure,dl,dd,ul {
  margin: 0;
}

.wrap {
  width: min(calc(100% - clamp(48px,10vw,160px)),var(--wrap));
  margin-inline: auto;
}

.ic {
  display: block;
  flex: none;
}

.skip,.sr-only {
  position: absolute;
  overflow: hidden;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
}

.skip:focus {
  clip-path: none;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  color: var(--ground);
  background: var(--ink);
  z-index: 10;
}

/* The wordmark: "wick" in heavy bone type with an ember period, as in the app. */
.wordmark {
  font-family: var(--sans);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1;
  color: var(--ink);
}

.wordmark i {
  font-style: normal;
  color: var(--ember);
}

.site-head {
  background: var(--ground);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: clamp(28px,5vw,80px);
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 1.85rem;
  padding-bottom: 4px;
}

.site-head nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 32px;
}

.site-head nav a,.studio-link {
  display: flex;
  align-items: center;
  font-size: .91rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  white-space: nowrap;
}

.site-head nav a[aria-current] {
  color: var(--ink);
}

.site-head nav a[aria-current]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 2px;
  background: var(--ember);
}

.site-head a:hover {
  color: #fff;
}

.studio-link {
  margin-left: auto;
  padding-left: 24px;
  border-left: 1px solid #3a3532;
  letter-spacing: .01em;
}

.foot a:hover,.policy-game:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
  isolation: isolate;
  background: var(--ground);
  overflow: hidden;
}

/* The hero art is portrait and only 1024px wide, so it sits on the right
   and fades into the ground instead of spanning the page. */
.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(58%,880px);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  -webkit-mask-image: linear-gradient(90deg,transparent 0%,#000 30%),linear-gradient(0deg,transparent 0%,#000 26%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg,transparent 0%,#000 30%),linear-gradient(0deg,transparent 0%,#000 26%);
  mask-composite: intersect;
}

.hero-shade {
  display: none;
}

.hero-in {
  position: relative;
  min-height: clamp(500px,42vw,660px);
  display: flex;
  align-items: center;
  padding-block: 66px 72px;
}

.hero-copy {
  width: max-content;
  max-width: 52%;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ember);
}

.k-rule {
  width: 24px;
  height: 2px;
  background: currentColor;
  display: block;
}

.hero h1 {
  margin: 14px 0 20px -.04em;
  font-size: clamp(5.5rem,11vw,10.5rem);
}

.hero-sub {
  font-size: clamp(1.45rem,2.1vw,2.05rem);
  letter-spacing: -.035em;
  line-height: 1.22;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 34px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  min-height: 48px;
  border-radius: 9px;
  font: 650 .94rem/1.15 var(--sans);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background .18s,transform .18s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn .ic {
  width: 18px;
  height: 18px;
}

.primary {
  background: var(--ember);
  color: #1a0f0b;
}

.primary:hover {
  background: #ff8a6b;
}

.ghost {
  color: var(--ink);
  border-color: #efe3d140;
  background: #1f1d1cc4;
}

.ghost:hover {
  background: #2e2a27;
}

.ghost .ic {
  width: 15px;
  height: 15px;
}

.spec-strip {
  background: var(--panel);
  border-block: 1px solid var(--line);
}

.facts {
  min-height: 94px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  align-items: center;
  padding: 18px 0;
}

.facts>div {
  position: relative;
  display: block;
  min-width: 0;
  padding-left: 39px;
}

.facts>div+div {
  border-left: 1px solid #3a3532;
  padding-left: calc(clamp(18px,3.5vw,52px) + 39px);
}

.facts dt .ic {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.facts>div+div .ic {
  left: clamp(18px,3.5vw,52px);
}

.facts .ic {
  color: var(--ember);
  width: 24px;
  height: 24px;
}

.facts dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.facts dd {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -.015em;
}

.facts dd.platforms {
  display: flex;
  align-items: center;
  gap: .55em;
}

.facts .os-ic {
  display: block;
  flex: none;
  width: 1.15em;
  height: 1.15em;
  color: var(--ink);
}

.modes {
  background: var(--paper);
  color: var(--paper-ink);
  padding: clamp(52px,5.2vw,87px) 0 clamp(62px,6.8vw,108px);
}

.modes h2,.how h2,.policy-hero h1 {
  font-size: clamp(2.75rem,4.6vw,4.9rem);
  letter-spacing: -.06em;
  line-height: .99;
  font-weight: 850;
}

.period {
  color: var(--copper);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(20px,2.25vw,34px);
  margin-top: 30px;
}

.mode-card {
  min-width: 0;
}

.mode-art {
  aspect-ratio: 1.68;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  display: block;
  border-radius: 15px;
  transition: box-shadow .22s;
}

.mode-art:hover {
  box-shadow: 0 8px 22px #1a0f0b33;
}

.mode-art img {
  transition: transform .36s cubic-bezier(.2,.7,.3,1);
}

.art-0 {
  background: radial-gradient(ellipse at 50% 110%,#3a2219,#171514 70%);
}

.mode-board {
  width: 74%;
  height: auto;
  position: absolute;
  top: 8%;
  left: 13%;
  transform: rotate(-9deg);
  border-radius: 6px;
  box-shadow: 0 18px 30px #0009;
}

.art-0:hover img {
  transform: rotate(-7deg) scale(1.03);
}

.art-1 {
  background: radial-gradient(ellipse at 70% 30%,#ff8a68,var(--ember) 45%,#d9573a);
}

.art-2 {
  background: var(--ground);
}

.mode-lesson {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.art-2:hover img {
  transform: scale(1.04);
}

.expand {
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  background: #111010ba;
  color: white;
  backdrop-filter: blur(5px);
}

.expand .ic {
  width: 16px;
  height: 16px;
}

.mode-card h3 {
  font-size: clamp(1.45rem,1.9vw,1.9rem);
  letter-spacing: -.045em;
  margin: 21px 0 9px;
}

.mode-card p {
  font-size: 1.025rem;
  line-height: 1.6;
  color: var(--paper-dim);
  max-width: 40ch;
}

/* Stones: charcoal and bone discs with the fuse as an ember arc around them.
   --f is the fuse, 0 to 4; the arc covers --f quarters of the ring. */
.stone {
  --f: 4;
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  font: 500 1em/1 var(--sans);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: radial-gradient(circle at 34% 28%,#3a3735,#0c0b0b 62%);
  box-shadow: 0 4px 10px #0008;
}

.stone.white {
  color: #2a2420;
  background: radial-gradient(circle at 34% 28%,#fbf4e6,var(--bone) 44%,#b3a891);
}

.stone::before {
  content: "";
  position: absolute;
  inset: -13%;
  border-radius: 50%;
  background: conic-gradient(var(--ember) calc(var(--f) * 90deg),#efe3d11f 0);
  -webkit-mask: radial-gradient(farthest-side,transparent calc(100% - .17em),#000 calc(100% - .16em));
  mask: radial-gradient(farthest-side,transparent calc(100% - .17em),#000 calc(100% - .16em));
  transition: background .3s;
}

.duel {
  position: absolute;
  inset: 0;
  font-size: clamp(1.3rem,2.2vw,2rem);
}

.duel>i,.policy-art>i {
  display: block;
  position: absolute;
  left: 52%;
  top: 50%;
  border: 1px solid #1a0f0b3d;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  aspect-ratio: 1;
  width: 48%;
}

.duel>i:nth-child(2) {
  width: 78%;
}

.duel .stone,.policy-art .stone {
  position: absolute;
}

.duel .stone {
  width: 24%;
  box-shadow: 0 14px 22px #3a120866;
}

.duel .stone::before {
  background: conic-gradient(#1a0f0b calc(var(--f) * 90deg),#1a0f0b2e 0);
}

.duel .black {
  left: 30%;
  top: 38%;
}

.duel .white {
  left: 52%;
  top: 20%;
}

.how {
  border-top: 1px solid var(--line);
}

.how-in {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(42px,7.5vw,125px);
  align-items: center;
  padding-block: clamp(60px,7.8vw,117px);
}

.how h2 {
  margin: 19px 0 20px;
}

.how h2 em {
  font-style: normal;
  color: var(--ember);
}

.how-copy>p:last-child {
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 44ch;
}

.demo {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.demo-stage {
  padding: clamp(16px,2.4vw,28px) clamp(16px,2.6vw,32px) 10px clamp(8px,1.4vw,16px);
  background: var(--ground);
}

/* The 7 by 7 board of the rules walkthrough, with rank and file labels. */
.board {
  display: grid;
  grid-template-columns: 1.6em repeat(7,minmax(0,1fr));
  gap: clamp(3px,.55vw,6px);
  max-width: 470px;
  margin-inline: auto;
  font-size: clamp(.8rem,1.5vw,1.05rem);
}

.board .rank,.board .file {
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: .78em;
  color: #6d675f;
}

.board .file {
  padding-top: 4px;
}

.board>i {
  position: relative;
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--cell);
  display: grid;
  place-items: center;
  transition: background .35s,box-shadow .35s;
}

/* White's ash: hatched grey. Black's scorch: charred ember-dark with blotches. */
.board>i.ash {
  background: repeating-linear-gradient(135deg,#efe3d138 0 1px,transparent 1px 7px),#6e6a65;
  box-shadow: inset 0 0 0 1px #efe3d147;
}

.is-scorched .board>i[data-after="b"] {
  background: radial-gradient(circle at 30% 35%,#06030299 0 9%,transparent 11%),radial-gradient(circle at 66% 62%,#06030299 0 12%,transparent 14%),radial-gradient(circle at 58% 24%,#06030280 0 6%,transparent 8%),#2a1912;
  box-shadow: inset 0 0 0 1px #ff704c80;
}

.board .stone {
  width: 80%;
}

.board .stone::after {
  content: "";
  position: absolute;
  inset: -60%;
  border-radius: 50%;
  background: radial-gradient(circle,#ffc59a 0,#ff704ccc 28%,#ff704c00 66%);
  opacity: 0;
  transform: scale(.3);
  pointer-events: none;
}

.board .stone.boom {
  animation: burst .55s ease-out forwards;
}

.board .stone.boom::after {
  animation: flare .55s ease-out forwards;
}

@keyframes burst {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.14);
    color: transparent;
  }
  100% {
    transform: scale(.2);
    opacity: 0;
    color: transparent;
  }
}

@keyframes flare {
  0% {
    opacity: 0;
    transform: scale(.3);
  }
  35% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

.demo-note {
  min-height: 4.9em;
  padding: 14px 22px 0;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.demo-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 18px;
  gap: 12px;
  font-size: .95rem;
}

.demo-control p {
  font-weight: 600;
}

.demo-control p:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--ember);
  border-radius: 50%;
  margin-right: 9px;
}

.demo-control button {
  min-height: 43px;
}

.demo noscript p {
  padding: 0 22px 20px;
  color: var(--muted);
}

.foot {
  background: var(--ground);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.foot-in,.foot-in>div,.foot nav {
  display: flex;
  align-items: center;
}

.foot-in {
  justify-content: space-between;
  min-height: 96px;
  gap: 20px;
}

.foot-in>div {
  gap: 15px;
}

.foot-in span {
  font-size: .87rem;
}

.foot a {
  text-decoration: none;
}

.foot-game {
  display: block;
  font-size: 1.55rem;
  padding-bottom: 3px;
}

.foot nav {
  gap: 26px;
  font-size: .9rem;
}

.policy-hero {
  background: var(--ground);
  color: var(--ink);
  overflow: hidden;
}

.policy-head-in {
  min-height: 265px;
  padding-block: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  isolation: isolate;
}

.policy-game {
  display: inline-block;
  color: var(--ember);
  font-family: var(--mono);
  font-size: .83rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  text-decoration: none;
  margin-bottom: 16px;
}

.policy-hero h1 {
  font-size: clamp(3.1rem,5.5vw,5.7rem);
}

.policy-hero .period {
  color: var(--ember);
}

.policy-hero p {
  color: var(--muted);
  font-size: .97rem;
  margin-top: 19px;
}

.policy-art {
  width: 31%;
  height: 130%;
  position: absolute;
  right: 0;
  top: -12%;
  z-index: -1;
  font-size: clamp(1.4rem,2.6vw,2.4rem);
}

.policy-art>i {
  border-color: #efe3d11f;
  width: 65%;
}

.policy-art>i:nth-child(2) {
  width: 97%;
}

.policy-art .black {
  width: 30%;
  top: 44%;
  left: 26%;
}

.policy-art .white {
  width: 24%;
  top: 27%;
  left: 56%;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(165px,245px) minmax(0,705px);
  gap: clamp(45px,8vw,140px);
  padding-block: clamp(50px,5.5vw,88px) 90px;
}

main:has(.policy-layout) {
  background: var(--paper);
  color: var(--paper-ink);
}

.contents {
  position: sticky;
  top: 36px;
  border-left: 1px solid var(--paper-line);
  padding-left: 20px;
}

.contents h2,.mobile-contents summary {
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contents h2 {
  margin-bottom: 15px;
}

.contents ul,.mobile-contents ul {
  list-style: none;
  padding: 0;
}

.contents li a,.mobile-contents li a {
  display: block;
  text-decoration: none;
  font-size: .99rem;
  color: var(--paper-dim);
  padding: 7px 0;
}

.contents a:hover,.contents a[aria-current="location"],.mobile-contents a:hover {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-contents {
  display: none;
}

.policy-body {
  max-width: 70ch;
  font-size: 1.065rem;
  line-height: 1.72;
  color: #3f3832;
}

.policy-intro {
  border-left: 3px solid var(--ember);
  padding: 1px 0 1px 21px;
  color: var(--paper-ink);
  font-size: 1.18rem;
  line-height: 1.55;
}

.policy-body section {
  border-top: 1px solid var(--paper-line);
  margin-top: 32px;
  padding-top: 28px;
}

.policy-body h2 {
  font-size: clamp(1.48rem,2.4vw,2.05rem);
  line-height: 1.2;
  letter-spacing: -.045em;
  color: var(--paper-ink);
  margin-bottom: 12px;
}

.policy-body p+p,.policy-body p+ul,.policy-body ul+p {
  margin-top: 12px;
}

.policy-body ul {
  padding-left: 22px;
}

.policy-body li {
  padding-left: 3px;
  margin-block: 5px;
}

.policy-body li::marker {
  color: var(--copper);
}

.policy-body strong {
  color: var(--paper-ink);
}

.policy-body a {
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
  color: var(--copper);
}

#gallery {
  margin: auto;
  padding: 0;
  width: min(430px,calc(100vw - 30px));
  max-height: calc(100dvh - 28px);
  border: 1px solid #3a3532;
  border-radius: 16px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 30px 120px #0008;
}

#gallery::backdrop {
  background: #090808dc;
}

.viewer-top,.viewer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  gap: 10px;
}

.viewer-top h2 {
  font-size: 1.08rem;
  letter-spacing: -.025em;
}

.icon-btn,.text-btn {
  background: transparent;
  color: var(--ink);
  border: 0;
  min-height: 42px;
  padding: 8px;
}

.icon-btn {
  border-radius: 50%;
}

.text-btn {
  font-size: .92rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.viewer-bottom span {
  color: var(--muted);
  font-size: .87rem;
}

#gallery figure {
  background: #0b0a0a;
  display: grid;
  place-items: center;
  padding: 4px;
}

#gallery-image {
  width: auto;
  max-height: calc(100dvh - 174px);
  object-fit: contain;
}

.dialog-open {
  overflow: hidden;
}

@media(max-width:900px) {
  .facts>div {
    padding-left: 30px;
  }
  .facts>div+div {
    padding-left: 45px;
  }
  .facts>div+div .ic {
    left: 15px;
  }
  .facts .ic {
    width: 20px;
  }
  .facts dd {
    font-size: .91rem;
  }
  .hero-copy {
    max-width: 62%;
  }
  .cards {
    gap: 18px;
  }
  .mode-card p {
    font-size: 1rem;
  }
  .how-in {
    gap: 30px;
    grid-template-columns: 1fr;
  }
  .demo {
    max-width: 560px;
  }
  .policy-layout {
    grid-template-columns: 170px 1fr;
    gap: 30px;
  }
}

@media(max-width:680px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .nav-inner {
    min-height: 62px;
    gap: 12px;
  }
  .brand {
    font-size: 1.55rem;
  }
  .site-head nav {
    gap: 15px;
    margin-left: auto;
  }
  .site-head nav a {
    font-size: .84rem;
  }
  .site-head nav a[aria-current]::after {
    bottom: 10px;
  }
  .studio-link {
    display: none;
  }
  .hero-in {
    min-height: 0;
    padding: 40px 0 clamp(210px,60vw,330px);
    align-items: flex-start;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-photo {
    top: auto;
    left: 0;
    width: 100%;
    height: 62%;
  }
  .hero-photo img {
    object-position: 50% 40%;
    -webkit-mask-image: linear-gradient(180deg,transparent 0%,#000 34%);
    mask-image: linear-gradient(180deg,transparent 0%,#000 34%);
  }
  .hero h1 {
    margin: 10px 0 12px -.04em;
    font-size: clamp(4.6rem,24vw,6.5rem);
  }
  .hero-sub {
    font-size: clamp(1.3rem,5.4vw,1.7rem);
    line-height: 1.17;
  }
  .kicker {
    font-size: .72rem;
    letter-spacing: .13em;
  }
  .hero-actions {
    margin-top: 22px;
    gap: 9px;
  }
  .btn {
    padding-inline: 15px;
    min-height: 45px;
    font-size: .89rem;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }
  .facts>div,.facts>div+div {
    min-height: 65px;
    padding: 15px 0 12px 30px;
    border-left: 0;
  }
  .facts>div:nth-child(2n) {
    padding-left: 42px;
  }
  .facts>div+div .ic {
    left: 0;
  }
  .facts>div:nth-child(2n) .ic {
    left: 12px;
  }
  .facts>div:nth-child(n+3) {
    border-top: 1px solid #3a3532;
  }
  .facts dt {
    font-size: .68rem;
    margin-bottom: 4px;
  }
  .facts dd {
    font-size: .93rem;
  }
  .facts .ic {
    width: 20px;
    height: 20px;
  }
  .modes {
    padding: 43px 0 49px;
  }
  .modes h2,.how h2 {
    font-size: 2.8rem;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 29px;
    margin-top: 23px;
  }
  .mode-art {
    aspect-ratio: 1.95;
  }
  .mode-board {
    width: 56%;
    left: 22%;
    top: 6%;
  }
  .mode-card h3 {
    font-size: 1.63rem;
    margin: 14px 0 4px;
  }
  .mode-card p {
    max-width: 60ch;
  }
  .how-in {
    gap: 24px;
    padding-block: 43px;
  }
  .how h2 {
    margin: 13px 0;
  }
  .how h2 br {
    display: none;
  }
  .how h2 em:before {
    content: " ";
  }
  .demo-note {
    padding: 12px 15px 0;
    font-size: .9rem;
  }
  .demo-control {
    padding: 12px 15px 15px;
  }
  .foot-in {
    min-height: 0;
    padding-block: 25px;
    flex-wrap: wrap;
    gap: 17px;
  }
  .foot nav {
    flex-wrap: wrap;
    gap: 10px 19px;
  }
  .policy-head-in {
    min-height: 200px;
    padding-block: 36px;
  }
  .policy-hero h1 {
    font-size: clamp(2.65rem,8.6vw,3.75rem);
  }
  .policy-art {
    right: -8%;
    width: 30%;
    top: 4%;
    height: 94%;
    opacity: .65;
  }
  .policy-head-in>div:first-child {
    max-width: 81%;
  }
  .policy-layout {
    display: block;
    padding-block: 21px 48px;
  }
  .contents {
    display: none;
  }
  .mobile-contents {
    display: block;
    border-bottom: 1px solid var(--paper-line);
    padding: 5px 0 16px;
    margin-bottom: 23px;
  }
  .mobile-contents summary {
    cursor: pointer;
    padding: 9px 0;
  }
  .mobile-contents ul {
    padding: 4px 0;
  }
  .mobile-contents a {
    padding: 8px 0;
  }
  .policy-intro {
    font-size: 1.08rem;
    padding-left: 14px;
  }
  .policy-body {
    font-size: 1rem;
  }
  .policy-body section {
    margin-top: 24px;
    padding-top: 24px;
  }
}

@media(max-width:360px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .site-head nav {
    gap: 10px;
  }
  .hero-actions .btn {
    padding-inline: 11px;
  }
  .facts>div:nth-child(2n) {
    padding-left: 15px;
  }
  .demo-control {
    font-size: .87rem;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    animation-duration: .01ms!important;
    transition-duration: .01ms!important;
    transition-delay: 0ms!important;
  }
}

@media print {
  .site-head,.foot,.policy-layout aside,.policy-art,.skip {
    display: none;
  }
  .policy-layout,.policy-head-in {
    display: block;
    width: 100%;
    padding: 16px 0;
    min-height: auto;
  }
  main:has(.policy-layout),.policy-hero,.policy-body,.policy-game,.policy-hero p,.policy-hero h1 {
    background: white;
    color: black;
  }
  .policy-hero h1 {
    font-size: 32pt;
  }
  .policy-body {
    font-size: 11pt;
    max-width: none;
  }
  .policy-body h2 {
    break-after: avoid;
  }
  .policy-body section {
    margin-top: 12px;
    padding-top: 12px;
  }
  .policy-layout .policy-intro {
    border-color: #666;
  }
}
