/* Intechsolid, design system
   Palette derived from the logo: green #00C27D, blue #127BBD */
:root {
  --green: #00C27D;
  --green-deep: #00A86B;
  --blue: #127BBD;
  --blue-deep: #0E6597;
  --ink: #0B1220;
  --ink-2: #111A2B;
  --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(11, 18, 32, .88), rgba(11, 18, 32, .55));
}

html {
  scroll-behavior: smooth
}

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

h1,
h2,
h3,
h4,
.display {
  font-family: 'Space Grotesk', '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 {
  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: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px;
  transition: .2s ease
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -28px rgba(11, 18, 32, .28);
  border-color: #cfe0ee
}

.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(11, 18, 32, .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, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: .2s
}

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

body[data-page="home"] .site-head {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

body[data-page="home"] .site-head:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

body[data-page="home"] .site-head:not(.scrolled) .nav-link {
  color: #fff;
}

body[data-page="home"] .site-head:not(.scrolled) .nav-link.active::after {
  background: #fff;
}

body[data-page="home"] .site-head:not(.scrolled) .burger {
  color: #fff;
}

body[data-page="home"] .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)
}

/* 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
}

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

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

.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(11, 18, 32, .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(11, 18, 32, .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
}

.shrink-0 {
  flex-shrink: 0
}