:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --brand: #0071e3;
  --ok: #198754;
  --warn: #b77700;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

body[data-theme="dark"] {
  --bg: #000000;
  --surface: #101010;
  --surface-soft: #171717;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --line: #2e2e30;
  --brand: #2997ff;
  --ok: #52d18f;
  --warn: #f2b34e;
  --shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  position: relative;
}

.logo {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.logo span { color: var(--brand); }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 150px;
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.35rem;
  box-shadow: var(--shadow);
  z-index: 70;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
}

.menu-toggle {
  display: none;
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 0.38rem 0.72rem;
  cursor: pointer;
}

.nav-links a,
.theme-toggle {
  font-size: 0.87rem;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  padding: 0.35rem 0.72rem;
}

.nav-links a:hover,
.nav-links a.active,
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--line);
  background: var(--surface-soft);
}

.theme-toggle { cursor: pointer; }

.hero {
  padding: 4.8rem 0 3rem;
}

.hero-panel {
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 4vw, 2.8rem);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-block;
  color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 40%, var(--line));
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.22rem 0.62rem;
  margin-bottom: 0.9rem;
}

h1, h2, h3 {
  margin: 0 0 0.65rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(1.7rem, 4vw, 3rem); }
h2 { font-size: clamp(1.35rem, 2.5vw, 2rem); }

.lead, .muted { color: var(--muted); }

.deadline-callout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.35rem 0 0.2rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, #b00020 35%, var(--line));
  background: color-mix(in srgb, #ffebee 85%, var(--surface));
  color: #b00020;
  font-weight: 800;
  letter-spacing: 0.1px;
}

.deadline-callout strong {
  font-weight: inherit;
}

.organizers-callout {
  margin-top: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand) 10%, var(--surface)) 0%,
    var(--surface-soft) 55%,
    color-mix(in srgb, var(--brand) 6%, var(--surface)) 100%
  );
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.organizers-callout::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 10px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 35%, #7c3aed));
  opacity: 0.95;
}

.organizers-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 0.6rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  background: color-mix(in srgb, var(--brand) 7%, var(--surface));
  margin-left: 0.45rem;
}

.organizers-title::before {
  content: "•";
  color: var(--brand);
  font-size: 1rem;
  line-height: 1;
}

.organizers-list {
  margin: 0;
  padding: 0 0 0 1.75rem;
  color: var(--muted);
  font-weight: 700;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.organizers-list li {
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.35;
}

.organizers-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.05rem;
  height: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 26%, var(--line));
  color: var(--brand);
  font-weight: 900;
  font-size: 0.75rem;
}

@media (min-width: 900px) {
  .organizers-callout {
    padding: 1rem 1.1rem;
  }

  .organizers-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1.1rem;
  }
}

.actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  border-radius: 999px;
  padding: 0.64rem 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-secondary {
  border-color: var(--line);
  color: var(--text);
  background: var(--surface);
}

section { padding: 1.6rem 0; }

.grid {
  display: grid;
  gap: 1rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

.resource-section-head {
  max-width: 760px;
  margin: 0 auto 1rem;
  text-align: center;
}

.resource-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 1rem;
}

.resource-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: var(--radius-xl);
  padding: 1.15rem;
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 32%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 84%, transparent), var(--surface-soft));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.resource-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--ok) 75%, var(--brand)));
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 42%, var(--line));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.1);
}

.resource-card-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.85rem;
  border-radius: 16px;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, var(--surface-soft));
}

.resource-card-icon svg {
  width: 24px;
  height: 24px;
}

.resource-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.resource-card p {
  flex: 1;
  margin: 0 0 1rem;
  font-weight: 650;
}

.resource-card-actions,
.resource-view-more {
  display: flex;
  justify-content: center;
}

.resource-view-more {
  margin-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .resource-card {
    transition: none;
  }

  .resource-card:hover {
    transform: none;
  }
}

.people-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.committee-block + .committee-block {
  margin-top: 1.3rem;
}

.committee-block h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.person-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.person-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 0.75rem;
  border: 2px solid var(--surface-soft);
}
.person-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
  border: 2px solid var(--surface-soft);
  background: color-mix(in srgb, var(--brand) 14%, var(--surface-soft));
  color: var(--brand);
  font-weight: 900;
  font-size: 1.2rem;
}

.person-content {
  padding: 0;
}

.person-content h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.meta {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.tag {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 13%, transparent);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

.pill {
  display: inline-block;
  font-size: 0.73rem;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  margin-bottom: 0.45rem;
}
.pill.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 16%, transparent); }
.pill.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 16%, transparent); }
.pill.new { color: var(--brand); background: color-mix(in srgb, var(--brand) 16%, transparent); }

ul.clean { list-style: none; padding: 0; margin: 0.45rem 0 0; }
ul.clean li { padding: 0.42rem 0; border-bottom: 1px solid var(--line); }
ul.clean li:last-child { border-bottom: none; }

.page-head { padding: 3rem 0 1rem; }

.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 14px;
  overflow: hidden;
}

th, td {
  text-align: left;
  padding: 0.76rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}

th { color: var(--muted); font-weight: 600; background: var(--surface-soft); }
tr:last-child td { border-bottom: none; }

label { display: block; margin-bottom: 0.34rem; font-size: 0.86rem; color: var(--muted); }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  border-radius: 12px;
  padding: 0.65rem 0.72rem;
  font-family: inherit;
}
textarea { min-height: 110px; resize: vertical; }

form .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.success-box {
  display: none;
  margin-top: 0.8rem;
  border: 1px solid color-mix(in srgb, var(--ok) 35%, var(--line));
  background: color-mix(in srgb, var(--ok) 12%, transparent);
  color: var(--ok);
  border-radius: 12px;
  padding: 0.65rem;
}

footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 2rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-contact {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-contact a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-cmt-ack {
  margin: 0.75rem 0 0;
  max-width: 72ch;
  font-size: 0.88rem;
  line-height: 1.55;
}

.map-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 14px;
}

.track-hero {
  background: linear-gradient(120deg, color-mix(in srgb, var(--brand) 15%, transparent), transparent 60%);
}

.track-detail {
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.track-head {
  padding: 1.1rem 1.2rem;
  background: linear-gradient(120deg, color-mix(in srgb, var(--brand) 18%, transparent), var(--surface-soft));
  border-bottom: 1px solid var(--line);
}

.track-head h2 {
  margin: 0;
}

.track-body {
  padding: 1.2rem;
}

.track-body .intro {
  color: var(--muted);
  font-weight: 600;
}

.format-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.format-item {
  padding: 0.75rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  border-radius: 12px;
  font-weight: 600;
}

.contact-info-card {
  padding: 0;
  overflow: hidden;
}

.contact-info-head {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--brand) 18%, transparent),
    var(--surface-soft)
  );
}

.contact-info-head h3 {
  margin: 0;
}

.contact-info-body {
  padding: 1.1rem 1.15rem 1.2rem;
  background: color-mix(in srgb, var(--surface-soft) 70%, transparent);
}

.contact-org {
  margin-top: 0.9rem;
  padding: 0.85rem 0.9rem;
  border-left: 3px solid var(--brand);
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand) 8%, transparent);
}

.contact-links {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line));
  border-radius: 999px;
  padding: 0.36rem 0.72rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.contact-links a:hover {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}

.dates-section {
  padding-bottom: 2.5rem;
}

.dates-hub {
  max-width: 640px;
  display: grid;
  gap: 1.25rem;
}

.dates-card {
  padding: 1.35rem 1.4rem 1.5rem;
}

.dates-deadline-callout {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  text-align: center;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line));
}

.dates-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.dates-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 0 0 1.35rem 0.15rem;
}

.dates-timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 0.48rem;
  top: 1.1rem;
  bottom: 0;
  width: 2px;
  background: color-mix(in srgb, var(--brand) 30%, var(--line));
}

.dates-timeline-marker {
  width: 1rem;
  height: 1rem;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: var(--surface);
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent);
  z-index: 1;
}

.dates-timeline-item--highlight .dates-timeline-marker {
  background: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent);
}

.dates-timeline-content h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.dates-submit-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.dates-submit-link:hover {
  color: var(--brand);
}

.dates-submit-note {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
}

.dates-submit-note a {
  font-weight: 700;
  color: var(--brand);
}

.dates-calendar {
  margin-top: 0.6rem;
}

.dates-calendar-link {
  font-size: 0.82rem;
  padding: 0.42rem 0.8rem;
}

.dates-timeline-content time {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
}

.dates-timeline-item--highlight .dates-timeline-content {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--brand) 8%, var(--surface-soft));
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
}

.dates-venue {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
}

.dates-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.contact-section {
  padding-bottom: 2.5rem;
}

.contact-hub {
  display: grid;
  gap: 1.25rem;
  max-width: 720px;
}

.contact-email-card {
  text-align: center;
  padding: 2rem 1.5rem 1.75rem;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--brand) 14%, var(--surface)),
    var(--surface)
  );
  box-shadow: var(--shadow);
}

.contact-email-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line));
}

.contact-email-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.contact-email-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.contact-email-heading {
  margin: 0.35rem 0 1rem;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  line-height: 1.5;
  font-weight: 600;
  color: var(--text);
}

.contact-email-address {
  display: inline;
  font-weight: 700;
  color: var(--brand);
  word-break: break-all;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--brand) 45%, transparent);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.contact-email-address:hover {
  color: var(--text);
}

.contact-email-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.contact-copy-feedback {
  margin: 0.85rem 0 0;
  min-height: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ok);
}

.contact-topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.contact-topic {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  padding: 0.85rem 0.55rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.contact-topic-icon {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
}

.contact-topic strong {
  font-size: 0.88rem;
}

.contact-topic .muted {
  font-size: 0.78rem;
}

.registration-section {
  padding-bottom: 2.5rem;
}

.registration-portal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--brand) 14%, var(--surface)),
    var(--surface)
  );
}

.registration-portal-card h3 {
  margin: 0.2rem 0 0.5rem;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

.registration-portal-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 0 0.85rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line));
}

.registration-portal-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.registration-portal-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.registration-portal-lead {
  margin: 0 0 1rem;
  max-width: 28rem;
  line-height: 1.55;
}

.registration-steps {
  counter-reset: step;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 26rem;
  text-align: left;
  display: grid;
  gap: 0.55rem;
}

.registration-steps li {
  position: relative;
  padding: 0.65rem 0.75rem 0.65rem 2.35rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line));
}

.registration-steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
}

.registration-portal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
}

.registration-form-btn {
  gap: 0.45rem;
  padding: 0.72rem 1.25rem;
  font-size: 0.95rem;
}

.registration-form-btn-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.registration-portal-note {
  margin: 1rem 0 0;
  max-width: 24rem;
  font-size: 0.84rem;
  line-height: 1.45;
}

body.reg-modal-open {
  overflow: hidden;
}

.reg-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.reg-modal[hidden] {
  display: none;
}

.reg-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

body[data-theme="dark"] .reg-modal-backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.reg-modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  padding: 1.5rem 1.35rem 1.25rem;
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--brand) 12%, var(--surface)),
    var(--surface)
  );
  animation: reg-modal-in 0.28s ease-out;
}

@keyframes reg-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reg-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--muted);
  cursor: pointer;
}

.reg-modal-close svg {
  width: 1rem;
  height: 1rem;
}

.reg-modal-close:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}

.reg-modal-badge {
  margin-bottom: 0.5rem;
}

.reg-modal-panel h2 {
  margin: 0 2rem 0.5rem 0;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  line-height: 1.25;
}

.reg-modal-lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.reg-modal-lead strong {
  color: var(--text);
}

.reg-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.reg-modal-actions .btn-primary {
  flex: 1 1 auto;
  min-width: 10rem;
}

.reg-modal-dates {
  padding: 1rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--brand) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line));
}

.reg-modal-dates h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.reg-modal-dates-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.reg-modal-dates-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.88rem;
}

.reg-modal-dates-item--highlight {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
}

.reg-modal-dates-item--highlight time {
  color: var(--brand);
  font-weight: 700;
}

.reg-modal-dates-label {
  font-weight: 600;
  color: var(--text);
}

.reg-modal-dates-list time {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--muted);
}

.reg-modal-dates-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand);
}

.reg-modal-dates-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reg-modal-dismiss {
  width: 100%;
  margin-top: 1rem;
}

.social-float {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.social-float-link {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: var(--shadow);
  color: #fff;
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
}

.social-float-link svg {
  width: 1.15rem;
  height: 1.15rem;
}

.social-float-link--linkedin {
  background: #0a66c2;
  border: 1px solid #004182;
  color: #fff;
}

.social-float-link--facebook {
  background: #1877f2;
  border: 1px solid #0d5dbf;
  color: #fff;
}

.social-float-link:hover,
.social-float-link:focus-visible {
  transform: scale(1.08);
  outline: none;
  filter: brightness(1.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.social-float-link--linkedin:active {
  filter: brightness(0.95);
}

.social-float-link--facebook:active {
  filter: brightness(0.95);
}

@media (max-width: 920px) {
  .social-float {
    top: auto;
    bottom: 1rem;
    right: 0.75rem;
    transform: none;
    flex-direction: row;
  }

  .contact-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .grid-2,
  form .row {
    grid-template-columns: 1fr;
  }

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(320px, 100%);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 0.65rem;
    flex-direction: column;
    align-items: stretch;
    z-index: 60;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .theme-toggle {
    width: 100%;
    text-align: left;
    border-radius: 10px;
    padding: 0.52rem 0.68rem;
  }

  .dropdown-menu {
    position: static;
    display: block;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 0.6rem;
  }

  .dropdown {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .people-grid {
    grid-template-columns: 1fr;
  }
}
