:root {
  --ink: #101626;
  --muted: #647084;
  --soft: #f5f7fb;
  --line: #dfe5ef;
  --white: #ffffff;
  --blue: #2764f6;
  --blue-deep: #1847c7;
  --green: #16b28f;
  --amber: #ffb448;
  --rose: #f46d8f;
  --shadow: 0 24px 80px rgba(31, 44, 71, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 12%, rgba(39, 100, 246, 0.1), transparent 32rem),
    radial-gradient(circle at 86% 0%, rgba(22, 178, 143, 0.12), transparent 28rem),
    linear-gradient(180deg, #fbfcff 0%, #f6f8fc 54%, #ffffff 100%);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(16, 22, 38, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 22, 38, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

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

button {
  font: inherit;
}

.site-shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(223, 229, 239, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 50px rgba(31, 44, 71, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--white);
  box-shadow: 0 12px 26px rgba(39, 100, 246, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-nav a,
.header-cta,
.button,
.panel-tabs button {
  min-height: 42px;
  border-radius: 8px;
}

.site-nav a {
  padding: 11px 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--soft);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--white);
  font-weight: 800;
  background: var(--ink);
  transition: transform 180ms ease, background 180ms ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.section-pad {
  padding: 96px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: 54px;
  min-height: calc(100vh - 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 7.4vw, 6.35rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.2vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.38rem;
  line-height: 1.12;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hero-lede {
  max-width: 620px;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(39, 100, 246, 0.26);
}

.button.primary:hover {
  transform: translateY(-2px);
  background: var(--blue-deep);
  box-shadow: 0 20px 42px rgba(39, 100, 246, 0.32);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.button.ghost:hover {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(31, 44, 71, 0.08);
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #455267;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  perspective: 1200px;
}

.dashboard-card {
  border: 1px solid rgba(223, 229, 239, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.dashboard-main {
  position: absolute;
  inset: 52px 10px auto auto;
  width: min(100%, 560px);
  padding: 22px;
  transform: rotateX(3deg) rotateY(-8deg);
}

.dashboard-topline,
.chart-header,
.workflow-list div,
.system-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mini-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.dashboard-topline strong,
.floating-card strong {
  display: block;
  font-size: 1.4rem;
}

.status-pill {
  padding: 8px 10px;
  border-radius: 999px;
  color: #0f7c66;
  background: rgba(22, 178, 143, 0.13);
  font-size: 0.82rem;
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.metric-grid article {
  min-height: 120px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f8faff);
}

.metric-grid span,
.chart-header span {
  color: var(--muted);
  font-weight: 700;
}

.metric-grid strong {
  display: block;
  margin: 10px 0 4px;
  font-size: 2.15rem;
}

.metric-grid small {
  color: var(--muted);
}

.chart-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #101626;
}

.chart-header {
  margin-bottom: 16px;
  color: var(--white);
}

.chart-header span {
  color: #aeb8c8;
}

.chart-header strong {
  color: #7df0d5;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 10px;
  height: 140px;
}

.bar-chart span {
  display: block;
  height: var(--h);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #7df0d5, #2764f6);
  animation: rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.workflow-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.workflow-list div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.workflow-list p {
  flex: 1;
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.35;
}

.workflow-list strong {
  color: var(--muted);
  font-size: 0.86rem;
}

.dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.dot.ai {
  background: var(--green);
}

.dot.design {
  background: var(--amber);
}

.floating-card {
  position: absolute;
  width: 230px;
  padding: 18px;
}

.floating-card p {
  margin: 8px 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.card-one {
  top: 18px;
  left: 0;
  animation: floaty 7s ease-in-out infinite;
}

.card-two {
  right: 0;
  bottom: 48px;
  animation: floaty 8s ease-in-out 900ms infinite;
}

.logo-band {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.logo-band span {
  display: grid;
  min-height: 82px;
  place-items: center;
  padding: 16px;
  color: #4e5b70;
  background: rgba(255, 255, 255, 0.72);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  font-size: 1.08rem;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 48px rgba(31, 44, 71, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-card::after {
  position: absolute;
  inset: auto -20% -36% 22%;
  height: 220px;
  content: "";
  background: linear-gradient(135deg, rgba(39, 100, 246, 0.1), rgba(22, 178, 143, 0.11));
  transform: rotate(-8deg);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(39, 100, 246, 0.35);
  box-shadow: 0 26px 70px rgba(31, 44, 71, 0.13);
}

.service-card.accent {
  color: var(--white);
  background: linear-gradient(145deg, #101626, #1a2f6e);
}

.service-card.accent p,
.service-card.accent li {
  color: #d3ddf0;
}

.service-card.accent .service-number {
  color: #9fb9ff;
}

.service-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 78px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0)),
    var(--blue);
  box-shadow: 0 18px 34px rgba(39, 100, 246, 0.22);
}

.service-icon.phone {
  clip-path: polygon(24% 0, 76% 0, 76% 100%, 24% 100%);
}

.service-icon.ai {
  background:
    radial-gradient(circle at 35% 34%, #ffffff 0 8%, transparent 9%),
    radial-gradient(circle at 70% 66%, #ffffff 0 7%, transparent 8%),
    linear-gradient(135deg, var(--green), var(--blue));
}

.service-icon.support {
  background:
    linear-gradient(90deg, transparent 38%, rgba(255, 255, 255, 0.55) 39% 60%, transparent 61%),
    linear-gradient(135deg, var(--amber), var(--rose));
}

.service-number {
  position: absolute;
  top: 30px;
  right: 28px;
  color: #a2adc0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
}

.service-card p,
.service-card ul {
  position: relative;
  z-index: 1;
}

.service-card ul {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  color: #4d5a70;
  line-height: 1.45;
}

.service-card li::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  content: "";
  background: var(--green);
}

.split-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 54px;
}

.split-copy p:not(.eyebrow) {
  max-width: 620px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--blue);
  font-weight: 800;
}

.text-link::after {
  margin-left: 8px;
  content: "->";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.system-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.panel-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.panel-tabs button {
  border: 0;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.panel-tabs button.active {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(31, 44, 71, 0.08);
}

.system-row {
  min-height: 76px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.system-row:last-child {
  border-bottom: 0;
}

.system-row span {
  color: #435066;
  font-weight: 700;
}

.system-row strong {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(39, 100, 246, 0.1);
  font-size: 0.84rem;
}

.process-section {
  border-top: 1px solid var(--line);
}

.section-heading.compact {
  margin-bottom: 34px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.timeline article {
  min-height: 280px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.88);
}

.timeline span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 64px;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: rgba(39, 100, 246, 0.1);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 600;
}

.timeline p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.cta-section {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  margin: 42px 0 82px;
  padding: 42px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(125, 240, 213, 0.14), transparent 36%),
    linear-gradient(145deg, #101626, #16316d 72%, #0f7c66);
  box-shadow: 0 28px 80px rgba(16, 22, 38, 0.22);
}

.cta-section .eyebrow {
  color: #7df0d5;
}

.cta-section p {
  max-width: 700px;
  color: #d5dfef;
}

.contact-card {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.button.full {
  width: 100%;
}

address {
  color: #d5dfef;
  font-style: normal;
  line-height: 1.65;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.site-footer p,
.site-footer span {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes rise {
  from {
    height: 12%;
    opacity: 0.25;
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -12px, 0);
  }
}

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

@media (max-width: 1020px) {
  .hero,
  .split-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
    min-height: auto;
    padding-top: 74px;
  }

  .hero-visual {
    min-height: 590px;
  }

  .dashboard-main {
    left: 7%;
    right: auto;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-band {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-open .site-nav {
    grid-column: 1 / -1;
    display: grid;
    width: 100%;
    justify-content: stretch;
  }

  .site-header.nav-open .header-cta {
    grid-column: 1 / -1;
    display: flex;
  }

  .section-pad {
    padding: 72px 0;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-visual {
    min-height: auto;
  }

  .dashboard-main,
  .floating-card {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .hero-visual {
    display: grid;
    gap: 14px;
  }

  .metric-grid,
  .service-grid,
  .timeline,
  .logo-band {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-icon {
    margin-bottom: 52px;
  }

  .cta-section {
    padding: 28px;
  }
}

@media (max-width: 520px) {
  .metric-grid {
    gap: 8px;
  }

  .metric-grid article {
    min-height: 105px;
    padding: 12px;
  }

  .metric-grid strong {
    font-size: 1.7rem;
  }

  .bar-chart {
    height: 110px;
  }

  .proof-strip span,
  .button {
    width: 100%;
  }
}
