:root {
  color-scheme: light;
  --paper: #faf8f3;
  --ink: #102535;
  --muted: #435663;
  --line: #dedfd8;
  --accent: #f0bc74;
  --soft: #edf2ef;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
a { color: inherit; text-underline-offset: .21em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #a25422; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.skip { position: absolute; z-index: 1; background: white; padding: .5rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-block: 1.05rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; text-decoration: none; font-size: 1.15rem; }
.brand-mark { display: grid; place-items: center; background: var(--ink); color: var(--accent); width: 2.45rem; height: 2.45rem; border-radius: .65rem; font: 700 1.5rem Georgia, serif; }
.sections, .languages { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem 1.18rem; }
.sections a, .languages a { text-decoration: none; padding-block: .4rem; font-weight: 650; font-size: .9rem; }
.sections a:hover, .sections [aria-current] { text-decoration: underline; }
.languages { gap: .25rem; }
.languages a { border-radius: .35rem; padding-inline: .44rem; }
.languages [aria-current] { background: var(--ink); color: white; }
.hero { background: var(--ink); color: white; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 4vw, 4.5rem); padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.hero-image { display: block; width: 100%; height: auto; border-radius: 1.25rem 1.25rem 4rem 1.25rem; }
.eyebrow { font-size: .84rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 1rem; }
.hero .eyebrow { color: var(--accent); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.033em; line-height: 1.08; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.4vw, 4.55rem); margin: 0 0 1.35rem; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.75rem, 3vw, 2.8rem); margin: 0 0 1.25rem; }
h3 { font-size: 1.2rem; line-height: 1.25; margin: 0 0 .65rem; }
p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 62ch; }
.hero .lede { color: #e0e8ec; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.7rem; }
.button { display: inline-block; border: 1px solid transparent; border-radius: .45rem; padding: .72rem 1.15rem; font: inherit; font-weight: 750; background: var(--accent); color: #172432; text-decoration: none; cursor: pointer; }
.button:hover { background: #e6a551; }
.button.secondary { background: transparent; color: white; border-color: #9cabb4; }
.button.secondary:hover { background: #253f51; }
.hero :focus-visible, footer :focus-visible { outline-color: var(--accent); }
.block { padding-block: clamp(2.5rem, 6vw, 5rem); }
.cards, .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cards article { background: #fff; padding: 1.5rem; border: 1px solid var(--line); border-radius: .7rem; }
.cards p, .steps p { color: var(--muted); margin: 0; }
.soft, .page-head { background: var(--soft); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { border-top: 2px solid #a4b8b2; counter-increment: steps; padding: 1rem; }
.steps li::before { content: counter(steps) "."; display: block; color: #3b5d62; font-weight: 750; margin-bottom: .5rem; }
.page-head { padding-block: clamp(2.5rem, 6vw, 5rem); }
.page-head .lede { margin-bottom: 0; }
.detail-grid, .contact-grid { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 2.6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.jump { display: grid; gap: .8rem; border-left: 2px solid #a4b8b2; padding-left: 1.1rem; }
.reading { max-width: 72ch; }
.reading section { border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 2rem; }
.reading section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.legal { margin-left: max(1.5rem, (100% - 76rem) / 2); }
address { font-style: normal; overflow-wrap: anywhere; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
form > label { margin-bottom: 1rem; }
label { display: block; font-weight: 650; }
input, select, textarea { font: inherit; color: inherit; }
input:not([type="checkbox"]), select, textarea { display: block; width: 100%; min-width: 0; padding: .6rem .7rem; background: #fff; border: 1px solid #879799; border-radius: .35rem; }
textarea { resize: vertical; }
input.short { max-width: 6rem; }
[aria-invalid="true"] { border-color: #a12727 !important; }
.consent { display: flex; align-items: flex-start; gap: .55rem; font-weight: 400; }
.consent input { margin-top: .43rem; accent-color: var(--ink); }
.notice { border-left: 4px solid; margin-bottom: 1rem; padding: .75rem 1rem; background: #e0eee4; }
.notice p { margin: 0; }
.notice.error { background: #f9e5e1; color: #721f13; }
footer { background: var(--ink); color: #f1f5f7; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr auto; gap: 1.5rem; padding-block: 2rem; }
.footer-grid p { margin: 0; }
.footer-grid nav { display: flex; gap: .35rem 1rem; flex-wrap: wrap; align-content: start; }
@media (max-width: 62rem) {
  .sections { order: 2; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 47.5rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero-grid, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-image { border-bottom-right-radius: 2rem; }
  .cards, .steps, .footer-grid { grid-template-columns: 1fr; }
  .legal { margin-inline: auto; }
}
@media (max-width: 26rem) {
  .fields { grid-template-columns: 1fr; }
  .header-inner { gap: .5rem; }
  .sections { gap: .2rem .8rem; }
}
