:root {
  --bg: #f5efe5;
  --paper: #fffdf8;
  --paper-strong: #ffffff;
  --text: #1f2937;
  --muted: #5b6472;
  --accent: #c96b3c;
  --accent-deep: #8c3c1c;
  --line: rgba(31, 41, 55, 0.12);
  --shadow: 0 24px 80px rgba(78, 49, 33, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at top left, rgba(201, 107, 60, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(110, 158, 123, 0.16), transparent 30%),
    linear-gradient(180deg, #f8f2e8 0%, #f3ede2 100%);
}

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

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

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 28px;
  padding: 44px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 240, 0.86)),
    linear-gradient(180deg, rgba(201, 107, 60, 0.08), rgba(0, 0, 0, 0));
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -90px -110px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(201, 107, 60, 0.08);
  filter: blur(4px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(201, 107, 60, 0.12);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0 12px;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lede {
  max-width: 800px;
  margin: 0;
  font-size: 1.06rem;
  color: var(--muted);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.98rem;
}

.layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  margin-top: 28px;
}

.card,
.toc {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
}

.toc {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 24px;
}

.toc h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.toc a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: var(--text);
}

.toc a:hover,
.toc a:focus {
  color: var(--accent-deep);
}

.card {
  padding: 34px;
}

section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 14px;
  font-size: 1.55rem;
  line-height: 1.2;
}

p,
li {
  color: var(--text);
  font-size: 1rem;
}

ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

.note {
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  background: rgba(201, 107, 60, 0.08);
  color: var(--text);
}

.contact-box {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(201, 107, 60, 0.08), rgba(110, 158, 123, 0.08));
  border: 1px solid var(--line);
}

.footer {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 920px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 20px, 1100px);
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .hero,
  .card,
  .toc {
    border-radius: 20px;
  }

  .hero {
    padding: 28px 22px;
  }

  .card,
  .toc {
    padding: 22px;
  }
}
