:root {
  --ink: #0d1b35;
  --muted: #657188;
  --accent: #087784;
  --accent-dark: #05606a;
  --line: #d8e2ec;
  --soft: #eef8fa;
  --page: #f3f6fa;
  --white: #ffffff;
  --warning: #fff7e5;
  --warning-line: #e8b648;
  --shadow: 0 18px 45px rgba(13, 27, 53, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--accent-dark);
  font-weight: 700;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.site-header-inner,
.legal-layout,
.site-footer-inner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #092433;
  background: #d4ff55;
  font-size: 21px;
  font-weight: 900;
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong {
  font-size: 20px;
}

.brand-copy span {
  color: var(--muted);
  font-size: 13px;
}

.back-link {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  background: var(--white);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 28px;
  align-items: start;
  padding: 44px 0 56px;
}

.legal-document,
.legal-nav {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-document {
  padding: clamp(24px, 5vw, 54px);
}

.legal-nav {
  position: sticky;
  top: 22px;
  padding: 20px;
}

.legal-nav strong,
.legal-nav a {
  display: block;
}

.legal-nav strong {
  margin-bottom: 8px;
}

.legal-nav a {
  padding: 8px 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
}

h2 {
  margin: 42px 0 10px;
  padding-top: 4px;
  font-size: 25px;
}

h3 {
  margin: 25px 0 8px;
  font-size: 19px;
}

.effective-date {
  margin: 10px 0 28px;
  color: var(--muted);
}

.summary-box,
.notice-box {
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 10px;
}

.summary-box {
  border: 1px solid #bcdfe4;
  background: var(--soft);
}

.notice-box {
  border: 1px solid var(--warning-line);
  background: var(--warning);
}

.summary-box p,
.notice-box p {
  margin: 0;
}

p,
li {
  max-width: 76ch;
}

ul,
ol {
  padding-left: 24px;
}

li + li {
  margin-top: 7px;
}

.contact-card {
  margin-top: 36px;
  padding: 22px;
  border-radius: 10px;
  background: var(--soft);
}

.contact-card h2 {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
}

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

.footer-groups {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.footer-social a,
.footer-social span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--dark);
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: var(--accent);
}

.footer-social a[aria-label="Pinterest"] {
  background: #e60023;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
}

.footer-social span {
  cursor: default;
  opacity: 0.4;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 800px) {
  .legal-layout {
    grid-template-columns: 1fr;
    padding-top: 26px;
  }

  .legal-nav {
    position: static;
    grid-row: 1;
  }

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

  .footer-groups {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .site-header-inner {
    min-height: 72px;
  }

  .brand-copy span {
    display: none;
  }

  .back-link {
    padding: 8px 10px;
    font-size: 14px;
  }

  .legal-document {
    padding: 23px 19px;
  }
}
/* Optional analytics choices are shown only when analytics is configured. */
.analytics-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(720px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid #8fc8cf;
  border-radius: 10px;
  color: #111827;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(16, 24, 40, 0.22);
}

.analytics-consent p {
  margin: 5px 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

.analytics-consent a {
  color: #0d6b75;
  font-size: 13px;
  font-weight: 750;
}

.analytics-consent-actions {
  display: flex;
  gap: 8px;
}

.analytics-consent button,
.analytics-choice-button {
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 9px 11px;
  color: #111827;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.analytics-consent .primary-btn {
  color: #ffffff;
  border-color: #0d6b75;
  background: #0d6b75;
}

.analytics-choice-button {
  color: #0d6b75;
}

@media (max-width: 640px) {
  .analytics-consent {
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
  }

  .analytics-consent-actions button {
    flex: 1;
  }
}
