:root {
  color-scheme: light;
  --paper: #dedbd0;
  --paper-deep: #c9c5b7;
  --ink: #24313a;
  --muted: #586167;
  --blue: #314db0;
  --rule: #9b978b;
  --warning: #232a31;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  background:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, #f0eee7 0%, var(--paper) 52%, var(--paper-deep) 100%);
  background-size: 36px 36px, 36px 36px, cover;
  color: var(--ink);
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.sheet {
  min-height: 82vh;
  padding: 56px clamp(24px, 6vw, 72px);
  border: 1px solid rgba(36, 49, 58, 0.18);
  background: rgba(222, 219, 208, 0.84);
  box-shadow: 0 30px 80px rgba(36, 49, 58, 0.14);
}

.status {
  margin: 0 0 8px;
  text-align: center;
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.15rem;
}

h1 {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 30px;
  color: var(--blue);
  font-family: "Arial Black", "Trebuchet MS", Verdana, sans-serif;
  font-size: clamp(3.25rem, 6vw, 5.8rem);
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}

h2 {
  margin: 0 0 28px;
  color: var(--blue);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
}

.lead {
  max-width: 880px;
  margin: 0 auto 34px;
  color: #35434c;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.18rem;
  line-height: 1.6;
  text-align: center;
}

.outline {
  margin-top: 34px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 800;
  font-size: clamp(1.2rem, 2.15vw, 1.75rem);
  line-height: 1.45;
}

.outline ol {
  margin: 0;
  padding-left: 1.75em;
}

.outline ol ol {
  margin: 0.08em 0 0.14em;
  font-size: 0.9em;
}

.outline li {
  padding: 0.08em 0;
}

a {
  color: var(--ink);
  text-decoration-color: rgba(49, 77, 176, 0.35);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue);
  text-decoration-color: currentColor;
}

.notice {
  margin: 38px auto 0;
  max-width: 900px;
  padding: 18px 22px;
  border-left: 5px solid var(--blue);
  background: rgba(255, 255, 255, 0.38);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

.sections {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.sections article {
  padding: 22px 26px;
  border: 1px solid rgba(36, 49, 58, 0.14);
  background: rgba(255, 255, 255, 0.34);
}

.sections h3 {
  margin: 0 0 8px;
  color: var(--warning);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.25rem;
  line-height: 1.25;
}

.sections p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.verse {
  font-style: italic;
}

@media (max-width: 680px) {
  .page {
    width: min(100% - 18px, 1120px);
    padding: 10px 0 36px;
  }

  .sheet {
    min-height: auto;
    padding: 34px 18px;
  }

  .status {
    font-size: 1rem;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .lead {
    font-size: 1rem;
    text-align: left;
  }

  .outline {
    font-size: 1.05rem;
  }
}
