:root {
  --ink: #101214;
  --ink-soft: #2b3135;
  --paper: #f8faf7;
  --paper-2: #edf4ef;
  --lime: #b9ff4a;
  --aqua: #24d3c7;
  --coral: #ff5b57;
  --sun: #ffd34d;
  --whatsapp: #1f8f5f;
  --line: rgba(16, 18, 20, 0.16);
  --white-line: rgba(255, 255, 255, 0.25);
  --shadow: 0 24px 70px rgba(16, 18, 20, 0.18);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.cursor-glow {
  position: fixed;
  z-index: 30;
  width: 220px;
  height: 220px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(185, 255, 74, 0.22), transparent 62%);
  mix-blend-mode: multiply;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  width: min(calc(100% - 32px), var(--max));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  padding: 10px 12px;
  color: #fff;
  transform: translateX(-50%);
  transition:
    background 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(248, 250, 247, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.header-cta {
  position: relative;
  z-index: 22;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.is-scrolled .site-nav,
.is-open .site-nav {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.92rem;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover {
  background: rgba(185, 255, 74, 0.22);
  transform: translateY(-1px);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.header-cta {
  background: var(--lime);
  color: var(--ink);
  border-color: transparent;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 118px 24px 88px;
  overflow: hidden;
  color: #fff;
}

.hero-canvas,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-canvas {
  z-index: 2;
  opacity: 0.88;
}

.hero-image {
  z-index: 0;
  background:
    linear-gradient(rgba(16, 18, 20, 0.12), rgba(16, 18, 20, 0.42)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1800&q=80") center/cover;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 18, 20, 0.96), rgba(16, 18, 20, 0.66), rgba(16, 18, 20, 0.28)),
    linear-gradient(0deg, rgba(16, 18, 20, 0.9), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.2rem, 8.2vw, 7rem);
  line-height: 0.88;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--lime);
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 14px 36px rgba(185, 255, 74, 0.24);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.signal-strip {
  width: min(100%, 820px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--white-line);
  border-radius: 8px;
  background: var(--white-line);
}

.signal-strip span {
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 18px;
  background: rgba(16, 18, 20, 0.52);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.signal-strip strong {
  color: #fff;
  font-size: 1.6rem;
}

.scroll-cue {
  position: absolute;
  right: 28px;
  bottom: 22px;
  z-index: 3;
  width: 42px;
  height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
}

.scroll-cue span {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 6px;
  height: 16px;
  border-radius: 8px;
  background: var(--lime);
  transform: translateX(-50%);
  animation: cue 1.4s ease-in-out infinite;
}

@keyframes cue {
  50% {
    transform: translate(-50%, 20px);
    opacity: 0.35;
  }
}

.section,
.solutions,
.showcase,
.ops-lab,
.industries,
.contact,
.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.intro-band {
  padding: 96px 0 64px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 42px;
  align-items: end;
}

.section-copy,
.showcase-text p,
.lab-copy p,
.contact-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.6vw, 1.22rem);
  line-height: 1.65;
}

.solutions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 110px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.solution-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
}

.solution-card:nth-child(2) {
  background: var(--paper-2);
}

.solution-card:nth-child(3) {
  background: #101214;
  color: #fff;
}

.card-index {
  width: fit-content;
  margin-bottom: auto;
  padding: 6px 9px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 900;
}

.solution-card h3 {
  margin-top: 80px;
}

.solution-card p {
  min-height: 104px;
  margin: 18px 0 22px;
  color: color-mix(in srgb, currentColor 72%, transparent);
  line-height: 1.55;
}

.solution-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-card li {
  padding: 10px 0;
  border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  font-weight: 750;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 54px;
  align-items: center;
  margin-bottom: 120px;
}

.showcase-media {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.showcase-media img {
  filter: saturate(0.86) contrast(1.08);
}

.live-panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(420px, calc(100% - 48px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(16, 18, 20, 0.82);
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.panel-top {
  display: flex;
  gap: 7px;
  padding: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--coral);
}

.panel-top span:nth-child(2) {
  background: var(--sun);
}

.panel-top span:nth-child(3) {
  background: var(--lime);
}

.panel-feed {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.feed-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  animation: feedIn 420ms ease both;
}

.feed-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--aqua);
  box-shadow: 0 0 24px var(--aqua);
}

.feed-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

@keyframes feedIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.showcase-text {
  display: grid;
  gap: 24px;
}

.flow-builder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.flow-step {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 850;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.flow-step:hover,
.flow-step.is-active {
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}

.flow-output {
  min-height: 116px;
  display: flex;
  align-items: center;
  padding: 24px;
  border-left: 6px solid var(--lime);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 18, 20, 0.08);
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.55;
}

.impact {
  padding: 82px 0;
  margin-bottom: 110px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.impact-head {
  max-width: 860px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.metric {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.metric:nth-child(2) {
  background: var(--coral);
}

.metric:nth-child(3) {
  background: var(--aqua);
  color: var(--ink);
}

.metric strong {
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.metric span {
  max-width: 260px;
  font-weight: 750;
  line-height: 1.35;
}

.ops-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 120px;
}

.lab-copy {
  display: grid;
  gap: 18px;
}

.calculator {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(16, 18, 20, 0.08);
}

.calculator label {
  display: block;
  margin-bottom: 18px;
  font-weight: 900;
}

.calculator input[type="range"] {
  width: 100%;
  accent-color: var(--coral);
}

.calc-output {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 24px 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.calc-output span {
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  background: var(--paper-2);
  color: var(--ink-soft);
}

.calc-output strong {
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1;
}

.calculator p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.industries {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: center;
  margin-bottom: 120px;
}

.industry-image {
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.industry-list {
  display: grid;
  gap: 26px;
}

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-cloud span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 850;
}

.pill-cloud span:nth-child(3n + 1) {
  background: var(--lime);
}

.pill-cloud span:nth-child(3n + 2) {
  background: var(--aqua);
  color: var(--ink);
}

.pill-cloud span:nth-child(3n) {
  background: var(--ink);
  color: #fff;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: 54px;
  align-items: start;
  padding: 70px 0 110px;
}

.contact-copy {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 14px 13px;
  outline: none;
}

.contact-form select option {
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(185, 255, 74, 0.16);
}

.whatsapp-float {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  z-index: 9999 !important;
  display: grid !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px;
  min-height: 58px;
  max-width: 58px;
  max-height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 42%),
    var(--whatsapp);
  color: #fff;
  box-shadow: 0 18px 42px rgba(31, 143, 95, 0.28), 0 8px 22px rgba(16, 18, 20, 0.2);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.whatsapp-float::after {
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(31, 143, 95, 0.18);
  border-radius: inherit;
  content: "";
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.whatsapp-float svg {
  display: block;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  min-height: 28px;
  max-width: 28px;
  max-height: 28px;
  fill: currentColor;
  flex: 0 0 28px;
}

.whatsapp-float:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 42%),
    #187d52;
  box-shadow: 0 22px 52px rgba(31, 143, 95, 0.32), 0 10px 28px rgba(16, 18, 20, 0.24);
  transform: translateY(-3px);
}

.whatsapp-float:hover::after {
  opacity: 1;
  transform: scale(1);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(185, 255, 74, 0.72);
  outline-offset: 4px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer > span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.site-footer > span:nth-child(2) {
  justify-self: center;
  text-align: center;
}

.footer-links {
  justify-self: end;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--ink);
  font-weight: 850;
}

.footer-links a {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.footer-links a:hover {
  color: var(--whatsapp);
  transform: translateY(-1px);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 640ms ease,
    transform 640ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .hero .reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto 1fr;
    gap: 10px 12px;
    align-items: center;
    padding: 10px;
    width: min(calc(100% - 24px), var(--max));
    margin-top: max(10px, env(safe-area-inset-top));
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    z-index: 22;
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    margin: 2px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
  }

  .site-nav a {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 6px;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    font-weight: 750;
    text-align: center;
    line-height: 1.1;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 90vh;
    padding: 152px 16px 78px;
  }

  .signal-strip,
  .section-grid,
  .solutions,
  .showcase,
  .impact-grid,
  .ops-lab,
  .industries,
  .contact {
    grid-template-columns: 1fr;
  }

  .solutions {
    margin-bottom: 84px;
  }

  .solution-card {
    min-height: 330px;
  }

  .showcase-media,
  .industry-image {
    min-height: 460px;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .cursor-glow {
    display: none;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 18, 20, 0.92), rgba(16, 18, 20, 0.56)),
      linear-gradient(0deg, rgba(16, 18, 20, 0.9), transparent 38%);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.36rem);
    line-height: 1.06;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1rem;
  }

  .signal-strip,
  .calc-output,
  .flow-builder {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 5px;
  }

  .site-nav a {
    min-height: 34px;
    padding: 7px 4px;
    font-size: 0.74rem;
  }

  .scroll-cue {
    display: none;
  }

  .section,
  .solutions,
  .showcase,
  .ops-lab,
  .industries,
  .contact,
  .site-footer {
    width: min(calc(100% - 24px), var(--max));
  }

  .intro-band {
    padding-top: 72px;
  }

  .showcase,
  .ops-lab,
  .industries,
  .contact {
    gap: 32px;
    margin-bottom: 84px;
  }

  .showcase-media,
  .industry-image {
    min-height: 380px;
  }

  .live-panel {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .metric {
    min-height: 190px;
  }

  .contact {
    padding-bottom: 76px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 96px;
    text-align: left;
  }

  .site-footer > span:nth-child(2),
  .footer-links {
    justify-self: start;
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .whatsapp-float {
    right: 16px !important;
    bottom: 16px !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px;
    min-height: 54px;
    max-width: 54px;
    max-height: 54px;
  }

  .whatsapp-float svg {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px;
    min-height: 26px;
    max-width: 26px;
    max-height: 26px;
    flex-basis: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
