:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  --bg: #fff8eb;
  --panel: #ffffff;
  --text: #513721;
  --muted: #6f5d48;
  --accent: #2b6f6a;
  --accent-soft: #dff3f1;
  --border: #ead7ba;
  --shadow: 0 20px 50px rgba(81, 55, 33, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(126, 212, 255, 0.25), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 209, 102, 0.24), transparent 26%),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.shell {
  margin: 0 auto;
  max-width: 960px;
  padding: 56px 20px 72px;
}

.hero,
.document,
.doc-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero {
  padding: 32px;
}

.eyebrow,
.doc-kicker,
.meta {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin: 10px 0 12px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
  max-width: 620px;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 24px;
}

.doc-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  padding: 24px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.doc-card:hover {
  box-shadow: 0 24px 60px rgba(43, 111, 106, 0.16);
  transform: translateY(-2px);
}

.doc-card strong {
  font-size: 24px;
  line-height: 1.15;
}

.doc-card span:last-child {
  color: var(--muted);
}

.document {
  margin-top: 24px;
  padding: 28px;
}

.document h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-top: 12px;
}

.document h2 {
  font-size: 22px;
  margin: 28px 0 10px;
}

.document p,
.document li {
  color: var(--muted);
  font-size: 17px;
}

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

.back-link {
  align-items: center;
  color: var(--accent);
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 8px;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .shell {
    padding: 28px 14px 42px;
  }

  .hero,
  .document,
  .doc-card {
    padding: 20px;
  }

  .document p,
  .document li {
    font-size: 16px;
  }
}
