:root {
  color-scheme: light;
  --background: #f6f6f1;
  --surface: #ffffff;
  --text: #17221f;
  --muted: #5d6965;
  --primary: #174f43;
  --primary-dark: #103b32;
  --primary-soft: #e9f1ee;
  --border: #dce3df;
  --shadow: 0 18px 50px rgba(23, 79, 67, 0.08);
  --content-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--primary-dark);
}

a:focus-visible {
  outline: 3px solid rgba(23, 79, 67, 0.28);
  outline-offset: 4px;
  border-radius: 3px;
}

.site-header,
.site-footer {
  width: min(calc(100% - 40px), 1120px);
  margin-inline: auto;
}

.site-header {
  padding-block: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 17px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand strong {
  font-size: 16px;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

main {
  width: min(calc(100% - 32px), calc(var(--content-width) + 96px));
  margin-inline: auto;
}

.policy {
  padding: clamp(34px, 7vw, 72px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.policy-heading {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 68px);
  letter-spacing: -0.045em;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.025em;
}

h3 {
  margin: 30px 0 8px;
  font-size: 19px;
}

p,
ul,
ol,
dl {
  margin-top: 0;
}

.summary {
  max-width: 620px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 19px;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  margin-bottom: 0;
}

.policy-meta div {
  min-width: 140px;
}

.policy-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-meta dd {
  margin: 2px 0 0;
  font-weight: 650;
}

.contents {
  margin: 36px 0 8px;
  padding: 24px 26px;
  border-radius: 16px;
  background: var(--primary-soft);
}

.contents p {
  margin-bottom: 10px;
  font-weight: 750;
}

.contents ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 32px;
  margin-bottom: 0;
  padding-left: 22px;
}

section {
  padding-top: 54px;
  scroll-margin-top: 24px;
}

section + section {
  margin-top: 52px;
  border-top: 1px solid var(--border);
}

li + li {
  margin-top: 10px;
}

.callout {
  margin-top: 30px;
  padding: 26px;
  border: 1px solid #bdd3cb;
  border-radius: 16px;
  background: var(--primary-soft);
}

.callout h3 {
  margin-top: 0;
  font-size: 22px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--primary);
  border-radius: 10px;
  background: var(--primary);
  color: white;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--primary-dark);
  color: white;
}

.button-secondary {
  background: transparent;
  color: var(--primary);
}

.button-secondary:hover {
  background: rgba(23, 79, 67, 0.08);
  color: var(--primary-dark);
}

.small-print {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

address {
  padding: 22px 24px;
  border-left: 4px solid var(--primary);
  background: var(--primary-soft);
  font-style: normal;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 36px 54px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.redirect-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  text-align: center;
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header {
    width: min(calc(100% - 32px), 1120px);
    padding-block: 20px;
  }

  .brand small {
    display: none;
  }

  .policy {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .contents ol {
    grid-template-columns: 1fr;
  }

  section {
    padding-top: 42px;
  }

  section + section {
    margin-top: 42px;
  }

  .contact-actions,
  .contact-actions .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    padding-block: 28px 40px;
  }
}

@media print {
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .site-header,
  .contents,
  .contact-actions,
  .site-footer {
    display: none;
  }

  main {
    width: 100%;
  }

  .policy {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  section,
  section + section {
    margin-top: 24pt;
    padding-top: 0;
    border: 0;
  }
}
