:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --surface: #fffdf8;
  --text: #1f2a24;
  --muted: #697169;
  --line: #ded8cf;
  --accent: #4f6f5e;
  --accent-strong: #314d3e;
  --soft: #ece7de;
}

* {
  box-sizing: border-box;
}

html {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.brand-header {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 36px;
}

.brand-mark {
  display: inline-grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(31, 42, 36, 0.08);
}

.eyebrow {
  margin: 2px 0 8px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  font-size: clamp(36px, 6vw, 64px);
}

h2 {
  margin-top: 42px;
  font-size: 25px;
}

p,
li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

p {
  margin: 16px 0 0;
}

ul {
  margin: 16px 0 0;
  padding-left: 24px;
}

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

.intro,
.legal section {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0 16px;
  font-weight: 700;
  text-decoration: none;
}

.updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 24px, 860px);
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .brand-header {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 22px;
  }

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