:root {
  --bg: #ffffff;
  --fg: #111418;
  --muted: #4b5563;
  --accent: #1d4ed8;
  --accent-fg: #ffffff;
  --border: #e5e7eb;
  --focus: #1d4ed8;
  --max-width: 720px;
}

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

html {
  font-size: 18px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  z-index: 100;
  transition: top 0.15s ease-in-out;
}

.skip-link:focus {
  top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}

.site-header,
main,
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-suffix {
  font-weight: 400;
  color: var(--muted);
  margin-left: 0.35rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
}

.lang-switch button {
  font: inherit;
  font-size: 0.9rem;
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch button[aria-current="true"] {
  background: var(--fg);
  color: var(--bg);
}

main {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.tagline {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 2.5rem;
  max-width: 38ch;
}

.notice {
  margin: 0 0 2.5rem;
  padding: 0.9rem 1.1rem;
  background: #f3f4f6;
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 0.95rem;
}

.notice p {
  margin: 0;
}

.about p {
  margin: 0 0 1.1rem;
}

.about p:last-child {
  margin-bottom: 0;
}

.partnership {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
}

.partnership a {
  color: var(--muted);
  text-decoration-color: var(--border);
}

.partnership a:hover,
.partnership a:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
}

.site-footer h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-label {
  color: var(--muted);
  margin-right: 0.4rem;
}

@media (max-width: 480px) {
  .site-header {
    padding-top: 1.25rem;
  }
}
