:root {
  --paper: #fff;
  --sand: #f4ede9;
  --ink: #3a2a21;
  --soft: rgba(58, 42, 33, .68);
  --faint: rgba(58, 42, 33, .46);
  --line: rgba(58, 42, 33, .16);
  --accent: #5c1f3c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 68px;
  padding: 12px 40px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-header .back,
.site-header .contact {
  color: var(--soft);
  font-size: 12px;
  text-decoration: none;
}
.site-header .back:hover,
.site-header .contact:hover { color: var(--accent); }
.site-header .contact { justify-self: end; }
.site-header .logo { justify-self: center; line-height: 0; }
.site-header img { display: block; width: auto; height: 27px; }
.hero {
  padding: 76px 40px 58px;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}
.hero-inner,
.legal-layout,
.footer-inner { width: min(1120px, 100%); margin: 0 auto; }
.eyebrow {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
h1 {
  max-width: 920px;
  margin-top: 14px;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.08;
}
.hero .intro {
  max-width: 760px;
  margin-top: 22px;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.8;
}
.effective {
  display: inline-block;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}
.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 70px;
  padding: 64px 40px 100px;
}
.contents { align-self: start; position: sticky; top: 98px; }
.contents p {
  margin-bottom: 15px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.contents a {
  display: block;
  margin-top: 11px;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
}
.contents a:hover { color: var(--accent); }
.document section { scroll-margin-top: 94px; }
.document section + section {
  margin-top: 46px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}
.document h2 {
  margin-bottom: 20px;
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.25;
}
.document h3 {
  margin: 26px 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}
.document p,
.document li {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.85;
}
.document p + p { margin-top: 14px; }
.document ul,
.document ol { margin: 13px 0 0 21px; }
.document li + li { margin-top: 8px; }
.document strong { color: var(--ink); font-weight: 700; }
.document a { color: var(--accent); text-underline-offset: 3px; }
.details,
.notice {
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.notice { background: var(--sand); }
.details p,
.notice p { color: var(--ink); }
.details p + p { margin-top: 6px; }
.legal-footer {
  padding: 44px 40px;
  background: var(--sand);
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.footer-inner p { color: var(--soft); font-size: 12px; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 22px; }
.footer-links a { color: var(--ink); font-size: 12px; text-decoration: none; }
.footer-links a:hover,
.footer-links a[aria-current="page"] { color: var(--accent); }

@media (max-width: 780px) {
  .site-header { padding: 12px 20px; }
  .site-header .contact { display: none; }
  .site-header .back { font-size: 0; }
  .site-header .back::before { content: '←'; font-size: 19px; }
  .hero { padding: 54px 22px 42px; }
  .legal-layout { grid-template-columns: 1fr; gap: 38px; padding: 42px 22px 72px; }
  .contents { position: static; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .contents nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .document section + section { margin-top: 36px; padding-top: 34px; }
  .legal-footer { padding: 36px 22px; }
  .footer-inner { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 430px) {
  .contents nav { grid-template-columns: 1fr; }
  .details,
  .notice { padding: 19px 18px; }
}
