:root {
  --navy: #10233f;
  --navy-2: #173861;
  --blue: #dcebf7;
  --blue-2: #f3f8fc;
  --green: #147a5c;
  --green-2: #e0f1eb;
  --text: #172033;
  --muted: #5c6678;
  --line: #d9e2ec;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(16, 35, 63, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 12px clamp(18px, 4vw, 42px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  border-radius: 6px;
  display: block;
  flex: 0 0 auto;
  height: 30px;
  max-height: 30px;
  max-width: 44px;
  object-fit: contain;
  width: 44px;
}

.brand-text {
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2vw, 26px);
  justify-content: center;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--green);
}

.language-toggle {
  background: var(--blue-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  padding: 3px;
}

.language-toggle button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 7px 11px;
}

.language-toggle button.active {
  background: var(--green);
  color: var(--white);
}

.section {
  padding: clamp(64px, 9vw, 108px) clamp(18px, 4vw, 42px);
  scroll-margin-top: 82px;
}

.section-inner {
  margin: 0 auto;
  max-width: var(--max);
  position: relative;
}

.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(20, 122, 92, 0.17), transparent 28%),
    linear-gradient(135deg, #f7fbff 0%, #eaf4fb 58%, #ffffff 100%);
  min-height: calc(100vh - 64px);
  overflow: hidden;
  position: relative;
}

.hero-inner {
  max-width: 990px;
  padding-top: clamp(30px, 7vw, 86px);
}

.hero h1 {
  color: var(--navy);
  letter-spacing: 0;
  margin: 14px 0 20px;
  max-width: 900px;
}

.title-prefix,
.title-main {
  display: block;
}

.title-prefix {
  color: var(--navy-2);
  font-size: clamp(1.7rem, 3.7vw, 3.3rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 8px;
}

.title-main {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 5.65vw, 5.25rem);
  font-weight: 700;
  line-height: 1.02;
}

.hero-meta {
  color: var(--green);
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 800;
  margin: 0 0 18px;
}

.lead {
  color: #334056;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  max-width: 820px;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero-eyebrow {
  font-size: clamp(1rem, 1.9vw, 1.45rem);
  letter-spacing: 0.09em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
}

.event-facts {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin: 42px 0 0;
  max-width: 960px;
}

.event-facts div,
.note-card,
.resources-card,
.logo-card,
.speaker-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.event-facts div {
  padding: 18px;
}

.event-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-facts dd {
  color: var(--navy);
  font-weight: 800;
  margin: 4px 0 0;
}

.hero-visual {
  inset: auto 0 0 auto;
  opacity: 0.45;
  pointer-events: none;
  position: absolute;
  width: min(42vw, 560px);
  height: min(42vw, 560px);
}

.hero-visual::before,
.hero-visual::after,
.hero-visual span {
  border: 1px solid rgba(23, 56, 97, 0.22);
  border-radius: 999px;
  content: "";
  position: absolute;
}

.hero-visual::before {
  inset: 8%;
}

.hero-visual::after {
  inset: 27%;
}

.hero-visual span {
  background: var(--green);
  border: 0;
  height: 12px;
  width: 12px;
}

.hero-visual span:nth-child(1) { left: 22%; top: 19%; }
.hero-visual span:nth-child(2) { right: 18%; top: 31%; }
.hero-visual span:nth-child(3) { bottom: 22%; left: 28%; }
.hero-visual span:nth-child(4) { bottom: 34%; right: 30%; }

.intro-band,
.soft-bg {
  background: var(--blue-2);
}

.intro-grid {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: 0.95fr 1.05fr;
}

.intro-grid h2,
.section-heading h2,
.register-inner h2,
.resources-card h2 {
  color: var(--navy);
  font-size: clamp(1.85rem, 4vw, 3.05rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.intro-grid p:last-child,
.section-heading p,
.register-inner p,
.resources-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  margin-bottom: 34px;
  max-width: 820px;
}

.agenda {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.agenda-item {
  align-items: start;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 92px 1fr;
  padding: 22px;
}

.agenda-item:last-child {
  border-bottom: 0;
}

.agenda-item time {
  background: var(--blue);
  border-radius: 999px;
  color: var(--navy);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 900;
  justify-content: center;
  padding: 6px 10px;
}

.agenda-item h3 {
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 4px;
}

.agenda-item p {
  color: var(--muted);
  margin: 0;
}

.pending time,
.pending-tag {
  background: #fff4d7;
  color: #7c5a00;
}

.speaker-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.speaker-card {
  display: grid;
  gap: 20px;
  grid-template-columns: 128px 1fr;
  padding: 20px;
}

.speaker-card img,
.avatar-placeholder {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  height: 128px;
  object-fit: cover;
  width: 128px;
}

.avatar-placeholder {
  align-items: center;
  background: var(--green-2);
  color: var(--green);
  display: flex;
  font-size: 3rem;
  font-weight: 900;
  justify-content: center;
}

.speaker-card h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin: 2px 0;
}

.speaker-card p {
  margin: 0;
}

.tag {
  background: var(--green-2);
  border-radius: 999px;
  color: var(--green);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  margin: 0 0 8px;
  padding: 4px 9px;
  text-transform: uppercase;
}

.affiliation {
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 8px !important;
}

.logo-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.logo-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
  padding: 22px;
  text-align: center;
}

.logo-card img {
  margin-bottom: 18px;
  max-height: 64px;
  object-fit: contain;
  width: min(100%, 210px);
}

.logo-card:nth-child(2) img {
  max-height: 76px;
  width: auto;
}

.logo-card p {
  color: var(--muted);
  font-weight: 800;
  margin: 0;
}

.register-section {
  background: var(--navy);
  color: var(--white);
}

.register-section .eyebrow,
.register-section h2,
.register-section p {
  color: var(--white);
}

.register-section p {
  opacity: 0.83;
}

.register-inner {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: 1.2fr 0.8fr;
}

.note-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
  padding: 24px;
}

.note-card h3 {
  margin: 0 0 10px;
}

.resources-section {
  padding-top: 40px;
}

.resources-card {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 0.8fr 1fr;
  padding: 26px;
}

.site-footer {
  align-items: center;
  background: #071629;
  color: var(--white);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 28px clamp(18px, 4vw, 42px);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.7);
  margin: 3px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .event-facts,
  .intro-grid,
  .register-inner,
  .resources-card {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .speaker-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand-text {
    display: none;
  }

  .section {
    padding: 54px 16px;
  }

  .hero {
    min-height: auto;
  }

  .title-prefix {
    font-size: clamp(1.45rem, 8vw, 2.35rem);
  }

  .title-main {
    font-size: clamp(2.25rem, 12vw, 3.85rem);
  }

  .event-facts,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .agenda-item {
    grid-template-columns: 1fr;
  }

  .speaker-card {
    grid-template-columns: 92px 1fr;
    padding: 16px;
  }

  .speaker-card img,
  .avatar-placeholder {
    height: 92px;
    width: 92px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
