:root {
  --ink: #1d2a33;
  --muted: #55636d;
  --line: #d9e3e8;
  --bg: #ffffff;
  --soft: #f3f8f9;
  --brand: #124b6a;
  --accent: #2fb3bb;
  --accent-soft: #e3f6f7;
  --radius: 10px;
  --wrap: 72rem;
  --read: 46rem;
  --color-base-100: #ffffff;
  --color-base-200: #f3f8f9;
  --color-base-content: #1d2a33;
  --color-accent: #124b6a;
  --color-accent-content: #ffffff;
  --color-success: #1f7a4d;
  --color-success-content: #ffffff;
  --color-error: #b42318;
  --color-error-content: #ffffff;
}

.content .ldwhuhob-input { border-color: #9fb6c2; }
.content .ldwhuhob-submit:hover { background: #0d3a52; border-color: #0d3a52; }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--brand); text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

.skip {
  position: absolute; left: -999px; top: 0.5rem;
  background: var(--brand); color: #fff; padding: 0.5rem 0.75rem; border-radius: 6px; z-index: 10;
}
.skip:focus { left: 0.5rem; }

.site-header {
  background: var(--bg);
  border-bottom: 3px solid var(--accent);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  flex-wrap: wrap; padding-top: 1.1rem; padding-bottom: 1.1rem;
}
.brand {
  font-weight: 800; font-size: 1.5rem; letter-spacing: 0.04em;
  color: var(--brand); text-decoration: none;
}
.brand:hover { color: var(--brand); }

.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.25rem;
}
.site-nav a {
  display: block; padding: 0.45rem 0.8rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem;
}
.site-nav a:hover { background: var(--accent-soft); color: var(--brand); }
.site-nav a[aria-current="page"] { background: var(--brand); color: #fff; }

.content {
  flex: 1 0 auto;
  max-width: calc(var(--read) + 2.5rem);
  padding-top: 2.75rem; padding-bottom: 3.5rem;
}
.content h1 {
  font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.6rem); line-height: 1.2;
  color: var(--brand); margin: 0 0 1.1rem; letter-spacing: -0.01em;
}
.content h2 {
  font-size: 1.35rem; line-height: 1.3; color: var(--brand);
  margin: 2.25rem 0 0.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.content p { margin: 0 0 1rem; }
.content > p:first-of-type { font-size: 1.15rem; color: var(--muted); }
.content ul { margin: 0 0 1.25rem; padding: 0; list-style: none; }
.content li {
  position: relative; padding: 0.55rem 0.9rem 0.55rem 2.1rem; margin: 0 0 0.5rem;
  background: var(--soft); border-radius: var(--radius);
}
.content li::before {
  content: ""; position: absolute; left: 0.9rem; top: 1.12em;
  width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent);
}
.content strong { color: var(--brand); }

.notfound { text-align: center; padding-top: 5rem; }
.notfound h1 { font-size: 4rem; }

.site-footer {
  background: var(--brand); color: #dbe9ef;
  font-size: 0.95rem; padding: 2rem 0 2.25rem;
}
.site-footer p { margin: 0 0 0.6rem; max-width: var(--read); }
.site-footer p:last-child { margin-bottom: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent-soft); }
.footer-name { font-weight: 700; color: #fff; letter-spacing: 0.03em; }

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-inner { padding-top: 0.9rem; padding-bottom: 0.75rem; }
  .site-nav { width: 100%; }
  .site-nav ul { gap: 0.35rem; }
  .site-nav a { padding: 0.4rem 0.7rem; font-size: 0.95rem; background: var(--soft); }
  .content { padding-top: 2rem; padding-bottom: 2.5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .site-nav a, a { transition: background-color 0.15s ease, color 0.15s ease; }
}
