@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin.woff2") format("woff2");
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/dm-mono-400.woff2") format("woff2");
}

:root {
  color-scheme: light;
  font-family: "Manrope", system-ui, sans-serif;
  color: #2a0f24;
  background: #fff5f3;
  line-height: 1.75;
}

* { box-sizing: border-box; }
body { margin: 0; background: linear-gradient(135deg, #fff9f3, #fff5f3 45%, #ffe5e2); }
a { color: inherit; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
a:hover { color: #8c2943; }
a:focus-visible { outline: 3px solid #8c2943; outline-offset: 5px; border-radius: 2px; }
.skip-link { position: absolute; top: 12px; left: 16px; transform: translateY(-200%); padding: 10px 16px; background: #fff; z-index: 2; }
.skip-link:focus { transform: translateY(0); }
.site-header, main, .site-footer { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header { padding-block: 28px; border-bottom: 1px solid #e5c9cf; font-size: 0.875rem; }
.identity { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; }
.identity-icon { display: block; flex-shrink: 0; width: 36px; height: 36px; }
.policy-header { padding-block: 64px 44px; max-width: 780px; }
.eyebrow { margin: 0 0 16px; font-family: "DM Mono", monospace; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: #76576b; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.055em; margin: 0 0 20px; }
.updated { font-size: 0.875rem; color: #76576b; margin-bottom: 28px; }
.intro { font-size: 1.15rem; }
.summary { padding: 22px 26px; border-left: 3px solid #ff6b6b; border-radius: 0 12px 12px 0; background: rgb(255 255 255 / 0.65); }
.policy-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 64px; padding-bottom: 64px; }
.contents { align-self: start; position: sticky; top: 28px; font-size: 0.875rem; }
.contents ol { list-style: none; margin: 0; padding: 0; }
.contents li { margin-block: 8px; }
.contents a { text-decoration: none; display: inline-block; padding-block: 3px; }
.contents a:hover { text-decoration: underline; }
.policy-body { min-width: 0; max-width: 760px; }
section { scroll-margin-top: 24px; padding-block: 28px; border-top: 1px solid #e5c9cf; }
h2 { margin: 0 0 16px; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.35; }
h3 { font-size: 1rem; margin: 26px 0 10px; font-weight: 600; }
p { margin: 0 0 16px; }
section p:last-child { margin-bottom: 0; }
ul { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 12px; }
strong { font-weight: 600; }
.site-footer { border-top: 1px solid #e5c9cf; padding-block: 24px 40px; font-size: 0.8rem; color: #76576b; }

@media (max-width: 800px) {
  .site-header, main, .site-footer { width: calc(100% - 40px); }
  .policy-header { padding-block: 44px 24px; }
  .policy-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .contents { position: static; }
  .contents ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
}

@media (max-width: 440px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .summary { padding: 18px; }
}

@media print {
  :root, body { background: #fff; color: #000; }
  .site-header, main, .site-footer { width: 100%; }
  .skip-link, .contents, .site-header, .site-footer { display: none; }
  .policy-header { padding-block: 0 24px; }
  .policy-layout { display: block; }
  .policy-body { max-width: none; }
  h2, h3 { break-after: avoid; }
}
