:root {
  color-scheme: light;
  --background: #f7f5f1;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --text: #172033;
  --muted: #667085;
  --border: #d9dee8;
  --primary: #172033;
  --primary-foreground: #f8fafc;
  --blue: #2563eb;
  --green: #15803d;
  --shadow: 0 12px 32px rgba(23, 32, 51, 0.08);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background: var(--background);
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  border-color: var(--border);
  background: rgba(247, 245, 241, 0.96);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px 32px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.site-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a,
.footer-links a {
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  color: var(--primary-foreground);
  background: var(--primary);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.button-secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.site-main {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 56px;
}

.hero,
.page-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}

.page-title {
  grid-template-columns: minmax(0, 1fr);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

p,
li,
dd {
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.notice,
.panel,
.summary,
.content-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.notice {
  padding: 18px;
}

.notice strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.content-card,
.panel,
.summary {
  padding: 22px;
}

.panel,
.summary {
  margin-bottom: 24px;
}

.summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.summary dl > div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.summary dl > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.summary dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.summary dd {
  margin: 0;
  font-weight: 700;
}

.simple-list {
  padding-left: 20px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 800px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .content-grid,
  .summary dl > div {
    grid-template-columns: 1fr;
  }
}
