/* RAI Summit 2023 — static site styles */

:root {
  --navy: #01011d;
  --ink: #1f283c;
  --text: #595c63;
  --muted: #7a7a7a;
  --name: #54595f;
  --blue: #2f6cfc;
  --lavender: #eabaff;
  --card: #f2f4f9;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

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

a { color: inherit; }

h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.2; color: var(--ink); }

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

/* Heading with a highlighter stripe behind the lower half */
.focus { background: linear-gradient(180deg, transparent 54%, var(--lavender) 54%); }
.focus-purple { background: linear-gradient(180deg, transparent 55.5%, #d478fc 55.7%, #b95cf2 100%); }

/* Pill button with arrow */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 12px 30px;
  border-radius: 30px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s;
}
.btn:hover { background: #205edf; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 16px 0;
}
.site-header .wrap { display: flex; align-items: center; }
.site-header .logo img { width: 140px; }
.site-nav { flex: 1; display: flex; justify-content: center; gap: 50px; padding-right: 140px; }
.site-nav a { color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; }
.site-nav a:hover { color: var(--lavender); }

/* ---------- Dark sections with diagonal bands ---------- */

.dark {
  position: relative;
  background: var(--navy) url(../images/bg-blur.webp) center bottom / cover no-repeat;
  color: #fff;
}
.divider { position: absolute; left: 0; width: 100%; pointer-events: none; }
.divider img { width: 100%; height: 100%; }
.divider-bottom { bottom: -1px; }
.divider-top { top: -1px; }

/* Page banner (inner pages) */
.banner { height: 510px; }
.banner .divider { height: 300px; }

/* ---------- Home: hero ---------- */

.hero { padding: 140px 0 420px; }
.hero .divider { height: 300px; }
.hero .wrap { display: flex; align-items: flex-start; gap: 40px; }
.hero-text { flex: 1; min-width: 0; }
.hero-text h1 { display: inline; font-size: 56px; font-weight: 700; color: #fff; }
.hero-text .subtitle { margin: 18px 0 6px; font-size: 28px; font-weight: 400; color: #aeb7c4; }
.hero-text .date { margin: 0 0 18px; font-size: 18px; font-weight: 500; color: var(--muted); }
.hero-image { flex: none; width: 400px; min-width: 0; margin-top: -10px; }

/* ---------- Home: summit ---------- */

.summit { padding: 100px 0 160px; }
.summit .wrap { display: flex; align-items: center; gap: 70px; }
.summit-photo {
  flex: 0 0 410px;
  height: 355px;
  border-radius: 20px;
  background: url(../images/summit.webp) center / cover no-repeat;
}
.summit-text { flex: 1; }
.summit-text h2 { font-size: 46px; font-weight: 600; margin-bottom: 30px; }
.summit-text p { margin: 0 0 25px; font-size: 15px; color: #404553; }
.checklist {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  gap: 2px 20px;
  font-size: 14px;
}
.checklist li { display: flex; align-items: center; gap: 8px; }
.checklist svg { width: 14px; height: 14px; flex: none; color: var(--ink); }

/* ---------- Home: tracks ---------- */

.tracks {
  background-image: url(../images/bg-blur-tracks.webp);
  background-position: center;
  padding: 180px 0 300px;
}
.tracks .divider-top { height: 100px; }
.tracks .divider-bottom { height: 200px; }
.tracks .wrap { display: flex; align-items: center; gap: 30px; }
.tracks h2 { flex: 0 0 340px; padding-left: 10px; font-size: 46px; font-weight: 600; color: #fff; }
.track-cols { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.track-col { display: flex; flex-direction: column; gap: 30px; }
.track-col:first-child { padding-top: 110px; }
.card { padding: 40px; border-radius: 15px; border: 1px solid #fff; }
.card.light { background: var(--card); color: var(--text); border-color: var(--card); }
.card.dark-card { background: transparent; color: #fff; }
.card svg { width: 30px; height: 30px; margin-bottom: 20px; }
.card.light svg { color: var(--ink); }
.card h3 { font-size: 20px; font-weight: 500; margin-bottom: 20px; color: inherit; }
.card.light h3 { color: var(--ink); }
.card p { margin: 0; font-size: 15px; line-height: 1.8; }

/* ---------- Content pages ---------- */

.content { padding: 80px 0 120px; }

.intro-block { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.intro-block.reverse { flex-direction: row-reverse; }
.intro-label {
  flex: 0 0 330px;
  padding: 50px;
  background: radial-gradient(at bottom right, #430751 0%, #092350 100%);
  color: #fff;
  font-size: 38px;
  font-weight: 700;
  text-align: center;
}
.intro-text { flex: 1; color: var(--muted); font-size: 14px; }
.intro-text p { margin: 0 0 20px; }
.intro-text p:last-child { margin-bottom: 0; }

hr.rule { border: 0; border-top: 1px solid #000; margin: 50px 0 40px; }

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  color: var(--name);
  margin-bottom: 20px;
  scroll-margin-top: 20px;
}

.people {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 20px;
}
.people li { flex: 0 0 33.333%; padding: 0 10px; text-align: center; }
.people img {
  width: 110px;
  height: 110px;
  margin: 0 auto 15px;
  border-radius: 50%;
  object-fit: cover;
}
.people h3 { font-size: 28px; font-weight: 600; color: var(--name); }
.people p { margin: 15px 0 0; font-size: 14px; color: var(--name); }
.people.upper p { text-transform: uppercase; }
.people.names-only { row-gap: 30px; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 380px 0 25px;
  font-family: "Noto Sans", "Roboto", sans-serif;
  font-size: 15px;
  background-position: center;
}
.site-footer .divider-top { height: 300px; }
.site-footer .logo img { width: 180px; }
.site-footer .email { display: inline-block; margin-top: 18px; color: #fff; text-decoration: none; }
.site-footer .email:hover { text-decoration: underline; }
.footer-bottom {
  margin-top: 130px;
  padding-top: 20px;
  border-top: 1px solid #ffffff30;
  text-align: right;
  font-size: 13px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .site-nav { padding-right: 0; justify-content: flex-end; gap: 30px; }
  .hero { padding: 140px 0 380px; }
  .hero .divider, .banner .divider, .site-footer .divider-top { height: 200px; }
  .hero-text h1 { font-size: 44px; }
  .hero-image { width: 300px; }
  .summit .wrap { gap: 40px; }
  .summit-photo { flex-basis: 320px; }
  .tracks .wrap { flex-direction: column; align-items: stretch; }
  .tracks h2 { flex: none; padding: 0; text-align: center; }
  .track-col:first-child { padding-top: 0; }
  .intro-label { flex-basis: 240px; }
}

@media (max-width: 767px) {
  .site-header .logo img { width: 110px; }
  .site-nav { gap: 20px; }
  .site-nav a { font-size: 14px; }
  .hero { padding: 120px 0 260px; }
  .hero .wrap { flex-direction: column; }
  .hero-image { flex: none; width: 100%; max-width: 320px; margin: 0 auto; }
  .hero-text h1 { font-size: 38px; }
  .hero-text .subtitle { font-size: 22px; }
  .hero .divider, .banner .divider, .site-footer .divider-top { height: 150px; }
  .banner { height: 300px; }
  .summit { padding: 60px 0 100px; }
  .summit .wrap { flex-direction: column; align-items: stretch; }
  .summit-photo { flex: none; height: 260px; }
  .summit-text h2, .tracks h2 { font-size: 34px; }
  .tracks { padding: 120px 0 200px; }
  .tracks .divider-top { height: 60px; }
  .tracks .divider-bottom { height: 120px; }
  .track-cols { grid-template-columns: 1fr; }
  .intro-block, .intro-block.reverse { flex-direction: column; align-items: stretch; }
  .intro-label { flex: none; padding: 30px; }
  .people li { flex-basis: 50%; }
  .people h3 { font-size: 20px; }
  .site-footer { padding-top: 220px; }
  .footer-bottom { margin-top: 60px; text-align: center; }
}

@media (max-width: 480px) {
  .people li { flex-basis: 100%; }
}
