@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&family=Geist+Mono:wght@400;500&display=swap');

:root {
  /* backdrop */
  --bg: #141D30;
  --bg-elevated: #1C2942;
  --bg-elevated-2: #243453;
  --bg-elevated-3: #2E4160;

  /* borders */
  --border: rgba(255,255,255,0.14);
  --border-strong: rgba(255,255,255,0.26);
  --border-accent: rgba(129,185,246,0.6);

  /* text */
  --text-primary: #FFFFFF;
  --text-secondary: #C3CBDA;
  --text-tertiary: #8A93A6;

  /* accent — UNC Carolina blue, tech dark-mode read */
  --accent: #57A1F4;
  --accent-bright: #81B9F6;
  --accent-glow: rgba(87,161,244,0.35);
  --accent-dim: rgba(87,161,244,0.12);

  /* radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --max: 1120px;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* Marquee */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  white-space: nowrap;
  padding: 0 20px;
}
.marquee-track span::after {
  content: '\2022';
  color: var(--accent-bright);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20,29,48,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
}
.nav-logo img { height: 30px; border-radius: var(--radius-sm); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { color: var(--text-secondary); transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}
.btn-primary {
  background: var(--accent);
  color: #061119;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-bright);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-outline {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
}
.btn-outline:hover { border-color: var(--border-accent); background: var(--accent-dim); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* Sections */
section { padding: 96px 0; }
section.tight { padding: 60px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--accent-bright);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-glow);
}
h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}
p { color: var(--text-secondary); font-size: 16.5px; }
.lead { font-size: 19px; color: var(--text-secondary); max-width: 560px; }

/* Hero */
.hero {
  min-height: calc(100vh - 69px);
  display: flex;
  align-items: center;
  padding: 90px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero .wrap { width: 100%; }
.hero::before {
  content: '';
  position: absolute;
  top: -260px; left: 50%;
  transform: translateX(-50%);
  width: 1200px; height: 640px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, rgba(87,161,244,0.12) 45%, transparent 72%);
  opacity: 0.9;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 460px; height: 460px;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}
.hero-glow-left {
  left: -160px;
  background: radial-gradient(ellipse at center, rgba(129,185,246,0.18) 0%, rgba(129,185,246,0.05) 50%, transparent 78%);
}
.hero-glow-right {
  right: -160px;
  background: radial-gradient(ellipse at center, rgba(87,161,244,0.16) 0%, rgba(87,161,244,0.05) 50%, transparent 78%);
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.hero-content .eyebrow { font-size: 15px; }
.hero-content h1 { font-size: 58px; }
.bracket-mark {
  width: 56px; height: 56px;
  margin: 0 auto 24px;
  border: 2px solid var(--accent-bright);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--accent-bright);
  box-shadow: 0 0 30px var(--accent-glow);
}
.hero .lead { margin-top: 20px; font-size: 20px; max-width: 580px; margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; justify-content: center; }
.hero-ctas .btn { font-size: 15px; padding: 13px 26px; }
.hero-meta {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-secondary);
}
/* Device mockup */
.mockup {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(87,161,244,0.06), inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-elevated-2);
  border-bottom: 1px solid var(--border);
}
.mockup-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--bg-elevated-3); }
.mockup-bar .url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
}
.mockup-body { padding: 24px; }
.mockup-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.mockup-body h4 { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.mockup-body p { font-size: 13px; margin-bottom: 16px; }
.mockup-code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  line-height: 1.7;
}
.mockup-code .k { color: var(--accent-bright); }
.mockup-code .s { color: #9ADBAE; }
.mockup-stats { display: flex; gap: 10px; }
.mockup-stats div {
  flex: 1;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
}
.mockup-stats .v { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.mockup-stats .l { font-family: var(--font-mono); font-size: 10px; color: var(--text-tertiary); }

/* Bento grid / cards */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.bento-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(87,161,244,0.08);
}
.card .icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 14px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--text-secondary); }
.bento-grid.cols-2 .card h3 { font-size: 19px; }
.card ul.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.card ul.bullet-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15.5px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.bento-grid.cols-2 .card ul.bullet-list li { font-size: 17px; }
.card ul.bullet-list li:last-child { margin-bottom: 0; }
.card ul.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-bright);
}

/* Node timeline */
.node-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin-top: 56px;
}
.node-track::before {
  content: '';
  position: absolute;
  top: 9px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--border-accent), var(--border), var(--border-accent));
}
.node {
  position: relative;
  padding-top: 32px;
  padding-right: 12px;
}
.node .dot {
  position: absolute;
  top: 0; left: 0;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
}
.node .dot::after {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}
.node .n { font-family: var(--font-mono); font-size: 12px; color: var(--accent-bright); margin-bottom: 6px; }
.node h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.node p { font-size: 13px; color: var(--text-secondary); }

/* Badge chips (logo band) */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.chip-row.vertical {
  flex-direction: column;
  align-items: stretch;
}
.chip-row.vertical .chip { justify-content: space-between; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.chip:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(87,161,244,0.15);
}
.chip::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-tertiary);
}
.chip:hover::before { background: var(--accent); box-shadow: 0 0 6px var(--accent-glow); }

/* CTA band */
.cta-band {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  color: var(--text-primary);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { margin-bottom: 28px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-tertiary);
}
.footer-links { display: flex; gap: 22px; list-style: none; }
.footer-links a:hover { color: var(--text-primary); }

/* Page header (compact, no full-bleed color band) */
.page-header { padding: 56px 0 20px; }
.page-header h1 { font-size: 40px; }
.page-header p { max-width: 560px; margin-top: 14px; }

/* Accordion (curriculum + FAQ) */
.accordion-list { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.accordion-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px 26px;
  transition: border-color 0.2s ease;
}
details.accordion-item[open] { border-color: var(--border-accent); }
details.accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
details.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item .row {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.summary-left { display: flex; align-items: center; gap: 14px; }
.week-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.summary-title h3 { font-size: 15.5px; margin-bottom: 2px; }
.summary-title .format { font-size: 13.5px; color: var(--text-secondary); }
.chevron {
  width: 20px; height: 20px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 12px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
details.accordion-item[open] .chevron { transform: rotate(45deg); border-color: var(--border-accent); color: var(--accent); }
.accordion-body { padding: 0 0 22px; }
.accordion-body p { font-size: 15.5px; margin-bottom: 14px; }
.hw {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--text-secondary);
}
.hw b { color: var(--text-primary); font-family: var(--font-mono); font-weight: 500; }

/* Team profile cards */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
}
.team-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
  flex: 0 1 calc(25% - 13.5px);
}
.team-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.team-photo {
  width: 112px; height: 112px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dim), var(--bg-elevated-3));
  border: 1px solid var(--border-accent);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card h4 { font-size: 14.5px; font-weight: 600; color: var(--text-primary); margin-bottom: 12px; }
.team-card .role {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent);
  margin: 4px 0 10px;
}
.team-card .bio { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.li-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-tertiary);
  transition: all 0.2s ease;
}
.li-icon:hover { border-color: var(--border-accent); color: var(--accent-bright); box-shadow: 0 0 12px var(--accent-glow); }

/* Hero social icon buttons */
.hero-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover {
  border-color: var(--border-accent);
  color: var(--accent-bright);
  box-shadow: 0 0 14px var(--accent-glow);
}

@media (max-width: 860px) {
  h1 { font-size: 34px; }
  .hero-content h1 { font-size: 38px; }
  .hero-content .eyebrow { font-size: 14px; }
  .hero .lead { font-size: 17px; }
  .hero-ctas .btn { font-size: 14px; padding: 11px 22px; }
  .hero-meta { font-size: 13px; }
  .social-icon { width: 36px; height: 36px; }
  .social-icon svg { width: 17px; height: 17px; }
  .hero-content { max-width: 100%; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-grid.cols-2 { grid-template-columns: 1fr; }
  .team-card { flex: 0 1 calc(50% - 9px); }
  .node-track { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .node-track::before { display: none; }
  .nav-links { display: none; }
}
