:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: #49372e;
  background: #fff7e9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 225, 154, 0.55), transparent 32rem),
    radial-gradient(circle at 90% 30%, rgba(191, 225, 226, 0.55), transparent 28rem),
    #fff7e9;
}

[data-lang] {
  display: none;
}

html[data-language="ja"] [data-lang="ja"],
html[data-language="en"] [data-lang="en"] {
  display: revert;
}

.language-switcher {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 18px;
}

.language-switcher button {
  min-width: 48px;
  min-height: 36px;
  border: 1px solid rgba(73, 55, 46, 0.16);
  border-radius: 999px;
  color: #49372e;
  background: white;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  border-color: #ef684a;
  color: white;
  background: #ef684a;
}

main {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 64px 0 80px;
}

.card {
  padding: clamp(24px, 6vw, 48px);
  border: 1px solid rgba(73, 55, 46, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(92, 57, 36, 0.12);
}

.eyebrow {
  margin: 0 0 12px;
  color: #ef684a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 7vw, 48px);
  line-height: 1.25;
}

h2 {
  margin: 36px 0 12px;
  font-size: 22px;
}

p,
li {
  color: #725f55;
  line-height: 1.8;
}

ul {
  padding-left: 1.4rem;
}

a {
  color: #c84e36;
  text-underline-offset: 0.16em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #246b72;
  outline-offset: 3px;
}

.callout {
  margin: 28px 0 8px;
  padding: 18px 20px;
  border-left: 5px solid #ef684a;
  border-radius: 14px;
  background: #fff1e8;
}

.callout p {
  margin: 6px 0 0;
}

.warning {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff4ce;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  color: white;
  background: #ef684a;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  color: #49372e;
  background: #e5f3d9;
}

.note {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #eadfd8;
  font-size: 14px;
}

footer {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 480px) {
  main {
    width: min(100% - 20px, 760px);
    padding: 20px 0 40px;
  }

  .card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
