:root {
  color-scheme: light;
  --cream: #FDFCFB;
  --ink: #14181C;
  --orange: #FF7900;
  --orange-on-light: #b34700; /* ~5.5:1 on cream; #FF7900 fails 1.4.3 / 1.4.11 */
  --teal: #07A3D1;
  --teal-link: #057ea8;
  --teal-link-hover: #035f80;
  --footer: #0B0D0F;
  --muted: rgba(20, 24, 28, 0.68);
  --line: rgba(20, 24, 28, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 8rem; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--orange); color: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--teal-link); text-underline-offset: 3px; }
a:hover { color: var(--teal-link-hover); }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.legal-table-wrap:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 3px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  color: #fff;
  outline: 3px solid #fff;
  outline-offset: 3px;
}
#main:focus { outline: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 252, 251, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 24, 28, 0.08);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px clamp(20px, 5vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
  min-width: 0;
}
.brand {
  width: 112px;
  min-height: 44px;
  height: 44px;
  overflow: hidden;
  text-decoration: none;
  flex: 0 0 112px;
  display: inline-flex;
  align-items: center;
}
.brand img {
  width: 112px;
  height: 40px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.header-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 4px;
  font-size: 14.5px;
  font-weight: 700;
  min-width: 0;
  flex: 1 1 12rem;
  justify-content: flex-end;
}
.header-nav a {
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-nav a:hover { color: var(--teal-link-hover); }
.header-nav a[aria-current="page"] {
  color: var(--orange-on-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-page {
  max-width: 840px;
  width: 100%;
  margin: 0 auto;
  padding: 56px clamp(20px, 5vw, 32px) 96px;
  min-width: 0;
  scroll-margin-top: 8rem;
}
.kicker {
  margin: 0 0 12px;
  color: var(--orange-on-light);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legal-page h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  overflow-wrap: break-word;
}
.dek {
  margin: 0 0 36px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
}

.legal-doc {
  border: 1px solid rgba(20, 24, 28, 0.12);
  border-radius: 16px;
  background: #fff;
  margin: 0 0 16px;
  min-width: 0;
  max-width: 100%;
}
.legal-doc summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.35;
  padding: 14px 56px 14px 24px;
  min-height: 48px;
  list-style: none;
  position: relative;
  display: block;
  overflow-wrap: break-word;
}
.legal-doc summary::-webkit-details-marker { display: none; }
.legal-doc summary::marker { content: ""; }
.legal-doc summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--orange-on-light);
  line-height: 1;
  pointer-events: none;
}
.legal-doc[open] summary {
  border-bottom: 1px solid rgba(20, 24, 28, 0.08);
}
.legal-doc[open] summary::after { content: "–"; }

.legal-body {
  padding: 28px 24px 36px;
  font-size: 1.02rem;
  line-height: 1.7;
  overflow-wrap: break-word;
  min-width: 0;
  max-width: 100%;
}
.legal-body > :first-child { margin-top: 0; }
.legal-body h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}
.legal-body h2 {
  margin: 40px 0 12px;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.legal-body h3 {
  margin: 28px 0 10px;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 800;
}
.legal-body h4 {
  margin: 22px 0 8px;
  font-size: 1rem;
  font-weight: 800;
}
.legal-body p { margin: 0 0 16px; }
.legal-body ul,
.legal-body ol {
  margin: 0 0 18px;
  padding-left: 1.35em;
}
.legal-body li { margin: 0 0 8px; }
.legal-body li > ul,
.legal-body li > ol { margin: 8px 0 0; }
.legal-body hr {
  border: 0;
  border-top: 1px solid rgba(20, 24, 28, 0.12);
  margin: 28px 0;
}
.legal-body strong { font-weight: 700; }
.legal-body a { overflow-wrap: anywhere; }

.legal-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 0 22px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.legal-body table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.5;
}
.legal-body th,
.legal-body td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-body th {
  background: #F4F6F8;
  font-weight: 700;
  white-space: nowrap;
}
.legal-body td { overflow-wrap: anywhere; }
.legal-body tr:last-child td { border-bottom: 0; }

.site-footer {
  padding: 36px clamp(20px, 5vw, 32px);
  background: var(--footer);
  color: rgba(244, 246, 248, 0.6);
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}
.site-footer p {
  margin: 0 auto;
  max-width: 72ch;
  overflow-wrap: break-word;
}
.site-footer a {
  color: rgba(244, 246, 248, 0.85);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
}
.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}
.site-footer a:focus-visible {
  outline-color: #fff;
}

@media (max-width: 640px) {
  .header-inner { padding: 12px 20px; }
  .header-nav {
    flex: 1 1 100%;
    justify-content: flex-start;
    margin-inline: -12px;
  }
}

@media (max-width: 767px) {
  .legal-page { padding: 40px 20px 72px; }
  .legal-body { padding: 20px 16px 28px; font-size: 1rem; }
  .legal-doc summary {
    padding: 14px 52px 14px 16px;
    font-size: 1.02rem;
    min-height: 48px;
  }
  .site-footer { padding: 28px 20px; }
}

@media print {
  .site-header, .skip-link { display: none; }
  .legal-doc { border: 0; break-inside: avoid; }
  .legal-doc:not([open]) > *:not(summary) { display: block !important; }
  .legal-doc summary::after { display: none; }
  .legal-body { padding: 12px 0; }
  .legal-table-wrap { overflow: visible; border: 0; }
  .legal-body table { min-width: 0; }
}
