@font-face {
  font-family: 'Fraunces';
  src: url('fonts/Fraunces.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/Fraunces.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('fonts/Nunito.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #FCF4DA;
  --cream-deep: #F5E9C0;
  --ink: #3A2A1A;
  --ink-soft: #6B5740;
  --coral: #E27D5C;
  --shell: #FFFBF0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--cream); color: var(--ink); font-family: 'Nunito', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
nav.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 48px; max-width: 1280px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: 'Fraunces', serif; font-weight: 700; font-size: 22px; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); }
.brand-mark { display: flex; align-items: center; }
.brand-mark img { height: 48px; width: auto; display: block; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-toggle { display: flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.lang-toggle a { text-decoration: none; padding: 5px 9px; border-radius: 8px; transition: color .1s, background .1s; }
.lang-toggle a:hover { color: var(--ink); background: var(--shell); }
.lang-toggle a.active { color: var(--ink); background: var(--shell); }
.lang-toggle .sep { color: #C9B98A; padding: 0 2px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink-soft); padding: 12px 18px; border-radius: 999px; border: 1.5px dashed #C9B98A; }
.back-link:hover { background: var(--shell); color: var(--ink); }

main {
  max-width: 760px; margin: 40px auto 80px;
  padding: 56px 48px;
  background: var(--shell);
  border: 1.5px solid #EADFB7;
  border-radius: 32px;
}
.eyebrow { font-size: 13px; font-weight: 800; color: var(--coral); letter-spacing: 0.16em; text-transform: uppercase; }
h1 {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: clamp(40px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.025em;
  margin: 12px 0 18px;
  overflow-wrap: break-word; hyphens: auto;
}
.placeholder {
  margin-top: 28px;
  padding: 28px 26px;
  border: 1.5px dashed #C9B98A;
  border-radius: 20px;
  color: var(--ink-soft);
  font-size: 16px; line-height: 1.6; font-weight: 500;
}
.placeholder strong { color: var(--ink); font-weight: 800; }

.last-updated { font-size: 13px; color: var(--ink-soft); font-weight: 600; margin-bottom: 36px; }
.legal-content h2 {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 22px; letter-spacing: -0.02em;
  margin: 36px 0 10px; color: var(--ink);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); font-weight: 500; margin-bottom: 12px; }
.legal-content a { color: var(--coral); text-decoration: underline; }
.legal-content a:hover { opacity: 0.8; }
.imprint-block { font-size: 16px; line-height: 1.9; color: var(--ink-soft); font-weight: 500; }
.imprint-block strong { color: var(--ink); font-weight: 700; display: block; margin-bottom: 4px; }
.todo { background: var(--cream-deep); border: 1.5px dashed #C9B98A; border-radius: 10px; padding: 4px 10px; font-size: 13px; font-weight: 700; color: var(--ink-soft); display: inline-block; }

.nintendo-note {
  font-size: 12px; line-height: 1.6; font-weight: 500;
  color: var(--ink-soft);
  border-top: 1px solid #EADFB7;
  padding-top: 16px;
  margin-top: 8px;
}

footer {
  border-top: 1.5px dashed #D9C898;
  padding: 32px 48px 48px;
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
  color: var(--ink-soft); font-size: 14px;
}
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer nav a { text-decoration: none; font-weight: 700; }
footer nav a:hover { color: var(--coral); }

@media (max-width: 720px) {
  nav.top { padding: 22px 20px; }
  .back-link { display: none; }
  main { margin: 20px 16px 60px; padding: 36px 28px; border-radius: 24px; }
  h1 { font-size: clamp(26px, 8vw, 40px); }
  footer { padding: 24px 20px 40px; }
}
