@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;1,6..72,300&display=swap");

:root {
  color: #261715;
  background: #f3efe8;
  font-family: "Inter", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
}

a {
  color: inherit;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 4.45vw, 64px);
  border-bottom: 1px solid rgba(38, 23, 21, 0.12);
}

.wordmark {
  font-family: "Newsreader", serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.wordmark__logo {
  display: block;
  width: auto;
  height: 30px;
}

.back-link {
  color: rgba(38, 23, 21, 0.64);
  font-size: 14px;
  text-decoration: none;
  transition: color 180ms ease;
}

.back-link:hover,
.back-link:focus-visible,
.legal-footer a:hover,
.legal-footer a:focus-visible {
  color: #cf5640;
}

.legal-page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) 0 112px;
}

.eyebrow {
  margin: 0 0 20px;
  color: #cf5640;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.updated {
  margin: 24px 0 64px;
  color: rgba(38, 23, 21, 0.52);
  font-size: 13px;
}

.intro {
  margin-bottom: 56px;
  font-family: "Newsreader", serif;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 300;
  line-height: 1.3;
}

section {
  padding: 32px 0;
  border-top: 1px solid rgba(38, 23, 21, 0.12);
}

h2 {
  margin: 0 0 16px;
  font-family: "Newsreader", serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

h3 {
  margin: 26px 0 10px;
  font-size: 15px;
  font-weight: 600;
}

p,
li {
  color: rgba(38, 23, 21, 0.72);
  font-size: 15px;
  line-height: 1.75;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.notice {
  margin: 28px 0 56px;
  padding: 20px 22px;
  border-left: 2px solid #cf5640;
  background: rgba(207, 86, 64, 0.06);
}

.notice p {
  font-size: 13px;
}

.table-wrap {
  margin-top: 22px;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.55;
}

th,
td {
  min-width: 120px;
  padding: 14px 16px;
  border: 1px solid rgba(38, 23, 21, 0.12);
  color: rgba(38, 23, 21, 0.72);
  text-align: left;
  vertical-align: top;
}

th {
  color: #261715;
  font-weight: 600;
}

.legal-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  padding: 36px clamp(20px, 4.45vw, 64px);
  border-top: 1px solid rgba(38, 23, 21, 0.12);
  color: rgba(38, 23, 21, 0.56);
  font-size: 12px;
  line-height: 1.6;
}

.legal-footer p {
  color: inherit;
  font-size: inherit;
}

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

.legal-footer a {
  text-decoration: none;
  transition: color 180ms ease;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 22px;
  border-radius: 12px;
  background: #261715;
  color: #f3efe8;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.cta:hover,
.cta:focus-visible {
  background: #cf5640;
  color: #f3efe8;
}

.text-link {
  font-weight: 500;
  text-underline-offset: 4px;
}

@media (max-width: 600px) {
  .legal-header {
    padding: 14px 24px;
    padding-top: max(14px, env(safe-area-inset-top));
  }

  .wordmark {
    font-size: 22px;
  }

  .wordmark__logo {
    height: 24px;
  }

  .back-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .legal-page {
    width: min(760px, calc(100% - 48px));
    padding: 64px 0 calc(72px + env(safe-area-inset-bottom));
  }

  h1 {
    font-size: clamp(36px, 11vw, 48px);
    line-height: 1.05;
  }

  .intro {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .updated {
    margin-bottom: 48px;
  }

  .legal-footer {
    grid-template-columns: 1fr;
    padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
  }
}
