@font-face {
  font-family: 'Epilogue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Epilogue-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Epilogue';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Epilogue-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/CormorantGaramond-Regular.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --paper: #f4f1ea;
  --ink: #24231f;
  --muted: #67645d;
  --dark: #10100f;
  --rule: #d6d1c7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Epilogue', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

::selection {
  background: #d8c9b0;
  color: var(--dark);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 2;
  padding: 12px 16px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.legal-header,
.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: clamp(20px, 5vw, 80px);
  background: var(--dark);
  color: var(--paper);
}

.legal-header {
  min-height: 56px;
  padding-inline: clamp(24px, 5vw, 80px);
  background: #11100f;
}

.legal-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
}

.legal-logo img {
  display: block;
  width: 56px;
  height: 56px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 0.8125rem;
}


.content {
  width: min(100% - 48px, 760px);
  margin-inline: auto;
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px);
}

h1,
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  text-wrap: balance;
}

h1 {
  margin: 0 0 40px;
  font-size: clamp(3rem, 7vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.content > p {
  margin: -20px 0 40px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.content > p strong {
  font-weight: 400;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-block: 32px;
  border-top: 1px solid var(--rule);
}

.section:last-child {
  padding-bottom: 0;
}

h2 {
  margin: 0 0 4px;
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.section p,
.section ul {
  margin: 0;
}

.section ul {
  display: grid;
  gap: 12px;
  padding-left: 1.25em;
}

.section li {
  padding-left: 0.25em;
}

strong {
  font-weight: 700;
}

.legal-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 52px;
  gap: 16px 32px;
  padding: 4px clamp(24px, 5vw, 80px);
  background: #11100f;
  color: #ccc3b6;
  font-size: 11px;
  line-height: 1.65;
}

.legal-footer p { margin: 0; grid-column: 2; }
.footer-company { color: #b1a699; }

.legal-footer nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
}

.legal-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  text-underline-offset: 5px;
}

.legal-footer a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

.legal-footer [aria-current='page'] {
  color: #c9b597;
}

@media (max-width: 760px) {
  .legal-footer { display: flex; flex-wrap: wrap; gap: 0 12px; }
  .legal-footer nav { gap: 16px; }
}

@media (max-width: 480px) {
  .legal-footer {
    font-size: 10px;
  }

  .footer-company { display: inline-block; }

  .content {
    width: calc(100% - 40px);
  }

  .section {
    padding-block: 28px;
  }
}

@media print {
  body {
    background: white;
    color: black;
    font-size: 11pt;
  }

  .legal-header,
  .legal-footer,
  .skip-link {
    display: none;
  }

  .content {
    width: 100%;
    padding: 0;
  }

  h2 {
    break-after: avoid;
  }

  p,
  li {
    orphans: 3;
    widows: 3;
  }
}

@media (max-width: 760px) {
  .legal-header { min-height: 52px; }
  .legal-logo { width: 48px; height: 52px; }
  .legal-logo img { width: 48px; height: 48px; }
}
