:root {
  color-scheme: light;
  --porcelain: #f7f2ea;
  --surface: #fffdf8;
  --ink: #1d2828;
  --muted: #61706d;
  --line: #ded6c9;
  --teal: #0a6e69;
  --teal-dark: #064d4a;
  --warning: #8a5a12;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: var(--teal-dark);
  font-weight: 650;
}

header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.header-inner,
main,
footer {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

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

.brand strong {
  display: block;
  font-size: 1.1rem;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  text-decoration: none;
  font-size: 0.9rem;
}

main {
  padding: 56px 0 64px;
}

h1,
h2 {
  line-height: 1.22;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 8vw, 3.25rem);
}

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

p,
li {
  max-width: 68ch;
}

.lede,
.meta {
  color: var(--muted);
}

.notice {
  margin: 30px 0;
  padding: 18px 20px;
  border: 1px solid #d8c298;
  border-left: 4px solid var(--warning);
  border-radius: 6px;
  background: #fff8e9;
}

.contact {
  margin-top: 42px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

footer {
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 560px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 12px;
  }

  main {
    padding-top: 38px;
  }
}
