/* Overview (landing) page */
.sec {
  padding: 72px 0;
}
.sec .container > .sec-head + * {
  margin-top: 40px;
}

/* Hero: fills the first screen under the header; the live tablet (css/pages/hero-anim.css) sits on the right */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--tint);
}
.hero__in {
  display: flex;
  align-items: center;
  min-height: clamp(600px, calc(100svh - 68px), 960px);
  padding-bottom: 40px;
}
.hero__msg {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  max-width: 480px;
  padding: 48px 0;
}
.hero__msg .h1 {
  margin-top: 12px;
  max-width: 480px;
}
.hero__msg .lead {
  margin-top: 16px;
  max-width: 420px;
}
/* scroll cue at the bottom of the first screen */
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  justify-content: center;
  width: 22px;
  height: 34px;
  margin-left: -11px;
  border: 1.5px solid var(--dk-bd-98a2b3, #98a2b3);
  border-radius: 12px;
  opacity: 0.7;
  transition: opacity var(--t-fast) var(--ease);
}
.hero__cue:hover {
  opacity: 1;
}
.hero__cue span {
  width: 3px;
  height: 7px;
  margin-top: 6px;
  border-radius: 2px;
  background: var(--dk-bg-667085, #667085);
  animation: cue 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes cue {
  60% {
    transform: translateY(10px);
    opacity: 0;
  }
  61% {
    transform: none;
    opacity: 0;
  }
}
@media (max-height: 820px) {
  .hero__cue {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__cue span {
    animation: none;
  }
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero__ctas .ico:not(.ico-arrow) {
  font-size: 24px;
  stroke-width: 1.5;
}
.hero__msg .compat {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink);
}
.compat li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--dk-bg-000000, #000);
  color: var(--dk-fg-ffffff, #fff);
  font-size: 10px;
}
.dot .ico {
  stroke-width: 3;
}
.hero__img {
  position: absolute;
  bottom: 0;
  right: max(0px, (100% - 1280px) / 2);
  width: min(690px, 54%);
  height: auto;
}

/* Why Pixels */
.guides {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.guide {
  padding: 10px;
  overflow: hidden;
}
.guide__ill {
  position: relative;
  height: 112px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--dk-bg-f4f7ff, #f4f7ff), var(--dk-bg-e8f1ff, #e8f1ff));
  display: flex;
  align-items: center;
  justify-content: center;
}
.ill-in {
  position: relative;
  width: 232px;
  height: 100px;
  flex: none;
  transition: transform var(--t-med) var(--ease);
}
.guide:hover .ill-in {
  transform: scale(1.04);
}
.guide__txt {
  padding: 14px 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.guide h3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--ink);
}
.guide p {
  font-size: 13px;
  line-height: 20px;
  color: var(--ink-2);
}
.abs {
  position: absolute;
  display: block;
}
.sw {
  position: absolute;
  width: 21px;
  height: 21px;
  border: 1px solid var(--dk-bd-ffffff, #fff);
  border-radius: 5px;
}
.aa {
  position: absolute;
  font:
    400 9px Inter,
    sans-serif;
  color: var(--dk-fg-5936ff, #5936ff);
}
.panel,
.tile {
  background: var(--dk-bg-ffffff, #fff);
  box-shadow: 0 9px 18px var(--dk-sh-6155ff33, rgba(97, 85, 255, 0.2));
}
.tile {
  border: 1px solid var(--dk-bd-d9dcff, #d9dcff);
  border-radius: 6px;
}
.line {
  height: 4px;
  border-radius: 2px;
  background: var(--dk-bg-d2d8ff, #d2d8ff);
}
.dev {
  background: var(--dk-bg-ffffff, #fff);
  border: 2px solid var(--dk-bd-10133f, #10133f);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 9px 18px var(--dk-sh-6155ff33, rgba(97, 85, 255, 0.2));
}

/* Build to scale */
.scale {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.scale__msg {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aud {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.aud__card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.aud__top {
  display: flex;
  gap: 8px;
  padding: 18px;
  align-items: flex-start;
}
.aud__top--blue {
  background: var(--dk-bg-eff6ff, #eff6ff);
}
.aud__top--green {
  background: var(--dk-bg-ecfdf3, #ecfdf3);
}
.aud__ic--blue {
  background: var(--dk-bg-dbeafe, #dbeafe);
  color: var(--dk-fg-2563eb, #2563eb);
}
.aud__ic--green {
  background: var(--dk-bg-d1fadf, #d1fadf);
  color: var(--dk-fg-067647, #067647);
}
.kicker.kicker--green {
  color: var(--dk-fg-067647, #067647);
}
.aud__intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.aud__id {
  display: flex;
  gap: 10px;
  align-items: center;
}
.aud__ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex: none;
  font-size: 20px;
}
.kicker {
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  color: var(--brand);
}
.aud h3 {
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  color: var(--ink);
}
.aud .d {
  font-size: 12px;
  line-height: 18px;
  color: var(--ink-2);
}
.aud__art {
  position: relative;
  overflow: hidden;
  flex: none;
  align-self: center;
}
.aud__art img {
  position: absolute;
  max-width: none;
}
.aud__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px;
  flex: 1;
  justify-content: space-between;
}
.ben {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ben li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ben__ic {
  margin-top: 2px;
  padding: 3px;
  font-size: 18px;
  border-radius: 50%;
  background: var(--dk-bg-f2f4f7, #f2f4f7);
  color: var(--ink);
}
.ben .t {
  font-size: 13px;
  line-height: 19px;
  font-weight: 500;
  color: var(--ink);
}
.ben .d {
  font-size: 12px;
  line-height: 18px;
  color: var(--ink-2);
}

/* Key features */
.feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feat {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--dk-bg-ffffff, #fff);
  border: 1px solid var(--dk-bd-eaecf0, #eaecf0);
  border-radius: 16px;
  box-shadow: none;
}
.feat .ic-tile {
  width: auto;
  height: auto;
  justify-content: flex-start;
  background: none;
  color: var(--ink);
  font-size: 26px;
}
.feat .ic-tile .ico {
  stroke-width: 1.6;
}
.feat h3 {
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  color: var(--ink);
}
.feat p {
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-2);
  margin-top: 8px;
}

/* Integration: image bleeds ~60px past the container on the right, as in the design */
.integ-sec {
  overflow-x: clip;
}
.integ {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}
.integ__msg {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.integ__img {
  width: calc(100% + 61px);
  max-width: none;
  height: auto;
}

@media (max-width: 1000px) {
  .guides,
  .feats {
    grid-template-columns: repeat(2, 1fr);
  }
  .scale,
  .integ {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .integ__img {
    width: 100%;
  }
  .hero__in {
    display: block;
    min-height: 0;
    padding-bottom: 0;
  }
  .hero__msg {
    max-width: 560px;
    padding: 48px 0 32px;
  }
  .hero__cue {
    display: none;
  }
  .hero__img {
    position: static;
    display: block;
    width: min(690px, 100%);
    margin: 0 0 0 auto;
  }
}
@media (max-width: 700px) {
  .sec {
    padding: 52px 0;
  }
  .aud {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .guides,
  .feats {
    grid-template-columns: 1fr;
  }
  .hero__ctas .btn {
    flex: 1 1 100%;
  }
}

/* Pricing preview */
#pricing .sec-head .lead {
  max-width: 440px;
}
#pricing .plans {
  margin-top: 36px;
}
