:root {
  --bg: #f5f6f7;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #4b5563;
  --accent-soft: #dde5e8;
  --border: #d8dde3;
  --focus: #1d77d0;
  --shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  --radius: 1.5rem;
  --max-width: 48rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.16em;
}

a:hover {
  text-decoration-thickness: 0.16em;
}

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

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 100;
  background: #ffffff;
  color: #000000;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}

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

.page {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
}

header.card {
  margin-bottom: 1rem;
}

.subtitle {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.35;
}

.site-title-link {
  color: inherit;
  text-decoration: none;
}

.site-title-link:hover,
.site-title-link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

h1,
h2 {
  line-height: 1.15;
  margin: 0 0 0.85rem;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.35rem, 4vw, 1.8rem);
}

p,
li,
dd {
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
}

p {
  margin: 0 0 1rem;
}

p:last-child,
ul:last-child,
dl:last-child {
  margin-bottom: 0;
}

main {
  display: grid;
  gap: 1rem;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.contact-list div {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: #fafbfc;
}

dt {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

dd {
  margin: 0;
}

.team-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.team-list li + li {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}

.role {
  display: block;
  color: var(--muted);
}

.content-list {
  padding-left: 1.2rem;
  margin: 0;
}

.content-list li + li {
  margin-top: 0.6rem;
}

footer {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.75rem;
}

@media (max-width: 480px) {
  .page {
    width: min(100% - 1rem, var(--max-width));
    padding-top: 0.5rem;
  }

  .card {
    border-radius: 1.5rem;
    padding: 1rem;
  }

  .subtitle {
    width: 100%;
    border-radius: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
