:root {
  color-scheme: light;
  --cream: #f5eee3;
  --paper: #fffdf8;
  --forest: #123c31;
  --forest-deep: #09251f;
  --copper: #c86f43;
  --ink: #173029;
  --muted: #68766f;
  --line: #dfd7ca;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 100% 0, rgba(200, 111, 67, 0.1), transparent 32rem),
    var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--forest);
  text-decoration-color: rgba(18, 60, 49, 0.35);
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--copper);
  text-decoration-color: currentColor;
}

.legal-header {
  border-bottom: 1px solid rgba(18, 60, 49, 0.12);
  background: rgba(255, 253, 248, 0.72);
}

.legal-header__inner,
.legal-main,
.legal-footer {
  width: min(calc(100% - 48px), 880px);
  margin-inline: auto;
}

.legal-header__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
}

.brand__text {
  display: grid;
  line-height: 1.1;
}

.brand__text strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.brand__text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.back-link {
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.legal-main {
  padding-block: clamp(54px, 8vw, 92px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--forest-deep);
}

h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 76px);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.legal-content {
  margin-top: 52px;
  padding: clamp(26px, 5vw, 52px);
  border-top: 4px solid var(--copper);
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(35, 50, 42, 0.08);
}

.legal-content section + section {
  margin-top: 38px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(25px, 4vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h3 {
  margin: 24px 0 8px;
  color: var(--forest);
  font-size: 15px;
}

p,
ul {
  margin: 0 0 16px;
}

ul {
  padding-left: 22px;
}

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

address {
  font-style: normal;
}

.contact-card {
  display: grid;
  gap: 4px;
  padding: 22px;
  border-left: 3px solid var(--forest);
  background: rgba(18, 60, 49, 0.045);
}

.contact-card strong {
  font-family: var(--serif);
  font-size: 21px;
}

.legal-note {
  color: var(--muted);
  font-size: 13px;
}

.legal-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px 42px;
  border-top: 1px solid rgba(18, 60, 49, 0.12);
  color: var(--muted);
  font-size: 11px;
}

.legal-footer nav {
  display: flex;
  gap: 14px;
}

@media (max-width: 620px) {
  .legal-header__inner,
  .legal-main,
  .legal-footer {
    width: calc(100% - 32px);
  }

  .legal-header__inner {
    min-height: 76px;
  }

  .brand__text small {
    display: none;
  }

  .back-link {
    font-size: 11px;
  }

  .legal-main {
    padding-block: 42px 62px;
  }

  .lead {
    font-size: 15px;
  }

  .legal-content {
    margin-top: 36px;
    padding: 26px 20px;
  }

  .legal-content section + section {
    margin-top: 30px;
    padding-top: 30px;
  }

  .legal-footer {
    flex-direction: column;
    gap: 10px;
  }
}

@media print {
  .legal-header,
  .legal-footer {
    display: none;
  }

  body {
    background: white;
  }

  .legal-main {
    width: 100%;
    padding: 0;
  }

  .legal-content {
    margin-top: 30px;
    padding: 0;
    box-shadow: none;
  }
}
