:root {
  color-scheme: light;
  --ink: #292123;
  --body: #514649;
  --muted: #9c908e;
  --red: #f5221a;
  --coral: #f45b52;
  --pink: #f05d87;
  --soft-red: #ffedea;
  --line: #eadcd9;
  --surface: #ffffff;
  --background: #fffcfb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  color: white;
  background: linear-gradient(105deg, #ff7a55 0%, var(--coral) 52%, var(--pink) 100%);
  box-shadow: 0 8px 30px rgba(126, 24, 35, .14);
}

.header-inner,
.page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}

.brand span { display: grid; gap: 4px; }
.brand small { font-size: 9px; letter-spacing: .2em; opacity: .82; }

.brand-mark {
  width: 50px;
  height: 50px;
  display: block;
  border-radius: 15px;
  box-shadow: 0 6px 14px rgba(93, 4, 18, .18);
}

nav { display: flex; gap: 8px; }
nav a {
  padding: 9px 13px;
  border-radius: 12px;
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  font-size: 14px;
  transition: background .18s ease, color .18s ease;
}
nav a:hover { color: white; background: rgba(255, 255, 255, .12); }
nav a[aria-current="page"] { color: white; background: rgba(255, 255, 255, .18); font-weight: 700; }

.page { padding: 56px 0 80px; }

.document {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(25px, 5vw, 58px);
  box-shadow: 0 16px 46px rgba(94, 39, 39, .07);
}

.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  margin: 8px 0 4px;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.updated { margin: 0 0 34px; color: var(--muted); font-size: 14px; }

h2 {
  margin: 38px 0 10px;
  padding-top: 4px;
  font-size: 22px;
  line-height: 1.3;
}

p, li { color: var(--body); }
ul { padding-left: 22px; }
li + li { margin-top: 7px; }

.notice {
  margin: 28px 0;
  padding: 17px 19px;
  border-left: 4px solid var(--red);
  border-radius: 12px;
  background: var(--soft-red);
}

.contact {
  margin-top: 42px;
  padding: 20px;
  border: 1px solid #ffc9c3;
  border-radius: 16px;
  background: #fff6f4;
}

.contact p { margin-bottom: 0; }

footer {
  padding: 24px 16px 40px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 680px) {
  .header-inner { align-items: stretch; flex-direction: column; padding: 14px 0 12px; gap: 10px; }
  nav { width: 100%; }
  nav a { flex: 1; text-align: center; background: rgba(255, 255, 255, .08); }
  .page { padding-top: 24px; }
  .document { border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
