:root {
  --bg: #f7f7f3;
  --text: #1f2933;
  --muted: #5f6b76;
  --card: #ffffff;
  --accent: #2563eb;
  --accent-dark: #1e40af;
  --border: #e5e7eb;
  --soft: #eef4ff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--accent); }

a:hover { color: var(--accent-dark); }

.site-header {
  padding: 3.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--soft), #ffffff);
  border-bottom: 1px solid var(--border);
}

.site-header h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.1;
}

.site-header p {
  margin: 1rem auto 0;
  max-width: 48rem;
  color: var(--muted);
  font-size: 1.2rem;
}

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
}

nav a[aria-current="page"],
nav a:hover { color: var(--accent); }

main {
  width: min(1100px, calc(100% - 2rem));
  margin: 3rem auto;
}

section { margin-bottom: 2rem; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

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

h2, h3 {
  line-height: 1.2;
  margin-top: 0;
}

.kicker {
  margin-bottom: 0.4rem;
  color: var(--accent-dark);
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.82rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 750;
}

.button:hover {
  background: var(--accent-dark);
  color: white;
}

ul { padding-left: 1.2rem; }

blockquote {
  margin: 0;
  padding-left: 1rem;
  border-left: 4px solid var(--accent);
  color: var(--muted);
}

.testimonial cite {
  display: block;
  margin-top: 0.8rem;
  color: var(--text);
  font-style: normal;
  font-weight: 700;
}

.publication {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.publication:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

footer {
  margin-top: 4rem;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

blockquote {
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--accent);
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.clean-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}

.clean-list li:last-child {
  border-bottom: none;
}

.clean-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.credentials-stack {
  max-width: 1100px;
  margin: 0 auto 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.credentials-stack .card {
  height: auto;
  padding-bottom: 1.5rem;
}

.credentials-stack .clean-list {
  margin-bottom: 0;
}