/* Intechsolid, design system
   Palette derived from the logo: green #00C27D, blue #127BBD */
:root {
  --green: #00C27D;
  --green-deep: #00A86B;
  --blue: #127BBD;
  --blue-deep: #0E6597;
  --ink: #20232A;
  --ink-2: #2A2E36;
  --slate: #566173;
  --mute: #8893A3;
  --paper: #ffffff;
  --mist: #F4F7FB;
  --line: #E4EAF1;
  --sweep: linear-gradient(90deg, var(--green), var(--blue));
}

* {
  box-sizing: border-box
}

.hero-bg {
  background: url('../img/hero-bg.jpeg') center / cover no-repeat;
}

.contact-hero-bg {
  background: url('../img/contact-bg.jpeg') center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(32, 35, 42, .88), rgba(32, 35, 42, .55));
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #2B2E33;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  margin: 0;
}

h1,
h2,
h3,
h4,
.display {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.08;
  font-weight: 600;
  margin: 0
}

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

img {
  max-width: 100%;
  display: block
}

/* layout helpers */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

.section {
  padding: 96px 0
}

@media(max-width:768px) {
  .section {
    padding: 64px 0
  }
}

/* eyebrow with brand sweep tick */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-deep)
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--sweep)
}

/* the signature: a thin green→blue sweep rule */
.sweep-line {
  height: 3px;
  width: 56px;
  border-radius: 3px;
  background: var(--sweep)
}

.sweep-text {
  background: var(--sweep);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

/* buttons, minimal radius, structured */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  transition: .18s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap
}

.btn-primary {
  background: var(--blue);
  color: #fff
}

.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px rgba(18, 123, 189, .6)
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line)
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-deep)
}

.btn-light {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .18)
}

.btn-light:hover {
  background: rgba(255, 255, 255, .16)
}

.btn ion-icon {
  font-size: 18px
}

/* cards */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  transition: .2s ease;
  box-shadow: 0 24px 50px -28px rgba(32, 35, 42, .28);
}

.card:hover {
  transform: translateY(-2px);
  transition: .3s ease;
  box-shadow: 0 40px 80px -40px rgba(32, 35, 42, .4);
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--blue);
  font-size: 24px;
  border: 1px solid var(--line)
}

.icon-badge.green {
  color: var(--green-deep)
}

/* image placeholders (swap with real screenshots) */
.ph {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(0, 194, 125, .10), transparent 60%),
    radial-gradient(120% 80% at 0% 100%, rgba(18, 123, 189, .12), transparent 60%), var(--mist);
  display: flex;
  justify-content: center;
  align-items: center;
  place-items: center;
  color: var(--mute);
  overflow: hidden
}

.ph .ph-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500
}

.ph ion-icon {
  font-size: 40px;
  color: var(--blue)
}

.frame {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 40px 80px -40px rgba(32, 35, 42, .4);
  overflow: hidden
}

.frame-bar {
  height: 38px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px
}

.frame-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E0E6EE;
  display: block
}

/* header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid transparent;
  transition: .2s
}

.site-head.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(32, 35, 42, .4)
}

body:has(main>section:first-child:is(.hero-bg, .contact-hero-bg, .solid-hero-bg)) .site-head {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

body:has(main>section:first-child:is(.hero-bg, .contact-hero-bg, .solid-hero-bg)) .site-head:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

body:has(main>section:first-child:is(.hero-bg, .contact-hero-bg, .solid-hero-bg)) .site-head:not(.scrolled) .nav-link {
  color: #fff;
}

body:has(main>section:first-child:is(.hero-bg, .contact-hero-bg, .solid-hero-bg)) .site-head:not(.scrolled) .nav-link.active::after {
  background: #fff;
}

body:has(main>section:first-child:is(.hero-bg, .contact-hero-bg, .solid-hero-bg)) .site-head:not(.scrolled) .burger {
  color: #fff;
}

body:has(main>section:first-child:is(.hero-bg, .contact-hero-bg, .solid-hero-bg)) .site-head:not(.scrolled) img {
  filter: brightness(0) invert(1);
}

.desk-nav {
  display: flex;
  align-items: center;
  gap: 30px
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
  padding: 8px 2px;
  position: relative
}

.nav-link:hover {
  color: var(--ink)
}

.nav-link.active {
  color: var(--ink)
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--sweep)
}

/* footer */
.site-foot {
  background: var(--ink);
  color: #AEB8C7;
  position: relative
}

.site-foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--sweep)
}

.site-foot a:hover {
  color: #fff
}

.foot-h {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px
}

/* integrations */
.integration-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: .85;
  filter: grayscale(.2);
  transition: .2s
}

.integration-logo:hover {
  opacity: 1;
  filter: grayscale(0)
}

/* integrations orbit */
@property --spin {
  syntax: '<angle>';
  inherits: true;
  initial-value: 0deg
}

.orbit {
  position: relative;
  width: 360px;
  height: 360px;
  margin: 0 auto;
  animation: orbit-rotate 28s linear infinite
}

.orbit.is-paused,
.orbit.is-paused .orbit-center::before {
  animation-play-state: paused
}

@keyframes orbit-rotate {
  to {
    --spin: 360deg
  }
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--mist);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 36px
}

.orbit-center::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--blue);
  animation: orbit-ping 2s cubic-bezier(0, 0, .2, 1) infinite
}

.orbit-center ion-icon {
  position: relative
}

@keyframes orbit-ping {
  0% {
    transform: scale(1);
    opacity: .6
  }

  75%,
  100% {
    transform: scale(1.8);
    opacity: 0
  }
}

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 84px;
  height: 84px;
  margin: -42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px -16px rgba(32, 35, 42, .2);
  display: grid;
  place-items: center;
  transform: rotate(calc(var(--a) + var(--spin))) translate(150px) rotate(calc(-1 * (var(--a) + var(--spin))))
}

.orbit-item img {
  height: 56px;
  width: auto;
  object-fit: contain
}

@media(max-width:560px) {
  .orbit {
    width: 250px;
    height: 250px
  }

  .orbit-item {
    width: 62px;
    height: 62px;
    margin: -31px;
    transform: rotate(calc(var(--a) + var(--spin))) translate(102px) rotate(calc(-1 * (var(--a) + var(--spin))))
  }

  .orbit-item img {
    height: 40px
  }

  .orbit-center {
    width: 64px;
    height: 64px;
    font-size: 26px
  }
}

.plan-logo {
  height: 22px;
  width: auto;
  object-fit: contain
}

/* client logo marquee, seamless loop */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-x 36s linear infinite
}

.marquee:hover .marquee-track,
.marquee.is-paused .marquee-track {
  animation-play-state: paused
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  flex: none;
  margin: 0 18px
}

@keyframes scroll-x {
  to {
    transform: translateX(-50%)
  }
}

/* forms */
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px
}

.field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink)
}

.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  outline: none;
  transition: .15s;
  color: var(--ink)
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 123, 189, .12)
}

.field .err {
  font-size: 12.5px;
  color: #D14343;
  display: none
}

.field.invalid .err {
  display: block
}

.field.invalid input,
.field.invalid textarea {
  border-color: #D14343
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

.reveal.d1 {
  transition-delay: .08s
}

.reveal.d2 {
  transition-delay: .16s
}

.reveal.d3 {
  transition-delay: .24s
}

.reveal.from-left {
  transform: translateX(-48px)
}

.reveal.from-right {
  transform: translateX(48px)
}

.reveal.from-left.in,
.reveal.from-right.in {
  transform: none
}

@media(max-width:1023px) {
  .reveal.from-right {
    transform: translateX(-48px)
  }
}

/* sticky media for scrollytelling solution panels */
.solution-sticky {
  position: sticky;
  top: 100px;
  will-change: transform;
  contain: layout paint
}

@media(max-width:1023px) {
  .solution-sticky {
    position: static
  }
}

/* sticky stacked crossfade for quality items, .quality-track is an invisible
   scroll spacer; .quality-stage is the actual visible card, pinned centered */
.quality-track {
  position: relative;
  width: 100%;
  height: 400vh
}

.quality-stage {
  position: sticky;
  top: 15%;
  width: 100%;
  height: 80vh;
  border-radius: 28px;
  overflow: hidden;
  background: var(--ink);
  contain: layout paint;
  z-index: 60
}

/* dim everything else while the quality section is active */
.quality-dim-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
  z-index: 55;
  will-change: opacity;
  contain: strict
}

.quality-dim-overlay.active {
  opacity: 1
}

.quality-sticky {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
  will-change: opacity;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.quality-sticky.active {
  opacity: 1;
  pointer-events: auto
}

.quality-progress {
  position: absolute;
  left: 24px;
  top: 40px;
  bottom: 40px;
  width: 3px;
  background: rgba(255, 255, 255, .15);
  border-radius: 3px;
  z-index: 5;
  overflow: hidden
}

.quality-progress-fill {
  width: 100%;
  height: 100%;
  transform: scaleY(var(--p, 0));
  transform-origin: top;
  will-change: transform;
  background: var(--sweep);
  border-radius: 3px
}

@media(min-width:1024px) {
  .quality-sticky {
    padding-left: 64px !important;
    padding-right: 4px !important
  }
}

@media(max-width:1023px) {
  .quality-stage {
    top: 10%;
    height: 95vh;
  }

  .quality-progress {
    left: 32px;
    right: 32px;
    top: 20px;
    bottom: auto;
    width: auto;
    height: 3px
  }

  .quality-progress-fill {
    transform: scaleX(var(--p, 0));
    transform-origin: left
  }
}

@media(max-width:640px) {
  .quality-sticky {
    padding: 32px 20px !important
  }

  .quality-img {
    height: 240px !important;
    width: 100% !important;
    max-width: none !important
  }
}

/* misc */
.divider {
  height: 1px;
  background: var(--line)
}

.kicker-stat {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 44px;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1
}

/* "build with us" style pill links */
.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: none;
  border-radius: 100px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  width: 320px;
  box-shadow: 0 14px 28px -16px rgba(11, 18, 32, .22), 0 2px 6px -2px rgba(11, 18, 32, .1);
  transition: .2s ease
}

.platform-pill:hover {
  box-shadow: 0 22px 40px -18px rgba(11, 18, 32, .32), 0 4px 10px -2px rgba(11, 18, 32, .14);
  transform: translateY(-3px)
}

.platform-pill-icon {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center
}

.platform-pill-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain
}

.platform-pill ion-icon {
  margin-left: auto;
  font-size: 18px;
  color: var(--mute)
}

/* horizontal "our story" timeline */
.timeline-track {
  position: relative;
  display: flex;
  gap: 56px;
  padding: 0 8px 8px;
  width: max-content;
  margin: 0 auto
}

.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 150px;
  height: 1px;
  background: var(--line)
}

.timeline-item {
  position: relative;
  z-index: 1;
  flex: 0 0 220px;
  padding-top: 150px
}

.timeline-media {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center
}

.timeline-media img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 12px 28px -16px rgba(11, 18, 32, .25);
  background: #fff;
  border: 1px solid var(--line)
}

.timeline-dot {
  position: absolute;
  top: 150px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--mute);
  transform: translate(-50%, -50%)
}

.timeline-dot-active {
  border-color: var(--blue);
  background: var(--blue)
}

.timeline-year {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #D7DCE3;
  letter-spacing: -.02em;
  margin-top: 22px
}

.timeline-text {
  color: var(--slate);
  font-size: 14.5px;
  margin-top: 10px;
  max-width: 220px
}

@media(max-width:640px) {
  .timeline-item {
    flex: 0 0 200px
  }
}

/* soft decorative blurred circles, used to break up plain-white sections */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .25;
  z-index: 0;
  pointer-events: none
}

.bg-blob.green {
  background: var(--green)
}

.bg-blob.blue {
  background: var(--blue)
}

@media(max-width:640px) {
  .bg-blob {
    opacity: .18
  }
}

.dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .16s
}

.has-dd:hover .dropdown,
.dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: none
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 3px
}

/* header nav extras */
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--ink);
  cursor: pointer;
  line-height: 1
}

.dd-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  width: 320px;
  box-shadow: 0 30px 60px -30px rgba(32, 35, 42, .35)
}

.dd-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 6px;
  transition: .15s
}

.dd-item:hover {
  background: var(--mist)
}

.dd-ic {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--blue);
  font-size: 20px;
  flex: none;
  border: 1px solid var(--line)
}

.dd-item strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600
}

.dd-item em {
  display: block;
  font-size: 13px;
  color: var(--slate);
  font-style: normal;
  margin-top: 2px
}

.site-head>.wrap:first-child {
  position: relative;
  z-index: 2
}

.mobile-panel {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(82vw, 340px);
  background: #fff;
  overflow-y: auto;
  padding-top: 74px;
  transform: translateX(100%);
  transition: transform .32s ease;
  box-shadow: -20px 0 60px -20px rgba(32, 35, 42, .3);
  z-index: 1
}

.mobile-panel.open {
  transform: translateX(0)
}

.mp-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--ink);
  cursor: pointer;
  line-height: 1
}

.m-link,
.m-sub {
  display: block;
  padding: 13px 0;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line)
}

.m-group {
  padding: 8px 0
}

.m-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 10px 0 4px
}

.m-sub {
  padding-left: 14px;
  color: var(--slate)
}

/* footer layout */
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px
}

.foot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.foot-list a {
  font-size: 14.5px;
  color: #9AA6B6;
  display: inline-flex;
  align-items: center
}

.fi {
  margin-right: 8px;
  font-size: 16px;
  vertical-align: -2px
}

.soc {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .12);
  transition: .18s
}

.soc:hover {
  background: var(--blue);
  border-color: var(--blue)
}

.foot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13.5px;
  color: #7E8A9A
}

@media(max-width:920px) {
  .desk-nav {
    display: none
  }

  .burger {
    display: block
  }

  .mobile-panel {
    display: block
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px
  }
}

@media(max-width:560px) {
  .foot-grid {
    grid-template-columns: 1fr
  }
}

/* feature chips */
.chip {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 11px
}

.feat {
  display: flex;
  gap: 14px;
  align-items: flex-start
}

.feat ion-icon {
  font-size: 22px;
  color: var(--blue);
  flex: none;
  margin-top: 2px
}

.feat.green ion-icon {
  color: var(--green-deep)
}

.feat h3 {
  font-size: 17px;
  margin: 0 0 5px
}

.feat p {
  color: var(--slate);
  font-size: 15px;
  margin: 0
}

[x-cloak] {
  display: none !important
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--line)
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit
}

.faq-q ion-icon {
  font-size: 20px;
  color: var(--blue);
  transition: .2s;
  flex: none
}

.faq-a {
  color: var(--slate);
  font-size: 15.5px;
  padding: 0 0 22px;
  max-width: 760px
}

.shrink-0 {
  flex-shrink: 0
}