:root {
  color-scheme: light;
  --paper: #f8f4ec;
  --surface: #fffdf8;
  --ink: #252a27;
  --muted: #5b645f;
  --coral: #ff7259;
  --coral-deep: #b53829;
  --mint: #74bbae;
  --mint-soft: #e0f2ec;
  --line: #ddd8ca;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 5%, #ffe8d9 0, transparent 28rem),
    radial-gradient(circle at 90% 20%, #def1e9 0, transparent 32rem),
    var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Noto Sans CJK JP", sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--coral-deep); }

.shell {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: .01em;
}

.mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: white;
  background: linear-gradient(145deg, var(--coral), #ff9b63);
  box-shadow: 0 8px 20px rgba(181, 56, 41, .18);
}

.language-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 253, 248, .8);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switcher button {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  color: white;
  background: var(--coral);
}

main {
  background: rgba(255, 253, 248, .92);
  border: 1px solid rgba(221, 216, 202, .9);
  border-radius: 28px;
  padding: clamp(24px, 6vw, 52px);
  box-shadow: 0 20px 60px rgba(37, 42, 39, .08);
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

h2 {
  margin: 34px 0 10px;
  font-size: 20px;
  letter-spacing: -.015em;
}

p, li { color: var(--muted); }

.lead { font-size: 18px; max-width: 58ch; }
.meta { font-size: 13px; color: #707772; }

.callout {
  margin: 24px 0;
  padding: 18px 20px;
  background: var(--mint-soft);
  border-left: 4px solid var(--mint);
  border-radius: 14px;
}

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  color: white;
  background: var(--coral);
  text-decoration: none;
  font-weight: 700;
}

.button.secondary {
  color: var(--coral-deep);
  background: #ffe4da;
}

footer { padding: 24px 8px; color: #707772; font-size: 13px; text-align: center; }
[data-language] { display: none; }
[data-language].active { display: block; }

@media (max-width: 540px) {
  header { align-items: flex-start; flex-direction: column; }
  .language-switcher { align-self: stretch; justify-content: center; }
  .language-switcher button { flex: 1; }
}

