:root {
  --paper: #f3f0e7;
  --paper-2: #fffdf8;
  --ink: #1f2430;
  --muted: #5f6776;
  --line: #c7c0b0;
  --line-strong: #9e9581;
  --navy: #1b2735;
  --blue: #365c7a;
  --teal: #5f8f8a;
  --rust: #8c5535;
  --gold: #c59c59;
  --shadow: 0 10px 24px rgba(31, 36, 48, 0.1);
  --radius: 12px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0)),
    repeating-linear-gradient(0deg, rgba(27,39,53,.02) 0, rgba(27,39,53,.02) 1px, transparent 1px, transparent 34px),
    linear-gradient(180deg, #ece6da 0%, #f5f0e5 40%, #e9e1d4 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.newsprint {
  min-height: 100vh;
}

.sheet {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px;
}

.banner,
.section,
.lead,
.closing,
.footer {
  border: 1px solid var(--line);
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.banner {
  padding: 18px 18px 14px;
}

.brand-block {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.badge {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  background: linear-gradient(180deg, #fffef9, #f3ead9);
}

.kicker {
  margin-bottom: 6px;
  color: var(--rust);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
}

.deck {
  margin-top: 4px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
}

.nav a,
.back {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #faf6ee;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav a:hover,
.back:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: var(--navy);
}

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

.lead {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 16px;
}

.lead-copy,
.status-box,
.section,
.closing {
  padding: 18px;
}

.lead h2,
.section-head h2,
.closing h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  color: var(--navy);
}

.lede {
  margin-top: 14px;
  font-size: 1.02rem;
  color: #3e4652;
}

.lead-copy p + p {
  margin-top: 12px;
}

.status-box {
  border-left: 5px solid var(--teal);
  background: linear-gradient(180deg, #f0eadf, #e9e0ce);
}

.status-label {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.status-box h3,
.box h3,
.check h3,
.memo h3,
.response h3 {
  margin-top: 8px;
  color: var(--navy);
  font-size: 1.08rem;
}

.status-box ul {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: #414856;
}

.section {
  background: rgba(255, 252, 245, 0.94);
}

.section-head {
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #ddd4c0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.box,
.check,
.memo,
.response {
  padding: 16px;
  border: 1px solid #d7ceb9;
  border-radius: var(--radius);
  background: #fffdf8;
}

.box p,
.check p,
.memo p,
.response p {
  margin-top: 8px;
}

.checks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.check span {
  display: inline-block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.routine-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 12px;
}

.routine-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.routine-list li {
  position: relative;
  padding: 15px 14px 15px 44px;
  border: 1px solid #d9d1bf;
  border-radius: 12px;
  background: #fffaf1;
  color: #424853;
  line-height: 1.6;
}

.routine-list li::before {
  content: "•";
  position: absolute;
  left: 16px;
  top: 11px;
  color: var(--teal);
  font-size: 1.5rem;
  line-height: 1;
}

.response-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, #f4eddc, #e9e0cf);
}

.footer {
  margin-top: 16px;
  padding: 14px 18px;
  font-size: 0.92rem;
}

.rise {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s ease, transform .45s ease;
}

.rise.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .lead,
  .routine-layout,
  .closing {
    grid-template-columns: 1fr;
  }

  .checks-grid,
  .response-grid,
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .closing {
    display: grid;
  }
}

@media (max-width: 700px) {
  .sheet {
    padding: 10px;
  }

  .banner,
  .section,
  .lead-copy,
  .status-box,
  .closing {
    padding: 16px;
  }

  .brand-block {
    align-items: flex-start;
  }

  .nav {
    gap: 8px;
  }

  .nav a {
    font-size: 0.84rem;
  }

  .checks-grid,
  .response-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
