:root {
  --paper: #f3e6cf;
  --paper-soft: #fbf4e6;
  --paper-deep: #e4cfab;
  --ink: #171923;
  --muted: #5d5a52;
  --night: #161d33;
  --cream: #fff8e8;
  --line: rgba(23, 25, 35, 0.16);
  --ochre: #b87035;
  --brick: #8f4f3e;
  --star: #fff1c3;
  --focus: #f2c15f;
  --sans:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(243, 230, 207, 0.9), var(--paper) 42%),
    url("/assets/hero-dawn-c.png") 50% 0 / cover no-repeat fixed;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(23, 25, 35, 0.025) 0,
      rgba(23, 25, 35, 0.025) 1px,
      transparent 1px,
      transparent 8px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 248, 232, 0.12) 0,
      rgba(255, 248, 232, 0.12) 1px,
      transparent 1px,
      transparent 7px
    );
}

a {
  color: inherit;
}

:where(a):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  padding: 28px 0 18px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.nav-links,
.footer-links {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, var(--star) 0 3px, transparent 4px),
    radial-gradient(circle at 62% 61%, var(--star) 0 2px, transparent 3px),
    var(--night);
  box-shadow: inset 0 0 0 2px rgba(255, 241, 195, 0.2);
}

.nav-links {
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 720;
}

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

.legal-main {
  padding: 56px 0 84px;
}

.section-label {
  color: var(--ochre);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 520;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin: 10px 0 0;
  font-size: clamp(2.6rem, 8vw, 5.1rem);
}

h2 {
  margin: 0;
  font-size: clamp(1.65rem, 4.6vw, 2.35rem);
}

h3 {
  margin: 0;
  font-size: 1.25rem;
}

.lead {
  max-width: 740px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.1rem;
}

.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.meta-pill {
  border: 1px solid rgba(97, 75, 45, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 248, 232, 0.64);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 720;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.summary-item {
  border: 1px solid rgba(97, 75, 45, 0.18);
  border-radius: 16px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.78), rgba(246, 234, 210, 0.58)),
    var(--paper-soft);
  box-shadow: 0 14px 34px rgba(57, 42, 22, 0.08);
}

.summary-item p {
  margin: 8px 0 0;
}

.legal-section {
  display: grid;
  grid-template-columns: minmax(200px, 0.38fr) 1fr;
  gap: 44px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.legal-section:first-of-type {
  margin-top: 42px;
}

p,
li {
  color: var(--muted);
}

p {
  margin: 0;
}

p + p {
  margin-top: 14px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

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

.note {
  border-left: 4px solid var(--ochre);
  margin-top: 18px;
  padding-left: 14px;
  color: #4b4234;
  font-weight: 720;
}

.inline-link {
  color: var(--brick);
  font-weight: 720;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-line {
  margin-top: 16px;
  font-weight: 760;
}

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  gap: 14px;
}

@media (max-width: 760px) {
  .wrap {
    width: min(980px, calc(100% - 28px));
  }

  .nav,
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .summary-grid,
  .legal-section {
    grid-template-columns: 1fr;
  }

  .legal-section {
    gap: 14px;
  }
}
