:root {
  color-scheme: light;

  --background: #F3F1EE;
  --text: #11100F;
  --max-width: 1120px;
  --font-heading: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--text);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--text);
  background: var(--background);
}

.header-inner {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.04rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link,
.contact-link,
.privacy-link,
.email-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--text);
  border-radius: 999px;
  padding: 9px 15px;
  background: var(--background);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
}

.contact-link,
.email-button {
  background: var(--text);
  color: var(--background);
}

.nav-link:hover,
.contact-link:hover,
.privacy-link:hover,
.email-button:hover {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.contact-link:active,
.email-button:active {
  transform: translateY(1px) scale(0.99);
}

main {
  width: 100%;
}

.hero {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 72px 0 42px;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 16px;
  border: 1px solid var(--text);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--background);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 4.45rem;
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: 0;
}

.intro {
  max-width: 740px;
  margin: 22px 0 0;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.62;
}

.meta,
.updated {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: 0.92rem;
}

.content-layout {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  padding: 16px;
  border: 1px solid var(--text);
  border-radius: 8px;
  background: var(--background);
}

.toc-title {
  margin-bottom: 10px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.toc nav {
  display: grid;
  gap: 2px;
}

.toc a {
  border-radius: 6px;
  padding: 8px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.toc a:hover {
  outline: 1px solid var(--text);
}

.policy,
.content-card {
  min-width: 0;
  border: 1px solid var(--text);
  border-radius: 8px;
  background: var(--background);
}

.policy {
  padding: 52px;
}

.content-card {
  width: min(calc(100% - 40px), 920px);
  margin: 0 auto 72px;
  padding: 48px;
}

.notice,
.request-box,
.warning,
.contact-card {
  border-radius: 8px;
}

.notice {
  margin-bottom: 42px;
  border: 1px solid var(--text);
  border-left: 4px solid var(--text);
  padding: 17px 19px;
  background: var(--background);
  color: var(--text);
}

.request-box {
  margin: 24px 0;
  border: 1px solid var(--text);
  padding: 22px;
  background: var(--background);
}

.request-box strong {
  color: var(--text);
}

.email-button {
  width: fit-content;
  margin-top: 6px;
}

.warning {
  margin: 24px 0;
  border: 1px solid var(--text);
  padding: 17px 19px;
  background: var(--background);
  color: var(--text);
}

.policy section,
.content-card section {
  padding-top: 8px;
}

.policy section + section,
.content-card section + section {
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid var(--text);
}

h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.78rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 30px 0 10px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 850;
  line-height: 1.35;
}

p {
  margin: 0 0 16px;
}

ul,
ol {
  margin: 12px 0 20px;
  padding-left: 22px;
}

li {
  margin: 7px 0;
}

.contact-card {
  border: 1px solid var(--text);
  padding: 20px;
  background: var(--background);
}

footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 44px;
  border-top: 1px solid var(--text);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--text);
  font-size: 0.9rem;
}

footer a {
  color: var(--text);
}

@media (max-width: 900px) {
  h1 {
    font-size: 3.35rem;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy,
  .content-card {
    padding: 34px;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .hero,
  .content-layout,
  .content-card,
  footer {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-link,
  .contact-link,
  .privacy-link {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.86rem;
  }

  .hero {
    padding: 44px 0 30px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .intro {
    font-size: 1.04rem;
  }

  .dot {
    display: none;
  }

  .meta,
  .updated {
    display: grid;
  }

  .policy,
  .content-card {
    padding: 24px 20px;
  }

  .toc nav {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}

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

@media print {
  .site-header,
  .toc,
  footer,
  .email-button {
    display: none;
  }

  .hero,
  .content-layout,
  .content-card {
    width: 100%;
  }

  .hero {
    padding: 0 0 24px;
  }

  .content-layout {
    display: block;
  }

  .policy,
  .content-card {
    border: 0;
    padding: 0;
  }
}
