/* ================================================================
   VELINOR — UI Enhancements
   Base: #030e12 (near-black teal-tinted) · Accent: #48c0bf · CTA: #e86b68
   Philosophy: uniform near-black base, depth from radial glow overlays
   ================================================================ */

/* ── GLOBAL BASE — near-black on body + sections ────────────────── */
body {
  background: #030e12;
}

/* ── 1. HERO (homepage) — teal aurora gradient ───────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: #030e12 !important;
}
.hero::before,
.hero::after {
  display: none !important;
}

/* ── 1b. SUB-PAGE HEROES — dark logo-bar tone ───────────────────── */
.hero--sub {
  background: linear-gradient(170deg,
    #051a24 0%,
    #041318 30%,
    #030e12 60%,
    #020a0d 100%
  ) !important;
}
.hero--sub::before,
.hero--sub::after {
  display: none !important;
}
.hero__content { position: relative; z-index: 2; }

@keyframes aurora-shift {
  0%   { opacity: 0.5; transform: scale(1)    translateX(0px)   translateY(0px); }
  33%  { opacity: 1.0; transform: scale(1.04) translateX(18px)  translateY(-8px); }
  66%  { opacity: 0.7; transform: scale(1.02) translateX(-10px) translateY(10px); }
  100% { opacity: 0.6; transform: scale(1.03) translateX(8px)   translateY(-4px); }
}

/* ── 2. LIGHT SECTIONS ───────────────────────────────────────────── */
.section--light {
  background:
    linear-gradient(to bottom,
      rgba(3, 14, 18, 1.00)  0%,
      rgba(3, 14, 18, 0.60) 12%,
      rgba(3, 14, 18, 0.00) 26%
    ),
    linear-gradient(160deg,
      #0b3d52 0%,
      #062634 30%,
      #041e2c 65%,
      #021318 100%
    ) !important;
  position: relative;
  overflow: hidden;
  --deep-think: #ffffff;
  --gray-500:   rgba(255,255,255,0.60);
  --gray-200:   rgba(255,255,255,0.18);
  --gray-100:   rgba(72,192,191,0.08);
  --gray-50:    rgba(72,192,191,0.06);
  --white:      rgba(255,255,255,0.04);
}
.section--light::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 0% 30%,   rgba(72,192,191,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 100% 80%,  rgba(72,192,191,0.06) 0%, transparent 50%);
  pointer-events: none;
  animation: section-breathe 12s ease-in-out infinite alternate;
}
.section--light .section__title,
.section--light h2, .section--light h3 { color: #ffffff !important; }
.section--light .section__sub,
.section--light p                       { color: rgba(255,255,255,0.65) !important; }
.section--light .section__header::after { background: #48c0bf !important; }

/* ── 3. PALE SECTIONS ────────────────────────────────────────────── */
.section--pale {
  background:
    linear-gradient(to bottom,
      rgba(3, 14, 18, 1.00)  0%,
      rgba(3, 14, 18, 0.60) 12%,
      rgba(3, 14, 18, 0.00) 26%
    ),
    linear-gradient(155deg,
      #093040 0%,
      #062634 28%,
      #041c28 58%,
      #021218 100%
    ) !important;
  position: relative;
  overflow: hidden;
  --deep-think: #ffffff;
  --gray-500:   rgba(255,255,255,0.60);
  --gray-200:   rgba(255,255,255,0.18);
  --gray-100:   rgba(72,192,191,0.08);
  --gray-50:    rgba(72,192,191,0.06);
  --white:      rgba(255,255,255,0.04);
}
.section--pale::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 100% 20%,  rgba(72,192,191,0.10) 0%, transparent 52%),
    radial-gradient(ellipse 55% 60% at 0%   80%,  rgba(72,192,191,0.07) 0%, transparent 50%);
  pointer-events: none;
  animation: section-breathe 14s ease-in-out infinite alternate;
}
.section--pale .section__title,
.section--pale h2, .section--pale h3 { color: #ffffff !important; }
.section--pale .section__sub,
.section--pale p                      { color: rgba(255,255,255,0.65) !important; }
.section--pale .section__header::after { background: #48c0bf !important; }

@keyframes section-breathe {
  0%   { opacity: 0.50; transform: scale(0.97); }
  100% { opacity: 1.00; transform: scale(1.03); }
}

/* ── 4. DARK SECTIONS ────────────────────────────────────────────── */
.section--dark {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to bottom,
      rgba(3, 14, 18, 1.00)  0%,
      rgba(3, 14, 18, 0.60) 12%,
      rgba(3, 14, 18, 0.00) 26%
    ),
    linear-gradient(175deg,
      #0a3347 0%,
      #062634 25%,
      #041e2c 55%,
      #021318 100%
    ) !important;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%,   rgba(72,192,191,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 50% 100%,  rgba(72,192,191,0.06) 0%, transparent 50%);
  animation: section-breathe 11s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes dark-breathe {
  0%   { opacity: 0.45; transform: scale(0.96); }
  100% { opacity: 1.00; transform: scale(1.04); }
}

/* ── 5. GRADIENT SECTION (Contact) ──────────────────────────────── */
.section--gradient {
  background:
    linear-gradient(to bottom,
      rgba(3, 14, 18, 1.00)  0%,
      rgba(3, 14, 18, 0.60) 12%,
      rgba(3, 14, 18, 0.00) 26%
    ),
    linear-gradient(170deg,
      #051a24 0%,
      #041318 30%,
      #030e12 60%,
      #020a0d 100%
    ) !important;
  position: relative;
  overflow: hidden;
  border-top: none !important;
}
.section--gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 65% at 100% 50%, rgba(72,192,191,0.16) 0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 0%   50%, rgba(72,192,191,0.10) 0%, transparent 50%),
    radial-gradient(ellipse 40% 35% at 50%  0%,  rgba(232,107,104,0.04) 0%, transparent 52%);
  pointer-events: none;
  animation: section-breathe 13s ease-in-out infinite alternate;
}

/* ── 6. LOGO BAR — matches site base ────────────────────────────── */
.logo-bar {
  background: linear-gradient(170deg,
    #051a24 0%,
    #041318 30%,
    #030e12 60%,
    #020a0d 100%
  ) !important;
  border-top: 1px solid rgba(72,192,191,0.08) !important;
  border-bottom: 1px solid rgba(72,192,191,0.08) !important;
}
.logo-bar img,
.logo-bar svg {
  filter: brightness(0) invert(1);
  opacity: 0.50;
  transition: opacity 0.25s ease;
}
.logo-bar img:hover,
.logo-bar svg:hover {
  opacity: 1;
}
.logo-bar__label {
  color: rgba(255,255,255,0.40) !important;
}

/* ── 7. PROOF STRIP ─────────────────────────────────────────────── */
.proof-strip {
  background: #030e12 !important;
  border-bottom: 1px solid rgba(72,192,191,0.10) !important;
}

/* ── 8. BUTTONS ─────────────────────────────────────────────────── */
.btn--coral {
  background: transparent !important;
  color: #48c0bf !important;
  border: 1.5px solid #48c0bf !important;
  box-shadow: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}
.btn--coral:hover {
  background: rgba(72,192,191,0.08) !important;
  border-color: #5dd6d5 !important;
  box-shadow: 0 0 18px rgba(72,192,191,0.22);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255,255,255,0.55) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease !important;
}
.btn--outline:hover {
  border-color: #ffffff !important;
  background: rgba(255,255,255,0.08) !important;
  box-shadow: 0 0 18px rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

/* ── 9. CARDS — frosted glass ───────────────────────────────────── */
.card {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.40);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease !important;
  --glow-x: 50%;
  --glow-y: 50%;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px circle at var(--glow-x) var(--glow-y),
    rgba(72,192,191,0.10),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card:hover {
  transform: translateY(-3px) !important;
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(72,192,191,0.30) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.50), 0 0 0 1px rgba(72,192,191,0.20) !important;
}
.section--light .card,
.section--pale .card {
  background: rgba(255,255,255,0.03) !important;
  border-color: rgba(255,255,255,0.10) !important;
}
.section--light .card:hover,
.section--pale .card:hover {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(72,192,191,0.30) !important;
}
.process__step,
.team-card,
.hero__stat-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}
.process__step:hover,
.team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(72,192,191,0.28) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45) !important;
}

/* ── 10. EYEBROW BADGES ─────────────────────────────────────────── */
.hero__eyebrow {
  background: rgba(72,192,191,0.10);
  border: 1px solid rgba(72,192,191,0.32);
  backdrop-filter: blur(6px);
}

/* ── 11. HERO GLOW ARC ──────────────────────────────────────────── */
.hero__glow-arc {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 860px;
  height: 430px;
  border-radius: 430px 430px 0 0;
  background: radial-gradient(ellipse 100% 100% at 50% 100%,
    rgba(72,192,191,0.18) 0%,
    rgba(72,192,191,0.08) 40%,
    transparent 70%
  );
  filter: blur(32px);
  pointer-events: none;
  z-index: 1;
}

/* ── 12. NAV ────────────────────────────────────────────────────── */
.nav {
  backdrop-filter: blur(16px) saturate(1.6);
  background: rgba(3,14,18,0.82) !important;
  border-bottom: 1px solid rgba(72,192,191,0.08) !important;
}

/* ── 13. SCROLL-TOP ─────────────────────────────────────────────── */
.scroll-top {
  background: linear-gradient(135deg, #48c0bf, #3aadac) !important;
  box-shadow: 0 4px 16px rgba(72,192,191,0.35) !important;
}

/* ── 14. DATA HIGHLIGHTS ────────────────────────────────────────── */
.data-highlight {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(72,192,191,0.22) !important;
  border-left: 3px solid #48c0bf !important;
  border-radius: 12px !important;
  padding: 2rem 2rem !important;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.data-highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(72,192,191,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.data-highlight .big-number {
  color: #48c0bf !important;
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.6rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.data-highlight .big-label {
  color: rgba(255,255,255,0.60) !important;
  display: block;
  font-size: 0.88rem;
}

/* ── 15. HERO HEADLINE ACCENT ───────────────────────────────────── */
.hero__headline-accent {
  background: linear-gradient(90deg, #48c0bf 0%, #7de8e7 55%, #48c0bf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 16. HERO BG ────────────────────────────────────────────────── */
.hero__bg {
  background-image: none !important;
  background: none !important;
  animation: none !important;
  position: absolute;
  inset: 0;
}

/* ── 17. FADE-IN ────────────────────────────────────────────────── */
.fade-in,
.fade-in--visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ── 18. NUMBERS SECTION ────────────────────────────────────────── */
.numbers-section {
  background: linear-gradient(170deg,
    #051a24 0%,
    #041318 30%,
    #030e12 60%,
    #020a0d 100%
  ) !important;
  color: #fff; /* ensure all text inside inherits white */
  position: relative;
  overflow: hidden;
}
/* responsive: stack cards--3 to 1 col on mobile inside this section */
@media (max-width: 768px) {
  .numbers-section .cards--3 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 960px) {
  .numbers-section .cards--3 { grid-template-columns: repeat(2, 1fr); }
}
.numbers-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 70% at 20% 50%, rgba(72,192,191,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 45% 60% at 80% 50%, rgba(72,192,191,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.numbers-section > .container {
  position: relative;
  z-index: 1;
}
.numbers-section__title        { color: #fff !important; }
.numbers-section .section__header::after { background: #48c0bf !important; }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.numbers-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(72,192,191,0.14);
  border-radius: 14px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  --glow-x: 50%;
  --glow-y: 50%;
}
.numbers-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(350px circle at var(--glow-x) var(--glow-y), rgba(72,192,191,0.10), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}
.numbers-card:hover::before { opacity: 1; }
.numbers-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.05);
  border-color: rgba(72,192,191,0.35);
  box-shadow: 0 10px 32px rgba(0,0,0,0.50), 0 0 0 1px rgba(72,192,191,0.15);
}
.numbers-card__value {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: #48c0bf;
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}
.numbers-card__value--text {
  background: linear-gradient(135deg, #48c0bf 0%, #7de8e7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.numbers-card__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  letter-spacing: 0.01em;
  display: block;
}
@media (max-width: 768px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .numbers-grid { grid-template-columns: 1fr; } }

/* ── 19. DARK CARDS ─────────────────────────────────────────────── */
.card--dark,
.numbers-section .card {
  background: rgba(255,255,255,0.03) !important;
  border-color: rgba(72,192,191,0.14) !important;
  color: #fff !important;
}
.numbers-section .card__icon  { background: rgba(72,192,191,0.10) !important; color: #48c0bf !important; }
.numbers-section .card__title { color: #fff !important; }
.numbers-section .card__text  { color: rgba(255,255,255,0.55) !important; }
.numbers-section .card:hover  {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(72,192,191,0.35) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.50), 0 0 0 1px rgba(72,192,191,0.18) !important;
}
.numbers-section .section__header::after { background: #48c0bf !important; }

/* ── 20. GLOBAL FORM + WHITE ELEMENT OVERRIDES ──────────────────── */
.case-study__stat {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(72,192,191,0.18) !important;
  color: #ffffff !important;
}
.case-study__stat-number { color: #48c0bf !important; }
.case-study__stat-label  { color: rgba(255,255,255,0.65) !important; }

.insight-card,
.pricing-card {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(72,192,191,0.16) !important;
  color: #ffffff !important;
}

.scorecard__option {
  background: rgba(255,255,255,0.03) !important;
  border-color: rgba(72,192,191,0.20) !important;
  color: #ffffff !important;
}
.scorecard__option--selected {
  background: rgba(72,192,191,0.12) !important;
  border-color: #48c0bf !important;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
select,
textarea {
  background: rgba(255,255,255,0.04) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.14) !important;
}
input::placeholder,
textarea::placeholder { color: rgba(255,255,255,0.40) !important; }
select option         { background: #030e12; color: #ffffff; }

.geo-option {
  background: rgba(255,255,255,0.03) !important;
  border-color: rgba(255,255,255,0.14) !important;
  color: #ffffff !important;
}
.geo-option:hover {
  border-color: rgba(72,192,191,0.45) !important;
  background: rgba(72,192,191,0.06) !important;
}

.booking {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(72,192,191,0.16) !important;
}

/* ── SCROLL-COVER TRANSITION: problem → product ─────────────────── */
/* Wrapper clips #problem so it can never reappear outside its range */
.scroll-cover-wrap {
  position: relative;
  /* overflow:clip clips without creating a scroll container,
     so position:sticky on children still works */
  overflow: clip;
}

#problem {
  position: sticky;
  top: 0;
  z-index: 1;
  /* must not clip itself — clipping is handled by the wrapper */
  overflow: visible !important;
}

#product {
  position: relative;
  z-index: 2;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.70);
  overflow: hidden !important;
}

/* ── FAQ CAROUSEL ────────────────────────────────────────────────── */
.faq-carousel {
  position: relative;
  z-index: 2;
}

.faq-carousel__viewport {
  overflow: hidden;
}

.faq {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.faq__item {
  flex: 0 0 calc(33.333% - 14px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(72, 192, 191, 0.15);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.faq__item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(72,192,191,0) 0%, rgba(72,192,191,0.6) 50%, rgba(72,192,191,0) 100%);
}

.faq__item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e8f4f4;
  line-height: 1.4;
  margin: 0;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.faq__item p {
  font-size: 0.875rem;
  color: rgba(200, 220, 220, 0.75);
  line-height: 1.65;
  margin: 0;
}

.faq__item .faq__num {
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(72, 192, 191, 0.22);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.faq-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.faq-carousel__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(72, 192, 191, 0.35);
  background: rgba(72, 192, 191, 0.08);
  color: #48c0bf;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.faq-carousel__btn:hover {
  background: rgba(72, 192, 191, 0.18);
  border-color: rgba(72, 192, 191, 0.6);
  transform: scale(1.08);
}

.faq-carousel__btn:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
}

.faq-carousel__dots {
  display: flex;
  gap: 8px;
}

.faq-carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(72, 192, 191, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.faq-carousel__dot.active {
  background: #48c0bf;
  transform: scale(1.35);
}

@media (max-width: 900px) {
  .faq__item { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 580px) {
  .faq__item { flex: 0 0 100%; }
}

/* ── FAQ INLINE (inside Start Investing section) ─────────────────── */
.faq-inline {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(72, 192, 191, 0.12);
}

.faq-inline__heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 24px 0;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom,
    rgba(6, 26, 34, 0.45) 0%,
    rgba(6, 26, 34, 0.20) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* ── ARTICLE — dark theme overrides (deals-framework) ──────────── */
.article {
  background: transparent !important;
  max-width: 960px !important;
}
.article__meta {
  color: rgba(255,255,255,0.45) !important;
}
.article__tag {
  background: rgba(72,192,191,0.12) !important;
  border: 1px solid rgba(72,192,191,0.30) !important;
  color: #48c0bf !important;
}
.article__content h2 {
  color: #ffffff !important;
  border-bottom: 1px solid rgba(72,192,191,0.18) !important;
  padding-bottom: 0.5rem;
  margin-top: 2.5rem;
}
.article__content h3 {
  color: rgba(255,255,255,0.90) !important;
}
.article__content p,
.article__content li {
  color: rgba(255,255,255,0.68) !important;
}
.article__content strong {
  color: rgba(255,255,255,0.90) !important;
}
.article__content a {
  color: #48c0bf !important;
}
.article__content ul {
  border-left: 2px solid rgba(72,192,191,0.25) !important;
  padding-left: 1.4rem;
}

/* DEALS acronym stats row */
.case-study__stats--5col {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 0.75rem;
  margin: 2rem 0 !important;
}
@media (max-width: 640px) {
  .case-study__stats--5col {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
.case-study__stats--5col .case-study__stat {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(72,192,191,0.18) !important;
  border-radius: 10px !important;
  padding: 1.1rem 0.75rem !important;
  text-align: center;
  transition: border-color 0.22s ease, background 0.22s ease;
}
.case-study__stats--5col .case-study__stat:hover {
  border-color: rgba(72,192,191,0.40) !important;
  background: rgba(72,192,191,0.06) !important;
}
.case-study__stats--5col .case-study__stat-number {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #48c0bf !important;
  display: block;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.case-study__stats--5col .case-study__stat-label {
  font-size: 0.75rem !important;
  color: rgba(255,255,255,0.55) !important;
}

/* ── SECTION TRANSITION: product → how-it-works ─────────────────── */
#product::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom,
    rgba(3, 14, 18, 0)    0%,
    rgba(3, 14, 18, 0.55) 55%,
    rgba(3, 14, 18, 0.85) 100%
  );
  pointer-events: none;
  z-index: 0;
}

#how-it-works {
  position: relative;
  background: linear-gradient(to bottom,
    #030e12 0%,
    #062634 30%,
    #041e2c 65%,
    #021318 100%
  ) !important;
}
#how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 320px;
  background: linear-gradient(to bottom,
    rgba(3, 14, 18, 1.00)  0%,
    rgba(3, 14, 18, 0.85) 30%,
    rgba(3, 14, 18, 0.40) 65%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}
#how-it-works .section__header {
  position: relative;
  z-index: 2;
}

/* ── FAQ ACCORDION ───────────────────────────────────────────────── */
.faq-accordion {
  max-width: 740px;
  margin: 24px auto 0;
}
.faq-accordion__heading {
  font-family: var(--font-heading, 'Bomstad Display', system-ui);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: #e3e1e2;
  text-align: center;
  margin: 0 0 40px;
  letter-spacing: -0.01em;
}
.faq-accordion__list {
  display: flex;
  flex-direction: column;
}
.faq-acc__item {
  border-bottom: 1px solid rgba(72,192,191,0.12);
}
.faq-acc__item:first-child {
  border-top: 1px solid rgba(72,192,191,0.12);
}
.faq-acc__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 22px 0;
  cursor: pointer;
  text-align: left;
  color: #e3e1e2;
  font-family: var(--font-body, 'General Sans', system-ui);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s ease;
}
.faq-acc__q:hover { color: #48c0bf; }
.faq-acc__arrow {
  flex-shrink: 0;
  color: rgba(72,192,191,0.6);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), color 0.2s ease;
}
.faq-acc--open .faq-acc__arrow {
  transform: rotate(180deg);
  color: #48c0bf;
}
.faq-acc__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22,1,0.36,1);
}
.faq-acc__body p {
  padding: 0 0 22px;
  margin: 0;
  font-family: var(--font-body, 'General Sans', system-ui);
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(227,225,226,0.62);
}

/* ── HERO-SUB bottom fade — blends into first content section ────── */
.hero--sub {
  position: relative;
}
.hero--sub::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom,
    rgba(3, 14, 18, 0)    0%,
    rgba(3, 14, 18, 0.65) 55%,
    rgba(3, 14, 18, 1.00) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* ── FOOTER ────────────────────────────────────────────────────────── */
.footer {
  background: linear-gradient(170deg,
    #051a24 0%,
    #041318 30%,
    #030e12 60%,
    #020a0d 100%
  ) !important;
  border-top: 1px solid rgba(72, 192, 191, 0.10) !important;
}
.footer__bottom {
  border-top-color: rgba(72, 192, 191, 0.10) !important;
}
.footer__credentials {
  border-top-color: rgba(72, 192, 191, 0.10) !important;
}

/* ── CTA block inside numbers-section ───────────────────────────── */
.numbers-cta {
  text-align: center;
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(72,192,191,0.12);
}
.numbers-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}
.numbers-cta p {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ══════════════════════════════════════════════════════════════════
   GRADIENT LINES — replaces all flat solid lines with fading gradients
   Teal: transparent → #48c0bf → transparent
   Coral: transparent → #e86b68 → transparent
   ══════════════════════════════════════════════════════════════════ */

/* ── Section heading underlines (actual selector is h2::after) ───── */
.section__header h2::after {
  background: linear-gradient(90deg, transparent 0%, #48c0bf 50%, transparent 100%) !important;
}
/* Coral gradient for section--gradient headings */
.section--gradient .section__header h2::after {
  background: linear-gradient(90deg, transparent 0%, #e86b68 50%, transparent 100%) !important;
}

/* ── Nav link underlines — gradient via ::after pseudo-element ──── */
.nav__link {
  position: relative !important;
  border-bottom: none !important;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #48c0bf 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: 2px;
}
.nav__link:hover::after {
  opacity: 1;
}
.nav__link--active::after {
  opacity: 1;
  background: linear-gradient(90deg, transparent 0%, #48c0bf 50%, transparent 100%);
}

/* ── Section border dividers — gradient via ::before ───────────── */
/* Replaces flat rgba border-top/bottom on sections */
.section--pale,
.section--light,
.section--dark,
.section--gradient,
.fr-section,
.numbers-section {
  border-top: none !important;
  border-bottom: none !important;
  position: relative;
}
.section--pale::after,
.section--light::after,
.section--dark::after,
.section--gradient::after,
.fr-section::after,
.numbers-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(72,192,191,0.35) 50%, transparent 100%);
  pointer-events: none;
}

/* ── Footer top border ──────────────────────────────────────────── */
.footer {
  border-top: none !important;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(72,192,191,0.35) 50%, transparent 100%);
  pointer-events: none;
}
.footer__bottom,
.footer__credentials {
  border-top-color: transparent !important;
}

/* ── Coral gradient lines ────────────────────────────────────────── */
/* Nav CTA button — coral gradient underline (matches sample) */
.nav__cta {
  position: relative !important;
}
.nav__cta::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #48c0bf 50%, transparent 100%);
  opacity: 0.7;
  border-radius: 2px;
  pointer-events: none;
}

/* CTA / contact section — coral gradient top border */
.section--gradient {
  position: relative;
}
.section--gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232,107,104,0.45) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* data-highlight left accent — coral gradient via ::after overlay */
.data-highlight {
  border-left-color: transparent !important;
}
.data-highlight::after {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent 0%, #48c0bf 50%, transparent 100%);
  border-radius: 2px;
  pointer-events: none;
}

/* Team section — top fade transition matching fr-section style */
.team-section {
  position: relative;
  overflow: hidden;
}
.team-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom,
    rgba(3, 14, 18, 0.82) 0%,
    rgba(3, 14, 18, 0.40) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Book a Demo — 3 briefing steps in a horizontal row */
.briefing-steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 40px 0 48px;
  text-align: center;
}
.briefing-steps-row .briefing-step {
  text-align: center !important;
}
.briefing-steps-row .briefing-step__num {
  margin: 0 auto 14px !important;
}
@media (max-width: 700px) {
  .briefing-steps-row {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════
   MOBILE RESPONSIVE FIXES
   Targets phones < 768px and small phones < 480px
══════════════════════════════════════════ */

/* ── 0. Hide nav CTA (Book a Demo / Let's Talk) on mobile ── */
@media (max-width: 768px) {
  .nav__cta {
    display: none !important;
  }
}

/* ── 1. Hero section — tighten spacing on mobile ── */
@media (max-width: 768px) {
  .hero {
    padding-top: 80px !important;
    padding-bottom: 2rem !important;
    min-height: auto !important;
  }
  .hero__content {
    padding-top: 0 !important;
  }
  .hero__eyebrow {
    font-size: 0.65rem !important;
    padding: 0.4rem 1rem !important;
    letter-spacing: 0.08em !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero__headline {
    font-size: clamp(1.5rem, 7vw, 2.2rem) !important;
    line-height: 1.2 !important;
    margin-top: 0.75rem !important;
  }
  .hero__sub {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    margin-top: 0.75rem !important;
    padding: 0 0.5rem !important;
  }
  .hero__ctas {
    margin-top: 1.25rem !important;
  }
  .hero__ctas .btn {
    font-size: 0.85rem !important;
    padding: 0.5rem 1.25rem !important;
    min-height: 38px !important;
    width: auto !important;
    max-width: 200px !important;
  }
  .hero__glow-arc {
    width: 100vw !important;
    height: 400px !important;
    bottom: -150px !important;
    box-shadow:
      0 0 40px 12px rgba(72,192,191,0.15),
      0 0 100px 40px rgba(72,192,191,0.06) !important;
  }
}

@media (max-width: 480px) {
  .hero__headline {
    font-size: clamp(1.35rem, 6.5vw, 1.8rem) !important;
  }
  .hero__eyebrow {
    font-size: 0.58rem !important;
    padding: 0.35rem 0.8rem !important;
  }
}

/* ── 2. Deal Pipeline Table — mobile-friendly ── */
@media (max-width: 768px) {
  .dp-body {
    padding: 16px 12px 12px;
  }
  .dp-head h3 {
    font-size: 18px;
  }
  .dp-head p {
    font-size: 12px;
  }
  .dp-filterbar {
    padding: 10px 12px;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }
  .dp-filterbar__left {
    gap: 8px;
  }
  .dp-select {
    font-size: 12px;
    padding: 6px 28px 6px 10px;
  }
  .dp-count {
    font-size: 12px;
    text-align: center;
  }
  /* Hide Sector + Date Added columns */
  .dp-table th:nth-child(3),
  .dp-table td:nth-child(3),
  .dp-table th:nth-child(6),
  .dp-table td:nth-child(6) {
    display: none;
  }
  .dp-table th {
    font-size: 10px;
    padding: 8px 8px;
    white-space: normal;
  }
  .dp-table td {
    font-size: 11px;
    padding: 8px 8px;
  }
  .dp-company-name {
    font-size: 11px;
  }
  .dp-badge-new {
    font-size: 8px;
    padding: 1px 5px;
  }
  .dp-score {
    font-size: 12px;
  }
  .dp-status-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  .dp-action-btn {
    padding: 4px 6px;
  }
  .dp-action-btn svg {
    width: 12px;
    height: 12px;
  }
  /* Expanded row tiles */
  .dp-expanded td {
    padding: 10px 12px 14px !important;
  }
  .dp-expanded-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  /* Pagination */
  .dp-pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 12px 0 4px;
  }
  .dp-page-btn {
    padding: 6px 12px;
    font-size: 11px;
  }
  .dp-page-text {
    font-size: 11px;
  }
}

/* Even smaller phones — hide more columns */
@media (max-width: 480px) {
  /* Also hide expand button + actions columns */
  .dp-table th:nth-child(1),
  .dp-table td:nth-child(1),
  .dp-table th:nth-child(8),
  .dp-table td:nth-child(8) {
    display: none;
  }
  .dp-table th {
    font-size: 9px;
    padding: 6px 6px;
  }
  .dp-table td {
    font-size: 10px;
    padding: 6px 6px;
  }
  .dp-row {
    border-left-width: 2px;
  }
}

/* ── 3. Signal Grid — single column on small phones ── */
@media (max-width: 500px) {
  .sg-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ── 4. GHL Form Iframes — adaptive height on mobile ── */
@media (max-width: 768px) {
  .contact-layout__right iframe {
    min-height: 500px !important;
  }
  /* Standalone form iframes (scorecard, thesis, deals-framework) */
  .form-embed-wrap iframe,
  .scorecard__lead-form iframe,
  section iframe[src*="leadconnectorhq"] {
    max-height: 80vh;
  }
}

/* ── 5. Hero product / pipeline demo — constrain on mobile ── */
@media (max-width: 768px) {
  .dp-glow-ring {
    margin: 0 -8px;
    border-radius: 10px 10px 0 0;
  }
  .dp-glow-ring .hero__product {
    border-radius: 8px 8px 0 0;
  }
  .hero__product {
    max-width: 100% !important;
    overflow-x: hidden;
  }
}

/* ── 6. Page skeleton — mobile adjustments ── */
@media (max-width: 768px) {
  .psk-nav-links {
    display: none;
  }
  .psk-hero {
    padding: 40px 16px 24px;
  }
  .psk-h1 {
    height: 28px;
  }
}

/* ── 7. Score card & donut widgets — mobile ── */
@media (max-width: 500px) {
  .sc-widget {
    padding: 16px 14px;
  }
  .sc-gauge-wrap {
    width: 120px;
    height: 120px;
  }
  .sc-score-big {
    font-size: 32px;
  }
  .dw-body {
    flex-direction: column;
    gap: 16px;
  }
  .dw-widget {
    padding: 16px 14px;
  }
}

/* ── 8. Logo bar — smaller gap on mobile ── */
@media (max-width: 768px) {
  .logo-bar__track {
    gap: 32px;
  }
  .logo-bar__track img {
    height: 24px !important;
  }
}

/* ── 9. Data highlights / big numbers in articles ── */
@media (max-width: 768px) {
  .data-highlight {
    padding: 1.25rem 1rem;
  }
  .big-number {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

/* ── 10. Sources section — mobile spacing ── */
@media (max-width: 768px) {
  section[style*="padding:2.5rem"] {
    padding: 1.5rem 0 1.25rem !important;
  }
}

/* ── 11. Nav logo — smaller on very small phones ── */
@media (max-width: 380px) {
  .nav__logo img {
    height: 36px !important;
  }
}

/* ── 12. Article content — readable on mobile ── */
@media (max-width: 768px) {
  .article__content {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .article__content ul {
    padding-left: 1rem;
  }
}

/* ── 13. Team cards — stack on mobile ── */
@media (max-width: 600px) {
  .team-cards {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* ── 14. Prevent horizontal overflow on mobile only ── */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
}

/* ── 15. Touch-friendly tap targets ── */
@media (max-width: 768px) {
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  .faq-acc__btn {
    min-height: 48px;
    padding: 1rem 1rem;
  }
}

/* ── 16. CTA buttons — stack on mobile ── */
@media (max-width: 768px) {
  .hero__ctas {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem !important;
  }
  .hero__ctas .btn {
    text-align: center;
    justify-content: center;
  }
}

/* ── 17. Scorecard-specific — mobile layout ── */
@media (max-width: 600px) {
  .scorecard__dimensions--five {
    max-width: 100%;
  }
  .scorecard__benchmarks {
    grid-template-columns: 1fr !important;
  }
  .scorecard__cta-dual {
    flex-direction: column !important;
    align-items: center !important;
  }
}

/* ── 18. Thesis builder form — mobile ── */
@media (max-width: 640px) {
  .thesis-builder__field {
    flex-direction: column !important;
  }
  .thesis-builder__geo-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ── 19. Contact section — briefing steps mobile ── */
@media (max-width: 768px) {
  .briefing-step {
    padding: 1.25rem !important;
  }
  .briefing-step h3 {
    font-size: 1rem !important;
  }
  .briefing-step p {
    font-size: 0.88rem !important;
  }
}
