:root {
  --accent: #cf2136;
  --accent-dark: #a81729;
  --ink: #181818;
  --muted: #686868;
  --line: #e8e1e2;
  --surface: #ffffff;
  --page: #f5f2f2;
  --shadow: 0 22px 70px rgba(53, 25, 29, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 0, rgba(207, 33, 54, 0.08), transparent 31rem),
    radial-gradient(circle at 100% 28rem, rgba(207, 33, 54, 0.06), transparent 27rem),
    var(--page);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--accent);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(24, 24, 24, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner,
.footer-inner,
.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  width: 235px;
  max-width: 54vw;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.header-link:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.page-shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding: 46px 0 72px;
}

.legal-nav {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 7px;
}

.nav-title,
.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: Oswald, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-nav a {
  display: block;
  padding: 10px 13px;
  border-radius: 10px;
  color: #4c4647;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.72);
}

.legal-nav a.active {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 24px rgba(207, 33, 54, 0.2);
}

.legal-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(24, 24, 24, 0.06);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.policy-header {
  position: relative;
  overflow: hidden;
  padding: 56px 64px 42px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(125deg, rgba(207, 33, 54, 0.09), transparent 52%),
    #fff;
}

.policy-header::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border: 28px solid rgba(207, 33, 54, 0.07);
  border-radius: 50%;
}

h1,
h2,
h3 {
  font-family: Oswald, Arial, sans-serif;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-transform: uppercase;
}

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

.date-row span {
  padding: 7px 11px;
  border: 1px solid rgba(207, 33, 54, 0.2);
  border-radius: 999px;
  color: #6c333b;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.table-of-contents {
  margin: 36px 64px 0;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #faf8f8;
}

.table-of-contents summary {
  padding: 14px 0;
  cursor: pointer;
  font-family: Oswald, Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
}

.table-of-contents nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 24px;
  padding: 0 0 18px;
}

.table-of-contents a {
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

.policy-copy {
  padding: 34px 64px 64px;
}

.policy-copy p {
  margin: 0 0 14px;
}

.policy-copy .legal-lead {
  color: #2d292a;
  font-size: 18px;
  font-weight: 700;
}

.policy-copy h2 {
  margin: 54px 0 18px;
  padding-top: 12px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  scroll-margin-top: 112px;
}

.policy-copy h2:first-of-type {
  margin-top: 26px;
}

.policy-copy h2 span {
  color: var(--accent);
}

.policy-copy h3 {
  margin: 28px 0 10px;
  color: #3d3536;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.policy-copy ul,
.policy-copy ol {
  margin: 12px 0 22px;
  padding-left: 26px;
}

.policy-copy li {
  margin: 7px 0;
  padding-left: 5px;
}

.policy-copy li::marker {
  color: var(--accent);
  font-weight: 700;
}

.site-footer {
  padding: 28px 0 36px;
  color: #595354;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 24, 24, 0.12);
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

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

.footer-inner a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .page-shell {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .legal-nav {
    position: static;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 0 0 7px;
    scrollbar-width: thin;
  }

  .legal-nav .nav-title {
    display: none;
  }

  .legal-nav a {
    flex: 0 0 auto;
    max-width: 210px;
    border: 1px solid rgba(24, 24, 24, 0.08);
    background: rgba(255, 255, 255, 0.76);
  }
}

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

  .header-inner,
  .footer-inner,
  .page-shell {
    width: min(100% - 24px, 1180px);
  }

  .header-inner {
    min-height: 72px;
  }

  .brand {
    width: 174px;
  }

  .header-link {
    min-height: 36px;
    padding: 0 13px;
    font-size: 12px;
  }

  .legal-card {
    border-radius: 20px;
  }

  .policy-header {
    padding: 38px 24px 30px;
  }

  .date-row {
    display: grid;
  }

  .date-row span {
    width: fit-content;
  }

  .table-of-contents {
    margin: 24px 24px 0;
  }

  .table-of-contents nav {
    grid-template-columns: 1fr;
  }

  .policy-copy {
    padding: 24px 24px 40px;
  }

  .policy-copy h2 {
    margin-top: 42px;
    scroll-margin-top: 88px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  body {
    background: #fff;
  }

  .site-header,
  .legal-nav,
  .table-of-contents,
  .site-footer {
    display: none;
  }

  .page-shell {
    display: block;
    width: 100%;
    padding: 0;
  }

  .legal-card {
    border: 0;
    box-shadow: none;
  }

  .policy-header,
  .policy-copy {
    padding-right: 0;
    padding-left: 0;
  }
}
