:root {
  --ink: #0f172a;
  --muted: #5a6478;
  --line: #e4e7f0;
  --bg: #f6f7fb;
  --white: #ffffff;
  --brand: #4f46e5;
  --brand-strong: #4338ca;
  --brand-soft: #eef0ff;
  --accent: #f59e0b;
  --hero-ink: #eef1ff;
  --hero-muted: #a7b0d6;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 10px 30px -18px rgba(15, 23, 42, 0.25);
  --shadow-lg: 0 40px 80px -40px rgba(15, 23, 42, 0.4);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--brand);
  text-decoration: none;
}

p a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

svg {
  width: 18px;
  height: 18px;
  flex: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

section[id],
#topo {
  scroll-margin-top: 84px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(79, 70, 229, 0.9);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--hero-ink);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-light {
  width: 100%;
  background: #fff;
  color: var(--brand-strong);
}

.btn-light:hover {
  background: var(--brand-soft);
}

.btn-sm {
  padding: 0.6rem 1.05rem;
  font-size: 0.88rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--hero-ink);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.14);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 16, 32, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.7rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
  color: #fff;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #6366f1, #14b8a6);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}

.brand-text {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand-text small {
  display: block;
  margin-top: 2px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9aa4cc;
}

.nav {
  display: flex;
  gap: 1.15rem;
}

.nav a {
  color: rgba(238, 241, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #fff;
}

.nav a[aria-current="page"] {
  color: #fff;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--hero-ink);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(1100px 560px at 12% -15%, rgba(99, 102, 241, 0.45), transparent 62%),
    radial-gradient(900px 520px at 102% 0%, rgba(20, 184, 166, 0.28), transparent 58%),
    #0b1020;
  color: var(--hero-ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: start;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.4rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #cdd5f7;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.05);
  }
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 1.1rem;
}

.grad {
  background: linear-gradient(100deg, #c7d2fe 5%, #7dd3fc 55%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 56ch;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--hero-muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
  margin-top: 1.6rem;
  color: #c3cbf0;
  font-size: 0.92rem;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-meta svg {
  color: #8ea0ff;
}

.meta-sep {
  color: rgba(195, 203, 240, 0.45);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.8rem;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(62px, 76px));
  gap: 0.55rem;
  margin-top: 2.2rem;
}

.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.65rem 0.25rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
}

.cd-value {
  font-size: 1.55rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.cd-label {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hero-muted);
}

.countdown-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--hero-muted);
}

.event-card {
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.event-card-title {
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8c0e8;
}

.event-details {
  margin: 0;
}

.event-details > div {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.event-details dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hero-muted);
}

.event-details dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f1f3ff;
}

.event-details > div:first-child {
  border-top: 0;
}

.event-card .btn-light {
  margin-top: 1.1rem;
}

.event-card-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  text-align: center;
  color: var(--hero-muted);
}

.section {
  padding: clamp(56px, 8vw, 92px) 0;
}

.section-alt {
  background: #fff;
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 62ch;
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-head h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--muted);
}

.schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.day-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.day-head {
  margin-bottom: 0.3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.day-pill {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.day-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
}

.session-list {
  display: grid;
}

.session {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.session:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.session-time {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--brand);
}

.session h4 {
  margin-bottom: 0.45rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
}

.session-details {
  display: grid;
  gap: 0.2rem;
  margin: 0 0 0.6rem;
  padding-left: 1.05rem;
  list-style: disc;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}

.session-details li::marker {
  color: var(--brand);
}

.format-tag {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.format-hybrid {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.format-online {
  background: #ccfbf1;
  color: #0f766e;
}

.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.location-card,
.location-tips {
  padding: 1.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.location-card h3,
.location-tips h3 {
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.location-card p {
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.check-list {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.94rem;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.muted {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.signup {
  background: linear-gradient(180deg, #eef0ff 0%, var(--bg) 100%);
}

.form-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.form-placeholder {
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed #cfd5ea;
  border-radius: 16px;
  background: #fafbff;
}

.form-placeholder-title {
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--ink);
}

.form-placeholder p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

#form-iframe {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
  border-radius: 14px;
  background: #fff;
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.83rem;
  text-align: center;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0.6rem;
  max-width: 820px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.faq-list details[open] {
  border-color: #c7cdf5;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 0;
  padding: 0 1.3rem 1.25rem;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--muted);
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: translateY(-50%);
}

.faq-icon::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.2s ease;
}

details[open] .faq-icon::after {
  transform: translateY(-50%) rotate(0deg);
}

.site-footer {
  padding: 3.5rem 0 1.5rem;
  background: #0b1020;
  color: #cfd5f5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

.site-footer .brand {
  margin-right: 0;
}

.footer-text {
  max-width: 44ch;
  margin: 1rem 0 0.6rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #9aa4cc;
}

.footer-mail {
  color: #c7d2fe;
  font-size: 0.92rem;
}

.footer-mail:hover {
  text-decoration: underline;
}

.footer-credit {
  margin: 0.1rem 0 0.75rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #8c96c0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.footer-share {
  justify-self: end;
}

.footer-title {
  margin-bottom: 0.8rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #eef1ff;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.copy-feedback {
  min-height: 1.2em;
  margin: 0.6rem 0 0;
  font-size: 0.84rem;
  color: #86efac;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: #8c96c0;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  gap: 1.1rem;
}

.footer-bottom a {
  color: #8c96c0;
}

.footer-bottom a:hover {
  color: #fff;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .feature-grid .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.js .feature-grid .reveal:nth-child(3) {
  transition-delay: 160ms;
}

@media (max-width: 900px) {
  .hero {
    padding: 48px 0 72px;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: #0b1020;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.7);
  }

  .nav.is-open a {
    padding: 0.85rem 0.2rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav.is-open a:last-child {
    border-bottom: 0;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .event-card {
    max-width: 480px;
  }

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

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

  .footer-share {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    gap: 1rem;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    flex: 1 1 auto;
  }

  #form-iframe {
    min-height: 1000px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(1120px, 100% - 2rem);
  }

  .brand-text {
    font-size: 0.82rem;
  }

  .brand-text small {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .section {
    padding: 48px 0;
  }

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

  .cd-value {
    font-size: 1.3rem;
  }

  .event-card,
  .feature-card,
  .location-card,
  .location-tips {
    padding: 1.3rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .btn-icon {
    width: 100%;
  }

  .faq-list summary {
    padding: 1rem 1.1rem;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
