:root {
  color-scheme: light;
  --bg: #f8fafc;
  --text: #172033;
  --muted: #647086;
  --line: #dbe2ec;
  --surface: #ffffff;
  --accent: #2457d6;
  --accent-strong: #173b9a;
  --speaker: #1f6f68;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header,
.site-footer,
.hero,
.section,
.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  color: var(--text);
  font-size: 16px;
  font-weight: 750;
  text-decoration: none;
}

.with-icon {
  gap: 10px;
}

.with-icon img,
.app-icon {
  border-radius: 18px;
  box-shadow: var(--shadow);
}

nav a,
.text-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
.text-link:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-strong);
}

.button.small {
  min-height: 36px;
  padding: 0 14px;
}

.button.muted {
  background: #e7edf8;
  color: var(--text);
}

.hero {
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: 72px 0 92px;
}

.agency-hero {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.speaker-hero {
  min-height: 560px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 25%, rgba(31, 111, 104, 0.15), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #edf7f5 100%);
  padding-inline: 48px;
}

.hero-copy {
  max-width: 780px;
}

.speaker-hero .hero-copy {
  max-width: 720px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 8vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

p,
li {
  color: var(--muted);
  font-size: 17px;
}

.hero p {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: 20px;
}

.availability {
  display: inline-flex;
  margin: 6px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(31, 111, 104, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--speaker);
  font-size: 15px;
  font-weight: 750;
}

.section {
  padding: 76px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading p {
  max-width: 360px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
}

.split p {
  max-width: 620px;
}

.page {
  max-width: 760px;
  padding: 64px 0 88px;
}

.page h1 {
  font-size: clamp(40px, 7vw, 62px);
}

.page h2 {
  margin-top: 34px;
  font-size: 24px;
}

.page a {
  color: var(--accent);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 720px;
  margin: 0;
  font-size: 14px;
}

.site-footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  .section-heading,
  .split {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 68px;
  }

  .speaker-hero {
    padding-inline: 24px;
  }

  h1 {
    font-size: 44px;
    line-height: 1;
  }

  .hero p {
    font-size: 18px;
  }

  .grid.four,
  .grid.three {
    grid-template-columns: 1fr;
  }
}
