:root {
  color-scheme: light;
  --ink: #25201b;
  --muted: #746b61;
  --paper: #f5f0e6;
  --paper-deep: #ebe2d2;
  --red: #9f2f28;
  --line: rgba(61, 50, 39, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(159, 47, 40, .08), transparent 30rem),
    linear-gradient(135deg, rgba(255,255,255,.35), transparent 55%),
    var(--paper);
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  line-height: 1.8;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

a { color: inherit; }

.shell {
  position: relative;
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 36px;
}

.hero {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 40px 0 54px;
  border-bottom: 1px solid var(--line);
}

.seal {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  color: var(--paper);
  background: var(--red);
  border-radius: 8px 4px 10px 3px;
  box-shadow: inset 0 0 0 4px rgba(245,240,230,.28), 0 12px 28px rgba(84,30,25,.16);
  font-size: 56px;
  line-height: 1;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--red);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
}

h1 { margin: 0; font-size: clamp(40px, 8vw, 70px); line-height: 1.1; font-weight: 600; letter-spacing: .08em; }
.subtitle { margin: 10px 0 0; color: var(--muted); letter-spacing: .15em; }
.intro { max-width: 720px; padding: 38px 0 18px; font-size: 17px; }
.notice { padding: 15px 18px; color: #684743; background: rgba(159,47,40,.07); border-left: 3px solid var(--red); border-radius: 2px 8px 8px 2px; font-size: 14px; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 30px 0 60px; }
.card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; min-height: 132px; padding: 26px; text-decoration: none; background: rgba(255,255,255,.3); border: 1px solid var(--line); border-radius: 14px; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); background: rgba(255,255,255,.55); box-shadow: 0 18px 35px rgba(63,48,31,.08); }
.number { color: var(--red); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 12px; letter-spacing: .1em; }
.card-title { font-size: 23px; letter-spacing: .08em; }
.arrow { color: var(--red); font-size: 24px; }

.document { width: min(760px, calc(100% - 36px)); }
.back { display: inline-block; margin-bottom: 42px; color: var(--muted); text-decoration: none; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 14px; }
.back:hover { color: var(--red); }
.doc-header { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.doc-header h1 { font-size: clamp(38px, 7vw, 58px); }
.doc-header > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.document > .notice { margin: 30px 0; }
article { padding: 4px 0 40px; }
article h2 { margin: 38px 0 10px; font-size: 21px; font-weight: 600; letter-spacing: .04em; }
article p, article li { color: #463f38; }
article ul { padding-left: 1.4em; }
article strong { color: var(--ink); }
footer { padding: 24px 0; color: var(--muted); border-top: 1px solid var(--line); text-align: center; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 12px; letter-spacing: .06em; }

@media (max-width: 620px) {
  .shell { padding-top: 34px; }
  .hero { align-items: flex-start; gap: 20px; padding-bottom: 38px; }
  .seal { width: 72px; height: 72px; flex-basis: 72px; font-size: 42px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 104px; }
}

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