:root {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #173e32;
  background: #f6f3e7;
  font-size: 17px;
  line-height: 1.65;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: linear-gradient(160deg, #e7eddb, #faf7ed 35%);
  min-height: 100dvh;
}
a {
  color: #24583f;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #8b652b;
  outline-offset: 4px;
}
.legal-header {
  max-width: 960px;
  margin: auto;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-header img {
  width: min(240px, 55vw);
  height: auto;
}
.legal-header > a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 32px 64px;
  background: #fffdf4;
  border: 1px solid #d7deca;
  border-radius: 28px;
  box-shadow: 0 12px 35px #25493412;
}
h1,
h2 {
  font-family: Georgia, serif;
  font-weight: 500;
  line-height: 1.25;
}
h1 {
  font-size: clamp(32px, 6vw, 46px);
  margin: 8px 0 24px;
}
h2 {
  font-size: 25px;
  margin: 32px 0 12px;
}
p {
  margin: 0 0 17px;
}
section {
  scroll-margin-top: 20px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.draft {
  padding: 16px 18px;
  background: #f3ebd2;
  border-left: 4px solid #a58543;
  border-radius: 10px;
  font-size: 15px;
}
.contents,
.legal-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 24px 0;
}
.contents a,
.legal-navigation a,
.back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.contents {
  padding: 12px;
  background: #eef2e6;
  border-radius: 16px;
  font-size: 15px;
}
.legal-navigation {
  border-top: 1px solid #cbd8c2;
  padding-top: 18px;
}
.legal-navigation [aria-current] {
  font-weight: 750;
}
summary {
  min-height: 48px;
  padding: 10px 0;
  cursor: pointer;
}
form {
  border: 1px solid #cbd8c2;
  background: #f2f3e7;
  border-radius: 20px;
  padding: 22px;
  margin: 28px 0;
}
label {
  display: block;
  font-weight: 650;
  margin-bottom: 20px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  font: inherit;
  padding: 12px;
  border: 1px solid #6f856a;
  border-radius: 12px;
  background: #fffdf4;
  color: #173e32;
  margin-top: 7px;
  min-height: 48px;
}
textarea {
  resize: vertical;
}
button {
  font: inherit;
  font-weight: 650;
  background: #24543e;
  color: #fff8e3;
  border: 1px solid #24543e;
  border-radius: 14px;
  min-height: 48px;
  padding: 10px 22px;
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
#contact-status {
  margin: 18px 0 0;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 3;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 8px;
}
@media (max-width: 600px) {
  main {
    margin: 0 10px;
    padding: 22px 18px 36px;
    border-radius: 20px;
  }
  .legal-header {
    padding: 16px 20px;
  }
  form {
    padding: 16px;
  }
  .contents {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

[hidden] {
  display: none !important;
}
.language-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.language-picker a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.language-picker [aria-current] {
  font-weight: 750;
  text-decoration-thickness: 3px;
}
article + article {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 2px solid #cbd8c2;
}
article[hidden] + article {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
@media (max-width: 380px) {
  .legal-header {
    gap: 12px;
  }
  .legal-header img {
    width: 45vw;
  }
}

/* Long legal names and plain-text source URLs remain readable on narrow screens. */
h1,
h2,
p {
  overflow-wrap: anywhere;
}
