:root {
  --paper: #f4efe5;
  --paper-deep: #e9e0d0;
  --ink: #17251f;
  --muted: #667069;
  --line: rgba(23, 37, 31, 0.16);
  --green: #2b5b48;
  --green-light: #c6dfc7;
  --coral: #e88168;
  --yellow: #edc85b;
  --radius: 1.25rem;
  --shadow: 0 1.25rem 3.5rem rgba(35, 51, 42, 0.1);
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  background:
    linear-gradient(rgba(23, 37, 31, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 37, 31, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 2rem 2rem;
  line-height: 1.8;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 0.65rem 1rem;
  transform: translateY(-200%);
  border-radius: 999px;
  color: white;
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer,
main {
  width: min(74rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50% 50% 45% 55%;
  color: var(--paper);
  background: var(--green);
  transform: rotate(-8deg);
}

.nav-list {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.nav-list a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 0.15rem;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 38rem;
  padding: clamp(5rem, 11vw, 8rem) clamp(1rem, 4vw, 4rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: rgba(255, 253, 247, 0.76);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.page-heading h1 {
  max-width: 13ch;
  margin: 0;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: clamp(3rem, 8.5vw, 7.25rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.hero-copy {
  max-width: 38rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

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

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.6rem 1.25rem rgba(23, 37, 31, 0.12);
}

.button-primary {
  color: white;
  background: var(--ink);
}

.button-secondary {
  background: transparent;
}

.hero-orbit {
  position: absolute;
  right: clamp(-11rem, -8vw, -5rem);
  bottom: clamp(-13rem, -15vw, -7rem);
  width: clamp(23rem, 43vw, 38rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green-light);
}

.orbit {
  position: absolute;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.orbit-one {
  inset: 12%;
}

.orbit-two {
  inset: 28%;
}

.orbit-dot {
  position: absolute;
  top: 19%;
  left: 16%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--coral);
}

.section {
  padding-block: clamp(5rem, 10vw, 8rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.section h2,
.policy-body h2 {
  margin: 0 0 1rem;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.25;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  position: relative;
  display: flex;
  min-height: 23rem;
  flex-direction: column;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-0.35rem);
  box-shadow: var(--shadow);
}

.feature-games {
  background: var(--green-light);
}

.feature-art {
  background: #f1c3b4;
}

.feature-blog {
  background: #f5dfa0;
}

.feature-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

.feature-icon {
  align-self: center;
  margin: auto;
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 1;
  text-shadow: 0.08em 0.08em 0 rgba(255, 255, 255, 0.45);
}

.feature-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.feature-card p {
  margin: 0.4rem 0 1.25rem;
  font-size: 0.92rem;
}

.text-link {
  font-size: 0.85rem;
  font-weight: 800;
}

.ad-region {
  width: min(60rem, 100%);
  max-height: 0;
  margin: 0 auto;
  overflow: hidden;
  opacity: 0;
  text-align: center;
  transition: opacity 180ms ease;
}

.ad-label {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ad-region.is-filled {
  max-height: none;
  margin-bottom: clamp(3rem, 8vw, 6rem);
  overflow: visible;
  opacity: 1;
}

.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 8vw, 7rem);
  align-items: start;
  border-top: 1px solid var(--line);
}

.about p:last-child {
  margin: 2.4rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.page-heading {
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: rgba(255, 253, 247, 0.76);
}

.page-heading > p:last-child {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.empty-state {
  display: grid;
  min-height: 24rem;
  place-content: center;
  padding: 3rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green-light);
  text-align: center;
}

.empty-state-art {
  background: #f1c3b4;
}

.empty-state > span {
  font-size: 5rem;
  line-height: 1;
}

.empty-state h3 {
  margin: 1rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.empty-state p {
  max-width: 34rem;
  margin: 0.5rem auto 0;
}

.policy {
  padding-bottom: 5rem;
}

.policy-body {
  width: min(48rem, 100%);
  margin: 4rem auto 0;
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.78);
}

.policy-body h2 {
  margin-top: 2.5rem;
  font-size: 1.65rem;
}

.policy-body h2:first-child {
  margin-top: 0;
}

.policy-body a {
  text-decoration-color: var(--coral);
  text-decoration-thickness: 0.15rem;
  text-underline-offset: 0.2rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.site-footer a {
  color: inherit;
}

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

:focus-visible {
  outline: 0.2rem solid var(--coral);
  outline-offset: 0.25rem;
}

@media (max-width: 50rem) {
  .hero {
    min-height: 43rem;
  }

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

  .hero-orbit {
    opacity: 0.6;
  }

  .feature-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 19rem;
  }
}

@media (max-width: 34rem) {
  .site-header {
    min-height: 5rem;
  }

  .nav-list {
    gap: 0.8rem;
  }

  .nav-list a {
    font-size: 0.73rem;
  }

  .hero {
    min-height: 39rem;
    padding-top: 4rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .hero-orbit {
    right: -12rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
