:root {
  --ink: #0b0d10;
  --paper: #f4f5f2;
  --surface: #ffffff;
  --line: #d8dcd8;
  --text: #15181b;
  --muted: #626970;
  --coral: #ff5f70;
  --mint: #2ccbb6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; background: var(--paper); color: var(--text); line-height: 1.8; }
a { color: inherit; }
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 max(24px, calc((100% - 980px) / 2));
  background: var(--ink);
  color: #fff;
}
.legal-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 13px; font-weight: 850; }
.legal-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 4px; background: var(--coral); font-size: 11px; }
.legal-header > a:last-child { font-size: 11px; }
.legal-main { width: min(980px, calc(100% - 40px)); min-height: calc(100vh - 150px); margin: 0 auto; padding: 74px 0 96px; }
.legal-main h1 { margin: 0; font-size: 40px; line-height: 1.25; }
.legal-lead { margin: 16px 0 42px; color: var(--muted); font-size: 13px; }
.legal-section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 10px; font-size: 19px; }
.legal-section p, .legal-section li { color: var(--muted); font-size: 12px; }
.legal-footer { padding: 28px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; text-align: center; }
.thanks-main { display: grid; place-items: center; min-height: calc(100vh - 68px); padding: 40px 20px; background: var(--ink); color: #fff; }
.thanks-box { width: min(660px, 100%); text-align: center; }
.thanks-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 24px; border: 1px solid var(--mint); border-radius: 50%; color: var(--mint); font-size: 30px; }
.thanks-box h1 { margin: 0; font-size: 36px; }
.thanks-box p { margin: 18px auto 0; color: #bac0c6; font-size: 13px; }
.thanks-actions { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.thanks-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid #fff; border-radius: 4px; text-decoration: none; font-size: 12px; font-weight: 850; }
.thanks-actions a:first-child { border-color: var(--coral); background: var(--coral); }
@media (max-width: 560px) {
  .legal-main { padding-top: 52px; }
  .legal-main h1, .thanks-box h1 { font-size: 30px; }
  .thanks-actions { display: grid; }
}
