/* NSSTC 2026 — static single-page styles */

:root {
  --brand-indigo: #3f2c8a;
  --brand-purple: #6b2c8c;
  --brand-magenta: #8c2b82;
  --brand-red: #d63862;
  --brand-flame: #e85d2f;
  --brand-orange: #f08a30;
  --cream: #fcf7ee;
  --cream-deep: #f5ecd9;
  --ink: #1c1830;
  --muted: #5a5470;
  --border: rgba(28, 24, 48, 0.12);
  --radius: 0.75rem;
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; }
img { max-width: 100%; height: auto; }
a { color: inherit; }

.bg-brand-gradient {
  background: linear-gradient(90deg, var(--brand-indigo) 0%, var(--brand-purple) 22%, var(--brand-magenta) 42%, var(--brand-red) 62%, var(--brand-flame) 82%, var(--brand-orange) 100%);
}
.text-brand-gradient {
  background: linear-gradient(90deg, var(--brand-indigo) 0%, var(--brand-purple) 22%, var(--brand-magenta) 42%, var(--brand-red) 62%, var(--brand-flame) 82%, var(--brand-orange) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.brand-hairline { height: 3px; width: 100%; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-flame);
}
.section-title {
  margin: 0.75rem 0 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
}
.muted { color: var(--muted); }
.container { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 56rem; }
.container--text { max-width: 48rem; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(252, 247, 238, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; }
.wordmark img { height: 2.5rem; width: auto; }
.nav-desktop { display: none; gap: 1.75rem; }
.nav-desktop a { font-size: 0.875rem; font-weight: 500; color: rgba(28, 24, 48, 0.75); text-decoration: none; }
.nav-desktop a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem; font-weight: 600; text-decoration: none; border: none; cursor: pointer;
}
.btn--primary { background: var(--brand-flame); color: #fff; }
.btn--primary:hover { filter: brightness(1.1); }
.btn--outline { background: #fff; color: rgba(28, 24, 48, 0.85); border: 1px solid var(--border); }
.btn--outline:hover { border-color: var(--brand-flame); }
.btn--indigo { background: var(--brand-indigo); color: #fff; }
.btn--indigo:hover { filter: brightness(1.1); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.menu-btn { display: flex; padding: 0.5rem; background: none; border: none; cursor: pointer; }
.nav-mobile { border-top: 1px solid var(--border); background: var(--cream); }
.nav-mobile a { display: block; padding: 0.75rem 1.25rem; text-decoration: none; font-weight: 500; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
}

.hero {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(to bottom, #fff, var(--cream), rgba(245, 236, 217, 0.6));
}
.hero-inner { position: relative; max-width: 56rem; margin-inline: auto; padding: 6rem 1.25rem; }
.hero h1 { margin: 1.25rem 0 0; font-size: clamp(2rem, 6vw, 4.25rem); line-height: 1.02; }
.hero-lead { margin: 1.5rem auto 0; max-width: 42rem; font-size: 1.125rem; color: var(--muted); }
.hero-theme { margin: 2rem auto 0; max-width: 42rem; font-family: var(--font-display); font-size: clamp(1.125rem, 2.5vw, 1.5rem); font-weight: 600; }
.hero-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.hero-meta { margin: 3rem auto 0; max-width: 28rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; text-align: left; font-size: 0.875rem; }
.hero-meta dt { color: rgba(28, 24, 48, 0.6); }
.hero-meta dd { margin: 0.25rem 0 0; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.partners-row { margin-top: 3rem; }
.partners-row p { font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(28, 24, 48, 0.5); }
.partners-logos { margin-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem 3.5rem; }
.partners-logos img { height: 3rem; width: auto; opacity: 0.8; }

.countdown { border-block: 1px solid var(--border); background: var(--brand-indigo); color: #fff; text-align: center; padding: 3rem 1.25rem; }
.countdown-grid { margin-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.5rem; }
.countdown-box { min-width: 5.5rem; padding: 1rem 1.25rem; border-radius: 0.75rem; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); }
.countdown-num { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.countdown-label { margin-top: 0.25rem; font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.7); }

.section { padding: 5rem 0; }
.section--white { background: #fff; border-block: 1px solid var(--border); }
.section--center { text-align: center; }
.card-grid { display: grid; gap: 1.5rem; }
.card-grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { border: 1px solid var(--border); border-radius: 0.75rem; background: #fff; padding: 1.5rem; }
.card h3 { margin: 1rem 0 0; font-size: 1.125rem; }
.card p { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--muted); }
.highlight-box { margin-top: 2.5rem; padding: 1.5rem; border: 2px solid var(--brand-flame); border-radius: 1rem; background: rgba(232, 93, 47, 0.1); }
.bullet-list { margin: 0.75rem 0 0; padding-left: 1.25rem; }
.disc-list { margin: 2rem 0 0; padding-left: 1.5rem; }
.disc-list li { margin-top: 0.75rem; font-size: 0.875rem; }
.disc-list li::marker { color: var(--brand-flame); }

.speaker-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.speaker-card { overflow: hidden; border-radius: 1rem; border: 1px solid var(--border); background: #fff; }
.speaker-photo { aspect-ratio: 4/5; overflow: hidden; background: var(--cream); }
.speaker-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.speaker-body { padding: 1.25rem; text-align: center; border-top: 1px solid var(--border); }
.speaker-body h3 { margin: 0; font-size: 1.125rem; }
.speaker-role { margin: 0.25rem 0 0; font-size: 0.875rem; font-weight: 600; color: var(--brand-flame); }
.speaker-org { margin: 0.25rem 0 0; font-size: 0.75rem; color: var(--muted); }

.agenda-list { position: relative; margin-top: 2.5rem; padding-left: 1.5rem; border-left: 1px solid var(--border); list-style: none; }
.agenda-item { position: relative; margin-bottom: 1rem; }
.agenda-dot { position: absolute; left: -1.94rem; top: 0.5rem; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--brand-indigo); }
.agenda-dot--keynote { background: var(--brand-flame); }
.agenda-dot--session { background: var(--brand-magenta); }
.agenda-dot--break { background: var(--border); }
.agenda-card { border: 1px solid var(--border); border-radius: 0.75rem; background: #fff; padding: 1.25rem; }
.agenda-card--break { opacity: 0.8; }
.agenda-time { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; color: var(--brand-flame); }
.agenda-tag { display: inline-block; margin-left: 0.5rem; padding: 0.125rem 0.5rem; border-radius: 999px; font-size: 0.625rem; font-weight: 600; text-transform: uppercase; }
.agenda-tag--keynote { background: rgba(232,93,47,0.1); color: var(--brand-flame); }
.agenda-tag--session { background: rgba(140,43,130,0.1); color: var(--brand-magenta); }

.form-card { margin-top: 2.5rem; padding: 2rem; border: 1px solid var(--border); border-radius: 1rem; background: #fff; }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 0.35rem; font-size: 0.875rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.5rem 0.75rem;
  border: 1px solid rgba(28, 24, 48, 0.18); border-radius: calc(var(--radius) - 2px); font: inherit;
}
.checkbox-row { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.875rem; }
.success-card { margin-top: 2.5rem; padding: 2rem; border: 1px solid rgba(232,93,47,0.4); border-radius: 1rem; background: var(--cream); text-align: center; }

.faq-list { margin-top: 2rem; border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; background: rgba(255,255,255,0.6); }
.faq-list details { padding: 1rem 1.25rem; border-bottom: 1px solid rgba(28,24,48,0.08); }
.faq-list summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p { margin: 0.75rem 0 0; font-size: 0.875rem; color: var(--muted); }

.bsstn-banner { position: relative; overflow: hidden; border-radius: 1rem; background: var(--brand-indigo); color: #fff; padding: 2.5rem 1.5rem; }
@media (min-width: 768px) { .bsstn-banner { padding: 4rem; } }
.bsstn-banner h2 { margin: 0.75rem 0 0; font-size: clamp(1.75rem, 4vw, 2.25rem); }

.site-footer { margin-top: 6rem; border-top: 1px solid var(--border); background: #fff; }
.footer-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-links { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.footer-links a { text-decoration: none; font-size: 0.875rem; }
.footer-links a:hover { color: var(--brand-flame); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.5rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.75rem; color: var(--muted); }
.footer-partners { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-partners img { height: 3rem; width: auto; }
.scroll-mt { scroll-margin-top: 5rem; }
.two-col { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }
.check-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.check-list li { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.check-list svg { flex-shrink: 0; color: var(--brand-flame); }
.map-wrap { margin-top: 2.5rem; overflow: hidden; border-radius: 1rem; border: 1px solid var(--border); }
.map-wrap iframe { display: block; width: 100%; height: 450px; border: 0; }
.resource-card { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: 1rem; background: rgba(252,247,238,0.4); }
@media (min-width: 640px) { .resource-card { flex-direction: row; } }
.benefit-card { padding: 1.5rem; border: 1px solid var(--border); border-radius: 1rem; background: rgba(252,247,238,0.4); }
.benefit-icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 0.75rem; color: #fff; }
.benefit-card ul { margin: 1rem 0 0; padding: 0; list-style: none; }
.benefit-card li { margin-top: 0.75rem; font-size: 0.875rem; }
.benefit-card li span { color: var(--muted); }

.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 100;
  max-width: 22rem; padding: 0.875rem 1.125rem; border-radius: 0.5rem;
  font-size: 0.875rem; font-weight: 500; color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.toast--success { background: #15803d; }
.toast--error { background: #b91c1c; }

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.form-status--error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.form-status--success {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.hp-field {
  display: none !important;
}
