:root {
  --bg: #050507;
  --surface: rgba(12, 12, 17, 0.86);
  --surface-strong: rgba(16, 16, 23, 0.96);
  --line: rgba(194, 164, 255, 0.13);
  --line-strong: rgba(194, 164, 255, 0.25);
  --text: #f6f3ff;
  --muted: rgba(246, 243, 255, 0.76);
  --muted-2: rgba(246, 243, 255, 0.5);
  --purple: #9d70ff;
  --purple-2: #7454ff;
  --purple-3: #c6a8ff;
  --blue: #7895ff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --content: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: clip; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 8% 9%, rgba(124, 78, 255, 0.12), transparent 56%),
    radial-gradient(820px 580px at 91% 18%, rgba(90, 116, 255, 0.08), transparent 52%),
    radial-gradient(800px 520px at 48% 82%, rgba(115, 83, 255, 0.07), transparent 58%);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.075;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black, transparent 96%);
}

.page-glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.14;
}

.page-glow-a {
  width: 380px;
  height: 380px;
  top: 120px;
  left: -140px;
  background: radial-gradient(circle, rgba(120, 75, 255, 0.28), transparent 70%);
}

.page-glow-b {
  width: 480px;
  height: 480px;
  top: 880px;
  right: -180px;
  background: radial-gradient(circle, rgba(75, 105, 255, 0.20), transparent 70%);
}

main,
.site-header-wrap,
.section {
  position: relative;
  z-index: 1;
}

.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,0.055);
  background: rgba(11, 9, 18, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--content), calc(100vw - 2rem));
  min-height: 76px;
  margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 48px;
    width: auto;
    display: block;
    transition: opacity .2s ease;
}

.brand:hover .brand-logo {
    opacity: .9;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.8rem);
}

.site-nav a {
  color: rgba(246, 243, 255, 0.68);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 560;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-nav a:hover { color: var(--text); }

.site-nav .nav-cta {
  padding: 0.62rem 1rem;
  border: 1px solid rgba(198,168,255,0.2);
  border-radius: 999px;
  color: #eee7ff;
  background: rgba(157,112,255,0.09);
}

.site-nav .nav-cta:hover {
  background: rgba(157,112,255,0.15);
  border-color: rgba(198,168,255,0.32);
}

.section {
  width: min(var(--content), calc(100vw - 2rem));
  margin: 0 auto;
  padding: clamp(5.5rem, 9vw, 9rem) 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.2rem;
  color: var(--purple-3);
  font-size: clamp(0.76rem, 0.85vw, 0.88rem);
  font-weight: 780;
  letter-spacing: 0.32em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-kicker {
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(198,168,255,0.14);
  border-radius: 999px;
  background: rgba(157,112,255,0.055);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.hero-copy { max-width: 760px; }

.hero-brand,
.hero-title,
.breakthrough-copy h2,
.credibility-copy h2,
.journey-intro-copy h2,
.prizes-copy h2,
.journey-heading h2,
.stats-heading h2,
.cta-shell h2 {
  margin: 0;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.hero-brand {
  font-size: clamp(3.15rem, 4.65vw, 4.15rem);
  line-height: 0.91;
  font-weight: 830;
}

.hero-brand span { color: var(--purple-3); }

.hero-title {
    margin-top: 1.4rem;
    max-width: none;
    font-size: clamp(2.5rem, 3.6vw, 3.8rem);
    line-height: 0.95;
    font-weight: 820;
    letter-spacing: -0.05em;
}

.hero-title .synapses {
    background: linear-gradient(135deg, #c6a8ff 0%, #9d70ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--purple-3);
}

.hero-title .networks {
    background: linear-gradient(135deg, #7895ff 0%, #9d70ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--blue);
}

.hero-lead {
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: clamp(1.2rem, 1.65vw, 1.45rem);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.hero-lead {
    color: var(--muted);
    font-size: clamp(1.18rem, 1.6vw, 1.42rem);
    font-weight: 500;
}

.hero-audience {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  margin: 2.5rem 0 2.5rem;
  padding: 1.25rem 1.75rem 1.25rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.005));
  box-shadow: 0 12px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-audience-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(158, 111, 255, 0.25);
  border-radius: 50%;
  color: var(--purple-3);
  background: rgba(158, 111, 255, 0.12);
  box-shadow: 0 0 24px rgba(157, 112, 255, 0.2), 0 0 0 8px rgba(157, 112, 255, 0.04);
}

.hero-audience-icon svg { 
  width: 28px; 
  height: 28px; 
}

.hero-audience p {
  margin: 0;
  max-width: 26ch;
  color: rgba(246, 243, 255, 0.85);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.45;
}

.hero-audience span {
  color: #fff;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem 1.45rem;
  border-radius: 999px;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 740;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #a475ff 0%, #607bff 100%);
  box-shadow: 0 18px 38px rgba(116, 88, 255, 0.32), 0 0 0 1px rgba(255,255,255,0.09) inset;
}

.btn-primary:hover {
  box-shadow: 0 23px 46px rgba(116, 88, 255, 0.42), 0 0 0 1px rgba(255,255,255,0.13) inset;
}

.btn-large {
  padding: 1.15rem 1.8rem;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.hero-art {
  position: relative;
  min-height: clamp(530px, 65vw, 850px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  pointer-events: none;
}

.hero-orb-a {
  width: 42rem;
  height: 28rem;
  top: 8%;
  right: -6%;
  background: radial-gradient(circle at 50% 50%, rgba(130, 85, 255, 0.16), transparent 68%);
}

.hero-orb-b {
  width: 24rem;
  height: 24rem;
  bottom: 4%;
  left: 3%;
  background: radial-gradient(circle at 50% 50%, rgba(75, 105, 255, 0.12), transparent 70%);
}

.brain-image {
  position: relative;
  width: min(118%, 930px);
  max-width: none;
  transform: translate3d(0, 0, 0) scale(1.08);
  transform-origin: center;
  filter: drop-shadow(0 38px 100px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 38px rgba(156, 109, 255, 0.18));
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 77% 78% at 52% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 77% 78% at 52% 50%, #000 60%, transparent 100%);
  will-change: transform;
}

.breakthrough { padding-top: clamp(4.8rem, 8vw, 7.2rem); }

.breakthrough-copy {
  width: min(1000px, 100%);
  margin: 0 auto;
  text-align: center;
}

.breakthrough-copy h2,
.credibility-copy h2,
.journey-intro-copy h2,
.prizes-copy h2,
.journey-heading h2,
.stats-heading h2,
.cta-shell h2 {
  font-size: clamp(2.75rem, 5.2vw, 5rem);
  line-height: 0.98;
}

.breakthrough-copy p {
  max-width: 58ch;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.45vw, 1.3rem);
  line-height: 1.7;
}

/* Updated Scroll Controls Section */
.resource-strip {
  position: relative;
  margin-top: 4rem;
  width: 100%;
  display: flex;
  align-items: center;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(12, 12, 17, 0.9);
  border: 1px solid rgba(157, 112, 255, 0.35);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.slider-arrow:hover {
  background: rgba(30, 25, 45, 0.95);
  border-color: rgba(194, 164, 255, 0.8);
  transform: translateY(-50%) scale(1.05);
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-prev { left: 0; }
.slider-next { right: 0; }

.resource-scroll-container {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  padding: 0 3rem 1.5rem; /* Space for buttons on sides */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Disable scroll-snap when dragging for a fluid experience */
.resource-scroll-container.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.resource-scroll-container::-webkit-scrollbar {
  height: 8px;
}
.resource-scroll-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.resource-scroll-container::-webkit-scrollbar-thumb {
  background: rgba(157, 112, 255, 0.3);
  border-radius: 4px;
}
.resource-scroll-container::-webkit-scrollbar-thumb:hover {
  background: rgba(157, 112, 255, 0.5);
}

.resource-card {
  position: relative;
  width: 380px;
  min-width: 380px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: 30px;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008)), linear-gradient(135deg, rgba(14, 14, 19, 0.98), rgba(7, 7, 10, 0.97));
  box-shadow: var(--shadow);
  scroll-snap-align: center;
  flex-shrink: 0;
  transition: transform 180ms ease, border-color 180ms ease;
  user-select: none;
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(157, 112, 255, 0.35);
}

.resource-thumb {
  position: relative;
  height: 205px;
  padding: 1.2rem;
}

.resource-thumb-image {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #09090d;
}

.resource-thumb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  -webkit-user-drag: none;
  /* user-drag: none; */
}

.resource-source {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(5, 5, 7, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(246, 243, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.resource-body { padding: 1.25rem 1.3rem 1.35rem; }

.resource-body h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.resource-body p {
  margin: 0.52rem 0 0;
  color: var(--muted);
  font-size: 0.99rem;
  line-height: 1.55;
}

/* Visibly improved tags overlaying white background images */
.resource-chip {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(194, 164, 255, 0.4);
  border-radius: 999px;
  color: #f6f3ff;
  background: rgba(10, 10, 14, 0.85); /* Solid dark tint for pure contrast */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  font-size: 0.74rem;
  font-weight: 730;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.resource-chip-red {
  background: rgba(30, 10, 15, 0.85);
  border-color: rgba(255, 78, 102, 0.4);
  color: #ffe0e5;
}

.resource-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.resource-play::before {
  content: "";
  width: 76px;
  height: 76px;
  border: 2px solid rgba(255,255,255,0.84);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 11px rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.resource-play::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid rgba(255,255,255,0.92);
  transform: translateX(4px);
}

.feature-shell,
.prizes-shell,
.cta-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, rgba(18,18,26,0.94), rgba(8,8,12,0.97));
  box-shadow: var(--shadow);
}

.feature-shell::before,
.prizes-shell::before,
.cta-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.025), transparent 32%, transparent 72%, rgba(157,112,255,0.04));
}

.credibility { padding-top: clamp(6rem, 10vw, 10rem); }

.credibility-shell {
  min-height: 610px;
  display: grid;
  align-content: center;
  padding: clamp(3rem, 7vw, 6.5rem);
  isolation: isolate;
}

.credibility-shell::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -190px;
  top: -210px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118, 83, 255, 0.2), transparent 67%);
}

.credibility-copy {
  position: relative;
  z-index: 2;
  max-width: 930px;
}

.credibility-copy h2 { max-width: 13ch; }

.credibility-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 1.7vw, 1.48rem);
  line-height: 1.7;
}

/* Credibility Action Button */
.credibility-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.credibility-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.78rem 1.45rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 620;
  letter-spacing: -0.01em;
  color: #f6f3ff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(198, 168, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.credibility-btn .credibility-btn-icon {
  transition: transform 220ms ease;
  color: var(--purple-3);
}

.credibility-btn:hover {
  background: rgba(157, 112, 255, 0.14);
  border-color: rgba(198, 168, 255, 0.48);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(116, 88, 255, 0.22), 0 0 16px rgba(157, 112, 255, 0.15) inset;
  color: #ffffff;
}

.credibility-btn:hover .credibility-btn-icon {
  transform: translate(2px, -2px);
  color: #ffffff;
}

.credibility-btn:active {
  transform: translateY(0);
}

.institution-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.institution-row span {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(198,168,255,0.16);
  border-radius: 999px;
  color: rgba(246,243,255,0.78);
  background: rgba(157,112,255,0.06);
  font-size: 0.95rem;
  font-weight: 650;
}

.signal-art {
  position: absolute;
  right: clamp(1.5rem, 6vw, 6rem);
  bottom: clamp(1.5rem, 5vw, 4.5rem);
  width: 300px;
  height: 260px;
  opacity: 0.85;
}

.signal-node {
  position: absolute;
  width: 17px;
  height: 17px;
  border: 3px solid rgba(245,240,255,0.6);
  border-radius: 50%;
  background: #8f65ff;
  box-shadow: 0 0 0 11px rgba(143,101,255,0.07), 0 0 30px rgba(143,101,255,0.55);
}

.node-a { left: 18px; bottom: 26px; }
.node-b { left: 134px; top: 28px; }
.node-c { right: 24px; bottom: 72px; }

.signal-line {
  position: absolute;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(198,168,255,0.08), rgba(198,168,255,0.62), rgba(198,168,255,0.08));
  box-shadow: 0 0 12px rgba(157,112,255,0.35);
}

.line-a { width: 190px; left: 35px; bottom: 43px; transform: rotate(-55deg); }
.line-b { width: 170px; left: 148px; top: 47px; transform: rotate(39deg); }

.journey-intro-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(3rem, 6vw, 6rem);
}

.journey-intro-shell::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -130px;
  bottom: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 105, 255, 0.19), transparent 66%);
}

.journey-intro-copy { position: relative; z-index: 2; }

.journey-intro-copy h2 {
  max-width: 18ch;
  font-size: clamp(2.8rem, 4.15vw, 3.75rem);
  line-height: 1.02;
}

.journey-intro-copy > p:last-child {
  max-width: 660px;
  margin: 1.8rem 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.45vw, 1.34rem);
  line-height: 1.72;
}

.code-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  background: rgba(4,4,8,0.72);
  box-shadow: 0 26px 70px rgba(0,0,0,0.42), 0 0 50px rgba(112,81,255,0.08);
  transform: rotate(1.5deg);
}

.code-window-bar {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1.05rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
}

.code-window-bar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}

.code-window-bar small {
  margin-left: 0.45rem;
  color: rgba(246,243,255,0.42);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.73rem;
}

.code-window-body {
  position: relative;
  min-height: 310px;
  padding: 2rem 1.6rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(0.78rem, 1.05vw, 0.96rem);
  line-height: 1.8;
}

.code-window-body p { margin: 0.25rem 0; white-space: nowrap; }
.code-purple { color: #c49dff; }
.code-blue { color: #8aa5ff; }
.code-comment { color: rgba(246,243,255,0.37); }

.code-spark {
  position: absolute;
  right: 9%;
  bottom: 12%;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(198,168,255,0.2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157,112,255,0.25), transparent 62%);
  box-shadow: 0 0 46px rgba(157,112,255,0.23);
}

.code-spark::before,
.code-spark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(225,213,255,0.8);
  box-shadow: 0 0 16px rgba(157,112,255,0.7);
}

.code-spark::before { width: 7px; height: 7px; top: 26px; left: 21px; }
.code-spark::after { width: 5px; height: 5px; right: 21px; bottom: 24px; }

.prizes-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  padding: clamp(3rem, 6vw, 5.5rem);
}

.prizes-copy { position: relative; z-index: 2; }
.prizes-copy h2 { max-width: 8ch; }

.prizes-lead {
  max-width: 44ch;
  margin: 1.55rem 0 0;
  color: var(--muted);
  font-size: clamp(1.18rem, 1.5vw, 1.38rem);
  line-height: 1.65;
}

.prizes-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
}

.prizes-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.45rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 24px;
  background: rgba(255,255,255,0.028);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.prizes-row:hover {
  transform: translateX(4px);
  border-color: rgba(198,168,255,0.18);
  background: rgba(157,112,255,0.055);
}

.prize-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(198,168,255,0.18);
  border-radius: 50%;
  color: var(--purple-3);
  background: rgba(157,112,255,0.08);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.prizes-row strong {
  display: block;
  font-size: clamp(1.12rem, 1.4vw, 1.3rem);
  letter-spacing: -0.035em;
}

.prizes-row div > span {
  display: block;
  margin-top: 0.42rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.journey-heading { margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.journey-heading h2 { max-width: 15ch; }

.journey-timeline {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
}

.journey-spine {
  position: absolute;
  top: 52px;
  bottom: 52px;
  left: 58px;
  width: 2px;
  background: linear-gradient(180deg, rgba(157,112,255,0.08), rgba(157,112,255,0.75) 16%, rgba(120,149,255,0.72) 82%, rgba(120,149,255,0.08));
  box-shadow: 0 0 18px rgba(157,112,255,0.28);
}

.journey-step {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.6rem;
  min-height: 170px;
  margin-bottom: 1.1rem;
  padding: 1.75rem 2rem 1.75rem 0;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 28px;
  background: linear-gradient(100deg, rgba(157,112,255,0.045), rgba(255,255,255,0.025) 45%, rgba(120,149,255,0.025));
  overflow: hidden;
}

.journey-step::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(157,112,255,0.045), transparent 30%);
}

.journey-marker {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  height: 100%;
}

.journey-marker span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(219,204,255,0.3);
  border-radius: 50%;
  color: #f2ebff;
  background: radial-gradient(circle at 35% 30%, rgba(198,168,255,0.24), rgba(112,79,255,0.12));
  box-shadow: 0 0 0 10px rgba(157,112,255,0.035), 0 0 30px rgba(157,112,255,0.18);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.journey-step-copy { position: relative; z-index: 2; }

.journey-phase {
  margin: 0 0 0.45rem;
  color: var(--purple-3);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.22em;
}

.journey-step h3 {
  margin: 0;
  font-size: clamp(2.1rem, 3.5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.journey-step-copy > p:last-child {
  max-width: 58ch;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  line-height: 1.62;
}

.journey-glyph {
  position: relative;
  z-index: 2;
  padding: 0 0.6rem;
  color: rgba(198,168,255,0.32);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 200;
}

.stats-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stats-heading .eyebrow { margin-bottom: 0.75rem; }
.stats-heading h2 { max-width: 11ch; font-size: clamp(2.6rem, 4.6vw, 4.3rem); }

.stats-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.stat-card {
  min-height: 190px;
  display: flex;
  align-items: flex-start;
  gap: 1.35rem;
  padding: clamp(1.7rem, 3vw, 2.25rem);
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.035), rgba(157,112,255,0.025));
}

.stat-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border: 1px solid rgba(198,168,255,0.2);
  border-radius: 50%;
  color: var(--purple-3);
  background: rgba(157,112,255,0.08);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.stat-card h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  letter-spacing: -0.04em;
}

.stat-card p {
  max-width: 27ch;
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.3vw, 1.18rem);
  line-height: 1.6;
}

.cta-shell {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 7vw, 6.5rem);
  text-align: center;
  isolation: isolate;
}

.cta-shell h2 {
  max-width: none;
  font-size: clamp(4rem, 8vw, 7.6rem);
  line-height: 0.9;
}

.cta-shell > p:not(.eyebrow) {
  max-width: 55ch;
  margin: 1.7rem auto 0;
  color: var(--muted);
  font-size: clamp(1.18rem, 1.55vw, 1.4rem);
  line-height: 1.7;
}

.cta-actions { margin-top: 2.2rem; }

.cta-orbit {
  position: absolute;
  z-index: -1;
  width: min(780px, 82vw);
  height: min(350px, 42vw);
  border: 1px solid rgba(198,168,255,0.09);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.cta-orbit::before,
.cta-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #a377ff;
  box-shadow: 0 0 24px rgba(163,119,255,0.7);
}

.cta-orbit::before { width: 9px; height: 9px; top: 34%; left: 4%; }
.cta-orbit::after { width: 7px; height: 7px; right: 8%; bottom: 22%; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    animation: none !important;
    transition: none !important;
  }
}

/* Mobile Excellence Adjustments */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 5rem;
  }

  .hero-copy { max-width: 760px; }
  .hero-art { min-height: 520px; }

  .journey-intro-shell,
  .prizes-shell {
    grid-template-columns: 1fr;
  }

  .code-window {
    width: min(620px, 100%);
    transform: none;
  }

  .signal-art { opacity: 0.48; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 82px; }

  .site-header {
    width: min(var(--content), calc(100vw - 1.25rem));
    min-height: 66px;
  }

  .site-nav { display: none; }

  .section {
    width: min(var(--content), calc(100vw - 1.25rem));
    padding: 4.6rem 0;
  }

  .hero {
    padding-top: 3.2rem;
    padding-bottom: 2rem;
  }

  .hero-brand { font-size: clamp(2.35rem, 11.5vw, 3.2rem); }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.45rem); }
  .hero-audience { 
    display: flex;
    align-items: center; 
    border-radius: 24px; /* Changes from a pill to a rounded rectangle if the text wraps */
    padding: 1rem 1.25rem 1rem 1rem;
    margin: 2rem 0;
  }
  .hero-audience-icon { width: 54px; height: 54px; box-shadow: 0 0 0 6px rgba(157, 112, 255, 0.04); }
  .hero-audience-icon svg { width: 24px; height: 24px; }
  .hero-audience p { font-size: 1rem; max-width: none; }
  .hero-art { min-height: 360px; }
  .brain-image { width: 112%; transform: scale(1.02); }

  .breakthrough .section-kicker {
    margin-left: 0;
    margin-right: auto;
  }

  .breakthrough-copy {
    text-align: left;
  }

  .breakthrough-copy h2 {
    text-align: left;
    font-size: clamp(2.45rem, 11vw, 3.5rem);
  }

  .breakthrough-copy p {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    font-size: 1.08rem;
    line-height: 1.68;
  }

  .credibility-copy h2,
  .journey-intro-copy h2,
  .prizes-copy h2,
  .journey-heading h2,
  .stats-heading h2 {
    font-size: clamp(2.45rem, 11vw, 3.5rem);
  }

  .credibility-copy > p:last-child,
  .journey-intro-copy > p:last-child,
  .prizes-lead {
    font-size: 1.08rem;
    line-height: 1.68;
  }

  /* Scrolling updates for mobile: hide arrows & reduce padding */
  .slider-arrow { display: none; }
  
  .resource-scroll-container {
    padding: 0 0.5rem 1.5rem; /* Allow full swipe on phone */
  }

  .resource-card {
    width: 315px;
    min-width: 315px;
    min-height: 300px;
    border-radius: 24px;
    scroll-snap-align: center;
  }

  .resource-thumb { height: 180px; }

  .credibility-shell,
  .journey-intro-shell,
  .prizes-shell,
  .cta-shell {
    padding: 2.1rem 1.35rem;
    border-radius: 27px;
  }

  .credibility-shell { min-height: 560px; }
  .signal-art { right: -25px; bottom: 8px; transform: scale(0.8); transform-origin: right bottom; }

  .code-window-body {
    min-height: 250px;
    overflow-x: hidden;
    font-size: 0.68rem;
  }

  .journey-heading { margin-bottom: 2.4rem; }

  .journey-spine {
    left: 34px;
    top: 44px;
    bottom: 44px;
  }

  .journey-step {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 0.8rem;
    min-height: 180px;
    padding: 1.4rem 1.1rem 1.4rem 0;
    border-radius: 24px;
  }

  .journey-marker span {
    width: 44px;
    height: 44px;
    font-size: 0.67rem;
  }

  .journey-glyph { display: none; }
  .journey-step h3 { font-size: 2.25rem; }
  .journey-step-copy > p:last-child { font-size: 1rem; }

  .stats-heading {
    display: block;
    margin-bottom: 1.6rem;
  }

  .stats-band { grid-template-columns: 1fr; }
  .stat-card { min-height: 0; padding: 1.5rem; }

  .cta-shell { min-height: 460px; }
  .cta-shell h2 { font-size: clamp(3.8rem, 17vw, 5.6rem); }
  .cta-orbit { width: 620px; height: 260px; }
  .btn-large { width: 100%; }

  .brand-logo {
    height: 38px;
  }
}

.site-footer {
  width: min(var(--content), calc(100vw - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer-copy {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted-2);
}

.site-footer-socials {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-footer-link {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(198, 168, 255, 0.18);
  background: rgba(157, 112, 255, 0.07);
  overflow: hidden;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-footer-link:hover {
  transform: translateY(-1px);
  background: rgba(157, 112, 255, 0.12);
  border-color: rgba(198, 168, 255, 0.32);
}

.site-footer-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 760px) {
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer-socials {
    gap: 0.7rem;
    flex-wrap: wrap;
  }

  .site-footer-link {
    width: 48px;
    height: 48px;
  }
}




/* =========================================
   THE BENTO HERO LAYOUT (COMMAND CENTER)
   ========================================= */
.hero-bento {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
  width: 100%;
}

/* Base styling for all Glass Bento boxes */
.bento-cell {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.005));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

/* 1. Main Title Cell */
.bento-title-cell {
  grid-column: span 7;
  padding: clamp(3rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-title-cell .hero-brand {
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  color: rgba(246, 243, 255, 0.6);
  margin: 0 0 2rem 0;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.bento-title-cell .hero-brand span {
  color: var(--purple-3);
}

.bento-title-cell .hero-title {
  font-size: clamp(3.2rem, 5.2vw, 5rem);
  line-height: 1.05;
  margin: 0;
  font-weight: 820;
  letter-spacing: -0.04em;
}

.bento-title-cell .hero-title span {
  color: var(--purple-3); /* Retained the solid purple color! */
}

.bento-title-cell .hero-lead {
  margin-top: 1.8rem;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  color: var(--muted);
  font-weight: 500;
}

/* Specific safeguard for intermediate monitor sizes / scaled 1080p displays (1081px–1240px) */
@media (min-width: 1081px) and (max-width: 1240px) {
  .bento-title-cell {
    padding: clamp(2.5rem, 3.8vw, 3.5rem) clamp(2rem, 2.6vw, 2.8rem);
  }
  .bento-title-cell .hero-title {
    font-size: clamp(2.9rem, 4.3vw, 3.55rem);
  }
}

/* 2. Interactive Multi-Scale Connectome Viewer */
.bento-art-cell {
  grid-column: span 5;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 560px;
  background: #020204;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  padding: 1.4rem 1.5rem 1.25rem;
}

.bento-art-cell::before {
  display: none;
}

/* Corner Crosshairs */
.bento-crosshair {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(255, 255, 255, 0.16);
  border-style: solid;
  z-index: 5;
  pointer-events: none;
}
.bento-crosshair.tl { top: 16px; left: 16px; border-width: 2px 0 0 2px; }
.bento-crosshair.tr { top: 16px; right: 16px; border-width: 2px 2px 0 0; }
.bento-crosshair.bl { bottom: 16px; left: 16px; border-width: 0 0 2px 2px; }
.bento-crosshair.br { bottom: 16px; right: 16px; border-width: 0 2px 2px 0; }

/* Scale Switcher Navigation */
.scale-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  z-index: 10;
  width: 100%;
  background: rgba(12, 12, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.3rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.scale-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(246, 243, 255, 0.65);
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  font-family: inherit;
  user-select: none;
}

.scale-tab .tab-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  opacity: 0.65;
  font-weight: 700;
  color: var(--purple-3);
}

.scale-tab .tab-sub {
  font-size: 0.7rem;
  opacity: 0.6;
  font-weight: 400;
}

.scale-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.scale-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(157, 112, 255, 0.28), rgba(120, 149, 255, 0.22));
  border-color: rgba(198, 168, 255, 0.35);
  box-shadow: 0 4px 16px rgba(157, 112, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.scale-tab.is-active .tab-index {
  opacity: 1;
  color: #fff;
}

.scale-tab:focus-visible {
  outline: 2px solid var(--purple-3);
  outline-offset: 2px;
}

/* Screens Stage Container */
.scale-screens {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  margin: 0.75rem 0 0.5rem;
  z-index: 2;
}

.scale-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  padding: 0.5rem 0;
}

.scale-screen.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 3;
}

.scale-image-wrap {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  max-height: 245px;
  position: relative;
  margin-bottom: 1.25rem;
}

.scale-screen .scale-image {
  max-width: 100%;
  max-height: 225px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.8));
  transition: transform 0.15s ease-out;
  border-radius: 12px;
}

/* Dynamic Caption HUD */
.scale-caption {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  z-index: 4;
  width: 100%;
  padding: 0 0.75rem;
}

.scale-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.015em;
  margin: 0;
}

.scale-desc {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.45;
  text-wrap: balance;
  margin: 0 auto;
}

.scale-credit {
  font-size: 0.68rem;
  color: rgba(246, 243, 255, 0.42);
  letter-spacing: 0.02em;
  margin-top: 0.2rem;
  font-style: normal;
}

.fmri-scale-image {
  max-height: 215px;
  border-radius: 12px;
}

/* Bottom Controls & Progress */
.scale-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  z-index: 10;
  padding-top: 0.5rem;
}

.scale-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(246, 243, 255, 0.75);
  cursor: pointer;
  transition: all 0.2s ease;
}

.scale-arrow:hover {
  background: rgba(157, 112, 255, 0.22);
  border-color: rgba(198, 168, 255, 0.4);
  color: #fff;
  transform: scale(1.08);
}

.scale-arrow:focus-visible {
  outline: 2px solid var(--purple-3);
  outline-offset: 2px;
}

.scale-progress-track {
  flex: 1;
  max-width: 140px;
  height: 4px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.scale-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #9d70ff, #7895ff);
  border-radius: 999px;
}

/* 3. Audience Cell */
.bento-audience-cell {
  grid-column: span 4;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
}

.bento-audience-cell .hero-audience-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(158, 111, 255, 0.25);
  border-radius: 50%;
  color: var(--purple-3);
  background: rgba(158, 111, 255, 0.12);
  box-shadow: 0 0 20px rgba(157, 112, 255, 0.15);
}

.bento-audience-cell .hero-audience-icon svg { 
  width: 26px; 
  height: 26px; 
}

.bento-audience-cell p {
  margin: 0;
  color: rgba(246, 243, 255, 0.85);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.5;
}

.bento-audience-cell span {
  color: #fff;
  font-weight: 700;
}

/* 4. Massive CTA Cell */
.bento-cta-cell {
  grid-column: span 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #a475ff 0%, #607bff 100%);
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.bento-cta-cell:hover {
  filter: brightness(1.1);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(116, 88, 255, 0.4);
}

.bento-cta-cell svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.bento-cta-cell:hover svg {
  transform: translateX(6px);
}

.title-line {
  display: inline-block;
  white-space: nowrap;
}

/* 5. Mobile Adjustments for the Bento Grid */
@media (max-width: 1080px) {
  .bento-grid {
    grid-template-columns: 1fr; 
  }
  .bento-title-cell,
  .bento-art-cell,
  .bento-audience-cell,
  .bento-cta-cell {
    grid-column: span 1;
    grid-row: auto;
  }
  .bento-title-cell {
    padding: clamp(2.4rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem);
  }
  .bento-art-cell {
    min-height: 500px;
    padding: 1.2rem;
  }
}

@media (max-width: 760px) {
  .page-glow {
    opacity: 0.08;
  }
  .bento-title-cell {
    padding: 2.2rem 1.35rem;
    border-radius: 28px;
  }
  .bento-title-cell .hero-brand {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.12em;
  }
  .bento-title-cell .hero-title {
    font-size: clamp(2.2rem, 9.5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }
  .bento-title-cell .hero-lead {
    margin-top: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.45;
  }
  .credibility-actions {
    margin-top: 1.6rem;
  }
  .credibility-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .bento-art-cell {
    min-height: 440px;
    padding: 0.9rem 0.7rem;
    border-radius: 24px;
  }
  .scale-nav {
    flex-direction: row;
    gap: 0.2rem;
    padding: 0.25rem;
  }
  .scale-tab {
    padding: 0.45rem 0.4rem;
    font-size: 0.72rem;
    gap: 0.25rem;
  }
  .scale-screens {
    min-height: 280px;
  }
  .scale-screen .scale-image {
    max-height: 175px;
  }
  .fmri-scale-image {
    max-height: 170px;
  }
  .scale-caption {
    margin-top: 0.35rem;
  }
  .scale-title {
    font-size: 0.92rem;
  }
  .scale-desc {
    font-size: 0.72rem;
    line-height: 1.35;
  }
  .scale-credit {
    font-size: 0.62rem;
  }
}

/* Small mobile devices (e.g. Huawei nova 5T ~360px, iPhone SE ~375px) */
@media (max-width: 420px) {
  .bento-title-cell {
    padding: 1.75rem 1.05rem;
    border-radius: 22px;
  }
  .bento-title-cell .hero-brand {
    font-size: 0.84rem;
    margin-bottom: 0.9rem;
  }
  .bento-title-cell .hero-title {
    font-size: clamp(1.85rem, 8.8vw, 2.3rem);
    line-height: 1.1;
  }
  .bento-title-cell .hero-lead {
    font-size: 0.95rem;
    margin-top: 0.9rem;
  }
  .scale-tab {
    padding: 0.42rem 0.25rem;
    font-size: 0.68rem;
  }
  .scale-tab .tab-index {
    font-size: 0.64rem;
  }
}