:root {
  color-scheme: light;
  --paper: #fffdf8;
  --ink: #24211d;
  --muted: #6c655d;
  --line: #e9e1d7;
  --accent: #9f3f2d;
  --accent-soft: #f7e9e4;
  --shadow: 0 18px 50px rgba(62, 44, 30, 0.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: linear-gradient(180deg, #f8f1e8 0, var(--paper) 320px);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: var(--accent); }

.shell {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
}

header { padding: 42px 0 28px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: .01em;
}

.mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  font-family: Georgia, serif;
  font-size: 21px;
}

main {
  margin-bottom: 48px;
  padding: clamp(28px, 6vw, 68px);
  border: 1px solid rgba(159, 63, 45, .1);
  border-radius: 28px;
  background: rgba(255, 253, 248, .94);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1, h2 { font-family: Georgia, "Times New Roman", serif; line-height: 1.18; }
h1 { max-width: 760px; margin: 0 0 18px; font-size: clamp(36px, 7vw, 64px); }
h2 { margin: 46px 0 14px; font-size: clamp(24px, 4vw, 32px); }
h3 { margin: 30px 0 8px; font-size: 19px; }
p { margin: 0 0 14px; }
ul { margin: 8px 0 18px; padding-left: 24px; }

.lead { max-width: 720px; color: var(--muted); font-size: 20px; }
.meta { margin: 14px 0 30px; color: var(--muted); font-size: 14px; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}

.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card strong { font-family: Georgia, serif; font-size: 27px; line-height: 1.2; }
.card span { color: var(--muted); }
.back { display: inline-block; margin-bottom: 24px; font-weight: 700; text-decoration: none; }
.notice { margin: 28px 0; padding: 18px 20px; border-left: 4px solid var(--accent); background: var(--accent-soft); }

footer {
  padding: 0 0 42px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  main { border-radius: 20px; }
}
