:root {
  color-scheme: light;
  --paper: #faf7f1;
  --ink: #0b2239;
  --muted: #455b68;
  --accent: #087266;
  --line: #d8cfbe;
  --white: #fff;
  --soft: #eef3ee;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}
a {
  color: var(--accent);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 0.08em;
}
a:hover {
  text-decoration-thickness: 0.15em;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
  border-radius: 3px;
}
::selection {
  background: #c4e5dc;
  color: var(--ink);
}
.skip {
  position: absolute;
  top: -90px;
  left: 20px;
  z-index: 3;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
}
.skip:focus {
  top: 12px;
}
.site-header,
main,
footer {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
}
.site-header {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 42px;
  border-bottom: 1px solid var(--line);
}
.brand {
  text-decoration: none;
  color: var(--ink);
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
}
.brand span {
  font-size: 10px;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-top: 7px;
}
.primary {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.primary a,
.language {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding-block: 12px;
}
.primary a[aria-current] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.language {
  color: var(--ink);
  border-left: 1px solid var(--line);
  padding-left: 26px;
}
main {
  padding-block: 72px 100px;
  min-height: 60vh;
}
.page-heading {
  max-width: 820px;
  margin-bottom: 56px;
}
h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 650;
  max-width: 17ch;
  margin: 0 0 26px;
  text-wrap: balance;
}
.intro {
  font-size: 21px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 65ch;
  margin: 0;
}
.updated {
  font-size: 13px;
  color: var(--muted);
  margin-top: 22px;
}
.reading-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.reading-layout:has(.no-sections) {
  display: none;
}
.toc {
  position: sticky;
  top: 24px;
}
.toc p {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 15px;
  color: var(--muted);
}
.toc ol {
  padding: 0;
  margin: 0;
  list-style: none;
}
.toc li {
  margin: 0 0 12px;
}
.toc a {
  font-size: 14px;
  line-height: 1.5;
  display: inline-block;
  text-decoration: none;
  color: var(--muted);
}
.toc a:hover {
  color: var(--accent);
  text-decoration: underline;
}
article {
  min-width: 0;
}
article section {
  margin: 0 0 52px;
  scroll-margin-top: 30px;
}
h2 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: 0 0 18px;
  text-wrap: balance;
}
p {
  margin: 0 0 18px;
}
article p,
article li {
  max-width: 70ch;
}
article p {
  color: var(--muted);
}
article p:last-child {
  margin-bottom: 0;
}
article a {
  overflow-wrap: anywhere;
}
.contact {
  background: var(--ink);
  padding: 32px;
  border-radius: 16px;
  color: var(--paper);
}
.contact p {
  color: #d5e2e6;
  font-size: 15px;
  margin: 18px 0 24px;
}
.contact .address {
  color: #90dfca;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 650;
}
.button {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  background: var(--accent);
  color: white;
  border-radius: 9px;
  min-height: 48px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  line-height: 1.5;
}
.button:hover {
  background: #075e54;
}
.contact .button {
  background: var(--paper);
  color: var(--ink);
}
.contact a:focus-visible {
  outline-color: #90dfca;
}
.summary {
  background: var(--soft);
  padding: 26px 30px;
  margin-bottom: 48px;
  border-radius: 12px;
}
.summary ul {
  padding-left: 20px;
  margin: 0;
}
.summary li + li {
  margin-top: 13px;
}
.text-link {
  font-weight: 600;
}
.home-links {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 850px;
}
.home-links > a {
  display: block;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.home-links > a:last-child {
  border-bottom: 1px solid var(--line);
}
.home-links h2 {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 10px;
}
.home-links h2 span {
  color: var(--accent);
}
.home-links p {
  color: var(--muted);
  margin: 0;
}
.home-links > a:hover h2 {
  color: var(--accent);
}
footer {
  border-top: 1px solid var(--line);
  padding-block: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  font-size: 14px;
}
footer p {
  color: var(--muted);
  max-width: 55ch;
  margin-top: 14px;
}
footer nav {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  flex-wrap: wrap;
}
footer .brand {
  font-size: 24px;
}
footer .brand span {
  font-size: 9px;
}
footer .operator {
  grid-column: 1/-1;
  font-size: 12px;
  margin: 0;
  max-width: none;
}
@media (max-width: 800px) {
  .site-header,
  main,
  footer {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: unset;
    padding-block: 24px;
    gap: 20px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 28px;
  }
  .language {
    margin-left: auto;
    border: 0;
    padding-left: 0;
  }
  .primary {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
    gap: 24px;
  }
  .primary a {
    padding-block: 4px;
  }
  main {
    padding-block: 44px 60px;
  }
  .page-heading {
    margin-bottom: 36px;
  }
  h1 {
    max-width: 20ch;
    font-size: 43px;
  }
  .intro {
    font-size: 18px;
  }
  .reading-layout {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }
  .toc {
    position: static;
    width: 100%;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
  }
  .toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .toc li {
    margin: 0;
  }
  .toc a {
    text-decoration: underline;
    font-size: 13px;
  }
  .contact {
    padding: 26px;
  }
  .contact .address {
    font-size: 20px;
  }
  .summary {
    padding: 24px;
  }
  article section {
    margin-bottom: 40px;
  }
  h2 {
    font-size: 24px;
  }
  footer {
    grid-template-columns: 1fr;
  }
  footer nav {
    gap: 18px;
  }
  footer .operator {
    grid-column: 1;
  }
}
@media (max-width: 380px) {
  h1 {
    font-size: 37px;
  }
  .primary {
    gap: 17px;
  }
  .primary a {
    font-size: 13px;
  }
  .contact {
    padding: 20px;
  }
  .contact .address {
    font-size: 17px;
  }
}
@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }
  .site-header,
  .toc,
  .skip,
  .language,
  footer {
    display: none;
  }
  main {
    width: 100%;
    padding: 0;
  }
  .reading-layout {
    display: block;
  }
  .page-heading {
    margin-bottom: 24px;
  }
  h1 {
    font-size: 28pt;
    max-width: none;
  }
  .intro {
    font-size: 12pt;
  }
  .summary,
  .contact {
    background: none;
    padding: 0;
    color: #000;
  }
  .contact p,
  .contact a,
  article p {
    color: #000;
  }
  .button {
    background: none;
    color: #000;
    padding: 0;
  }
  section {
    break-inside: auto;
  }
  h2 {
    break-after: avoid;
  }
}

.mobile-contents {
  display: none;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.button svg,
.home-links svg {
  flex-shrink: 0;
}
.mobile-contents summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  min-height: 44px;
  padding: 10px 0;
}
.mobile-contents nav {
  padding-top: 14px;
}
@media (max-width: 800px) {
  .desktop-contents {
    display: none;
  }
  .mobile-contents {
    display: block;
  }
  .toc {
    padding-bottom: 8px;
  }
  .reading-layout {
    gap: 26px;
  }
}
