:root {
  color-scheme: light;
  font-family: Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #f7f8fa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  line-height: 1.6;
}

a {
  color: #4f46e5;
}

header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.header-content,
main,
.footer-content {
  width: min(100% - 2rem, 800px);
  margin: 0 auto;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 32px;
  max-width: min(42vw, 142px);
  object-fit: contain;
  width: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.9rem;
}

main {
  padding: 3.5rem 0;
}

article {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgb(18 42 24 / 6%);
}

h1,
h2 {
  color: #111827;
  line-height: 1.25;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.75rem);
}

h2 {
  margin: 2.4rem 0 0.7rem;
  font-size: 1.2rem;
}

p,
li {
  color: #4b5563;
}

.updated {
  margin-top: 0.6rem;
  color: #667369;
  font-size: 0.95rem;
}

.contact-card {
  padding: 1rem 1.25rem;
  background: #eef2ff;
  border-left: 4px solid #4f46e5;
  border-radius: 6px;
}

footer {
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.footer-content {
  padding: 1.5rem 0 2rem;
  color: #64748b;
  font-size: 0.9rem;
}

:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 3px;
  border-radius: 4px;
}

article { max-width: 100%; }
article h2 { scroll-margin-top: 1.5rem; }
nav a { text-underline-offset: 3px; }

@media (max-width: 560px) {
  .header-content {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  main {
    padding: 1.5rem 0;
  }
}
