:root {
  color-scheme: light dark;
  --bg: #faf6f0;
  --surface: #fffbf5;
  --surface-elevated: #fff7ec;
  --text: #2b2420;
  --muted: #6b5d52;
  --soft: #a89989;
  --accent: #b8725a;
  --accent-deep: #9c5b45;
  --accent-tint: #f5e4d8;
  --border: #ead8ca;
  --shadow: rgba(60, 38, 27, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #201a17;
    --surface: #2b2420;
    --surface-elevated: #342b26;
    --text: #fff7ec;
    --muted: #d8c6b7;
    --soft: #b69f8d;
    --accent: #e8b89a;
    --accent-deep: #f3c9ae;
    --accent-tint: #473227;
    --border: #4a3b32;
    --shadow: rgba(0, 0, 0, 0.28);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "SF Pro Rounded", ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 8px 24px var(--shadow);
}

.brand-wordmark {
  display: block;
  width: 112px;
  line-height: 0;
}

.brand-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

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

.hero,
.document {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 18px 50px var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  overflow: hidden;
}

.hero-icon {
  width: clamp(96px, 18vw, 164px);
  height: clamp(96px, 18vw, 164px);
  border-radius: 34px;
  box-shadow: 0 18px 40px var(--shadow);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 32px 0 8px;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  margin: 0 0 16px;
}

ul {
  padding-left: 1.2rem;
}

.lead,
.updated {
  color: var(--muted);
}

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

.links a {
  display: grid;
  min-height: 96px;
  align-content: center;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-elevated);
  text-decoration: none;
  font-weight: 650;
  box-shadow: 0 10px 30px var(--shadow);
}

.links a span {
  color: var(--text);
  font-size: 1.05rem;
}

.links a small {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.contact {
  font-size: 1.1rem;
  font-weight: 650;
  padding: 16px 18px;
  background: var(--accent-tint);
  border-radius: 14px;
}

.document {
  max-width: 820px;
}

.document-header {
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.back-link {
  margin-top: 32px;
  color: var(--muted);
}

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

  .hero-icon {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }

  .links {
    grid-template-columns: 1fr;
  }
}
