/*
  =============================================================
  home.css — Homepage specific styles
  =============================================================
  Loaded after style.css. Only styles unique to index.html
  live here. Global tokens (colors, fonts, layout) come from
  style.css and are used via var(--token-name) throughout.

  TABLE OF CONTENTS
  ─────────────────────────────────────────────────────────────
  1.  Shared utilities     .eyebrow, .section-headline, .pill,
                           .btn, .img-placeholder, .cat-tag,
                           .fade-up scroll animation
  2.  Navigation           .nav, .nav__toggle, mobile drawer
  3.  Hero                 .hero, phone mockup, day/night app UI
  4.  Pain Points          .pain-points, .pain-grid, .pain-card
  5.  What It Is           .what-it-is, .tablet-wrap, .stat-box
  6.  Features             .features, tabs, panels, sim-screen,
                           badge color variants
  7.  How It Works         .how-it-works, .steps-row, .step-card
  8.  About Teaser         .about-teaser, overlapping photos
  9.  Testimonials         placeholder
  10. Final CTA            .cta-final, dark section
  11. Footer               .footer, 3 columns
  12. Responsive           tablet 1023px, mobile 767px
  =============================================================
*/


/* =============================================================
   1. SHARED UTILITIES
   ============================================================= */

/* Section eyebrow — small uppercase label above headlines */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* Eyebrow variant for dark backgrounds */
.eyebrow--light {
  color: var(--color-primary);
}

/* Centered section headline helper */
.section-headline {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-headline--centered {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 16px;
}

.features__eyebrow {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
}

/* Centered subtext below headline */
.section-sub {
  text-align: center;
  font-size: 16px;
  color: var(--color-body-text);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 56px;
}

/* Pill tag — small inline label */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pill--orange {
  background: rgba(194, 65, 12, 0.15);
  color: var(--color-primary);
  border: 1.5px solid rgba(194, 65, 12, 0.4);
}

/* Category tag inside feature panels */
.cat-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  margin-bottom: 12px;
}

/*
  Buttons
  ─────────────────────────────────────────────────────────────
  .btn           Base — padding, border-radius, font, transition
  .btn--primary  Burnt orange fill
  .btn--ghost    Transparent with near-black border
  .btn--outline-white  Transparent with white border (dark bg)
  .btn--lg       Larger size for CTA section
*/
/* Button styles live in global.css */

/*
  Image placeholders
  ─────────────────────────────────────────────────────────────
  Shown when a real image file doesn't exist yet.
  Replaced automatically when the image file is added —
  no code changes needed (onerror handles the swap).
*/
.img-placeholder {
  background: #e4e4e7;
  display: flex;           /* toggled to flex by onerror handler */
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-style: italic;
  color: var(--color-body-text);
  width: 100%;
  height: 100%;
  min-height: 200px;
}

/*
  Scroll fade-up animation
  ─────────────────────────────────────────────────────────────
  Initial state: invisible and shifted down.
  .is-visible class added by Intersection Observer in home.js.
  Duration and easing match the spec (0.6s ease-out).
*/
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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


/* =============================================================
   2. NAVIGATION
   ============================================================= */

/* Nav styles live in global.css */


/* =============================================================
   3. HERO SECTION
   ============================================================= */

.hero {
  background: linear-gradient(180deg, #fdf8f3 0%, #f5ede0 100%);
  padding-top: 88px;
  padding-bottom: 0;
  text-align: center;
  overflow: hidden; /* clips phones at the hero's bottom edge */
}

/* ── Hero entrance animations ── */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes phone-enter-center {
  from { opacity: 0; transform: translateY(105px); }
  to   { opacity: 1; transform: translateY(65px);  }
}
@keyframes phone-enter-inner {
  from { opacity: 0; transform: translateY(56px); }
  to   { opacity: 1; transform: translateY(16px); }
}
@keyframes phone-enter-far {
  from { opacity: 0; transform: translateY(72px); }
  to   { opacity: 1; transform: translateY(32px); }
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0);     }
  50%       { transform: translateY(-12px); }
}

/* ── Centered copy block ── */
.hero__content {
  max-width: 680px;
  margin-inline: auto;
}

.hero__headline {
  font-size: 60px;
  font-weight: 800;
  color: var(--color-black);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-top: 0;
  margin-bottom: 20px;
  animation: hero-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.hero__headline em {
  font-style: italic;
  color: var(--color-primary);
}

.hero__sub {
  font-size: 18px;
  color: var(--color-body-text);
  line-height: 1.75;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 36px;
  animation: hero-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
  animation: hero-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}

.hero__trust {
  font-size: 13px;
  color: var(--color-body-text);
  opacity: 0.75;
  animation: hero-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.52s both;
}

/* ── Phone fan ── */
.hero__phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: -20px;
  margin-bottom: -120px;
  position: relative;
}


.hero__phone {
  display: block;
  width: 270px;
  flex-shrink: 0;
  transform-origin: bottom center;
  position: relative;
}

.hero__phone--far-left  { margin-right: -40px; z-index: 1; animation: phone-enter-far   1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.9s  both; }
.hero__phone--left      { margin-right: -40px; z-index: 2; animation: phone-enter-inner 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both; }
.hero__phone--center    { z-index: 5; width: 310px;         animation: phone-enter-center 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s  both; }
.hero__phone--right     { margin-left:  -40px; z-index: 2; animation: phone-enter-inner 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both; }
.hero__phone--far-right { margin-left:  -40px; z-index: 1; animation: phone-enter-far   1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.9s  both; }


/* =============================================================
   4. PAIN POINTS SECTION
   ============================================================= */

.pain-points {
  background: var(--color-surface);
}

.pain-points .eyebrow,
.pain-points .section-headline {
  text-align: center;
}

.pain-points .eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Full-width tile grid — no container, edge to edge */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
}

.pain-tile {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pain-tile--1 { background: #1c1917; }
.pain-tile--2 { background: #c2410c; }
.pain-tile--3 { background: #292524; }
.pain-tile--4 { background: #7c2d12; }
.pain-tile--5 { background: #44403c; }
.pain-tile--6 { background: #1e293b; }

.pain-tile__icon {
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  flex-shrink: 0;
}

.pain-tile h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin: 0;
}

.pain-tile p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin: 0;
}


/* =============================================================
   5. WHAT IT IS SECTION
   ============================================================= */

.what-it-is__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tablet-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-img {
  width: 100%;
  max-width: 560px;
  display: block;
  border-radius: 16px;
}

.tablet__screen .img-placeholder {
  border-radius: 10px;
}

/* Right column content */
.what-it-is__content .eyebrow {
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  font-weight: 700;
}

.what-it-is__content h2 {
  margin-bottom: 20px;
}

.what-it-is__content p {
  margin-bottom: 32px;
  color: var(--color-body-text);
}

/* Stat cards row */
.stats-row {
  display: flex;
  gap: 16px;
}

.stats-row--four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-bottom: 16px;
}

.stat-box {
  background: #fff;
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1.5px solid #9ca3af;
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.09);
}

.stat-number {
  font-size: 44px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-body-text);
  line-height: 1.4;
}


/* =============================================================
   6. FEATURES SECTION
   ============================================================= */

.features {
  background: #f5ede0;
}

/* Dark card wrapping the whole interactive block */
.features__box {
  background: #0f0e0d;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: row;
  min-height: 460px;
}

/* Full-height image column on the left */
.features__img-col {
  width: 300px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.features__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: block;
}

.features__img.active {
  opacity: 1;
}

/* Right side: stacks top-bar + panels vertically */
.features__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Top bar: full-width segmented tabs */
.features__top-bar {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.features__tabs {
  display: flex;
  flex: 1;
}

.features__see-all {
  display: flex;
  align-items: center;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  border-left: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.features__see-all:hover {
  color: var(--color-primary);
}

/* Tab buttons — full width segments */
.tab-btn {
  flex: 1;
  padding: 18px 16px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.tab-btn:last-child {
  border-right: none;
}

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

.tab-btn.active {
  background: rgba(194,65,12,0.15);
  color: #fb923c;
  border-bottom: 2px solid var(--color-primary);
}

/* Panels container */
.features__panels {
  flex: 1;
  position: relative;
}

/* Feature panel */
.feature-panel {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  height: 100%;
}

.feature-panel.active {
  display: flex;
}

.feature-panel.is-animated {
  opacity: 1;
  transform: translateY(0);
}

/* Content fills the right panel */
.feature-panel__content {
  padding: 36px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-panel__content h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.feature-panel__content p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* Override cat-tag for dark background */
.features__box .cat-tag {
  background: rgba(194,65,12,0.2);
  color: #fb923c;
  border: 1px solid rgba(194,65,12,0.3);
  margin-bottom: 14px;
}

/* Sim screen — dark app UI */
.sim-screen {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 16px;
  margin-top: auto;
  border: 1px solid rgba(255,255,255,0.08);
}

.sim-header {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 6px;
}

.sim-row:last-child {
  margin-bottom: 0;
}

.sim-label {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.sim-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  margin-left: 8px;
}

/* Badge color variants */
.badge--orange { background: #c2410c; color: #fff; }
.badge--green  { background: #16a34a; color: #fff; }
.badge--red    { background: #dc2626; color: #fff; }
.badge--blue   { background: #1e40af; color: #fff; }
.badge--yellow { background: #a16207; color: #fff; }
.badge--purple { background: #7c3aed; color: #fff; }
.badge--gray   { background: #44403c; color: #fff; }


/* =============================================================
   7. HOW IT WORKS SECTION
   ============================================================= */

.how-it-works {
  background: #0f0e0d;
}

.hiw-eyebrow {
  text-align: center;
  color: var(--color-primary) !important;
}

.how-it-works .section-headline--centered {
  color: #fff;
  margin-bottom: 64px;
}

.steps-row {
  display: flex;
  gap: 0;
}

.step-card {
  flex: 1;
  padding: 0 40px 48px 0;
  display: flex;
  flex-direction: column;
}

.step-card:first-child {
  padding-left: 0;
}

/* Number circle + connecting line */
.step-node {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}

.step-node__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(194,65,12,0.45);
  letter-spacing: 0.02em;
}

.step-node__line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, rgba(194,65,12,0.5), rgba(194,65,12,0.08));
  margin-left: 16px;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.step-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin: 0;
}


/* =============================================================
   8. ABOUT US TEASER SECTION
   ============================================================= */

/* ── OPTION A: full-width image, copy centered on top ── */
.about-teaser--option-a {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-teaser__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-teaser__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,8,6,0.45) 0%, rgba(10,8,6,0.65) 50%, rgba(10,8,6,0.88) 100%);
}

.about-teaser__centered {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  padding: 0 24px;
}

.about-teaser__eyebrow {
  color: var(--color-primary) !important;
  font-size: 16px !important;
  letter-spacing: 0.06em;
}

.about-teaser__headline {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--color-black);
  line-height: 1.15;
  margin-bottom: 18px;
}

.about-teaser__body {
  font-size: 17px;
  color: var(--color-body-text);
  line-height: 1.7;
  margin-bottom: 28px;
}

.about-link--light {
  color: var(--color-black);
  border-bottom-color: var(--color-primary);
  font-size: 17px;
}

.about-link--light:hover {
  color: var(--color-primary);
}

/* ── OPTION B: image left, dark panel + copy right ── */
.about-teaser--option-b {
  position: relative;
  width: 100%;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.about-teaser__overlay--side {
  background: linear-gradient(
    to right,
    rgba(10,8,6,0.6) 0%,
    rgba(245,237,224,0.65) 42%,
    rgba(245,237,224,0.97) 58%,
    rgba(245,237,224,1.0) 100%
  );
}

.about-teaser__side-content {
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: 46%;
  padding: 24px 48px 24px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-teaser {
  background: var(--color-surface);
}

.about-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Two side-by-side founder photos with subtle vertical offset */
.about-photos {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-photo {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.about-photo:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.18);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.35s ease;
  filter: grayscale(20%) contrast(1.05);
}

.about-photo:hover img {
  transform: scale(1.04);
  filter: grayscale(0%) contrast(1.08) brightness(1.03);
}

.about-photo .img-placeholder {
  min-height: unset;
  aspect-ratio: 3 / 4;
  border-radius: 0;
}

/* Second photo drops down slightly for visual rhythm */
.about-photo--offset {
  margin-top: 40px;
}

/* Subtle orange tint overlay on hover */
.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(194, 65, 12, 0.12);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.about-photo:hover::after {
  opacity: 1;
}

/* Name badge at bottom of each photo */
.about-photo__name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: padding-bottom 0.35s ease;
  z-index: 2;
}

.about-photo:hover .about-photo__name {
  padding-bottom: 20px;
}

/* Right column content */
.about-teaser__content .eyebrow {
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}

.about-teaser__content h2 {
  margin-bottom: 20px;
}

.about-teaser__content p {
  color: var(--color-body-text);
  margin-bottom: 28px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  transition: text-decoration 0.2s;
}

.about-link:hover {
  text-decoration: underline;
}


/* =============================================================
   9. TESTIMONIALS PLACEHOLDER
   ============================================================= */

/* =============================================================
   9. TESTIMONIALS + WHO WE WORK WITH
   ============================================================= */

.testimonials {
  background: #fdf8f3;
  padding-top: 80px;
  padding-bottom: 80px;
}

.testimonials__eyebrow {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--color-primary);
}

.testimonials__headline {
  color: var(--color-black);
}

/* Logo strip */
.sp__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

.sp__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sp__logo:hover {
  border-color: rgba(194,65,12,0.35);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.sp__logo-icon {
  width: 28px;
  height: 28px;
  color: var(--color-black);
  flex-shrink: 0;
}

.sp__logo-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Section divider with label */
.sp__divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 56px 0 48px;
  color: rgba(0,0,0,0.3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sp__divider::before,
.sp__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* Slider wrapper */
.sp__slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 0;
}

/* Viewport clips the overflowing cards */
.sp__slider-viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

/* Row of all 5 cards side by side */
.sp__cards-row {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Each card takes exactly 1/3 of the viewport */
.sp__card {
  flex: 0 0 calc((100% - 40px) / 3);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 24px 24px 20px;
}

/* Arrow buttons */
.sp__slider-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.sp__slider-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.sp__slider-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.sp__slider-btn svg {
  width: 18px;
  height: 18px;
}

.sp__qmark {
  width: 28px;
  height: auto;
  color: var(--color-primary);
  opacity: 0.55;
  flex-shrink: 0;
}

.sp__quote {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-body-text);
  margin: 0;
  flex: 1;
}

.sp__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.sp__author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-black);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp__author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-black);
  margin: 0 0 2px;
}

.sp__author-title {
  font-size: 11px;
  color: rgba(0,0,0,0.45);
  margin: 0;
}

/* Dot indicators */
.sp__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.sp__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sp__dot.sp__dot--active {
  background: var(--color-primary);
  transform: scale(1.3);
}


/* =============================================================
   10. FINAL CTA SECTION
   ============================================================= */

.cta-final {
  background: var(--color-black);
}

.section-divider {
  height: 4px;
  background: linear-gradient(to right, transparent, var(--color-primary), transparent);
}

.cta-final__inner {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.cta-final__headline {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.cta-final__body {
  font-size: 16px;
  color: #9a9183;
  line-height: 1.75;
  margin-bottom: 36px;
}

.cta-final__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-final__note {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}


/* =============================================================
   11. FOOTER
   ============================================================= */

/* Footer styles live in global.css */


/* =============================================================
   11b. RESPONSIVE — SMALL LAPTOP (max-width: 1280px)
   ============================================================= */
@media (max-width: 1280px) {

  .hero--c__inner {
    gap: 32px;
    padding-inline: 32px;
  }

  .hero__mockup-img {
    max-width: 400px;
  }

  .hero__mockup-glow {
    width: 500px;
    height: 500px;
  }

}


/* =============================================================
   12. RESPONSIVE — TABLET (max-width: 1023px)
   ============================================================= */
@media (max-width: 1023px) {

  /* Hero */
  .hero {
    padding-top: 64px;
  }

  .hero__headline {
    font-size: 44px;
  }

  .hero__sub {
    font-size: 16px;
    max-width: 520px;
  }

  /* Hide far phones at tablet, keep 3 */
  .hero__phone--far-left,
  .hero__phone--far-right { display: none; }

  .hero__phones {
    margin-bottom: -80px;
  }

  .hero__phone         { width: 200px; }
  .hero__phone--center { width: 230px; }

  /* Pain grid: 2 columns at tablet */
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pain-tile {
    padding: 40px 32px;
  }

  /* What It Is: stack at tablet */
  .what-it-is__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Stats: 2×2 grid at tablet */
  .stats-row--four {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Features — hide image column, expand content */
  .features__img-col {
    display: none;
  }

  .features__box {
    min-height: 380px;
  }

  .feature-panel__content {
    padding: 28px 32px;
  }

  /* How It Works */
  .step-card {
    padding: 0 24px 40px 0;
  }

  /* About teaser B: widen content panel */
  .about-teaser__side-content {
    width: 58%;
    padding: 40px 40px 40px 32px;
  }

  /* CTA */
  .cta-final__headline {
    font-size: 40px;
  }

  /* Footer responsive styles live in global.css */

}


/* =============================================================
   13. RESPONSIVE — MOBILE (max-width: 767px)
   ============================================================= */
@media (max-width: 767px) {

  /* Nav/footer mobile styles live in global.css */

  /* Shared section text */
  .section-headline {
    font-size: 26px;
  }

  .section-sub {
    font-size: 15px;
    margin-bottom: 36px;
  }

  /* --- Hero mobile --- */
  .hero {
    padding-top: 48px;
  }

  .hero__headline {
    font-size: 30px;
    letter-spacing: -0.02em;
  }

  .hero__sub {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero__trust {
    font-size: 12px;
  }

  /* Mobile: show only the center phone */
  .hero__phone--far-left,
  .hero__phone--far-right,
  .hero__phone--left,
  .hero__phone--right { display: none; }

  .hero__phone--center {
    width: 220px;
  }

  .hero__phones {
    margin-bottom: -40px;
  }

  /* --- Pain grid: 1 column on mobile --- */
  .pain-grid {
    grid-template-columns: 1fr;
  }

  .pain-tile {
    padding: 32px 24px;
  }

  .pain-tile h3 {
    font-size: 18px;
  }

  /* --- What It Is --- */
  .stat-number {
    font-size: 36px;
  }

  .stat-box {
    padding: 20px;
  }

  /* Stats: 2 columns on mobile */
  .stats-row--four {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
  }

  /* --- Features: mobile --- */
  .features__box {
    flex-direction: column;
    min-height: unset;
    border-radius: 14px;
  }

  .features__img-col {
    display: none;
  }

  .features__top-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    border-bottom: none;
  }

  .features__tabs {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .features__tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    padding: 14px 16px;
    font-size: 13px;
    flex-shrink: 0;
    flex: unset;
    border-right: 1px solid rgba(255,255,255,0.08);
  }

  .features__see-all {
    padding: 12px 16px;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
  }

  .feature-panel__content {
    padding: 24px 20px;
  }

  .feature-panel__content h3 {
    font-size: 18px;
  }

  /* --- How It Works: stack cards --- */
  .steps-row {
    flex-direction: column;
    gap: 0;
  }

  .step-card {
    padding: 0 0 36px 0;
  }

  .step-node__line {
    display: none;
  }

  .step-card h3 {
    font-size: 18px;
  }

  /* --- About teaser B: stack vertically --- */
  .about-teaser--option-b {
    flex-direction: column;
    min-height: unset;
  }

  .about-teaser--option-b .about-teaser__img {
    position: relative;
    height: 260px;
    width: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .about-teaser__overlay--side {
    display: none;
  }

  .about-teaser__side-content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-left: 0;
    padding: 40px 24px;
    background: var(--color-surface);
  }

  .about-teaser__headline {
    font-size: 24px;
  }

  .about-teaser__body {
    font-size: 15px;
  }

  /* --- Testimonials: vertical stack on mobile --- */
  .sp__logos {
    gap: 8px;
    margin-top: 32px;
  }

  .sp__logo {
    padding: 10px 14px;
  }

  .sp__logo-name {
    font-size: 12px;
  }

  .sp__divider {
    margin: 36px 0 28px;
  }

  /* Switch to vertical stacked cards — hide slider controls */
  .sp__slider-btn,
  .sp__dots {
    display: none;
  }

  .sp__slider-viewport {
    overflow: visible;
  }

  .sp__cards-row {
    flex-direction: column;
    transform: none !important;
  }

  .sp__card {
    flex: none;
    width: 100%;
  }

  /* --- CTA final --- */
  .cta-final__headline {
    font-size: 28px;
  }

  .cta-final__body {
    font-size: 15px;
  }

  .cta-final__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn--lg {
    width: 100%;
    max-width: 320px;
  }

  /* Footer mobile styles live in global.css */

}
