:root {
  --paper: #f6f4ec;
  --paper-deep: #ebe7da;
  --ink: #20221f;
  --muted: #63665f;
  --line: #d8d4c8;
  --blue: #3567d6;
  --blue-deep: #214ca9;
  --coral: #ed725f;
  --yellow: #f0bd45;
  --green: #63a783;
  --white: #fffef9;
  --content: 74rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 3%, rgba(240, 189, 69, 0.14), transparent 20rem),
    radial-gradient(circle at 92% 15%, rgba(53, 103, 214, 0.1), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue-deep);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

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

a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
  border-radius: 0.2rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 0.35rem;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(32, 34, 31, 0.12);
  background: rgba(246, 244, 236, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(calc(100% - 2rem), var(--content));
  min-height: 4.5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.15rem;
  padding: 0.28rem;
  background: var(--ink);
  border-radius: 0.65rem;
  transform: rotate(-3deg);
}

.brand-mark span {
  border-radius: 0.2rem;
}

.brand-mark span:nth-child(1) { background: var(--coral); }
.brand-mark span:nth-child(2) { background: var(--yellow); }
.brand-mark span:nth-child(3) { background: var(--blue); }

.document-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

main {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
}

.hero {
  padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 9vw, 7.6rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.lede {
  max-width: 43rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
  line-height: 1.55;
}

.policy-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 3rem;
  max-width: 45rem;
  margin-top: 2.75rem;
}

.policy-meta > div {
  padding-top: 0.9rem;
  border-top: 2px solid var(--ink);
}

.meta-label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 7.5rem);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.contents {
  align-self: start;
  position: sticky;
  top: 7rem;
}

.contents > p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contents nav {
  display: grid;
  border-top: 1px solid var(--line);
}

.contents a {
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.contents a:hover {
  color: var(--blue-deep);
  padding-left: 0.25rem;
}

.policy-body {
  max-width: 50rem;
}

.policy-body > section {
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.policy-body > section + section {
  padding-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--line);
}

h2 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

h2 span {
  color: var(--coral);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: normal;
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  line-height: 1.4;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 1.25rem 0 1.5rem;
  padding-left: 1.3rem;
}

li {
  margin-bottom: 0.55rem;
  padding-left: 0.35rem;
}

li::marker {
  color: var(--coral);
}

.data-list {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.data-item {
  display: grid;
  grid-template-columns: minmax(10rem, 0.65fr) minmax(0, 1.35fr);
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.data-item p {
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}

.service-card {
  min-height: 12rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 254, 249, 0.6);
  border-radius: 0.8rem;
}

.service-card:last-child {
  grid-column: 1 / -1;
  min-height: auto;
}

.service-card p {
  color: var(--muted);
}

.service-card a {
  display: block;
  width: fit-content;
  margin-top: 0.4rem;
  font-weight: 650;
}

code {
  padding: 0.13em 0.35em;
  background: var(--paper-deep);
  border-radius: 0.25rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88em;
}

.deletion-callout {
  margin: 2rem 0;
  padding: clamp(1.5rem, 5vw, 2.4rem);
  border: 1px solid rgba(53, 103, 214, 0.3);
  border-left: 0.45rem solid var(--blue);
  background: rgba(53, 103, 214, 0.07);
  border-radius: 0.25rem 0.85rem 0.85rem 0.25rem;
}

.deletion-callout h3 {
  margin-bottom: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
}

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

.callout-label {
  margin-bottom: 0.35rem;
  color: var(--blue-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

address {
  padding: 1.5rem;
  border-left: 0.25rem solid var(--green);
  background: rgba(99, 167, 131, 0.08);
  font-style: normal;
}

footer {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

footer p {
  margin: 0;
}

@media (max-width: 52rem) {
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .contents {
    position: static;
  }

  .contents nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
  }

  .data-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

@media (max-width: 38rem) {
  .header-inner,
  main,
  footer {
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .document-label {
    display: none;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .policy-meta,
  .service-grid,
  .contents nav {
    grid-template-columns: 1fr;
  }

  .service-card:last-child {
    grid-column: auto;
  }

  .service-card {
    min-height: auto;
  }

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

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

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

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  main {
    width: 100%;
  }

  .hero,
  .policy-layout,
  .policy-body > section,
  .policy-body > section + section {
    padding: 1rem 0;
  }

  a {
    color: #000;
  }
}
