:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #252a2d;
  background: #f5f4f0;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  line-height: 1.65;
  font-weight: 400;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: #185b50; text-underline-offset: 0.2em; }
a:hover { color: #0d3f37; }
a:focus-visible { outline: 3px solid #b25232; outline-offset: 4px; border-radius: 2px; }

.site-header, .site-footer { width: min(100% - 40px, 880px); margin-inline: auto; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-block: 25px;
}
.brand { color: inherit; text-decoration: none; font-weight: 700; letter-spacing: 0.015em; }
.language { display: flex; gap: 14px; font-size: 0.92rem; }
.language a[aria-current="page"] { color: inherit; font-weight: 700; text-decoration-thickness: 2px; }

main {
  width: min(100% - 40px, 760px);
  margin: clamp(28px, 7vw, 72px) auto 64px;
  flex: 1;
}
h1 { margin: 0; font-size: clamp(2.25rem, 7vw, 3.6rem); line-height: 1.12; letter-spacing: -0.04em; }
.intro { max-width: 620px; margin: 20px 0 42px; color: #4c5552; font-size: 1.1rem; }
.content-card {
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid #e2e0d9;
  border-radius: 18px;
  background: #fffefa;
  box-shadow: 0 12px 36px rgb(36 43 40 / 5%);
}
.content-card + .content-card { margin-top: 18px; }
h2 { margin: 0 0 12px; font-size: 1.35rem; line-height: 1.3; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
ul { margin: 12px 0 18px; padding-inline-start: 1.35rem; }
li + li { margin-top: 6px; }
.contact-link { display: inline-block; max-width: 100%; margin-top: 4px; overflow-wrap: anywhere; font-size: 1.08rem; font-weight: 700; }
.response-note { margin-top: 14px; color: #59635f; font-size: 0.94rem; }
.site-footer { padding-block: 20px 28px; border-top: 1px solid #e0ded7; color: #606966; font-size: 0.88rem; }
.site-footer p { margin: 0; }

.home-main { display: grid; align-content: center; }
.home-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.home-link { display: block; padding: 22px 24px; border: 1px solid #e2e0d9; border-radius: 16px; background: #fffefa; text-decoration: none; }
.home-link strong { display: block; margin-bottom: 4px; font-size: 1.2rem; }
.home-link span { color: #59635f; }

@media (max-width: 520px) {
  .site-header, .site-footer, main { width: min(100% - 32px, 760px); }
  .site-header { padding-block: 18px; }
  .home-links { grid-template-columns: 1fr; }
  .intro { margin-bottom: 30px; }
}

@media (prefers-reduced-motion: no-preference) {
  a { transition: color 140ms ease; }
}
