:root {
  --petrol: #1f5a5a;
  --petrol-dark: #123e3f;
  --petrol-soft: #dcebea;
  --berry: #9a5360;
  --berry-dark: #7a3f4b;
  --berry-soft: #f1e2e4;
  --cream: #f6efe6;
  --paper: #fffdf9;
  --white: #ffffff;
  --ink: #233434;
  --muted: #5f6d6b;
  --line: rgba(31, 90, 90, 0.16);
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-soft: 0 15px 42px rgba(35, 52, 52, 0.09);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--petrol);
  text-underline-offset: 3px;
}

::selection {
  color: var(--white);
  background: var(--berry);
}

:focus-visible {
  outline: 3px solid #d898a3;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--petrol-dark);
  border-radius: 8px;
  text-decoration: none;
  transform: translateY(-160%);
}

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

.legal-shell {
  width: min(calc(100% - 48px), 1160px);
  margin-inline: auto;
}

.legal-header {
  position: relative;
  z-index: 10;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid var(--line);
}

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

.legal-brand {
  display: block;
  width: 190px;
}

.legal-brand img,
.legal-footer img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--petrol-dark);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.legal-back span {
  color: var(--berry);
  font-size: 18px;
  transition: transform 180ms ease;
}

.legal-back:hover span {
  transform: translateX(-3px);
}

.legal-hero {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 75% 15%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, var(--petrol-dark), var(--petrol));
}

.legal-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: 76px 82px;
}

.legal-hero__inner > * {
  max-width: 740px;
}

.legal-hero__orbit {
  position: absolute;
  right: clamp(-110px, 3vw, 42px);
  bottom: -225px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
}

.legal-hero__orbit::before,
.legal-hero__orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.legal-hero__orbit::before {
  inset: 58px;
}

.legal-hero__orbit::after {
  inset: 120px;
  background: rgba(154, 83, 96, 0.14);
}

.legal-eyebrow,
.legal-section-number,
.legal-sidebar__label {
  margin: 0 0 14px;
  color: var(--berry-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-eyebrow {
  color: #f1c7ce;
}

.legal-hero h1 {
  margin: 0 0 18px;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.legal-hero p:not(.legal-eyebrow) {
  margin: 0;
  font-size: clamp(17px, 1.8vw, 20px);
}

.legal-main {
  padding-block: 82px 100px;
  background:
    linear-gradient(180deg, rgba(246, 239, 230, 0.42), transparent 280px),
    var(--paper);
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: clamp(48px, 7vw, 90px);
}

.legal-sidebar {
  position: sticky;
  top: 28px;
}

.legal-sidebar nav {
  display: grid;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
}

.legal-sidebar nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 2px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.legal-sidebar nav a:hover,
.legal-sidebar nav a.is-active {
  color: var(--petrol-dark);
}

.legal-sidebar nav a.is-active span {
  color: var(--berry);
}

.legal-contact-card {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: var(--cream);
  border: 1px solid rgba(154, 83, 96, 0.16);
  border-radius: 18px;
}

.legal-contact-card small {
  margin-bottom: 4px;
  color: var(--berry-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-contact-card strong {
  color: var(--petrol-dark);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
}

.legal-contact-card a {
  font-size: 12px;
  overflow-wrap: anywhere;
}

.legal-article {
  min-width: 0;
}

.legal-article > section {
  padding: 0 0 42px;
  margin: 0 0 42px;
  border-bottom: 1px solid var(--line);
}

.legal-article > section:last-of-type {
  margin-bottom: 25px;
}

.legal-article h2 {
  max-width: 760px;
  margin: 0 0 19px;
  color: var(--petrol-dark);
  font-family: var(--display);
  font-size: clamp(29px, 3.2vw, 40px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.legal-article p,
.legal-article li,
.legal-article address,
.legal-data-list {
  color: var(--muted);
}

.legal-article p {
  margin: 0 0 16px;
}

.legal-article p:last-child {
  margin-bottom: 0;
}

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

.legal-article address {
  font-style: normal;
}

.legal-article ul {
  padding-left: 22px;
  margin: 0;
}

.legal-article li + li {
  margin-top: 8px;
}

.legal-article a {
  font-weight: 660;
}

.legal-review-note {
  position: relative;
  margin: 0 0 48px;
  padding: 24px 26px 24px 30px;
  overflow: hidden;
  background: var(--berry-soft);
  border: 1px solid rgba(154, 83, 96, 0.24);
  border-radius: 18px;
}

.legal-review-note::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  content: "";
  background: var(--berry);
}

.legal-review-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--berry-dark);
}

.legal-review-note p {
  margin: 0;
  color: #684a50;
  font-size: 14px;
}

.legal-review-note--complete {
  background: var(--petrol-soft);
  border-color: rgba(31, 90, 90, 0.2);
}

.legal-review-note--complete::before {
  background: var(--petrol);
}

.legal-review-note--complete strong {
  color: var(--petrol-dark);
}

.legal-review-note--complete p {
  color: #3f5f5d;
}

.legal-data-list {
  margin: 0;
}

.legal-data-list > div {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(31, 90, 90, 0.1);
}

.legal-data-list > div:last-child {
  border-bottom: 0;
}

.legal-data-list dt {
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}

.legal-data-list dd {
  margin: 0;
}

.pending-data {
  display: inline;
  padding: 4px 7px;
  color: var(--berry-dark);
  background: var(--berry-soft);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.6;
  text-transform: uppercase;
}

.legal-updated {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.legal-footer {
  color: rgba(255, 255, 255, 0.7);
  background: #102f30;
}

.legal-footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  min-height: 190px;
  align-items: center;
  gap: clamp(35px, 6vw, 80px);
}

.legal-footer__inner > div:first-child {
  display: grid;
  grid-template-columns: 190px minmax(0, 290px);
  align-items: center;
  gap: 24px;
}

.legal-footer img {
  padding: 8px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
}

.legal-footer p {
  margin: 0;
  font-size: 12px;
}

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

.legal-footer a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-decoration: none;
}

.legal-footer a:hover,
.legal-footer a[aria-current="page"] {
  color: var(--white);
}

@media (max-width: 900px) {
  .legal-main {
    padding-block: 62px 78px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .legal-sidebar {
    position: static;
  }

  .legal-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    border: 0;
  }

  .legal-sidebar nav a {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .legal-contact-card {
    display: none;
  }

  .legal-footer__inner {
    grid-template-columns: 1fr;
    padding-block: 48px;
    gap: 28px;
  }

  .legal-footer__inner > div:first-child {
    grid-template-columns: 170px minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .legal-shell {
    width: min(calc(100% - 32px), 1160px);
  }

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

  .legal-brand {
    width: 148px;
  }

  .legal-back {
    font-size: 12px;
  }

  .legal-hero {
    min-height: 270px;
  }

  .legal-hero__inner {
    padding-block: 59px 65px;
  }

  .legal-hero__orbit {
    right: -240px;
    bottom: -265px;
  }

  .legal-main {
    padding-block: 46px 64px;
  }

  .legal-sidebar nav {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .legal-review-note {
    margin-bottom: 38px;
    padding: 20px 20px 20px 24px;
  }

  .legal-article > section {
    padding-bottom: 32px;
    margin-bottom: 32px;
  }

  .legal-data-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-block: 13px;
  }

  .legal-footer__inner > div:first-child {
    grid-template-columns: 150px;
  }

  .legal-footer nav {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}

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

  .legal-main,
  .legal-hero {
    padding: 0;
    color: #000;
    background: #fff;
  }

  .legal-hero {
    min-height: auto;
  }

  .legal-hero__inner {
    padding: 0 0 30px;
  }

  .legal-hero h1,
  .legal-hero p,
  .legal-article h2,
  .legal-article p,
  .legal-article li,
  .legal-article address {
    color: #000;
  }

  .legal-layout {
    display: block;
  }
}
