@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/HankenGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/HankenGrotesk-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1a1714;
  --muted: #6e675e;
  --soft-ink: #8a8178;
  --line: #efe4da;
  --cream: #fff8f3;
  --cream-deep: #fbece2;
  --surface: #ffffff;
  --coral: #f04f43;
  --coral-soft: #fff0ec;
  --focus: #1a1714;
  --max: 920px;
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(90% 42% at 50% 0%, #fff 0%, transparent 72%),
    var(--cream);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--coral);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(239, 228, 218, 0.88);
  background: rgba(255, 248, 243, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(240, 79, 67, 0.11);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 7px 24px rgba(82, 55, 37, 0.08);
}

.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.back-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.language-links {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.language-links a {
  display: grid;
  min-width: 38px;
  min-height: 44px;
  padding: 0 9px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.language-links a[aria-current="page"] {
  color: #fff;
  background: var(--ink);
}

main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 94px) 0 110px;
}

.document-head {
  position: relative;
  padding: clamp(32px, 6vw, 58px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 24px 70px rgba(88, 53, 30, 0.09);
}

.document-head::after {
  position: absolute;
  width: 230px;
  height: 230px;
  right: -92px;
  bottom: -112px;
  border: 1px solid rgba(240, 79, 67, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(240, 79, 67, 0.045),
    0 0 0 76px rgba(240, 79, 67, 0.025);
  content: "";
}

.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 14px 0 20px;
  font-size: clamp(2.65rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.document-summary {
  position: relative;
  z-index: 1;
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.meta {
  position: relative;
  z-index: 1;
  display: flex;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.meta p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.92rem;
}

.meta strong {
  color: var(--ink);
}

.legal-content {
  padding: clamp(38px, 7vw, 70px) clamp(4px, 3vw, 28px) 0;
}

.legal-content > p:first-child {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.legal-section {
  padding-top: 16px;
}

h2 {
  margin: 42px 0 12px;
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

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

p {
  margin: 12px 0;
}

ul {
  margin: 14px 0 0;
  padding-left: 1.35em;
}

li {
  margin: 8px 0;
  padding-left: 0.2em;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
}

.footer-inner {
  display: flex;
  width: min(1160px, calc(100% - 40px));
  min-height: 92px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--soft-ink);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 760px) {
  .nav {
    width: min(100% - 28px, 1160px);
    min-height: 68px;
    gap: 12px;
  }

  .nav-actions {
    gap: 10px;
  }

  .back-link {
    display: none;
  }

  .language-links {
    max-width: calc(100vw - 116px);
    overflow-x: auto;
  }

  .language-links a {
    min-width: 35px;
    min-height: 40px;
    padding-inline: 7px;
  }

  main {
    width: min(100% - 28px, var(--max));
    padding-top: 34px;
  }

  .document-head {
    padding: 30px 24px 34px;
    border-radius: 24px;
  }

  .document-head::after {
    opacity: 0.65;
  }

  .legal-content {
    padding-inline: 4px;
  }

  .footer-inner {
    width: min(100% - 28px, 1160px);
    padding: 26px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
