/* Desktop composition. Tablet adjustments remain with their owning tree. */

.section-shell {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 73px;
  border-bottom: 1px solid var(--dark-gray);
  background: rgba(9, 9, 11, 0.98);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  width: 100%;
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: 150px;
  height: 40px;
  flex: 0 0 auto;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 20px;
  color: var(--light-gray);
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.nav-cta {
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--blue);
  line-height: 24px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 502px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 120px 80px 60px;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: -353px;
  left: 50%;
  width: 1000px;
  height: 640px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(59, 109, 246, 0.2) 0, rgba(59, 109, 246, 0) 70%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 600px;
  flex: 1;
  flex-direction: column;
  gap: 30px;
}

.eyebrow {
  color: var(--light-gray);
  font-size: 14px;
  letter-spacing: 0.14px;
  line-height: 20px;
}

.hero-copy h1 {
  margin-top: -2px;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.48px;
  line-height: 70px;
}

.hero-eyebrow {
  margin-bottom: -30px;
}

.hero-copy h1 span {
  color: var(--blue);
}

.hero-description {
  color: var(--light-gray);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 30px;
  border-radius: 22px;
  line-height: 24px;
}

.button img {
  width: 24px;
  height: 24px;
}

.button-primary {
  background: linear-gradient(90deg, var(--deep-blue), var(--blue));
}

.button-secondary {
  border: 1px solid var(--deep-blue);
  background: linear-gradient(90deg, rgba(6, 20, 197, 0.2), rgba(1, 100, 236, 0.2));
}

.hero-media {
  position: absolute;
  right: 80px;
  bottom: 60px;
  width: 450px;
  height: 322px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-media video,
.video-fallback {
  width: 450px;
  aspect-ratio: 16 / 9;
}

.hero-media video {
  position: relative;
  z-index: 2;
  display: none;
  object-fit: cover;
}

.hero-media.has-video video {
  display: block;
}

.hero-media.has-video .video-fallback {
  display: none;
}

.video-fallback {
  position: relative;
  overflow: hidden;
}

.platform-shadow,
.platform-base,
.platform-top {
  position: absolute;
  left: 50%;
  width: 178px;
  height: 100px;
  transform: translateX(-50%) rotateX(63deg) rotateZ(45deg);
  border-radius: 4px;
}

.platform-shadow {
  top: 94px;
  background: rgba(1, 100, 236, 0.32);
  filter: blur(18px);
}

.platform-base {
  top: 79px;
  background: linear-gradient(135deg, #69809b, #253b58);
  box-shadow: 0 12px 26px rgba(1, 100, 236, 0.22);
}

.platform-top {
  top: 68px;
  border: 1px solid #e3f1ff;
  background: linear-gradient(135deg, #fff 5%, #e7f3ff 78%);
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.kicker {
  color: var(--jumbo);
  font-size: 12px;
  letter-spacing: 0.24px;
  line-height: 16px;
}

.section-heading h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
}

.section-intro {
  color: var(--light-gray);
  font-size: 16px;
  line-height: 24px;
}

.journey {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 60px 150px;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 27px;
  align-items: start;
}

.journey-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  gap: 50px;
  padding: 50px 20px;
  overflow: hidden;
  border-radius: 10px;
  background-image: radial-gradient(ellipse at 50% 0, var(--black) 0, transparent 71%);
}

.journey-card:nth-child(2) {
  margin-top: 30px;
}

.journey-card:nth-child(4) {
  margin-top: 60px;
}

.journey-purple { background-color: var(--journey-purple); }
.journey-green { background-color: var(--success); }
.journey-blue { background-color: var(--deep-blue); }
.journey-red { background-color: var(--danger); }

.journey-card > img {
  width: auto;
  height: 90px;
  margin: 0 auto;
  object-fit: contain;
}

.journey-card > div {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.journey-card h3,
.step-card h3,
.feature-card h3,
.platform-card h3,
.faq-card h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.journey-card p,
.step-card > p,
.feature-card > p,
.gap-list p,
.faq-card p {
  color: var(--light-gray);
  line-height: 24px;
}

.gap-section {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 60px 0;
}

.gap-section > .section-heading {
  padding: 0 150px;
}

.gap-content {
  display: grid;
  max-width: var(--content);
  grid-template-columns: 600px 1fr;
  gap: 60px;
}

.gap-charts {
  display: flex;
  width: 100%;
  aspect-ratio: 737 / 750;
  flex-direction: column;
  gap: 16px;
}

.gap-chart {
  position: relative;
  aspect-ratio: 737 / 367;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #11151d;
}

.gap-chart img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gap-list {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 35px;
  list-style: none;
}

.gap-list li {
  display: flex;
  gap: 20px;
}

.gap-number {
  display: flex;
  min-width: 46px;
  flex-direction: column;
  align-items: center;
  color: var(--blue);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.36px;
  line-height: 38px;
}

.gap-number small {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 16px;
}

.gap-list li > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
}

.gap-list h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.steps-section {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 60px 0;
}

.steps-section > .section-heading {
  padding: 0 150px;
}

.steps-grid {
  display: grid;
  min-height: 300px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 150px;
}

.step-card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 1px solid var(--blue);
  border-radius: 10px;
  background: radial-gradient(circle at 4% 102%, rgba(9, 9, 11, 0.95), transparent 68%), rgba(6, 20, 197, 0.2);
}

.step-label {
  margin-bottom: 7px;
  color: var(--light-gray);
  font-size: 14px;
  letter-spacing: 0.14px;
  line-height: 20px;
}

.step-card > img {
  align-self: flex-end;
  width: 60px;
  height: 60px;
  object-fit: contain;
  opacity: 0.8;
}

.step-card > img.step-sdk {
  width: 49px;
}

.features-section {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  gap: 60px;
  padding: 60px 0;
}

.features-section > .section-heading {
  padding: 0 150px;
}

.features-wrap {
  position: relative;
  min-height: 622px;
  padding: 0 150px;
}

.features-grid {
  position: relative;
  z-index: 2;
  display: grid;
  width: 1140px;
  grid-template-columns: repeat(4, 270px);
  column-gap: 20px;
  row-gap: 22px;
}

.feature-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--dark-gray);
  border-radius: 10px;
  background: radial-gradient(circle at 4% 102%, rgba(9, 9, 11, 0.96), transparent 68%), rgba(44, 44, 44, 0.2);
}

.feature-question {
  justify-content: center;
  border-color: transparent;
  background: transparent;
}

.feature-icon {
  display: flex;
  width: 70px;
  height: 70px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: inset -2px -2px 8px rgba(0, 0, 0, 0.25);
}

.feature-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  opacity: 0.8;
}

.feature-red img { width: 43px; }
.feature-purple { background: linear-gradient(#9051fa, #512ceb); }
.feature-blue { background: linear-gradient(#0164ec, #0614c5); }
.feature-green { background: linear-gradient(#25a34e, #135629); }
.feature-red { background: linear-gradient(#e54246, #9f2a2d); }
.feature-brown { background: linear-gradient(#995b4e, #663a31); }

.feature-wave {
  position: absolute;
  z-index: 1;
  top: 314px;
  left: calc(50% + 10px);
  width: 708px;
  height: 325px;
  object-fit: cover;
  object-position: center;
  opacity: 0.83;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse, #000 45%, transparent 78%);
  mask-image: radial-gradient(ellipse, #000 45%, transparent 78%);
}

.why-free-section {
  padding: 60px 150px;
}

.why-free-card {
  position: relative;
  display: flex;
  min-height: 434px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 50px 80px;
  border: 1px solid var(--dark-gray);
  border-radius: 10px;
}

.why-free-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 149%;
  object-fit: cover;
  object-position: center 6%;
  opacity: 0.35;
}

.why-free-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.8), transparent), linear-gradient(180deg, transparent, rgba(1, 100, 236, 0.25));
  content: "";
}

.why-free-copy,
.free-badges {
  position: relative;
  z-index: 2;
}

.why-free-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}

.why-free-copy h2 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.36px;
  line-height: 48px;
}

.why-free-copy > p:last-child {
  line-height: 24px;
}

.free-badges {
  display: flex;
  gap: 15px;
}

.free-badges span {
  display: inline-flex;
  height: 40px;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--deep-blue), var(--blue));
  color: var(--light-gray);
  font-size: 14px;
  letter-spacing: 0.14px;
  line-height: 20px;
}

.free-badges img {
  width: 18px;
  height: 18px;
}

.platform-section {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 60px 0;
}

.platform-section > .section-heading {
  padding: 0 150px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0 150px;
}

.platform-card {
  display: flex;
  min-height: 400px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--dark-gray);
  border-radius: 10px;
  background: radial-gradient(circle at 4% 102%, rgba(9, 9, 11, 0.96), transparent 68%), rgba(44, 44, 44, 0.2);
}

.platform-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.partner-logo {
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  width: auto;
  max-width: 175px;
  height: 40px;
  object-fit: contain;
}

.platform-card:nth-child(2) .partner-logo img { width: 156px; height: 32px; }
.platform-card:nth-child(3) .partner-logo img { width: 147px; }
.platform-card:nth-child(4) .partner-logo img { width: 109px; }

.platform-card hr {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--dark-gray);
}

.platform-card h3 {
  white-space: nowrap;
}

.platform-card a:not(.read-more) {
  color: var(--blue);
  font-size: 14px;
  letter-spacing: 0.14px;
  line-height: 20px;
}

.platform-card p {
  color: var(--light-gray);
  font-size: 14px;
  letter-spacing: 0.14px;
  line-height: 20px;
  word-break: normal;
}

.read-more {
  align-self: flex-start;
  padding: 15px 50px;
  border: 1px solid var(--disabled-border);
  border-radius: 5px;
  background: var(--disabled-surface);
  color: var(--primary);
  line-height: 24px;
}

.faq-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 60px 150px;
}

.faq-heading {
  width: 100%;
}

.faq-card {
  display: flex;
  min-height: 138px;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--dark-gray);
  border-radius: 10px;
  background: radial-gradient(circle at 4% 102%, rgba(9, 9, 11, 0.96), transparent 70%), rgba(44, 44, 44, 0.2);
  word-break: break-word;
}

.faq-first {
  grid-column: 2;
  grid-row: 1;
}

.faq-first + .faq-card {
  grid-column: 1;
  grid-row: 2;
}

.faq-first + .faq-card + .faq-card {
  grid-column: 2;
  grid-row: 2;
}

.faq-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.q-badge,
.a-badge {
  display: inline-flex;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 16px;
  line-height: 24px;
}

.q-badge {
  background: var(--light-gray);
  color: var(--dark-gray);
}

.a-badge {
  background: linear-gradient(90deg, var(--deep-blue), var(--blue));
}

.closing-cta {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 388px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 120px 150px;
  text-align: center;
}

.closing-cta > img:first-child {
  position: absolute;
  z-index: -1;
  top: -132px;
  left: 50%;
  width: 1921px;
  max-width: none;
  height: 1092px;
  transform: translateX(-50%);
  object-fit: cover;
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(180deg, transparent 4%, #000 48%, transparent 96%);
  mask-image: linear-gradient(180deg, transparent 4%, #000 48%, transparent 96%);
}

.closing-cta h2 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.36px;
  line-height: 48px;
}

.closing-cta > p {
  color: var(--light-gray);
  line-height: 24px;
}

.closing-button {
  padding: 15px 35px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--deep-blue), var(--blue));
}

.site-footer {
  border-top: 1px solid var(--light-gray);
}

.footer-inner {
  display: flex;
  width: calc(100% - 48px);
  max-width: var(--content);
  min-height: 250px;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding: 40px 0 52px;
}

.footer-brand {
  display: flex;
  flex: 0 0 330px;
  flex-direction: column;
  gap: 9px;
}

.footer-brand img {
  width: 166px;
  height: 44px;
}

.footer-brand p,
.site-footer address {
  color: var(--jumbo);
  font-size: 14px;
  font-style: normal;
  letter-spacing: 0.14px;
  line-height: 20px;
}

.footer-brand .footer-certification {
  width: 159px;
  height: 60px;
  margin-top: 9px;
  border-radius: 4px;
}

.site-footer address {
  display: flex;
  max-width: 760px;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding-top: 4px;
  text-align: right;
}

.site-footer address a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.site-footer address a:hover,
.site-footer address a:focus-visible {
  color: var(--light-gray);
  text-decoration-color: currentColor;
}

@media (max-width: 1199px) and (min-width: 769px) {
  .nav-shell { padding-inline: 32px; }
  .hero-media { right: 40px; transform: scale(0.85); transform-origin: right center; }
  .hero { padding-inline: 60px; }
  .journey, .steps-grid, .features-wrap, .platform-grid, .faq-section { padding-inline: 80px; }
  .gap-section > .section-heading,
  .steps-section > .section-heading,
  .features-section > .section-heading,
  .platform-section > .section-heading { padding-inline: 80px; }
  .gap-content { grid-template-columns: 45% 1fr; padding-inline: 80px; }
  .gap-charts { width: 100%; }
  .why-free-section { padding-inline: 80px; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-wrap: wrap; }
  .site-footer address { max-width: none; align-items: flex-start; text-align: left; }
}
