:root {
  --blue: #0074b1;
  --blue-dark: #005f91;
  --navy: #093250;
  --white: #ffffff;
  --text: #1a1f24;
  --muted: #5c6773;
  --bg-tint: #eef6fb;
  --border: #dce6ee;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

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

a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

header.site-header {
  position: sticky;
  top: 0;
  background: var(--blue);
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--white);
}

nav.main-nav ul {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav.main-nav a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
}

nav.main-nav a:hover { color: var(--white); text-decoration: underline; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); text-decoration: none; }

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); text-decoration: none; }

.btn-outline-blue {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue-dark);
}
.btn-outline-blue:hover { background: var(--blue); color: var(--white); text-decoration: none; }

/* Hero */
.hero {
  background: var(--white);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 24px;
}

.hero h1 {
  font-size: 2.5rem;
  margin: 0 0 8px;
  line-height: 1.15;
  color: var(--navy);
}

.hero .subtitle {
  font-size: 1.15rem;
  margin: 0 0 20px;
  color: var(--text);
}

.hero .authors {
  font-size: 1rem;
  margin: 0 0 28px;
  color: var(--muted);
}

.hero .cover-figure {
  justify-self: center;
}

.hero .cover-figure img {
  max-width: 260px;
  box-shadow: 0 18px 40px rgba(9, 50, 80, 0.18);
  border-radius: 2px;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sections */
section { padding: 72px 0; }
section.tint { background: var(--bg-tint); }
section.contact {
  text-align: center;
  border-top: 1px solid var(--border);
}
section.contact .wrap { max-width: 640px; }
section.contact .section-lead { margin-left: auto; margin-right: auto; }

h2 {
  color: var(--navy);
  font-size: 1.9rem;
  margin: 0 0 12px;
}

.section-lead {
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 40px;
  font-size: 1.05rem;
}

.badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-tint);
  color: var(--blue-dark);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px 6px 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

.card h3 {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.author-card {
  display: flex;
  gap: 20px;
}

.author-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.4rem;
}

.author-card h3 { margin: 0 0 2px; }
.author-card .role { color: var(--blue-dark); font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.author-card p { color: var(--muted); font-size: 0.92rem; }

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 10px;
}

footer.site-footer {
  background: var(--white);
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  font-size: 0.9rem;
}

footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer.site-footer a { color: var(--blue-dark); }

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  position: relative;
}

.prev-edition-banner {
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.prev-edition-banner p { margin: 0; color: var(--text); }
.prev-edition-banner strong { color: var(--navy); }

.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 14px;
}

@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 48px 24px; text-align: center; }
  .hero .cta-row { justify-content: center; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  nav.main-nav { display: none; }
}
