:root {
  color-scheme: light;
  --yellow: #ffd609;
  --paper: #fff5b8;
  --cream: #fffbed;
  --ink: #131419;
  --red: #fa4554;
  --muted: #666359;
  --line: rgba(19, 20, 25, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: #b61f2c; text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(22px, calc((100vw - 980px) / 2));
  background: rgba(255, 214, 9, 0.94);
  border-bottom: 1px solid rgba(19, 20, 25, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.brand img { width: 42px; height: 42px; border-radius: 11px; }

nav { display: flex; gap: 18px; }
nav a { color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }

main { width: min(920px, calc(100% - 32px)); margin: 44px auto 80px; }

.hero {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 30px;
  margin-bottom: 28px;
  padding: 30px;
  background: var(--yellow);
  border: 1px solid var(--line);
  border-radius: 30px;
}

.hero img { width: 150px; height: 150px; border-radius: 32px; }
h1 { margin: 0 0 8px; font-size: clamp(36px, 7vw, 62px); line-height: 1.02; letter-spacing: -0.04em; }
.hero p { margin: 0; max-width: 620px; font-size: 18px; }

.meta { margin: 0 0 28px; color: var(--muted); font-size: 14px; }
.notice { padding: 18px 20px; background: rgba(250, 69, 84, 0.10); border-left: 5px solid var(--red); border-radius: 14px; }

.document, .link-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(19, 20, 25, 0.06);
}

.document { padding: clamp(24px, 5vw, 52px); }
.document section { padding: 24px 0; border-bottom: 1px solid var(--line); }
.document section:last-child { border-bottom: 0; }
h2 { margin: 0 0 10px; font-size: 25px; line-height: 1.25; }
h3 { margin: 18px 0 6px; font-size: 18px; }
p { margin: 8px 0; }
ul { margin: 8px 0; padding-left: 22px; }
li + li { margin-top: 7px; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.link-card { display: block; padding: 26px; color: var(--ink); text-decoration: none; }
.link-card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(19, 20, 25, 0.10); }
.link-card strong { display: block; margin-bottom: 6px; font-size: 24px; }
.pill { display: inline-block; margin-top: 14px; padding: 7px 12px; background: var(--red); color: #fff; border-radius: 999px; font-size: 13px; font-weight: 800; }

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

@media (max-width: 680px) {
  .site-header { align-items: flex-start; }
  nav { flex-direction: column; gap: 4px; text-align: right; }
  main { margin-top: 24px; }
  .hero { grid-template-columns: 1fr; padding: 24px; }
  .hero img { width: 112px; height: 112px; }
  .cards { grid-template-columns: 1fr; }
}

@media print {
  .site-header, footer { display: none; }
  body { background: #fff; }
  main { width: 100%; margin: 0; }
  .document { box-shadow: none; border: 0; padding: 0; }
}
