:root {
  --ink: #132033;
  --muted: #5d6877;
  --line: #dce3ea;
  --blue: #256987;
  --blue-dark: #163f57;
  --green: #8cc63e;
  --lime: #c8e15b;
  --paper: #f7fafc;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(19, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 234, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  flex: 0 0 auto;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: 0;
}

.brand-net {
  color: var(--blue);
}

.brand-process {
  color: var(--green);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #243244;
  font-weight: 600;
}

.main-nav a {
  padding: 10px 0;
}

.client-link {
  color: var(--blue);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(37, 105, 135, 0.10), rgba(140, 198, 62, 0.12)),
    var(--paper);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(37, 105, 135, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 105, 135, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 68%);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin: 30px 0 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.primary {
  color: var(--white);
  background: var(--blue);
}

.secondary {
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-metrics {
  padding: 0;
  margin: 0;
}

.hero-metrics div {
  min-width: 150px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-metrics dt {
  font-weight: 900;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.dashboard-shell {
  overflow: hidden;
  border: 1px solid rgba(220, 227, 234, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  animation: dashboardFloat 8s ease-in-out infinite;
}

.dash-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--white);
}

.dash-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.dash-top span:nth-child(2) {
  background: var(--lime);
}

.dash-top span:nth-child(3) {
  background: #e7edf3;
}

.dash-top strong {
  margin-left: auto;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.dash-card {
  min-height: 138px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.dash-card.wide {
  grid-column: 1 / -1;
}

.dash-card.dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), #1d536d);
  border: 0;
}

.dash-card small {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
}

.dash-card.dark small {
  color: #d7ebf4;
}

.dash-card b {
  display: block;
  font-size: 1.8rem;
}

.pipeline {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 0.5fr;
  gap: 8px;
  margin-top: 22px;
}

.pipeline span {
  height: 12px;
  border-radius: 999px;
  background: var(--green);
}

.pipeline span:nth-child(even) {
  background: var(--blue);
}

.floating-module {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 42px;
  border: 1px solid rgba(220, 227, 234, 0.9);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(19, 32, 51, 0.14);
  font-weight: 900;
  animation: moduleFloat 7s ease-in-out infinite;
}

.module-crm {
  top: -20px;
  right: 12%;
}

.module-stock {
  left: -20px;
  bottom: 24%;
  animation-delay: 1.4s;
}

.module-ai {
  right: -8px;
  bottom: 10%;
  color: var(--white);
  background: var(--blue);
  animation-delay: 2.2s;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px clamp(18px, 5vw, 72px);
  background: var(--line);
}

.proof-strip div {
  padding: 24px;
  background: var(--white);
}

.proof-strip strong {
  display: block;
  color: var(--blue);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
}

.proof-strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.section.compact {
  padding-top: clamp(44px, 6vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.architecture,
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-grid,
.sector-grid,
.updates-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

.value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-grid article,
.sector-grid article,
.update-card,
.faq-grid details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(19, 32, 51, 0.06);
}

.value-grid article {
  min-height: 150px;
  padding: 22px;
}

.value-grid strong,
.sector-grid strong {
  display: block;
}

.value-grid span,
.sector-grid span,
.update-card p,
.faq-grid p {
  color: var(--muted);
}

.sector-section {
  background: #f3f7ef;
}

.sector-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sector-grid article {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  padding: 22px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.sector-grid article::after {
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: rgba(140, 198, 62, 0.18);
  content: "";
}

.sector-grid article:hover,
.service-card:hover,
.value-grid article:hover,
.update-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(19, 32, 51, 0.12);
}

.sector-grid span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--blue);
  font-weight: 900;
}

.sector-grid strong {
  position: relative;
  z-index: 1;
  font-size: 1.12rem;
}

.architecture div,
.service-card,
.assistant-panel,
.contact-form,
.feature-list,
.timeline li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(19, 32, 51, 0.06);
}

.architecture div,
.service-card {
  padding: 24px;
}

.architecture span,
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--blue-dark);
  background: #e9f3d9;
  font-weight: 900;
}

.architecture p,
.service-card p,
.split p,
.ai-copy,
.contact-copy p {
  color: var(--muted);
}

.split,
.ai-grid,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.feature-list {
  padding: 12px;
}

.feature-list div {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.feature-list div:last-child {
  border-bottom: 0;
}

.feature-list strong {
  color: var(--blue);
}

.feature-list span {
  color: var(--muted);
}

.ai-section {
  background: #eef5f7;
}

.updates-section {
  background: var(--ink);
  color: var(--white);
}

.updates-section .eyebrow,
.updates-toolbar a {
  color: var(--lime);
}

.updates-section .section-heading p {
  color: #cbd6e2;
}

.updates-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.updates-toolbar span {
  color: #dbe7ef;
}

.updates-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.update-card {
  min-height: 220px;
  padding: 22px;
  color: var(--ink);
}

.update-card small {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #e9f3d9;
  font-weight: 900;
}

.update-card h3 {
  margin-bottom: 8px;
}

.update-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 900;
}

.skeleton {
  min-height: 180px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(230, 238, 245, 0.8), rgba(255, 255, 255, 0)) 0 0 / 220px 100% no-repeat,
    var(--white);
  animation: shimmer 1.6s infinite;
}

.ai-copy ul {
  padding-left: 20px;
}

.assistant-panel,
.contact-form {
  padding: 22px;
}

label {
  display: grid;
  gap: 8px;
  color: #263548;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 500;
}

textarea {
  resize: vertical;
}

output {
  display: block;
  min-height: 52px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 6px;
  color: var(--muted);
  background: #f4f8fb;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

.faq-section {
  background: #f6f7f9;
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid details {
  padding: 20px;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-grid p {
  margin: 12px 0 0;
}

.timeline li {
  padding: 22px;
}

.timeline strong {
  display: block;
  margin-bottom: 8px;
}

.timeline span {
  color: var(--muted);
}

.contact-section {
  background: var(--white);
}

.contact-lines {
  display: grid;
  gap: 10px;
  color: var(--blue);
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.contact-form > label {
  margin-bottom: 16px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #d8e2ec;
  background: var(--ink);
}

.site-footer strong {
  font-size: 1.35rem;
}

.site-footer a {
  color: var(--lime);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes dashboardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes moduleFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: -240px 0, 0 0;
  }
  100% {
    background-position: calc(100% + 240px) 0, 0 0;
  }
}

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

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

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .hero,
  .split,
  .ai-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .architecture,
  .cards,
  .timeline,
  .sector-grid,
  .updates-grid,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand {
    font-size: 30px;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .architecture,
  .cards,
  .timeline,
  .form-grid,
  .dash-grid,
  .proof-strip,
  .value-grid,
  .sector-grid,
  .updates-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .floating-module {
    display: none;
  }

  .feature-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
