/* ==========================================================================
   HWS AI Club — design system matched to hws-ai-club.figma.site
   Inter everywhere; violet→blue brand gradient; orange gradient CTAs;
   white cards (16px radius, hairline border) on white / soft washes.
   ========================================================================== */

:root {
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --violet: #7c3aed;
  --blue: #3b82f6;
  --orange: #f97316;
  --orange-light: #fb923c;

  --grad-brand: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
  --grad-cta: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  --grad-wash: linear-gradient(135deg, #faf5ff 0%, #eff6ff 100%);

  /* Soft difficulty badges (tinted bg + dark colored text — AA on tint) */
  --easy-bg: #dcfce7;   --easy-text: #166534;
  --medium-bg: #ffedd5; --medium-text: #9a3412;
  --hard-bg: #ede9fe;   --hard-text: #5b21b6;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.1);
  --focus-ring: 3px solid #7c3aed;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--slate-900);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 0.4em;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

p { margin: 0 0 1em; }

a { color: var(--violet); }
a:hover { color: #6d28d9; }

button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--slate-900);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-100);
}
.site-header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--grad-brand);
  color: var(--white);
  flex-shrink: 0;
}
.logo-tile svg { width: 24px; height: 24px; }
.logo-tile-sm { width: 36px; height: 36px; border-radius: 11px; }
.logo-tile-sm svg { width: 20px; height: 20px; }
.wordmark-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--slate-900);
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}
.site-nav a {
  color: var(--slate-700);
  text-decoration: none;
  padding: 10px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.site-nav a:hover {
  color: var(--slate-900);
  background: var(--slate-50);
}
.site-nav .nav-cta {
  background: var(--grad-cta);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 20px;
  margin-left: 6px;
  box-shadow: var(--shadow-sm);
}
.site-nav .nav-cta:hover {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: var(--white);
}

/* ---------- Layout shell ---------- */
#app,
main.page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  min-height: 60vh;
}
body.view-home #app {
  max-width: none;
  padding: 0;
}
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-lede {
  color: var(--slate-500);
  font-size: 1.08rem;
  max-width: 680px;
  margin: -2px 0 26px;
}
.usecases-heading {
  font-size: 1.15rem;
  margin: 8px 0 14px;
}
.wwd-definition {
  max-width: 760px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  color: var(--slate-700);
  text-align: center;
}
.wwd-summary {
  max-width: 680px;
  margin: 36px auto 0;
  text-align: center;
  color: var(--slate-500);
  font-style: italic;
}
/* Inter page titles */
#app > h1:first-child,
main.page > h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }

/* Major page: pager + sibling links (internal linking for SEO + users) */
.major-pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 40px 0 8px;
}
.major-pager .pager {
  font-weight: 700;
  text-decoration: none;
  color: var(--violet);
  padding: 10px 4px;
}
.major-pager .pager:hover { text-decoration: underline; }
.major-pager .next { margin-left: auto; }
.sibling-majors {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--slate-100);
}
.sibling-majors h2 { font-size: 1.15rem; margin-bottom: 10px; }
.sibling-majors .siblings { color: var(--slate-500); font-size: 0.95rem; line-height: 2; }
.sibling-majors .siblings a { color: var(--slate-500); text-decoration: none; }
.sibling-majors .siblings a:hover { color: var(--violet); text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-cta);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 15px 30px;
  border-radius: 999px;
  min-height: 44px;
  border: none;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(249, 115, 22, 0.38);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--slate-900);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 15px 30px;
  border-radius: 999px;
  min-height: 44px;
  border: 1.5px solid var(--slate-200);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.btn-secondary:hover {
  border-color: var(--slate-400);
  transform: translateY(-2px);
}

/* ---------- Section scaffolding (landing) ---------- */
.lp-section {
  padding: 96px 0;
  scroll-margin-top: 76px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--slate-500);
  font-size: 1.12rem;
  max-width: 560px;
  margin: 0 auto 52px;
}

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  background: var(--grad-wash);
  padding: 110px 0 120px;
  overflow: hidden;
  text-align: center;
}
.lp-hero .section-inner { position: relative; z-index: 2; }
.hero-blob {
  position: absolute;
  border-radius: 28%;
  background: #ddd6fe;
  filter: blur(14px);
  opacity: 0.55;
  pointer-events: none;
}
.hero-blob-1 { width: 120px; height: 120px; top: 10%; left: 16%; animation: float 7s ease-in-out infinite alternate; }
.hero-blob-2 { width: 70px; height: 70px; top: 52%; left: 7%; animation: float 9s ease-in-out 1s infinite alternate; }
.hero-blob-3 { width: 90px; height: 90px; bottom: 14%; right: 10%; animation: float 8s ease-in-out 0.5s infinite alternate; }
.hero-tile {
  position: absolute;
  top: 16%;
  right: 14%;
  width: 96px;
  height: 96px;
  border-radius: 26px;
  background: var(--grad-brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-tile svg { width: 52px; height: 52px; }
.hero-chip {
  position: absolute;
  top: 38%;
  left: 24%;
  color: var(--blue);
  animation: float 8s ease-in-out 0.8s infinite alternate;
  pointer-events: none;
}
.hero-chip svg { width: 34px; height: 34px; }
@keyframes float {
  from { transform: translateY(-10px); }
  to { transform: translateY(12px); }
}

.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 4.5rem);
  font-weight: 800;
  max-width: 800px;
  margin: 0 auto 22px;
}
.hero-sub {
  color: var(--slate-500);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 640px;
  margin: 0 auto 34px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.hero-meeting {
  color: var(--slate-500);
  font-size: 1rem;
  font-weight: 500;
}

/* ---------- What We Do ---------- */
.wwd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: var(--white);
  margin-bottom: 18px;
}
.icon-tile svg { width: 26px; height: 26px; }
.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.card p {
  color: var(--slate-500);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------- No Experience Needed (split) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.split h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 14px;
}
.split-lede {
  color: var(--slate-500);
  font-size: 1.08rem;
  margin-bottom: 26px;
}
.check-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  color: var(--slate-700);
}
.check-dot {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grad-cta);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 2px;
}
.tile-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.photo-tile {
  border-radius: var(--radius);
  background: var(--grad-brand);
  color: var(--white);
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: var(--shadow-md);
}
.photo-tile:nth-child(2) { background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%); }
.photo-tile:nth-child(3) {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  min-height: 130px;
}

/* ---------- Use-Case Library band ---------- */
.lp-library {
  background: var(--grad-wash);
}
.library-stats {
  display: flex;
  justify-content: center;
  gap: clamp(30px, 7vw, 80px);
  flex-wrap: wrap;
  margin: 44px 0 46px;
}
.library-stat { text-align: center; }
.library-stat strong {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.library-stat span {
  display: block;
  margin-top: 6px;
  color: var(--slate-500);
  font-size: 0.9rem;
  font-weight: 600;
}
.library-cta { text-align: center; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.team-card {
  text-align: center;
  padding: 34px 24px 30px;
}
.team-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--white);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.team-card h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.team-role {
  color: var(--violet);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.team-bio {
  color: var(--slate-500);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Founder cards (link through to /founders/<slug>/) ---------- */
.founder-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-color: var(--slate-100);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.founder-card:hover,
.founder-card:focus-visible {
  border-color: #ddd6fe;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.founder-card .team-avatar { transition: transform 0.15s ease; }
.founder-card:hover .team-avatar { transform: scale(1.04); }
/* Photo variant of the avatar tile — same circle, real image instead of initials. */
.founder-photo {
  object-fit: cover;
  object-position: center top;
  background: var(--slate-100);
  padding: 0;
}
.founder-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--violet);
  font-weight: 600;
  font-size: 0.9rem;
}
.founder-more span { display: inline-block; transition: transform 0.15s ease; }
.founder-card:hover .founder-more span { transform: translateX(3px); }

/* ---------- Skool community ---------- */
.lp-skool { background: var(--grad-wash); }
.skool-grid { margin-top: 38px; }
.skool-cta {
  text-align: center;
  margin-top: 40px;
}
.skool-meta {
  margin-top: 14px;
  color: var(--slate-500);
  font-size: 0.92rem;
  font-weight: 600;
}

/* Group photo under the founder cards. Portrait crop, so cap the width and
   centre it rather than letting it dominate the section. */
.founders-photo {
  margin: 40px auto 0;
  max-width: 420px;
}
.founders-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 520px) {
  .founders-photo { max-width: 100%; margin-top: 30px; }
}

/* ---------- Founder page ---------- */
.founder-hero {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 30px;
}
.founder-hero h1 { margin-bottom: 6px; }
.founder-avatar {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  font-size: 1.5rem;
}
.founder-subtitle {
  color: var(--violet);
  font-weight: 600;
  margin: 0;
}
.founder-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
}
.founder-prose p {
  color: var(--slate-700);
  font-size: 1.04rem;
  margin-bottom: 16px;
}
.founder-prose h2 {
  font-size: 1.25rem;
  margin: 32px 0 16px;
}
.founder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--slate-200);
  border-radius: 999px;
  padding: 9px 18px;
  color: var(--violet);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.founder-link:hover { border-color: var(--violet); background: #faf5ff; }
.founder-song-caption {
  color: var(--slate-500);
  font-size: 0.95rem;
  margin: -8px 0 14px;
}
.founder-song iframe {
  display: block;
  max-width: 420px;
  width: 100%;
}
.founder-side {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.founder-facts { margin: 0; }
.founder-fact + .founder-fact {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}
.founder-fact dt {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
  font-weight: 700;
  margin-bottom: 4px;
}
.founder-fact dd {
  margin: 0;
  color: var(--slate-900);
  font-weight: 600;
  font-size: 0.95rem;
}
.founder-fact dd a { text-decoration: none; }
.founder-fact dd a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .founder-body { grid-template-columns: 1fr; gap: 28px; }
  .founder-hero { gap: 16px; }
  .founder-avatar { width: 66px; height: 66px; font-size: 1.2rem; }
}

/* ---------- Join band ---------- */
.lp-join {
  background: var(--grad-brand);
  text-align: center;
  color: var(--white);
}
.lp-join .section-title { color: var(--white); }
.lp-join .join-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.12rem;
  max-width: 520px;
  margin: 0 auto 14px;
}
.lp-join .join-meeting {
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 34px;
}

/* ---------- Reveal on scroll ---------- */
.io-hidden { opacity: 0; transform: translateY(20px); }
.io-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

/* ==========================================================================
   Use-case browser pages
   ========================================================================== */
#app > h1:first-child {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
}

.search-wrap { margin-bottom: 28px; }
.search-input {
  width: 100%;
  padding: 15px 22px;
  font-family: var(--font);
  font-size: 1.05rem;
  border: 1.5px solid var(--slate-200);
  border-radius: 999px;
  background: var(--white);
  color: var(--slate-900);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.search-input:focus-visible {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}
.search-hint {
  margin: 10px 6px 0;
  color: var(--slate-500);
  font-size: 0.86rem;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--slate-500);
  margin-bottom: 22px;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.majors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.major-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-sm);
  padding: 17px 20px;
  min-height: 44px;
  text-decoration: none;
  color: var(--slate-900);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.major-card:hover {
  border-color: #ddd6fe;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.major-card .arrow {
  color: var(--violet);
  font-weight: 700;
  transition: transform 0.15s ease;
}
.major-card:hover .arrow { transform: translateX(3px); }

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--slate-500);
}
.empty-state button {
  margin-top: 12px;
  background: none;
  border: 1.5px solid var(--slate-200);
  border-radius: 999px;
  padding: 9px 18px;
  color: var(--violet);
  font-weight: 600;
}
.empty-state button:hover { border-color: var(--violet); }

.major-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.major-title-row h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
}
.program-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: none;
  color: var(--violet);
  padding: 8px 4px;
  font-size: 0.96rem;
}
.program-link:hover { text-decoration: underline; }

.difficulty-filter {
  display: flex;
  gap: 8px;
  margin: 22px 0 26px;
  flex-wrap: wrap;
}
.filter-btn {
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  border-radius: 999px;
  padding: 9px 20px;
  min-height: 44px;
  font-weight: 600;
  color: var(--slate-700);
  transition: all 0.15s ease;
}
.filter-btn[aria-pressed="true"] {
  background: var(--grad-brand);
  color: var(--white);
  border-color: transparent;
}
.filter-btn:hover:not([aria-pressed="true"]) { border-color: var(--violet); }

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.usecase-card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, opacity 0.55s ease, border-color 0.2s ease;
  color: inherit;
}
/* --- Starter prompt block (the copy-paste payload of each card) ----------- */
.uc-prompt {
  margin-top: 6px;
  border: 1px solid var(--slate-200, #e2e8f0);
  border-radius: var(--radius-sm, 12px);
  background: var(--slate-50, #f8fafc);
  overflow: hidden;
}
.uc-prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px 8px 12px;
  border-bottom: 1px solid var(--slate-200, #e2e8f0);
}
.uc-prompt-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.uc-copy {
  flex: 0 0 auto;
  border: 1px solid var(--slate-200, #e2e8f0);
  background: var(--white);
  color: var(--slate-700);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  min-height: 30px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.uc-copy:hover { background: var(--violet); color: var(--white); border-color: var(--violet); }
.uc-copy[data-copied="1"] { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.uc-prompt-text {
  margin: 0;
  padding: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--slate-700);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 8.5em;
  overflow-y: auto;
}
.usecase-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: #ddd6fe;
}
.usecase-card:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}
.uc-watch {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--slate-200, #e2e8f0);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-500);
  transition: color 0.15s ease;
}
/* Honesty: each card names the exact video it opens, so nothing over-promises. */
.uc-watch-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
  line-height: 1.25;
}
.uc-watch-title {
  font-size: 0.78rem;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.uc-watch-meta {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--slate-400, #94a3b8);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.uc-watch-ext { flex: 0 0 auto; }
.usecase-card:hover .uc-watch,
.usecase-card:focus-visible .uc-watch { color: var(--violet); }
.uc-watch-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.6rem;
  padding-left: 2px;
  transition: background 0.15s ease, color 0.15s ease;
}
.usecase-card:hover .uc-watch-play,
.usecase-card:focus-visible .uc-watch-play {
  background: #dc2626;
  color: var(--white);
}
.usecase-card h3 {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.usecase-card .description {
  color: var(--slate-500);
  font-size: 0.95rem;
  flex-grow: 1;
  margin: 0;
}
.usecase-card .next-steps {
  font-size: 0.89rem;
  color: var(--slate-700);
  background: var(--slate-50);
  border-radius: 10px;
  padding: 11px 14px;
  margin: 0;
}
.usecase-card .next-steps strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--violet);
  margin-bottom: 3px;
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.badge-easy { background: var(--easy-bg); color: var(--easy-text); }
.badge-medium { background: var(--medium-bg); color: var(--medium-text); }
.badge-hard { background: var(--hard-bg); color: var(--hard-text); }

@keyframes ucFlash {
  0%, 100% { box-shadow: var(--shadow-sm); }
  20%, 60% { box-shadow: 0 0 0 4px var(--orange), var(--shadow-lg); }
}
.uc-flash { animation: ucFlash 1.8s ease 2; }

.bottom-program-link {
  margin-top: 34px;
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--slate-100);
}

.not-found { text-align: center; padding: 64px 20px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 52px 24px 40px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-title {
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0;
}
.footer-tagline {
  color: var(--slate-400);
  font-size: 0.88rem;
  margin: 0;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--slate-400);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.footer-nav a:hover { color: var(--white); }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  font-size: 0.84rem;
}
.footer-legal p { margin: 0 0 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .hero-tile { width: 68px; height: 68px; border-radius: 18px; top: 8%; right: 6%; }
  .hero-tile svg { width: 36px; height: 36px; }
  .hero-chip { display: none; }
}

@media (max-width: 480px) {
  .site-header-inner { padding: 10px 16px; }
  .wordmark-name { font-size: 1.1rem; }
  .lp-hero { padding: 70px 0 80px; }
  .lp-section { padding: 68px 0; }
  .site-nav a { padding: 8px 10px; font-size: 0.88rem; }
  .site-nav .nav-cta { padding: 8px 14px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-blob, .hero-tile, .hero-chip { animation: none; }
  .uc-flash { animation: none; }
  .io-hidden { opacity: 1; transform: none; }
  * { transition-duration: 0.01ms !important; }
}

/* --- Academic-integrity notes (site footer + major pages) ------------------ */
.policy-note {
  margin: 14px 0 4px;
  padding: 12px 16px;
  border-left: 3px solid var(--violet, #7c3aed);
  background: #f6f4ff;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--slate-600, #475569);
  max-width: 760px;
}
.footer-integrity {
  margin-bottom: 8px;
  font-size: 0.88rem;
  opacity: 0.95;
}
@media (prefers-color-scheme: dark) {
  .policy-note { background: rgba(124, 58, 237, 0.12); }
}
