:root {
  color-scheme: light;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #1f1f1f;
  background: #fdf9f5;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #fdf9f5;
}

a {
  color: #9e2f1f;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid rgba(196, 68, 41, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 10px 12px;
  color: #ffffff;
  background: #1f1f1f;
  transform: translateY(-160%);
}

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

.site-header {
  border-bottom: 1px solid #efe7db;
  background: #fffcfa;
}

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

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

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  display: block;
  width: 158px;
  height: auto;
}

nav {
  display: flex;
  align-items: stretch;
  gap: 24px;
}

nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #6f6a64;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

nav a[aria-current="page"] {
  color: #1f1f1f;
  border-bottom-color: #c44429;
}

.support-main,
.legal-main {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
}

.support-main {
  min-height: calc(100vh - 145px);
  padding: 72px 0 96px;
}

.legal-main {
  padding: 64px 0 96px;
}

.page-heading,
.legal-heading {
  margin-bottom: 48px;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 38px;
  line-height: 48px;
}

.page-heading p,
.document-date {
  margin: 12px 0 0;
  color: #6f6a64;
  font-size: 16px;
  line-height: 25px;
}

.support-section {
  margin-top: 44px;
}

.support-section h2 {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 24px;
}

.contact-row,
.simple-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #1f1f1f;
  text-decoration: none;
  border-top: 1px solid #efe7db;
}

.contact-row {
  min-height: 108px;
  padding: 16px 0;
  border-bottom: 1px solid #efe7db;
}

.contact-row:hover,
.simple-row:hover {
  color: #9e2f1f;
}

.row-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 20px;
}

.row-copy strong {
  font-size: 16px;
}

.row-copy > span:not(.secondary-copy) {
  color: #4f4b47;
  font-size: 14px;
}

.secondary-copy {
  color: #77716b;
  font-size: 13px;
}

.external-mark {
  color: #6f6a64;
  font-size: 20px;
}

.simple-row {
  font-size: 15px;
  font-weight: 600;
}

.simple-row:last-child {
  border-bottom: 1px solid #efe7db;
}

.document-type {
  margin: 0 0 8px;
  color: #c44429;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.document-metadata {
  margin: 24px 0 0;
}

.document-metadata div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px;
  padding: 4px 0;
  font-size: 14px;
  line-height: 21px;
}

.document-metadata dt {
  font-weight: 700;
}

.document-metadata dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.legal-document {
  padding-top: 8px;
}

.legal-section {
  scroll-margin-top: 24px;
  margin-top: 44px;
}

.legal-section h2 {
  margin: 0 0 16px;
  font-size: 21px;
  line-height: 29px;
}

.legal-section h3 {
  margin: 28px 0 10px;
  font-size: 16px;
  line-height: 23px;
}

.legal-section p,
.legal-section li {
  color: #45413d;
  font-size: 15px;
  line-height: 25px;
}

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

.legal-section ul {
  margin: 4px 0 20px;
  padding-left: 24px;
}

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

.table-scroll {
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid #e5ddd4;
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fffcfa;
}

th,
td {
  padding: 12px;
  color: #45413d;
  font-size: 14px;
  line-height: 21px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e5ddd4;
}

thead th {
  color: #1f1f1f;
  background: #f8f3ec;
}

tbody th {
  width: 32%;
  color: #1f1f1f;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

.primary-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: #c44429;
  padding: 0 16px;
  border-radius: 6px;
}

.site-footer {
  border-top: 1px solid #efe7db;
  background: #fffcfa;
}

.site-footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #6f6a64;
  font-size: 13px;
}

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

.footer-links a {
  color: #6f6a64;
}

@media (max-width: 600px) {
  .site-header-inner {
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-top: 14px;
  }

  .brand-link img {
    width: 138px;
  }

  nav {
    width: 100%;
    gap: 22px;
  }

  .support-main,
  .legal-main {
    width: min(100% - 32px, 760px);
  }

  .support-main,
  .legal-main {
    padding-top: 40px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: 30px;
    line-height: 39px;
  }

  .page-heading,
  .legal-heading {
    margin-bottom: 36px;
  }

  .document-metadata div {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 5px 0;
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

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