:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #5a5a5a;
  --color-accent: #2454ff;
  --color-border: #e6e6e6;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
}

header {
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

#site-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

#site-nav a {
  text-decoration: none;
  color: var(--color-muted);
  font-size: 0.95rem;
}

#site-nav a:hover,
#site-nav a.active {
  color: var(--color-accent);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.hero {
  text-align: center;
  padding: 2rem 0 3rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  color: var(--color-muted);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto;
}

section {
  margin-bottom: 3rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
}

.card h3 {
  margin: 0.5rem 0 0.5rem;
}

.card-icon {
  width: 40px;
  height: 40px;
}

.card-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.card .role {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
}

input, textarea {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font: inherit;
}

button {
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 8px;
  background: var(--color-accent);
  color: white;
  font-weight: 600;
  cursor: pointer;
  width: fit-content;
}

button:hover {
  opacity: 0.9;
}

.form-status {
  font-size: 0.9rem;
  color: var(--color-muted);
}

footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.85rem;
}
