:root {
  --ink: #11110f;
  --muted: #65655f;
  --paper: #f5f5f0;
  --surface: #fbfbf8;
  --line: #d8d8d0;
  --accent: #d9ff43;
  --max-width: 880px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: #96968e;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--ink);
}

.shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

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

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand sup {
  margin-left: 2px;
  font-size: 0.45em;
  vertical-align: super;
}

.back-link {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

main {
  padding: 72px 0 96px;
}

.document-header {
  margin-bottom: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.8rem, 8vw, 5.25rem);
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.effective-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.document-body {
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.document-body > :first-child {
  margin-top: 0;
}

.document-body > :last-child {
  margin-bottom: 0;
}

.document-body h2 {
  margin: 2.4rem 0 0.65rem;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.document-body p,
.document-body li {
  color: #393934;
}

.document-body p {
  margin: 0.7rem 0;
}

.document-body ul {
  margin: 0.7rem 0 1rem;
  padding-left: 1.35rem;
}

.document-body li + li {
  margin-top: 0.45rem;
}

.redirect-main {
  min-height: calc(100vh - 82px);
  display: grid;
  place-items: center;
  padding: 48px 0;
}

.redirect-card {
  max-width: 640px;
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  text-align: center;
}

.redirect-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  object-fit: contain;
}

.redirect-card h1 {
  font-size: clamp(2.3rem, 7vw, 4.2rem);
}

.redirect-card p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 0;
}

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

.footer-links a {
  text-decoration: none;
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .nav {
    min-height: 72px;
  }

  main {
    padding: 54px 0 72px;
  }

  .document-header {
    margin-bottom: 30px;
  }

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

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