:root {
  --bg: #090d18;
  --blob-1: #1c2c5c;
  --blob-2: #141f42;
  --blob-3: #0f1730;
  --white: #f7f8fb;
  --blue: #5b8cf5;
  --blue-bright: #7ba6ff;
  --text-muted: rgba(247, 248, 251, 0.62);
  --text-faint: rgba(247, 248, 251, 0.4);
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Corner glows */
.bg-blob {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.bg-blob--left {
  width: clamp(260px, 42vw, 520px);
  height: clamp(260px, 42vw, 520px);
  top: clamp(-220px, -22vw, -140px);
  left: clamp(-200px, -20vw, -130px);
  background: radial-gradient(circle at 35% 35%, var(--blob-1) 0%, var(--blob-2) 55%, var(--blob-3) 100%);
}

.bg-blob--right {
  width: clamp(340px, 58vw, 760px);
  height: clamp(340px, 58vw, 760px);
  top: clamp(-300px, -28vw, -180px);
  right: clamp(-260px, -26vw, -170px);
  background: radial-gradient(circle at 40% 40%, var(--blob-1) 0%, var(--blob-2) 55%, var(--blob-3) 100%);
}

/* Header */
.brand {
  position: relative;
  z-index: 1;
  padding: 1.75rem clamp(1.25rem, 4vw, 3rem);
}

.brand__mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.brand__mark-accent {
  color: var(--blue);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem clamp(1.25rem, 6vw, 3rem);
}

.hero > * {
  animation: fadeUp 0.8s ease both;
}

.hero__title {
  margin: 0 0 0.6rem;
  max-width: 16ch;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white);
  animation-delay: 0.15s;
}

.hero__subtitle {
  margin: 0 0 1.75rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  color: var(--blue);
  animation-delay: 0.25s;
}

.hero__cta {
  display: inline-block;
  background: var(--blue);
  color: var(--bg);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
  animation-delay: 0.35s;
}

.hero__cta:hover {
  background: var(--blue-bright);
  transform: translateY(-1px);
}

/* Focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-faint);
}

.site-footer a {
  color: inherit;
}

.webinar-footer__links {
  margin: 0.4rem 0 0;
}

.webinar-footer__links a {
  color: var(--blue-bright);
}

.webinar-footer__links span {
  margin: 0 0.4rem;
}

/* Webinar page */
.webinar {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 6vw, 3rem) 2rem;
  animation: fadeUp 0.5s ease both;
}

.webinar__title {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  color: var(--white);
}

.webinar__intro {
  margin: 0 0 2.5rem;
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.meet__intro {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.8vw, 1.6rem);
  color: var(--white);
}

.meet__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .meet__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.meet-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.meet-card:hover,
.meet-card:focus-visible {
  background: rgba(91, 140, 245, 0.14);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.meet-card__label {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 1.9rem);
  color: var(--white);
}

.meet-card__time {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-bright);
}

.meet-card__dates {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.meet__caption {
  margin: 1.1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-faint);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
