/* ────────────────────────────────────────────────────────────────────────
   Quantum Hackathon — standalone pre-launch site (light theme)
   Universum Labs × Center for Quantum Technologies Serbia
   ──────────────────────────────────────────────────────────────────────── */

:root {
  --bg: #fbfaff;
  --bg-raised: #f4f1fc;
  --panel: #ffffff;
  --line: rgba(109, 40, 217, 0.22);
  --line-soft: rgba(23, 16, 46, 0.1);
  --violet: #7c3aed;
  --violet-bright: #6d28d9;
  --violet-deep: #5b21b6;
  --cyan: #0891b2;
  --pink: #db2777;
  --text: #17102e;
  --dim: rgba(23, 16, 46, 0.7);
  --dimmer: rgba(23, 16, 46, 0.48);
  /* IBM Plex — the same family IBM Quantum uses */
  --font-display: "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(124, 58, 237, 0.22);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}

.wrap-narrow {
  max-width: 720px;
}

section {
  scroll-margin-top: 76px;
}

.mono {
  font-family: var(--font-mono);
}

/* Gradient text — only used in the dark hero, so the bright variants */
.grad {
  background: linear-gradient(100deg, #a78bfa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.violet { color: var(--violet-bright); }
.cyan { color: var(--cyan); }
.pink { color: var(--pink); }
.centered { text-align: center; }

/* ──────── Buttons ──────── */

.btn {
  display: inline-block;
  border: 0;
  border-radius: 10px;
  padding: 0.95rem 1.8rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  color: #ffffff;
  box-shadow: 0 10px 26px -10px rgba(124, 58, 237, 0.55);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(23, 16, 46, 0.25);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--violet);
  color: var(--violet-bright);
  transform: translateY(-2px);
}

.btn-small {
  padding: 0.55rem 1.1rem;
  font-size: 0.7rem;
}

/* ──────── Top bar ──────── */

/* Dark to match the hero — the two read as one dark block at the top */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 7, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* All three partner marks, white versions, in the menu bar — the whole
   cluster links back to the home page */
.brand-link {
  display: inline-flex;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.brand-link:hover {
  opacity: 0.8;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.brand-logo {
  display: block;
  width: auto;
}

.brand-cqt { height: 34px; }
.brand-ul  { height: 22px; }
.brand-ibm { height: 17px; }

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.topnav a:not(.btn) {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(244, 240, 255, 0.68);
  transition: color 0.15s ease;
}

.topnav a:not(.btn):hover {
  color: #ffffff;
}

/* ──────── Hero ──────── */

/* Dark hero on a light page — the dark-to-light change is the divider,
   so no border here */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 12% -5%, rgba(124, 58, 237, 0.38), transparent 65%),
    radial-gradient(45% 45% at 88% 12%, rgba(34, 211, 238, 0.12), transparent 70%),
    linear-gradient(180deg, #10081f 0%, #0a0514 100%);
}

.hero h1 {
  color: #f4f0ff;
}

.hero .lede {
  color: rgba(244, 240, 255, 0.74);
}

.hero .microline,
.hero .hero-footline {
  color: rgba(244, 240, 255, 0.48);
}

.hero .pill {
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.42);
  background: rgba(139, 92, 246, 0.14);
}

.hero .btn-ghost {
  border-color: rgba(244, 240, 255, 0.35);
  color: #f4f0ff;
}

.hero .btn-ghost:hover {
  border-color: #a78bfa;
  color: #c4b5fd;
}

.hero .readout {
  color: rgba(244, 240, 255, 0.5);
}

.hero .readout .angles {
  color: #22d3ee;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
  min-height: min(82svh, 860px);
  padding-block: 4.5rem;
}

.pill {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-bright);
  background: rgba(124, 58, 237, 0.07);
}

.hero h1 {
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero h1 .grad {
  display: inline;
}

.lede {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--dim);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.microline {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dimmer);
}

.hero-footline {
  padding-bottom: 1.8rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dimmer);
}

/* ──────── Fall Fest sticker ──────── */

.hero-viz {
  text-align: center;
}

/* Displayed at the PNG's native size so it stays crisp */
.sticker {
  width: min(100%, 340px);
  height: auto;
  transform: rotate(-8deg);
  filter: drop-shadow(0 20px 46px rgba(0, 0, 0, 0.5));
}

/* ──────── Sections ──────── */

section:not(.hero) {
  padding-block: 5.5rem;
}

/* Tinted band — color, not lines, divides sections */
.band {
  background:
    radial-gradient(50% 60% at 85% 10%, rgba(124, 58, 237, 0.1), transparent 70%),
    #f1ecfb;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

h2 {
  margin-top: 1rem;
  max-width: 46rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h2.centered {
  margin-inline: auto;
}

.section-lede {
  margin-top: 1.4rem;
  max-width: 46rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--dim);
}

.section-lede.centered {
  margin-inline: auto;
}

/* ──────── Cards ──────── */

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 10px 30px -14px rgba(76, 29, 149, 0.14);
  padding: 2.1rem;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 40, 217, 0.45);
  box-shadow: 0 18px 42px -16px rgba(76, 29, 149, 0.22);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
}

.card p:not(.card-eyebrow):not(.card-role):not(.track-number) {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--dim);
}

.card-eyebrow {
  margin-bottom: 0.9rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.card-role {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Partner logo row — three logos, side by side, each linking out */

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem 4.5rem;
}

/* When the section heading is present above the logo row */
.logo-row-spaced {
  margin-top: 3rem;
}

.logo-link {
  display: inline-flex;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.logo-link:hover {
  opacity: 0.75;
  transform: translateY(-3px);
}

/* A partner without a website yet — same slot, no link affordance */
.logo-static,
.logo-static:hover {
  opacity: 1;
  transform: none;
  cursor: default;
}

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

/* Heights tuned per logo so the three read at similar visual weight */
.logo-cqt { height: clamp(110px, 15vw, 168px); }
.logo-ul  { height: clamp(54px, 7.4vw, 80px); }
.logo-ibm { height: clamp(38px, 5vw, 54px); }

/* Organizer cards under the partner logos */

.team-kicker {
  margin-top: 4.2rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dimmer);
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.team-card {
  width: 196px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 10px 30px -14px rgba(76, 29, 149, 0.14);
  padding: 1.4rem 1rem 1.3rem;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 40, 217, 0.45);
  box-shadow: 0 18px 42px -16px rgba(76, 29, 149, 0.22);
}

/* Photo placeholder — swap the div for an <img class="headshot"> when
   real photos land; the same rules crop it into the circle */
.headshot {
  width: 108px;
  height: 108px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(34, 211, 238, 0.14));
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--violet-bright);
}

.team-name {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s ease;
}

/* Whole-card LinkedIn link */
.team-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.team-name::after,
.team-card-link .team-name::after {
  content: " ↗";
  font-size: 0.72em;
  color: var(--cyan);
}

.team-name:hover {
  color: var(--violet-bright);
}

.team-org {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dimmer);
}

/* ──────── Program ──────── */

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.6rem;
}

.program-date {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1.1rem;
}

.program-date span {
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-inline: 0.15rem;
}

.program-card h3 {
  margin-top: 0.2rem;
}

/* ──────── Schedule table ──────── */

.schedule {
  margin-top: 3.2rem;
}

.schedule-kicker {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dimmer);
}

.table-wrap {
  margin-top: 1.2rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 10px 30px -14px rgba(76, 29, 149, 0.14);
}

.program-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.93rem;
}

.program-table th {
  padding: 0.85rem 1.2rem;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dimmer);
  border-bottom: 1px solid var(--line);
}

.program-table td {
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.program-table tbody tr:last-child td {
  border-bottom: 0;
}

.t-time {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--violet-bright);
}

.t-lead {
  font-size: 0.86rem;
  color: var(--dim);
}

.t-tba {
  font-style: italic;
  color: var(--dimmer);
}

.t-break td {
  background: rgba(124, 58, 237, 0.045);
}

.t-break td:not(.t-time) {
  color: var(--dimmer);
}

.schedule-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--dimmer);
}

/* Sessions in the table link to their detail pages */
.t-link {
  color: var(--violet-deep);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(109, 40, 217, 0.3);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.t-link:hover {
  color: var(--violet);
  border-bottom-color: var(--violet);
}

/* ──────── Session detail page ──────── */

.meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.meta-chip {
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.12);
}

.speakers-kicker {
  margin-top: 3rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dimmer);
}

.speaker-note {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--dimmer);
}

.session-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 3rem;
}

.team-role {
  margin-top: 0.15rem;
  font-size: 0.82rem;
  color: var(--dim);
}

.band-note {
  margin-top: 2.2rem;
  max-width: 44rem;
  font-style: italic;
  color: var(--dim);
}

/* ──────── Tracks ──────── */

.tracks-kicker {
  margin-top: 3.4rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dimmer);
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.track-number {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.38;
}

.track-card h3 {
  margin-top: 0.9rem;
}

.tracks-note {
  margin-top: 1.8rem;
  max-width: 44rem;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--dimmer);
}

/* ──────── Signup ──────── */

.updates {
  text-align: center;
}

.signup {
  max-width: 42rem;
  margin: 2.6rem auto 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 14px 38px -16px rgba(76, 29, 149, 0.18);
  padding: 2rem;
  text-align: left;
}

.field-label {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

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

.field-wide {
  grid-column: 1 / -1;
}

fieldset.field {
  border: 0;
  padding: 0;
  margin: 0;
}

.signup input[type="text"],
.signup input[type="email"],
.signup select,
.signup textarea {
  width: 100%;
  border: 1px solid rgba(109, 40, 217, 0.3);
  border-radius: 10px;
  background: #ffffff;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
}

.signup select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236d28d9' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}

.signup select:invalid {
  color: var(--dimmer);
}

.signup textarea {
  resize: vertical;
}

.signup ::placeholder {
  color: var(--dimmer);
}

.signup input:focus,
.signup select:focus,
.signup textarea:focus {
  border-color: var(--violet);
  outline: none;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.93rem;
  color: var(--dim);
  cursor: pointer;
}

.check input {
  width: 17px;
  height: 17px;
  flex: none;
  accent-color: var(--violet);
}

.optional {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: var(--dimmer);
}

.btn-register {
  width: 100%;
  margin-top: 1.3rem;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 1.3rem;
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--dim);
}

.form-status.error {
  color: var(--pink);
}

.privacy {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dimmer);
}

/* ──────── Blog ──────── */

/* Dark page header band, matching the hero's palette */
.page-head {
  background:
    radial-gradient(60% 80% at 12% -10%, rgba(124, 58, 237, 0.38), transparent 65%),
    radial-gradient(45% 60% at 88% 0%, rgba(34, 211, 238, 0.1), transparent 70%),
    linear-gradient(180deg, #10081f 0%, #0a0514 100%);
}

.page-head h1 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #f4f0ff;
  text-wrap: balance;
}

.page-head-lede {
  margin-top: 1rem;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(244, 240, 255, 0.72);
}

.page-head .post-date {
  margin-top: 1rem;
  color: #22d3ee;
}

.crumb {
  color: inherit;
  text-decoration: none;
}

.crumb:hover {
  color: #ffffff;
}

.crumb-dark {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--violet-bright);
}

.crumb-dark:hover {
  color: var(--text);
}

.wrap-prose {
  max-width: 46rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
}

.post-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.post-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--violet-bright);
}

.post-card h2 {
  margin-top: 0.7rem;
  max-width: none;
  font-size: 1.35rem;
  line-height: 1.25;
}

.post-excerpt {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--dim);
}

.post-more {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.blog-empty {
  grid-column: 1 / -1;
  color: var(--dimmer);
  font-style: italic;
}

.post-footer {
  margin-top: 2.6rem;
}

/* Post body typography */
.prose {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2,
.prose h3 {
  margin-top: 1.9em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.2rem; }

.prose a {
  color: var(--violet-bright);
  text-decoration: underline;
  text-decoration-color: rgba(109, 40, 217, 0.35);
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration-color: var(--violet-bright);
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
}

.prose li {
  margin-top: 0.45em;
}

.prose li::marker {
  color: var(--violet);
}

.prose blockquote {
  border-left: 3px solid var(--violet);
  padding-left: 1.2rem;
  font-style: italic;
  color: var(--dim);
}

.prose code {
  background: rgba(124, 58, 237, 0.08);
  border-radius: 6px;
  padding: 0.1em 0.4em;
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--violet-deep);
}

.prose pre {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #141022;
  padding: 1.1rem 1.3rem;
}

.prose pre code {
  background: none;
  padding: 0;
  color: #c4b5fd;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ──────── Footer ──────── */

/* Dark footer bookends the page with the topbar and hero — no divider line */
.footer {
  background: #0d071a;
  padding-block: 2.6rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: rgba(244, 240, 255, 0.55);
}

.footer-tag {
  font-style: italic;
}

/* ──────── Responsive ──────── */

@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 3.5rem 2.5rem;
    text-align: center;
  }

  .lede {
    margin-inline: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .sticker {
    width: min(72vw, 340px);
  }

  .program-grid,
  .track-grid {
    grid-template-columns: 1fr;
  }

  .logo-row {
    gap: 2.2rem 3rem;
  }
}

@media (max-width: 720px) {
  .topnav a:not(.btn) {
    display: none;
  }

  .brand-logos {
    gap: 0.7rem;
  }

  .brand-cqt { height: 27px; }
  .brand-ul  { height: 17px; }
  .brand-ibm { height: 13px; }

  .topbar .btn-small {
    padding: 0.5rem 0.8rem;
    font-size: 0.62rem;
    white-space: nowrap;
  }

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

/* ──────── Reduced motion ──────── */

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

  .btn,
  .card {
    transition: none;
  }
}
