:root {
  color-scheme: light;
  --brand: #e23260;
  --brand-dark: #b91f49;
  --brand-soft: #ffe5eb;
  --paper: #fffaf9;
  --surface: #ffffff;
  --ink: #29241f;
  --muted: #746960;
  --line: #eadfda;
  --focus: #126a57;
  --shadow: 0 14px 40px rgba(70, 39, 32, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--brand-dark);
  text-underline-offset: 3px;
}

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

a:focus-visible {
  border-radius: 3px;
  outline: 3px solid rgba(18, 106, 87, 0.28);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(234, 223, 218, 0.88);
  background: rgba(255, 250, 249, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  width: min(1080px, calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--brand-dark);
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 54px;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.document {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 780;
}

.lede {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.notice {
  margin: 32px 0 10px;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: 0 6px 6px 0;
  background: var(--brand-soft);
}

.notice p {
  margin: 0;
}

.document section {
  padding-top: 40px;
}

.document h2 {
  margin: 0 0 14px;
  font-size: 25px;
  font-weight: 760;
}

.document h3 {
  margin: 26px 0 8px;
  font-size: 18px;
  font-weight: 740;
}

.document p,
.document ul,
.document ol {
  max-width: 780px;
}

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

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

.toc {
  position: sticky;
  top: 100px;
  align-self: start;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.toc-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.toc a:hover {
  color: var(--brand-dark);
}

.faq-list {
  max-width: 780px;
  border-top: 1px solid var(--line);
}

details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 720;
}

details p,
details ol,
details ul {
  margin-bottom: 0;
}

.support-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  max-width: 780px;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.support-callout h2,
.support-callout p {
  margin-top: 0;
}

.support-callout p:last-child {
  margin-bottom: 0;
}

.contact-address {
  align-self: center;
  padding: 10px 14px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 720;
  overflow-wrap: anywhere;
  text-align: center;
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #f3ebe8;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}

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

.footer-inner {
  display: flex;
  width: min(1080px, calc(100% - 40px));
  min-height: 100px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

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

@media (max-width: 820px) {
  .page-shell {
    display: block;
    padding-top: 52px;
  }

  .toc {
    display: none;
  }
}

@media (max-width: 600px) {
  .nav {
    width: min(100% - 28px, 1080px);
    min-height: 62px;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    gap: 13px;
    font-size: 13px;
  }

  .page-shell {
    width: min(100% - 32px, 1080px);
    padding: 42px 0 72px;
  }

  h1 {
    font-size: 38px;
  }

  .lede {
    font-size: 17px;
  }

  .document section {
    padding-top: 34px;
  }

  .support-callout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: block;
    width: min(100% - 32px, 1080px);
    padding: 24px 0;
  }

  .footer-links {
    margin-top: 12px;
  }
}

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

  body {
    background: #fff;
    color: #000;
  }

  .page-shell {
    display: block;
    width: 100%;
    padding: 0;
  }

  a {
    color: #000;
  }
}
