/* Solution: SaaS founders */

/* ---------- Hero ---------- */
.hero { padding: 60px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__extra { display: none; align-self: stretch; margin: 60px -20px 0; text-align: left; }
.hero__inner { display: flex; flex-direction: column; align-items: center; max-width: 960px; }
.hero .tag { margin-bottom: 20px; }
.hero__title { max-width: 920px; padding: 0 20px; }
.hero__title .ink { display: block; }
.hero__lead { max-width: 745px; margin-top: 16px; padding: 0 20px; }
.hero__cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__note { font-size: 14px; line-height: 19px; letter-spacing: -0.28px; font-weight: 400; color: var(--muted); }

/* ---------- Product shot ---------- */
.shot { border-top: 1px solid var(--line); overflow: hidden; }
.shot img { width: 100%; height: auto; aspect-ratio: 1400 / 747; object-fit: cover; }

/* ---------- Logo ticker ---------- */
.logos { display: flex; align-items: center; border-top: 1px solid var(--line); }
.logos__title {
  flex: none; width: 240px; padding: 48px; border-right: 1px solid var(--line);
  font-size: 16px; line-height: 21px; letter-spacing: -0.16px; font-weight: 400; color: var(--ink);
}
.logos__track {
  flex: 1; min-width: 0; overflow: hidden; padding: 48px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logos__marquee { display: flex; align-items: center; gap: 96px; will-change: transform; }
.logos__marquee img { flex: none; height: auto; }
.logos__photo { object-fit: cover; }

/* ---------- Mission (sticky statement) ---------- */
.mission { height: 1800px; border-top: 1px solid var(--line); }
.mission__sticky {
  position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); min-height: 560px; max-height: 900px;
  display: flex; align-items: center; justify-content: center; padding: 64px;
}
.mission__text {
  max-width: 600px; display: flex; flex-direction: column; gap: 38px;
  font-size: 32px; line-height: 38px; letter-spacing: -1px; font-weight: 500; color: var(--ink);
}
.mission__para { display: block; }
.mission.is-scrubbed .mission__text { color: color-mix(in srgb, var(--ink) calc(var(--p, 1) * 100%), #cfcfcf); }

/* ---------- Section headings ---------- */
.page > .title-wrapper { border-top: 1px solid var(--line); }
.title-wrapper__row .t-h2.sf-wide { max-width: 570px; }
.title-wrapper__row .t-lead.sf-wide { max-width: 640px; }

/* ---------- Comparison ---------- */
.compare { border-top: 1px solid var(--line); }
.compare__scroll { overflow-x: auto; border-top: 1px solid var(--line); scrollbar-width: none; }
.compare__scroll::-webkit-scrollbar { display: none; }
.compare__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare__table th, .compare__table td {
  height: 64px; padding: 20px 24px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
  font-size: 16px; line-height: 25px; letter-spacing: -0.16px; font-weight: 500; color: var(--ink); text-align: center; vertical-align: middle;
}
.compare__table tr > :first-child { text-align: left; }
.compare__table tr > :last-child { border-right: 0; }
.compare__table tbody tr:last-child > * { border-bottom: 0; }
.compare__table thead th:first-child { color: var(--muted); }
.compare__table td img { margin: 0 auto; }
.compare__table td.is-ours { background: #fdfdfd; }
.compare__brand { position: relative; overflow: hidden; }
.compare__brand-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__brand-name { position: relative; display: inline-flex; align-items: center; gap: 4px; font-size: 16px; line-height: 20px; font-weight: 600; letter-spacing: -0.4px; }
.compare__brand-name img { width: 20px; height: 20px; }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.feature-card { display: flex; flex-direction: column; background: var(--white); border-bottom: 1px solid var(--line); }
.feature-card:nth-child(odd) { border-right: 1px solid var(--line); }
.feature-card:nth-last-child(-n+2) { border-bottom: 0; }
.feature-card img { width: 100%; height: auto; aspect-ratio: 700 / 438; object-fit: cover; }
.feature-card__text { padding: 28px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); }
.feature-card__text p { max-width: 580px; font-size: 16px; line-height: 22px; letter-spacing: -0.16px; font-weight: 400; color: var(--ink); }

/* ---------- Testimonials ---------- */
.testimonials { border-top: 1px solid var(--line); }
.testimonials__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.people-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.people-stack img { width: 102px; height: 30px; object-fit: cover; }
.slider { border-top: 1px solid var(--line-2); }
.slide { display: grid; grid-template-columns: 1fr 629px; }
.slide__content { display: flex; flex-direction: column; border-right: 1px solid var(--line-2); }
.slide__quote-wrap { padding: 34px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.slide__mark { font-size: 48px; line-height: 54px; font-weight: 500; color: var(--ink-60); height: 40px; }
.slide__quote { font-size: 32px; line-height: 43px; letter-spacing: -0.64px; font-weight: 500; color: var(--ink); max-width: 700px; }
.slide__person { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.slide__person img { width: 26px; height: 26px; border-radius: 999px; object-fit: cover; }
.slide__name { font-size: 16px; line-height: 18px; font-weight: 500; color: var(--ink); }
.slide__role { font-size: 14px; line-height: 15px; font-weight: 400; color: var(--muted); }
.slide__stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 24px 34px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.slide__stats li { display: flex; flex-direction: column; gap: 4px; padding-left: 24px; border-left: 1px solid var(--line-2); }
.slide__stats li:first-child { padding-left: 0; border-left: 0; }
.slide__num { font-size: 36px; line-height: 36px; letter-spacing: -0.72px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.slide__label { font-size: 16px; line-height: 18px; font-weight: 400; color: var(--ink-60); }
.slide__link { display: flex; align-items: center; gap: 12px; padding: 28px 34px; font-size: 14px; line-height: 15px; font-weight: 500; color: var(--ink); }
.slide__arrow { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--white); border: 1px solid var(--line-2); transition: background-color 0.2s var(--ease); }
.slide__arrow img { width: 16px; height: 16px; }
.slide__link:hover .slide__arrow { background: var(--surface); }
.slide__visual { position: relative; aspect-ratio: 1 / 1; background: #dde3ea; overflow: hidden; }
.slide__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.slide__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(49, 75, 92, 0.22), rgba(140, 88, 163, 0.12), rgba(217, 138, 84, 0.1)); }
.slider__controls { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; border-top: 1px solid var(--line-2); }
.slider__dots { display: flex; gap: 6px; align-items: center; }
.slider__dot { width: 4px; height: 4px; border-radius: 999px; background: var(--ink-60); transition: width 0.3s var(--ease), background-color 0.3s var(--ease); }
.slider__dot.is-active { width: 18px; background: var(--ink); }
.slider__buttons { display: flex; gap: 8px; }
.slider .icon-box:hover { background: rgba(0, 0, 0, 0.02); }

/* ---------- Use cases ---------- */
.usecases { border-top: 1px solid var(--line); }
.usecases__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.usecase { padding: 32px; min-height: 284px; display: flex; flex-direction: column; gap: 40px; border-right: 1px solid var(--line); background: var(--white); transition: background-color 0.25s var(--ease); }
.usecase:last-child { border-right: 0; }
.usecase:hover { background: var(--surface); }
.usecase__top { display: flex; justify-content: space-between; align-items: center; }
.usecase__arrow img { width: 28px; height: 28px; }
.usecase__text { display: flex; flex-direction: column; gap: 11px; }
.usecase__text .t-small { display: block; }
.usecase__text a:hover { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 520px 1fr; border-top: 1px solid var(--line); }
.faq__intro { padding: 80px 60px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.faq__title { max-width: 400px; }
.faq__title .ink { display: block; }
.faq__list { border-left: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 0; }
.faq__item h5 { font: inherit; }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px; text-align: left;
  font-size: 18px; line-height: 29px; font-weight: 500; color: var(--ink);
  transition: background-color 0.2s var(--ease);
}
.faq__q:hover { background: var(--surface); }
.faq__icon { width: 14px; height: 14px; flex: none; transition: transform 0.3s var(--ease); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 32px 32px; max-width: 760px; font-size: 16px; line-height: 25px; font-weight: 400; color: var(--ink-60); }

/* ---------- Banner ---------- */
.banner { position: relative; overflow: hidden; padding: 120px 60px; display: flex; justify-content: center; border-top: 1px solid var(--line); }
.banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.banner__inner { position: relative; max-width: 500px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.banner__title { font-size: 44px; line-height: 48px; letter-spacing: -1.76px; font-weight: 500; color: var(--ink); }
.banner__text { margin-top: 12px; font-size: 16px; line-height: 21.7px; font-weight: 400; color: var(--ink); }
.banner .btn { margin-top: 32px; }

/* ================= Tablet ================= */
@media (max-width: 1199px) {
  .hero { padding: 125px 20px 0; }
  .hero .tag { margin-bottom: 25px; }
  .hero__lead { max-width: 900px; margin-top: 13px; }
  .hero__extra { display: block; }
  .page > [data-rebuild-section="3"], .page > [data-rebuild-section="4"],
  [data-rebuild-section="3"], [data-rebuild-section="4"] { display: none; }

  .logos__title { width: 194px; padding: 32px; }
  .logos__track { padding: 40px 0; }

  .feature-card .t-h3 { font-size: 24px; line-height: 31px; }

  .slide { grid-template-columns: 1fr; }
  .slide__visual { order: -1; }
  .slide__content { border-right: 0; }
  .slide__quote { font-size: 18px; line-height: 24px; letter-spacing: -0.2px; }
  .slide__name { font-size: 13px; line-height: 14px; }
  .slide__role { font-size: 11px; line-height: 12px; }
  .slide__label { font-size: 12px; line-height: 13px; }

  .faq { grid-template-columns: 1fr; }
  .faq__intro { padding: 40px 20px; }
  .faq__list { border-left: 0; border-top: 1px solid var(--line); }
  .faq__q { padding: 19px 20px; }
  .faq__a { padding: 0 20px 20px; }

  .banner__title { font-size: 36px; line-height: 40px; letter-spacing: -1.4px; }
}

/* Tablet only */
@media (min-width: 810px) and (max-width: 1199px) {
  [data-rebuild-section="7"] .t-h2 { max-width: 370px !important; text-wrap: wrap; }
  [data-rebuild-section="7"] .t-h2 .ink { display: inline; }
  [data-rebuild-section="7"] .t-lead { max-width: 380px; }

  .usecases .title-wrapper__row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .usecases .t-lead { max-width: 400px; }
  .usecases__grid { grid-template-columns: repeat(2, 1fr); }
  .usecase { min-height: 231px; padding: 20px 20px 32px; gap: 40px; border-bottom: 1px solid var(--line); }
  .usecase:nth-child(2) { border-right: 0; }
  .usecase:last-child { border-right: 1px solid var(--line); border-bottom: 0; }
}

/* ================= Phone ================= */
@media (max-width: 809px) {
  .hero { padding: 128px 16px 0; }
  .hero__extra { margin: 62px -16px 0; }
  .hero .tag { margin-bottom: 28px; font-size: 12px; line-height: 12px; }
  .hero__title { padding: 0; font-size: 40px; line-height: 44px; letter-spacing: -1.6px; text-wrap: wrap; }
  .hero__title .ink { display: inline; }
  .hero__lead { padding: 0; margin-top: 18px; font-size: 14px; line-height: 19px; }
  .hero__cta { width: 100%; margin-top: 32px; }
  .hero__btn { width: 100%; max-width: 298px; }
  .hero__note { font-size: 12px; line-height: 18px; letter-spacing: -0.2px; }

  .logos { flex-direction: column; align-items: stretch; }
  .logos__title { width: auto; padding: 32px 20px 0; border-right: 0; text-align: center; }
  .logos__track { padding: 24px 0 32px; }
  .logos__marquee { gap: 56px; }

  .mission { height: 1688px; }
  .mission__sticky { padding: 40px 20px; }
  .mission__text { font-size: 28px; line-height: 34px; letter-spacing: -0.8px; gap: 34px; }

  .compare__table { width: auto; min-width: 100%; }
  .compare__table th, .compare__table td { width: 300px; min-width: 300px; }

  .features { grid-template-columns: 1fr; }
  .feature-card, .feature-card:nth-child(odd) { border-right: 0; }
  .feature-card:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .feature-card__text { padding: 24px 20px 28px; gap: 8px; }
  .feature-card .t-h3 { font-size: 20px; line-height: 29px; letter-spacing: -0.6px; }
  .feature-card__text p { font-size: 14px; line-height: 19px; }

  .testimonials__top { align-items: flex-end; }
  .people-stack .t-small { font-size: 14px; line-height: 19px; }
  .slide__quote-wrap { padding: 24px; }
  .slide__stats { grid-template-columns: 1fr; padding: 0; }
  .slide__stats li { padding: 24px; border-left: 0; border-top: 1px solid var(--line-2); }
  .slide__stats li:first-child { padding-left: 24px; border-top: 0; }
  .slide__link { padding: 24px; font-size: 16px; }

  .usecases__grid { grid-template-columns: 1fr; }
  .usecase { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; padding: 20px 20px 24px; gap: 36px; }
  .usecase:last-child { border-bottom: 0; }

  .faq__intro { padding: 32px 20px 40px; }
  .faq__q { padding: 20px; font-size: 16px; line-height: 19px; }
  .faq__a { padding: 0 20px 20px; font-size: 14px; line-height: 21px; }

  .banner { padding: 36px 20px 40px; }
  .banner__title { font-size: 36px; line-height: 39px; }
  .banner__text { font-size: 16px; line-height: 22px; margin-top: 16px; }
  .banner .btn { margin-top: 28px; }
}
