:root {
  color-scheme: light dark;
  --background: #f5f7f8;
  --surface: #ffffff;
  --text: #182127;
  --muted: #51616b;
  --border: #d8e0e4;
  --brand: #0b6670;
  --brand-strong: #084c54;
  --accent: #d75d48;
  --focus: #1565c0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
}

a {
  color: var(--brand-strong);
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner,
.page,
.site-footer-inner {
  width: min(100% - 40px, 880px);
  margin: 0 auto;
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
}

.brand span span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 550;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 650;
}

.page {
  padding: 52px 0 72px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 36px;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.intro img {
  width: 128px;
  height: 128px;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgb(18 59 74 / 14%);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: 2.25rem;
}

h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  color: var(--brand-strong);
}

p,
ul {
  margin-top: 0;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--accent);
  font-weight: 750;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 2px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--brand-strong);
}

.content-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.content-section:last-child {
  border-bottom: 0;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.contact-panel {
  padding: 24px;
  border-left: 5px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: var(--surface);
}

.contact-panel p:last-child,
.content-section p:last-child,
.content-section ul:last-child {
  margin-bottom: 0;
}

.language-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.notice {
  padding: 20px 0 20px 22px;
  border-left: 5px solid var(--accent);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
}

.site-footer-inner {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 680px) {
  .header-inner,
  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .intro,
  .two-column {
    grid-template-columns: 1fr;
  }

  .intro img {
    grid-row: 1;
  }

  h1 {
    font-size: 1.85rem;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #111719;
    --surface: #192226;
    --text: #f1f5f6;
    --muted: #b8c5ca;
    --border: #3a484e;
    --brand: #68bec5;
    --brand-strong: #8dd8dd;
    --accent: #ff9a84;
    --focus: #86b7ff;
  }

  .button {
    color: #102225;
  }

  .button.secondary {
    color: var(--brand-strong);
  }
}
