/* =====================================================
   Fixel Display — 9 weights
   ===================================================== */
@font-face{font-family:'Fixel Display';font-style:normal;font-weight:100;font-display:swap;src:url('../assets/fonts/FixelDisplay-Thin.woff2') format('woff2')}
@font-face{font-family:'Fixel Display';font-style:normal;font-weight:200;font-display:swap;src:url('../assets/fonts/FixelDisplay-ExtraLight.woff2') format('woff2')}
@font-face{font-family:'Fixel Display';font-style:normal;font-weight:300;font-display:swap;src:url('../assets/fonts/FixelDisplay-Light.woff2') format('woff2')}
@font-face{font-family:'Fixel Display';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/FixelDisplay-Regular.woff2') format('woff2')}
@font-face{font-family:'Fixel Display';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/FixelDisplay-Medium.woff2') format('woff2')}
@font-face{font-family:'Fixel Display';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/FixelDisplay-SemiBold.woff2') format('woff2')}
@font-face{font-family:'Fixel Display';font-style:normal;font-weight:700;font-display:swap;src:url('../assets/fonts/FixelDisplay-Bold.woff2') format('woff2')}
@font-face{font-family:'Fixel Display';font-style:normal;font-weight:800;font-display:swap;src:url('../assets/fonts/FixelDisplay-ExtraBold.woff2') format('woff2')}
@font-face{font-family:'Fixel Display';font-style:normal;font-weight:900;font-display:swap;src:url('../assets/fonts/FixelDisplay-Black.woff2') format('woff2')}

/* =====================================================
   Reset & base
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Fixel Display', system-ui, sans-serif;
  background: #fff;
  color: #1A1A19;
  overflow-x: clip;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }

/* =====================================================
   Layout utilities
   ===================================================== */
.container {
  max-width: 1132px;
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =====================================================
   Nav
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__wordmark {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #1A1A19;
}

/* =====================================================
   Hero
   ===================================================== */
.hero {
  padding: 156px 0 100px;
  text-align: center;
}
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 100px;
  margin-bottom: 32px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
}
.hero__chip-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #FF00AA;
  box-shadow: 0 0 6px #FF00AA;
  flex-shrink: 0;
}
.hero__chip-text {
  font-size: 13px;
  font-weight: 600;
  color: #76797F;
  letter-spacing: 0.2px;
}
.hero__headline {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #1A1A19;
  max-width: 880px;
  margin: 0 auto 24px;
}
.hero__sub {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 400;
  color: #76797F;
  max-width: 580px;
  margin: 0 auto 56px;
  line-height: 1.7;
}
.hero__cta {
  margin: 0 auto 40px;
  display: inline-flex;
}
.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #B0B3B8;
  font-size: 13px;
  font-weight: 500;
}
.hero__scroll-icon {
  animation: scrollBounce 2.2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* =====================================================
   Section base
   ===================================================== */
.section {
  padding: 96px 0;
}
.section--alt { background: #F8F8F7; }

.section__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 100px;
  margin-bottom: 24px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
}
.section__chip-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #FF00AA;
  box-shadow: 0 0 6px #FF00AA;
  flex-shrink: 0;
}
.section__chip-text {
  font-size: 13px;
  font-weight: 600;
  color: #76797F;
  letter-spacing: 0.2px;
}
.section__heading {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #1A1A19;
  margin-bottom: 28px;
  line-height: 1.15;
}
.section__body {
  font-size: clamp(15px, 1.5vw, 17px);
  color: #3D3D3C;
  line-height: 1.8;
}
.section__body p + p { margin-top: 16px; }

/* =====================================================
   Problem sections
   ===================================================== */
.problem {
  padding: 80px 0;
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  margin-bottom: -1px;
}
.problem--alt  { background: #EEF2FF; }
.problem--warm { background: #F3F0FF; }

/* Two-column layout inside problems */
.problem__layout {
  display: flex;
  align-items: center;
  gap: 56px;
}
.problem__layout--reverse { flex-direction: row-reverse; }
.problem__content { flex: 1; min-width: 0; }
.problem__visual {
  flex-shrink: 0;
  width: 180px;
  opacity: 0.9;
}

.problem__num {
  font-size: 12px;
  font-weight: 700;
  color: #FF00AA;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.problem__heading {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1A1A19;
  margin-bottom: 20px;
  line-height: 1.2;
}
.problem__body {
  font-size: clamp(15px, 1.5vw, 17px);
  color: #3D3D3C;
  line-height: 1.8;
}
.problem__body p + p { margin-top: 14px; }
.problem__body em { font-style: italic; }

/* Bridge */
.bridge {
  padding: 88px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #001FBB 0%, #000000 100%);
}
.bridge__text {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  font-style: italic;
  margin-bottom: 36px;
  line-height: 1.65;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  background: #FF00AA;
  color: #fff;
  font-family: 'Fixel Display', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255,0,170,0.35), inset 0 1px 0 rgba(255,255,255,0.3);
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,0,170,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}

/* =====================================================
   Diagnostic
   ===================================================== */
.diagnostic {
  padding: 88px 0 96px;
  background: #F8F8F7;
  scroll-margin-top: 72px;
}
.diagnostic__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 32px;
}
.diagnostic__heading {
  font-size: 13px;
  font-weight: 700;
  color: #FF00AA;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.diagnostic__progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}
.diagnostic__bar-wrap {
  flex: 1;
  height: 4px;
  background: rgba(0,0,0,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.diagnostic__bar-fill {
  height: 100%;
  background: #FF00AA;
  border-radius: 2px;
  transition: width 0.45s cubic-bezier(0.22,1,0.36,1);
  width: 20%;
}
.diagnostic__step-label {
  font-size: 13px;
  font-weight: 600;
  color: #76797F;
  white-space: nowrap;
}
.diagnostic__step { display: none; }
.diagnostic__step.active {
  display: block;
  animation: stepIn 0.35s cubic-bezier(0.22,1,0.36,1);
}
@keyframes stepIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.diagnostic__question {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1A1A19;
  margin-bottom: 28px;
  line-height: 1.35;
}
.diagnostic__input {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Fixel Display', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #1A1A19;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.14);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 8px;
  -moz-appearance: textfield;
}
.diagnostic__input::-webkit-inner-spin-button,
.diagnostic__input::-webkit-outer-spin-button { -webkit-appearance: none; }
.diagnostic__input:focus {
  border-color: #FF00AA;
  box-shadow: 0 0 0 3px rgba(255,0,170,0.12);
}
.diagnostic__helper {
  font-size: 13px;
  color: #76797F;
  margin-bottom: 28px;
  line-height: 1.55;
}
.diagnostic__select {
  width: 100%;
  padding: 14px 44px 14px 18px;
  font-family: 'Fixel Display', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #1A1A19;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.14);
  border-radius: 12px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2376797F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  margin-bottom: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.diagnostic__select:focus {
  border-color: #FF00AA;
  box-shadow: 0 0 0 3px rgba(255,0,170,0.12);
}
.diagnostic__error {
  font-size: 13px;
  color: #d63031;
  margin-bottom: 16px;
  display: none;
}
.diagnostic__error.visible { display: block; }
.diagnostic__step .btn-primary { margin-top: 16px; }

/* =====================================================
   Results
   ===================================================== */
.results {
  padding: 48px 0 80px;
  background: #F8F8F7;
  display: none;
  scroll-margin-top: 72px;
}
.results.visible { display: block; }
.results__card {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 48px 40px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07);
  animation: stepIn 0.5s cubic-bezier(0.22,1,0.36,1);
}
.results__eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: #FF00AA;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.results__number {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #1A1A19;
  line-height: 1;
  margin-bottom: 8px;
}
.results__number-sub {
  font-size: 15px;
  font-weight: 500;
  color: #76797F;
  margin-bottom: 24px;
}
.results__math {
  font-size: 13px;
  color: #76797F;
  line-height: 1.65;
  padding: 14px 16px;
  background: #F8F8F7;
  border-radius: 10px;
  margin-bottom: 28px;
}
.results__divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 0 0 24px;
}
.results__diagnosis {
  font-size: 16px;
  color: #3D3D3C;
  line-height: 1.8;
}

/* Locked fragmentation index */
.results__locked {
  margin-top: 28px;
  padding: 20px 22px;
  background: #F5F2FF;
  border: 1px solid rgba(172,163,251,0.35);
  border-radius: 14px;
}
.results__locked-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}
.results__locked-label {
  font-size: 11px;
  font-weight: 700;
  color: #ACA3FB;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.results__locked-score {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #1A1A19;
  margin-bottom: 10px;
  line-height: 1;
}
.results__locked-hint {
  font-size: 13px;
  color: #76797F;
  line-height: 1.65;
}

/* =====================================================
   Email section
   ===================================================== */
.email-section {
  padding: 40px 0 96px;
  background: #F8F8F7;
  display: none;
}
.email-section.visible { display: block; }
.email-section__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 32px;
}
.email-section__rule {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin-bottom: 48px;
}
.email-section__copy {
  font-size: 16px;
  color: #3D3D3C;
  line-height: 1.8;
  margin-bottom: 32px;
}
.email-section__copy em { font-style: normal; }
.email-field {
  width: 100%;
  padding: 13px 18px;
  font-family: 'Fixel Display', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1A1A19;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.14);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 12px;
}
.email-field:focus {
  border-color: #FF00AA;
  box-shadow: 0 0 0 3px rgba(255,0,170,0.12);
}
.email-section__error {
  font-size: 13px;
  color: #d63031;
  margin-bottom: 12px;
  display: none;
}
.email-section__error.visible { display: block; }
.email-section__note {
  font-size: 12px;
  color: #B0B3B8;
  margin-top: 12px;
  text-align: center;
}
.email-section__confirm {
  padding: 24px 0;
  display: none;
}
.email-section__confirm.visible { display: block; }
.email-confirm__main {
  font-size: 17px;
  font-weight: 600;
  color: #1A1A19;
  margin-bottom: 12px;
}
.email-confirm__sub {
  font-size: 15px;
  color: #76797F;
  line-height: 1.7;
}
.email-confirm__link {
  color: #001FBB;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.email-confirm__link:hover { color: #FF00AA; }

/* =====================================================
   Sticky CTA
   ===================================================== */
.sticky-cta {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 900;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.sticky-cta.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 100px;
  background: #1A1A19;
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-family: 'Fixel Display', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.28);
  transition: background 0.2s;
}
.sticky-cta__btn:hover { background: #2e2e2c; }

/* =====================================================
   Footer
   ===================================================== */
.footer {
  padding: 64px 0;
  border-top: none;
  background: #08090C;
}
.footer__inner {
  max-width: 720px;
  padding: 0 32px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.footer__wordmark {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
}
.footer__text {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 28px;
}
.footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__link {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__link:hover { color: #fff; }
.footer__built {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* =====================================================
   Scroll animations
   ===================================================== */
.anim {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.anim.vis { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

/* =====================================================
   Responsive
   ===================================================== */
@media(max-width: 768px) {
  .container, .container--narrow { padding: 0 20px; }
  .nav { padding: 16px 20px; }
  .hero { padding: 120px 0 72px; }
  .section { padding: 72px 0; }
  .problem { padding: 60px 0; }
  .problem__layout, .problem__layout--reverse {
    flex-direction: column;
    gap: 32px;
  }
  .problem__visual { width: 100%; max-width: 180px; margin: 0 auto; }
  .bridge { padding: 56px 0 44px; }
  .diagnostic { padding: 64px 0 72px; }
  .diagnostic__inner { padding: 0 20px; }
  .results { padding: 0 0 56px; }
  .results__card { padding: 32px 24px; margin: 0 20px; }
  .email-section { padding: 0 0 72px; }
  .email-section__inner { padding: 0 20px; }
  .footer { padding: 48px 0 56px; }
  .footer__inner { padding: 0 20px; }
}
@media(max-width: 480px) {
  .hero { padding: 100px 0 60px; }
  .hero__headline { letter-spacing: -0.025em; }
  .bridge__text { font-size: 15px; }
}
