:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #101217;
  background: #f4f7f6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #f4f7f6 0%, #ffffff 44%, #eef3f1 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

main {
  overflow: hidden;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(244, 247, 246, 0.86);
  border-bottom: 1px solid rgba(16, 18, 23, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  font-weight: 900;
}

.nav nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #41454f;
  font-size: 14px;
}

.nav-cta,
.primary-button,
.secondary-button,
.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
}

.nav-cta {
  justify-self: end;
  padding: 10px 16px;
  color: #ffffff;
  background: #101217;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(64px, 11vh, 132px) clamp(20px, 5vw, 72px);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: #ff4f38;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow),
.section-intro p,
.contact p {
  max-width: 720px;
  color: #4d5260;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin-top: 28px;
}

.service-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(16, 18, 23, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #303541;
  font-size: 13px;
  font-weight: 900;
}

.primary-button,
.secondary-button {
  min-height: 52px;
  padding: 0 22px;
}

.primary-button {
  color: #ffffff;
  background: #101217;
}

.secondary-button {
  border: 1px solid rgba(16, 18, 23, 0.16);
  color: #101217;
  background: rgba(255, 255, 255, 0.55);
}

.hero-proof {
  display: grid;
  gap: 12px;
}

.hero-proof div {
  padding: 24px;
  border: 1px solid rgba(16, 18, 23, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(22, 26, 34, 0.08);
}

.hero-proof strong {
  display: block;
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 8px;
  color: #5d6270;
  font-weight: 700;
}

.section-intro,
.contact {
  padding: 90px clamp(20px, 5vw, 72px) 42px;
}

.section-intro h2,
.contact h2 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.case-stack {
  display: grid;
  gap: 22px;
  padding: 0 clamp(20px, 5vw, 72px) 110px;
}

.case-stack.first-stack {
  padding-top: 34px;
}

.case-card {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(16, 18, 23, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(22, 26, 34, 0.08);
}

.case-card.featured {
  color: #ffffff;
  background: #14171f;
}

.case-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.case-header h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
}

.case-number {
  color: rgba(16, 18, 23, 0.3);
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 900;
  line-height: 0.8;
}

.featured .case-number {
  color: rgba(255, 255, 255, 0.18);
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
}

blockquote {
  margin: 0 0 22px;
  font-size: clamp(25px, 3.4vw, 46px);
  font-weight: 900;
  line-height: 1.05;
}

.case-story p {
  color: #4d5260;
  font-size: 17px;
  line-height: 1.65;
}

.featured .case-story p {
  color: rgba(255, 255, 255, 0.76);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.result-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(16, 18, 23, 0.1);
  border-radius: 8px;
  background: #ffffff;
  color: #101217;
  font-weight: 800;
}

.featured .result-pill {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.revenue-proof-card {
  margin-top: 24px;
  border-color: rgba(255, 255, 255, 0.14);
  background: #ffffff;
}

.revenue-proof-pair {
  display: grid;
  gap: 1px;
  background: rgba(16, 18, 23, 0.12);
}

.revenue-proof-pair div {
  position: relative;
  min-width: 0;
  background: #ffffff;
}

.revenue-proof-pair span {
  position: absolute;
  left: 50%;
  top: 10px;
  z-index: 1;
  transform: translateX(-50%);
  padding: 6px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: #101217;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.revenue-proof-card img {
  display: block;
  width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  background: #ffffff;
}

.revenue-proof-card figcaption {
  position: static;
  max-width: none;
  border-radius: 0;
  background: #20242d;
  text-align: center;
}

.proof-panel {
  min-width: 0;
}

.proof-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #101217;
}

.video-proof-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #101217;
}

figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.analytics-proof {
  grid-column: 1 / -1;
}

.analytics-proof img {
  aspect-ratio: 1.9;
  object-position: center;
}

figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(16, 18, 23, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.spike-circle {
  position: absolute;
  left: 20.5%;
  top: 57%;
  width: 8%;
  aspect-ratio: 1;
  border: 4px solid #ff4f38;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 79, 56, 0.18);
}

.spike-label {
  position: absolute;
  left: 16.5%;
  top: 46%;
  padding: 7px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: #ff4f38;
  font-size: 12px;
  font-weight: 900;
}

.video-proof-card span {
  display: block;
  padding: 10px;
  max-width: none;
  background: #20242d;
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.video-proof-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  background: #050608;
}

.community-proof-card {
  display: grid;
  place-items: center;
}

.community-proof-card img {
  width: 100%;
  height: auto;
  max-height: 420px;
  aspect-ratio: auto;
  object-fit: contain;
}

.proof-single {
  display: grid;
  gap: 12px;
}

.proof-single figure {
  min-width: 0;
  background: #11141b;
}

.proof-single img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #11141b;
}

.quote-proof {
  display: grid;
  min-height: 290px;
  place-items: center;
  padding: 28px;
  border: 1px dashed rgba(16, 18, 23, 0.24);
  border-radius: 8px;
  color: #4d5260;
  background: rgba(39, 95, 255, 0.04);
  text-align: center;
  font-weight: 800;
}

.tap-proof-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  color: #eaf8ea;
  background: #082413;
  box-shadow: inset 0 0 0 1px rgba(136, 255, 159, 0.14);
}

.tap-proof-card img {
  grid-column: 1 / -1;
  width: min(310px, 100%);
  filter: brightness(1.35) contrast(1.05);
}

.tap-proof-card p,
.tap-proof-card em {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(234, 248, 234, 0.72);
}

.tap-proof-card div {
  padding-top: 10px;
  border-top: 1px solid rgba(136, 255, 159, 0.16);
}

.tap-proof-card strong,
.tap-proof-card span {
  display: block;
}

.tap-proof-card strong {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}

.tap-proof-card span {
  margin-top: 7px;
  color: rgba(136, 255, 159, 0.74);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tap-proof-card em {
  padding-top: 14px;
  border-top: 1px solid rgba(136, 255, 159, 0.16);
  font-style: normal;
  font-weight: 800;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  border: 1px solid rgba(16, 18, 23, 0.12);
  border-radius: 8px;
  color: #101217;
  background: #ffffff;
  cursor: pointer;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.proof-carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: stretch;
}

.proof-slides {
  min-width: 0;
}

.proof-slide {
  display: none;
  height: 100%;
}

.proof-slide.active {
  display: block;
}

.tap-proof-card.active {
  display: grid;
}

.proof-slide img,
.proof-slide video,
.proof-single video {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: #11141b;
}

.proof-slide video,
.proof-single video {
  aspect-ratio: 16 / 9;
}

.social-proof-link {
  min-height: 320px;
  place-content: center;
  padding: 28px;
  border: 1px solid rgba(16, 18, 23, 0.1);
  border-radius: 8px;
  background: #11141b;
  color: #ffffff;
  text-align: center;
}

.social-proof-link.active {
  display: grid;
}

.social-proof-link strong,
.social-proof-link span {
  display: block;
}

.social-proof-link strong {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.05;
}

.social-proof-link span {
  width: fit-content;
  margin: 18px auto 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: #275fff;
  font-weight: 900;
}

.proof-placeholder-slide {
  min-height: 320px;
  place-content: center;
  padding: 28px;
  border: 1px dashed rgba(16, 18, 23, 0.24);
  border-radius: 8px;
  background: rgba(39, 95, 255, 0.04);
  color: #4d5260;
  text-align: center;
}

.proof-placeholder-slide.active {
  display: grid;
}

.proof-placeholder-slide strong,
.proof-placeholder-slide span {
  display: block;
}

.proof-placeholder-slide strong {
  color: #101217;
  font-size: 20px;
}

.proof-placeholder-slide span {
  margin-top: 8px;
}

.proof-slide figcaption,
.proof-single figcaption {
  position: static;
  max-width: none;
  border-radius: 0;
  background: #20242d;
  text-align: center;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  color: #ffffff;
  background: #101217;
}

.contact p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.contact-actions a {
  min-width: 180px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav nav {
    display: none;
  }

  .hero,
  .case-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 14px 16px;
  }

  .brand {
    font-size: 15px;
  }

  .nav-cta {
    padding: 9px 12px;
  }

  .hero,
  .section-intro,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  .case-stack {
    padding-left: 16px;
    padding-right: 16px;
  }

  .result-grid,
  .proof-gallery,
  .proof-single,
  .tap-proof-card {
    grid-template-columns: 1fr;
  }

  .case-header {
    display: grid;
  }

  .case-number {
    order: -1;
  }

  .proof-carousel {
    grid-template-columns: 1fr 1fr;
  }

  .proof-slides {
    grid-column: 1 / -1;
  }

  .proof-carousel .prev-proof {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-height: 42px;
  }

  .proof-carousel .next-proof {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    min-height: 42px;
  }

  .proof-slide img,
  .proof-single img {
    max-height: none;
  }
}
