.toastgame-page {
  margin: 0;
  background: #f6f4ef;
  color: #1c1b18;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.toastgame-page * {
  box-sizing: border-box;
}

.toastgame-shell {
  width: min(100% - 40px, 820px);
  margin: 0 auto;
  padding: 28px 0 72px;
}

.toastgame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(28, 27, 24, 0.14);
}

.toastgame-brand {
  color: inherit;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.toastgame-nav,
.toastgame-language {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.toastgame-nav a,
.toastgame-language a,
.toastgame-link {
  color: #645f56;
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

.toastgame-hero {
  padding: 72px 0 48px;
}

.toastgame-kicker {
  margin: 0 0 12px;
  color: #777168;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toastgame-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.toastgame-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #645f56;
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.45;
}

.toastgame-notice {
  margin: 0 0 48px;
  padding: 18px 20px;
  border: 1px solid #e5b44f;
  border-radius: 14px;
  background: #fff7df;
  color: #55451f;
}

.toastgame-language {
  margin-bottom: 44px;
}

.toastgame-language a {
  padding: 7px 12px;
  border: 1px solid rgba(28, 27, 24, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  text-decoration: none;
}

.toastgame-content {
  display: grid;
  gap: 56px;
}

.toastgame-language-section {
  scroll-margin-top: 24px;
}

.toastgame-language-section > h2 {
  margin: 0 0 28px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.toastgame-intro {
  max-width: 700px;
  margin: -10px 0 30px;
  color: #514d46;
}

.toastgame-intro p {
  margin: 0;
}

.toastgame-intro p + p {
  margin-top: 12px;
}

.toastgame-section {
  padding: 27px 0 30px;
  border-top: 1px solid rgba(28, 27, 24, 0.13);
}

.toastgame-section h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.toastgame-section p,
.toastgame-section ul,
.toastgame-section ol {
  margin: 0;
  color: #514d46;
}

.toastgame-section p + p,
.toastgame-section p + ol {
  margin-top: 12px;
}

.toastgame-section ul,
.toastgame-section ol {
  padding-left: 22px;
}

.toastgame-section li + li {
  margin-top: 7px;
}

.toastgame-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(28, 27, 24, 0.14);
  color: #777168;
  font-size: 14px;
}

@media (max-width: 620px) {
  .toastgame-shell {
    width: min(100% - 28px, 820px);
    padding-top: 18px;
  }

  .toastgame-header,
  .toastgame-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .toastgame-hero {
    padding: 54px 0 36px;
  }

  .toastgame-content {
    gap: 44px;
  }

  .toastgame-language {
    margin-bottom: 36px;
  }

  .toastgame-section {
    padding: 23px 0 26px;
  }
}

@media (max-width: 360px) {
  .toastgame-shell {
    width: min(100% - 24px, 820px);
  }

  .toastgame-hero h1 {
    font-size: 34px;
  }

  .toastgame-notice {
    padding: 16px;
  }
}
