@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/sora-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/sora-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Noto Sans TC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/noto-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Noto Sans TC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/noto-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Noto Sans TC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/noto-400.woff2") format("woff2");
  unicode-range: U+3000-303F, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

@font-face {
  font-family: "Noto Sans TC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/noto-700.woff2") format("woff2");
  unicode-range: U+3000-303F, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/sc-400.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/sc-700.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans KR";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/kr-400.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans KR";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/kr-700.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jp-400.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/jp-700.woff2") format("woff2");
}

:root {
  --ink: #101010;
  --paper: #ffffff;
  --crimson: #f21952;
  --crimson-text: #9d1238;
  --teal: #016a58;
  --teal-deep: #01493d;
  --ink-soft: #3a3a3a;
  --line: #e4e2de;
  --paper-tint: #f3f7f6;
  --shadow: 8px 16px 32px rgba(12, 12, 12, 0.28);
  --header: 4.5rem;
  --font: "Noto Sans TC", sans-serif;
  --latin: "Sora", "Noto Sans TC", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--teal) var(--paper);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: clip;
}

::selection {
  background: var(--teal);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.symbol {
  font-family: var(--latin);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

section,
.slip {
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
}

.skip:focus {
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header);
  padding: 0.75rem 4vw;
  background: var(--ink);
  color: var(--paper);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 34px;
  width: auto;
}

.lang {
  position: relative;
}

.lang-current {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.35rem;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-family: "Sora", "Noto Sans TC", "Noto Sans KR", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.lang-current:hover,
.lang-current[aria-expanded="true"] {
  color: var(--crimson);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 2;
  margin: 0;
  padding: 0.3rem 0;
  list-style: none;
  min-width: 4.25rem;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.lang-menu button {
  display: block;
  width: 100%;
  min-height: 2.5rem;
  padding: 0.35rem 0.9rem;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-family: "Sora", "Noto Sans TC", "Noto Sans KR", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.lang-menu button:hover,
.lang-menu button[aria-selected="true"] {
  color: var(--crimson);
}

html[lang="zh-Hans"] body {
  font-family: "Noto Sans SC", "Sora", sans-serif;
}

html[lang="ko"] body {
  font-family: "Noto Sans KR", "Sora", sans-serif;
}

html[lang="ko"] .hero-copy h1,
html[lang="ko"] .hero-copy .lead {
  word-break: keep-all;
}

html[lang="ja"] body {
  font-family: "Noto Sans JP", "Sora", sans-serif;
}

html[lang="en"] body {
  font-family: "Sora", sans-serif;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.88fr);
  grid-template-rows: 1fr auto auto 1fr;
  row-gap: 0;
  min-height: calc(100vh - var(--header));
  min-height: calc(100dvh - var(--header));
}

.hero-copy,
.hero-stage {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 1 / -1;
  padding: 3rem 6vw;
}

.hero-copy {
  grid-column: 1;
}

.hero-text,
.slip {
  grid-row: 2;
  align-self: end;
}

.hero-copy .actions,
.switch {
  grid-row: 3;
  align-self: center;
  margin-top: 1.25rem;
}

.hero-copy h1 {
  margin: 0;
  max-width: 12em;
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(2.15rem, 3.8vw, 3.45rem);
  line-height: 1.18;
}

.lead {
  max-width: 36rem;
  margin: 1.35rem 0 0;
  color: var(--ink-soft);
}

.hero-copy .lead + .lead {
  margin-top: 0.7rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-copy .actions {
  justify-content: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.4rem 1.2rem;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
}

.button:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary.on-dark {
  border-color: var(--paper);
  color: var(--paper);
}

.button.secondary.on-dark:hover {
  background: var(--paper);
  color: var(--ink);
}

.contact .button:not(.secondary) {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.button:disabled {
  opacity: 0.55;
  cursor: progress;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0.55rem 0 0;
  min-height: 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffb3c4;
}

.form-status.is-sent {
  color: var(--crimson);
}

.form-status.is-info {
  color: var(--paper);
  font-weight: 400;
}

.contact .button:not(.secondary):hover {
  background: var(--teal);
  color: var(--paper);
  border-color: var(--teal);
}

.hero-stage {
  grid-column: 2;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.stage-mark {
  position: absolute;
  width: min(46%, 16rem);
  right: 0;
  bottom: 0.75rem;
  opacity: 0.28;
  pointer-events: none;
  user-select: none;
}

.slip {
  position: relative;
  z-index: 1;
  background: var(--paper);
  color: var(--ink);
  padding: 1.5rem 1.5rem 1.35rem;
  border-radius: 12px;
  box-shadow: inset 0 8px 0 var(--teal), var(--shadow);
}

.slip[data-side="short"] {
  box-shadow: inset 0 8px 0 var(--crimson), var(--shadow);
}

.slip[data-side="wait"] {
  box-shadow: inset 0 8px 0 var(--ink), var(--shadow);
}

.slip-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.slip-top .symbol {
  margin: 0;
  font-size: 1.35rem;
}

.slip-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: var(--ink-soft);
}

.demo-flag {
  border: 1px solid var(--teal);
  color: var(--teal-deep);
  padding: 0.05rem 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.slip-side {
  margin: 1.1rem 0 0.35rem;
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  color: var(--teal-deep);
}

.slip[data-side="short"] .slip-side {
  color: var(--crimson-text);
}

.slip[data-side="wait"] .slip-side {
  color: var(--ink);
}

.slip-reason {
  margin: 0.8rem 0 0;
  max-width: 42ch;
  font-size: 1.125rem;
}

.slip-facts {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
  margin: 1.4rem 0 0;
}

.slip-facts div {
  min-width: 0;
}

.slip-facts dt {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.slip-facts dd {
  margin: 0.15rem 0 0;
  font-family: var(--latin);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
}

.switch {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.switch button,
.filters button {
  min-height: 2.6rem;
  padding: 0.2rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--paper);
  font-weight: 600;
}

.switch button {
  font-family: var(--latin);
  letter-spacing: -0.03em;
}

.switch button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.method,
.board {
  padding: 6rem 6vw;
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: start;
}

.method-intro h2,
.board-head h2,
.rules h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.method-intro p,
.board-head > p,
.contact-copy p {
  max-width: 36rem;
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.method-intro .method-kicker {
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-weight: 700;
}

.method-intro p + p {
  margin-top: 0.75rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.75rem;
}

.steps li {
  position: relative;
  transition: transform 0.28s ease;
}

.steps li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.steps li + li {
  margin-top: 3.25rem;
}

.steps h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  transition: color 0.28s ease;
}

.steps li:hover,
.steps li:focus-within {
  transform: translateX(0.4rem);
}

.steps li:hover::before,
.steps li:focus-within::before {
  opacity: 1;
  transform: scale(1);
}

.steps li:hover h3,
.steps li:focus-within h3 {
  color: var(--teal);
}

@media (prefers-reduced-motion: reduce) {
  .steps li,
  .steps li::before,
  .steps h3 {
    transition: none;
  }

  .steps li:hover,
  .steps li:focus-within {
    transform: none;
  }
}

.steps p {
  margin: 0;
  max-width: 42rem;
  color: var(--ink-soft);
}

.rules {
  background: var(--ink);
  color: var(--paper);
  padding: 6.5rem 6vw;
}

.rules h2 {
  text-align: center;
}

.rules ul {
  list-style: none;
  margin: 2.75rem auto 0;
  padding: 0;
  max-width: 46rem;
}

.faq > li {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 400;
  line-height: 1.6;
}

.faq > li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.rules h3 {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.faq button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.15rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font-weight: 700;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  line-height: 1.3;
}

.faq button span:first-child {
  transition: color 0.28s ease, transform 0.28s ease;
}

.faq button:hover span:first-child,
.faq button:focus-visible span:first-child,
.faq li.is-open button span:first-child {
  color: var(--teal);
}

.faq button:hover span:first-child,
.faq button:focus-visible span:first-child {
  transform: translateX(0.3rem);
}

.faq-mark {
  position: relative;
  flex: none;
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.35s ease;
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.faq-mark::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
}

.faq-mark::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
}

.faq li.is-open .faq-mark {
  transform: rotate(45deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq li.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel p,
.faq-panel ol {
  margin: 0 0 0.55rem;
  padding: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  transform: translateY(-0.4rem);
  transition: opacity 0.3s ease, transform 0.35s ease;
}

.faq-panel ol {
  padding-left: 1.25rem;
}

.faq-panel li + li {
  margin-top: 0.4rem;
}

.faq-panel-inner > :last-child {
  margin-bottom: 0;
  padding-bottom: 1.15rem;
}

.faq li.is-open .faq-panel p,
.faq li.is-open .faq-panel ol {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .faq button span:first-child,
  .faq-mark,
  .faq-panel,
  .faq-panel p {
    transition: none;
  }

  .faq button:hover span:first-child,
  .faq button:focus-visible span:first-child {
    transform: none;
  }
}

.board-head > p {
  color: var(--ink-soft);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.filters button {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 52rem;
  border-collapse: collapse;
}

th:nth-child(1),
th:nth-child(2),
th:nth-child(3),
th:nth-child(6),
td:nth-child(1),
td:nth-child(2),
td:nth-child(3),
td:nth-child(6) {
  white-space: nowrap;
}

th {
  text-align: left;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 0 0.8rem 0.7rem 0;
  border-bottom: 1px solid var(--ink);
}

td {
  vertical-align: top;
  padding: 1.05rem 0.8rem 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

tbody tr {
  transition: background-color 0.28s ease;
}

tbody td:first-child {
  box-shadow: inset 3px 0 0 transparent;
  transition: box-shadow 0.28s ease;
}

tbody .symbol {
  display: inline-block;
  transition: color 0.28s ease, transform 0.28s ease;
}

tbody tr:hover,
tbody tr:focus-within {
  background-color: var(--paper-tint);
}

tbody tr:hover td:first-child,
tbody tr:focus-within td:first-child {
  box-shadow: inset 3px 0 0 var(--teal);
}

tbody tr:hover .symbol,
tbody tr:focus-within .symbol {
  color: var(--teal-deep);
  transform: translateX(0.28rem);
}

@media (prefers-reduced-motion: reduce) {
  tbody tr,
  tbody td:first-child,
  tbody .symbol {
    transition: none;
  }

  tbody tr:hover .symbol,
  tbody tr:focus-within .symbol {
    transform: none;
  }
}

.side-pill {
  display: inline-block;
  min-width: 3.2rem;
  font-weight: 700;
  color: var(--teal-deep);
}

.side-pill[data-side="short"] {
  color: var(--crimson-text);
}

.side-pill[data-side="wait"] {
  color: var(--ink);
}

.text-button {
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 700;
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.text-button:hover {
  color: var(--crimson-text);
}

.empty {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  padding: 6rem 6vw;
  background: var(--ink);
  color: var(--paper);
}

.contact-copy img {
  width: min(100%, 18rem);
  margin-bottom: 1.5rem;
}

.contact-copy p {
  color: #d7d7d7;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: start;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1.5px solid var(--paper);
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 0.8rem;
  border-radius: 0;
  caret-color: var(--crimson);
}

textarea {
  resize: vertical;
  min-height: 7rem;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--crimson);
}

.error {
  margin: 0;
  color: #ffb3c4;
  font-weight: 700;
}

.site-footer {
  padding: 3rem 6vw 3.5rem;
  background: var(--paper);
}

.site-footer img {
  width: min(100%, 14rem);
}

.site-footer .footer-note {
  max-width: 40rem;
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.footer-meta {
  max-width: 40rem;
  margin-top: 1.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.footer-meta p {
  margin: 0;
}

.footer-copy {
  color: var(--ink);
  font-size: 0.95rem;
}

.footer-mail {
  font-family: var(--latin);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.footer-mail:hover {
  color: var(--crimson);
}

.footer-parent {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.45;
}

.footer-parent .symbol {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
}

@media (max-width: 960px) {
  .site-header {
    padding-left: max(1.15rem, env(safe-area-inset-left));
    padding-right: max(1.15rem, env(safe-area-inset-right));
  }

  .logo img {
    height: 30px;
  }

  .hero,
  .method,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: 0;
    grid-template-rows: none;
    row-gap: 0;
    align-content: stretch;
  }

  .hero-copy,
  .hero-stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-column: 1;
    grid-row: auto;
    grid-template-rows: none;
    min-width: 0;
    max-width: 100%;
    padding: 2.5rem max(1.35rem, env(safe-area-inset-left)) 2.25rem;
  }

  .hero-text,
  .hero-copy .actions,
  .slip,
  .switch {
    align-self: stretch;
  }

  .hero-stage {
    gap: 1.15rem;
    padding-top: 1.5rem;
    padding-bottom: 1.75rem;
  }

  .hero-copy h1 {
    max-width: 12em;
    font-size: clamp(1.95rem, 8.4vw, 2.75rem);
  }

  .hero-copy .actions {
    margin-top: 1.6rem;
  }

  .slip,
  .switch {
    width: 100%;
    max-width: 36rem;
  }

  .slip {
    padding: 1.25rem 1.15rem 1.15rem;
  }

  .slip-top {
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }

  .slip-top .symbol {
    white-space: nowrap;
  }

  .slip-side {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .slip-reason {
    max-width: none;
  }

  .stage-mark {
    width: min(42%, 11rem);
  }

  .method,
  .board,
  .contact {
    gap: 2.25rem;
    padding: 3.25rem max(1.35rem, env(safe-area-inset-left)) 3.5rem;
  }

  .rules {
    padding: 3.25rem max(1.35rem, env(safe-area-inset-left)) 3.5rem;
  }

  .site-footer {
    padding: 2.5rem max(1.35rem, env(safe-area-inset-left)) 2.75rem;
  }

  .method-intro h2,
  .board-head h2,
  .rules h2,
  .contact-copy h2 {
    font-size: clamp(1.9rem, 7.4vw, 2.75rem);
  }

  .steps {
    padding-left: 0;
  }

  .steps h3 {
    font-size: clamp(1.45rem, 5vw, 1.9rem);
  }

  .faq button {
    gap: 0.85rem;
    font-size: clamp(1.25rem, 5.2vw, 1.65rem);
  }

  .faq button span:first-child {
    min-width: 0;
  }

  .rules li {
    max-width: none;
  }
}

@media (max-width: 800px) {
  table {
    min-width: 0;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  th:nth-child(1),
  th:nth-child(2),
  th:nth-child(3),
  th:nth-child(6),
  td:nth-child(1),
  td:nth-child(2),
  td:nth-child(3),
  td:nth-child(6) {
    white-space: normal;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  tbody tr {
    padding: 0.85rem 0 1rem;
    border-bottom: 1px solid var(--line);
  }

  td {
    display: grid;
    grid-template-columns: 6.75rem minmax(0, 1fr);
    gap: 0.35rem 0.85rem;
    align-items: start;
    padding: 0.32rem 0 0.32rem 0.7rem;
    border: 0;
  }

  td::before {
    content: attr(data-label);
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
  }

  tbody .text-button {
    justify-self: start;
    width: max-content;
    max-width: 100%;
    text-align: start;
  }

  .slip-facts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .slip-body,
  .slip {
    animation: none !important;
  }
}

.slip.is-settling .slip-side,
.slip.is-settling .slip-reason,
.slip.is-settling .slip-facts {
  animation: settle 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes settle {
  from {
    transform: translateY(-8px);
    filter: blur(3px);
  }

  to {
    transform: none;
    filter: none;
  }
}
