:root {
  color-scheme: light;
  --bg: #eef2f6;
  --surface: #ffffff;
  --text: #1c1410;
  --muted: #6b5f56;
  --accent: #9c4221;
  --accent-light: #c97856;
  --accent-dark: #7c3418;
  --accent-soft: rgba(156, 66, 33, 0.1);
  --border: rgba(28, 20, 16, 0.08);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(28, 20, 16, 0.04), 0 16px 40px rgba(28, 20, 16, 0.07);
  --max-width: 680px;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-brand: "Fraunces", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
}

.site-header {
  margin-bottom: 2.25rem;
}

.site-header--home {
  margin-bottom: 2.75rem;
  padding-bottom: 0.25rem;
}

.brand {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.brand-name {
  display: block;
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 9vw, 3.75rem);
  font-weight: 600;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--text);
}

.brand-ion {
  color: var(--accent);
}

.site-header:not(.site-header--home) .brand-name {
  font-size: clamp(1.65rem, 5vw, 2rem);
}

.tagline,
.meta {
  margin: 1rem 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.page-title {
  margin: 1.75rem 0 0;
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.25rem 2rem;
}

h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

h2:first-child {
  margin-top: 0;
}

p {
  margin: 0 0 1.1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1.1rem;
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.4rem;
}

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

.nav-links {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.nav-links a::after {
  content: "→";
  color: var(--accent);
  font-size: 1rem;
}

.contact {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.98rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

footer {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 520px) {
  .page {
    padding: 2.25rem 1rem 2rem;
  }

  main {
    padding: 1.65rem 1.25rem;
  }

  .tagline,
  .meta {
    font-size: 1rem;
  }
}
