:root {
  color-scheme: light;
  --bg: #f7f5f0;
  --surface: #ffffff;
  --text: #17211c;
  --muted: #58635d;
  --line: #ddd8ce;
  --accent: #0f684b;
  --accent-strong: #094631;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.home-page,
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.home-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.18;
}

h1 {
  margin: 0 0 24px;
  font-size: 40px;
}

h2 {
  margin: 40px 0 12px;
  font-size: 25px;
}

h3 {
  margin: 28px 0 8px;
  font-size: 19px;
}

p,
ul,
ol,
blockquote,
.table-wrap {
  margin: 0 0 18px;
}

ul,
ol {
  padding-left: 24px;
}

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

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

blockquote {
  border-left: 4px solid var(--accent);
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.66);
}

blockquote p {
  margin: 0;
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #ebe6dc;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.94em;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #eee9df;
}

tr:last-child td {
  border-bottom: 0;
}

.link-list {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.link-list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

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

  h1 {
    font-size: 34px;
  }

  .home-page,
  .legal-page {
    padding-top: 40px;
  }
}
