/* =========================================
   StudyMatch — Premium Landing v19
   (Edge-to-Edge Glass Navbar)
   ========================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --off-white: #fcfcfd;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #868e96;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --black: #0a0a0a;

  --accent: #e03131;
  --accent-soft: rgba(224, 49, 49, 0.08);
  --green: #2b8a3e;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fs-xs: 0.875rem;
  --fs-sm: 1rem;
  --fs-base: 1.125rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.5rem;
  --fs-xl: 2rem;
  --fs-2xl: 2.5rem;
  --fs-3xl: 3.5rem;

  --fs-hero: clamp(3.5rem, 8vw, 7.5rem);
  --fs-headline: clamp(2.5rem, 5vw, 4rem);

  --lh-tight: 1.05;
  --lh-snug: 1.3;
  --lh-body: 1.6;
  --section-py: clamp(8rem, 12vw, 12rem);
  --container: 1200px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.08);
}

html {
  font-size: 16px;
  scroll-behavior: initial;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: var(--lh-body);
  overflow-x: hidden;
  font-size: var(--fs-base);
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  color: var(--black);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -.03em;
}

p {
  font-weight: 400;
}

strong {
  font-weight: 600;
  color: var(--black);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* ── Typography Utilities ── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-headline {
  font-size: var(--fs-headline);
  margin-bottom: 2rem;
}

/* ── Edge-to-Edge Premium Glass Navbar ── */
.navbar-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
  transition: transform 0.4s var(--ease);
}

.navbar {
  pointer-events: all;
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(200%) blur(32px);
  -webkit-backdrop-filter: saturate(200%) blur(32px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all .4s var(--ease);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.navbar__brand {
  font-size: var(--fs-md);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 0.0rem;
}

.navbar__brand span {
  color: var(--accent);
}

.navbar__powered-by {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  padding-left: 1rem;
  border-left: 1px solid var(--gray-200);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  height: 24px;
  line-height: 1;
  margin-top: 2px;
}

.navbar__powered-by:hover {
  color: var(--black);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.navbar__links a {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 999px;
  transition: all .25s var(--ease);
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--black);
  background: rgba(0, 0, 0, 0.04);
}

.navbar__right {
  display: flex;
  align-items: center;
}

.navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.6rem 1.5rem;
  background: var(--black);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  transition: all .3s var(--ease);
}

.navbar__cta i {
  transition: transform 0.3s;
}

.navbar__cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(224, 49, 49, 0.25);
}

.navbar__cta:hover i {
  transform: translate(2px, -2px);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar__toggle span {
  width: 24px;
  height: 1px;
  background: var(--black);
  transition: all .3s;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a:not(.btn) {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--black);
  transition: color 0.2s;
}

.mobile-menu a:not(.btn):hover {
  color: var(--accent);
}

/* ── Buttons & UI Utilities ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.125rem 2.5rem;
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: 999px;
  transition: all .3s var(--ease);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--black);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224, 49, 49, 0.2);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-4px) scale(1.05);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

/* ══ HERO ══ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
  overflow: hidden;
  background: var(--white);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 1000px;
  padding: 0 2rem;
}

.hero__slider {
  position: relative;
  margin-bottom: 2.5rem;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s var(--ease);
  pointer-events: none;
}

.hero__slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.hero__slide h1 {
  font-size: var(--fs-hero);
  color: var(--black);
  text-wrap: balance;
}

.hero__slide h1 .accent {
  color: var(--accent);
}

.hero__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 3.5rem;
}

.slider-dot {
  width: 40px;
  height: 2px;
  background: var(--gray-300);
  transition: all .4s var(--ease);
  cursor: pointer;
}

.slider-dot.active {
  background: var(--accent);
}

.hero__anchor {
  font-size: var(--fs-lg);
  color: var(--gray-600);
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-wrap: balance;
}

/* ══ THE REALITY ══ */
.reality {
  padding: var(--section-py) 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.reality__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.reality__sticky {
  position: sticky;
  top: 120px;
}

.reality__content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--gray-700);
}

.reality__highlight {
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-200);
  font-size: var(--fs-xl);
  line-height: 1.4;
  color: var(--gray-700);
  letter-spacing: -0.01em;
}

.reality__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  padding: 3rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.stat-item--dark {
  background: var(--black);
  border-color: var(--black);
}

.stat-huge {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--gray-600);
}

/* ══ PAIN SECTIONS ══ */
.story-section {
  padding: var(--section-py) 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.story-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 8vw, 6rem);
  align-items: start;
}

.story-section__text p {
  font-size: var(--fs-md);
  margin-bottom: 1.5rem;
  color: var(--gray-700);
}

.story-section__highlight {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--gray-200);
}

.story-section__highlight p {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--accent);
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0;
}

.story-section__visual {
  position: sticky;
  top: 120px;
}

.clean-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--black);
}

.clean-card i {
  color: var(--gray-500);
  width: 20px;
  height: 20px;
}

.clean-card--accent {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.clean-card--dark {
  background: var(--gray-900);
  color: var(--white);
  border-color: var(--black);
}

.clean-card--dark i {
  color: var(--white);
}

.chat-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.chat-row__tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem
}

.chat-row__text {
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--black);
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
}

.chat-row--alt .chat-row__text {
  background: var(--white);
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm)
}

/* ══ THE SOLUTION ══ */
.solution-scroll {
  padding: clamp(8rem, 15vw, 15rem) 0;
  background: var(--gray-900);
  color: var(--white);
}

.solution-scroll__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}

.solution-scroll__sticky {
  position: sticky;
  top: 120px;
}

.solution-scroll__sticky .label {
  color: var(--gray-400);
}

.solution-scroll__sticky .label::before {
  background: var(--gray-400);
}

.solution-scroll__sticky h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.solution-scroll__sticky p {
  font-size: var(--fs-xl);
  color: var(--gray-400);
  font-weight: 400;
  line-height: 1.4;
}

.solution-scroll__content {
  display: flex;
  flex-direction: column;
  gap: 15vh;
  padding-top: 5vh;
  padding-bottom: 15vh;
}

.scr-text {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.25);
  filter: blur(3px);
  transform: translateX(-15px);
  transition: all 0.6s var(--ease);
}

.scr-text strong {
  color: inherit;
}

.scr-text.active {
  color: var(--white);
  filter: blur(0);
  transform: translateX(0);
  text-shadow: 0 4px 40px rgba(255, 255, 255, 0.3);
}

/* ══ JOURNEY ══ */
.journey-parallax {
  padding: var(--section-py) 0;
  background: var(--gray-100);
  position: relative;
}

.journey__intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.journey-cards {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
  gap: 0;
  padding-bottom: 10rem;
}

.jcard {
  position: sticky;
  top: 120px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 5rem 6rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  margin-bottom: 4rem;
  display: flex;
  gap: 4rem;
  align-items: center;
  transform-origin: top center;
  overflow: hidden;
  opacity: 1;
}

.jcard:last-child {
  margin-bottom: 0;
}

.jcard-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}

.jcard-text {
  flex: 1;
  position: relative;
  z-index: 2;
}

.jcard h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.jcard p {
  font-size: var(--fs-lg);
  color: var(--gray-600);
}

.jcard-bg {
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 300px;
  height: 300px;
  color: rgba(224, 49, 49, 0.03);
  z-index: 0;
  transform: rotate(-10deg);
}

.jcard:nth-child(1) {
  top: 120px;
  z-index: 10;
}

.jcard:nth-child(2) {
  top: 140px;
  z-index: 11;
}

.jcard:nth-child(3) {
  top: 160px;
  z-index: 12;
}

.journey__outro {
  margin: 8rem auto 0;
  text-align: center;
  max-width: 900px;
  border-top: 1px solid var(--gray-200);
  padding-top: 6rem;
}

.journey__outro p {
  font-size: var(--fs-2xl);
  font-weight: 500;
  color: var(--gray-600);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.journey__outro span {
  color: var(--black);
  font-weight: 600;
}

/* ══ INTEL STRIP (Horizontal Fullscreen Swipe) ══ */
.intel-wrap {
  height: 100vh;
  overflow: hidden;
  background: var(--gray-50);
  position: relative;
}

.intel-track {
  display: flex;
  width: 300vw;
  height: 100vh;
}

.intel-panel {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.intel-panel__inner {
  max-width: 900px;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.intel-icon-box {
  display: inline-flex;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  color: var(--accent);
  border: 1px solid var(--gray-200);
}

.intel-panel h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.2;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: -0.02em;
}

.intel-panel h2 strong {
  font-weight: 800;
  color: var(--black);
}

.intel-panel.dark {
  background: var(--black);
}

.intel-panel.dark .intel-icon-box {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.intel-panel.dark h2 {
  color: rgba(255, 255, 255, 0.4);
}

.intel-panel.dark h2 strong {
  color: var(--white);
}

.intel-scroll-indicator {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-500);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.5s;
}

.intel-scroll-indicator i {
  animation: bounceRight 1.5s infinite;
  color: var(--accent);
}

/* ══ BUILT TO GROW ══ */
.grow {
  padding: var(--section-py) 0;
  background: var(--white);
}

.grow__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.grow__sticky {
  position: sticky;
  top: 120px;
}

.grow__content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--gray-700);
}

.grow__conclusion {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--gray-200);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* ══ YOUR TEAM (100% INTEL MIMIC) ══ */
.team-wrap {
  height: 100vh;
  overflow: hidden;
  background: var(--white);
  position: relative;
  border-top: 1px solid var(--gray-100);
}

.team-track {
  display: flex;
  width: 400vw;
  height: 100vh;
}

.team-panel {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.team-panel__inner {
  max-width: 900px;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.team-icon-box {
  display: inline-flex;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  color: var(--accent);
  border: 1px solid var(--gray-200);
}

.t-badge {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.team-panel h3 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--black);
  letter-spacing: -0.03em;
}

.team-panel p {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--gray-600);
  line-height: 1.5;
  font-weight: 400;
}

.team-panel.dark {
  background: var(--black);
}

.team-panel.dark h3 {
  color: var(--white);
}

.team-panel.dark p {
  color: var(--gray-400);
}

.team-panel.dark .team-icon-box {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* ══ THE DIFFERENCE (Apple Style Minimal Table) ══ */
.difference {
  padding: var(--section-py) 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}

.diff-table {
  max-width: 1000px;
  margin: 4rem auto 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.diff-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--gray-200);
}

.diff-row:last-child {
  border-bottom: none;
}

.diff-cell {
  padding: 2.5rem;
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--gray-800);
}

.diff-header .diff-cell {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  background: var(--gray-50);
  padding: 1.5rem 2.5rem;
}

.diff-header .diff-cell--accent {
  color: var(--black);
  background: var(--white);
}

.diff-cell.d-old {
  background: var(--gray-50);
  color: var(--gray-500);
  border-right: 1px solid var(--gray-200);
}

.diff-cell.d-new {
  background: var(--white);
  color: var(--black);
  font-weight: 500;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.diff-cell.d-new i {
  color: var(--black);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ══ FINAL CTA ══ */
.cta {
  padding: clamp(6rem, 12vw, 10rem) 0;
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--white);
  margin-bottom: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.cta p {
  font-size: var(--fs-xl);
  color: var(--gray-400);
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto 3rem;
  text-wrap: balance;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn--white {
  background: var(--white);
  color: var(--black);
}

.btn--white:hover {
  background: var(--gray-200);
}

/* ══ FOOTER ══ */
.footer {
  padding: 4rem 0 3rem;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  font-size: var(--fs-sm);
  color: var(--gray-500);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 0.0rem;
}

.footer__links {
  display: flex;
  gap: 2.5rem;
}

.footer__links a {
  font-weight: 500;
  transition: color .2s;
}

.footer__links a:hover {
  color: var(--black);
}

/* ══ MOBILE FIXES ══ */
@media(max-width: 1024px) {

  .reality__inner,
  .story-section__inner,
  .solution-scroll__inner,
  .grow__inner,
  .roles__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .story-section__visual,
  .solution-scroll__sticky,
  .grow__sticky,
  .reality__sticky,
  .roles__sticky {
    position: static;
    margin-bottom: 2rem;
  }

  .solution-scroll__content {
    padding: 0;
    gap: 3rem;
  }

  .scr-text {
    color: var(--white);
    font-size: var(--fs-2xl);
    filter: blur(0);
    transform: translateX(0);
  }

  .intel-panel__inner,
  .team-panel__inner {
    padding: 0 1rem;
  }

  .intel-icon-box,
  .team-icon-box {
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
  }

  .intel-scroll-indicator {
    display: none;
  }

  .jcard {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding: 3rem;
  }

  .jcard-bg {
    display: none;
  }

  .team-panel {
    padding: 4rem 1rem;
  }

  .diff-table {
    border: none;
    box-shadow: none;
    border-radius: 0;
    margin-top: 3rem;
  }

  .diff-row {
    grid-template-columns: 1fr;
    border-bottom: none;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .diff-header {
    display: none;
  }

  .diff-cell {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
  }

  .diff-cell.d-old {
    border-right: 1px solid var(--gray-200);
  }

  .diff-cell.d-new {
    border-color: var(--black);
    box-shadow: var(--shadow-sm);
  }
}

@media(max-width: 768px) {

  .navbar__links,
  .navbar__cta {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .hero {
    min-height: 100vh;
  }

  .hero__slide h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    text-wrap: wrap;
  }

  .hero__anchor {
    font-size: var(--fs-base);
    text-wrap: wrap;
    margin-bottom: 2.5rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
  }
}