:root {
  --bg: #f6f4ed;
  --surface: #fffdf7;
  --surface-2: #f4efe3;
  --text: #15181d;
  --muted: #59606b;
  --line: #d8d2c1;
  --accent: #0f766e;
  --accent-strong: #0b5f58;
  --shadow-sm: 0 10px 22px rgba(18, 22, 31, 0.08);
  --shadow-md: 0 16px 32px rgba(18, 22, 31, 0.12);
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --max: 1140px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.55;
}

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

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.glow {
  position: absolute;
  filter: blur(90px);
  opacity: 0.38;
}

.glow-a {
  width: 560px;
  height: 560px;
  background: #4db6ac;
  top: -180px;
  left: -140px;
}

.glow-b {
  width: 500px;
  height: 500px;
  background: #ffbf5f;
  bottom: -220px;
  right: -120px;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(21, 24, 29, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 24, 29, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 1;
  transition: opacity 220ms ease;
}

body.grid-muted .grid-overlay {
  opacity: 0.25;
}

.container {
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(9px);
  background: rgba(246, 244, 237, 0.78);
  border-bottom: 1px solid rgba(21, 24, 29, 0.08);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(246, 244, 237, 0.95);
  box-shadow: 0 10px 24px rgba(18, 22, 31, 0.1);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  line-height: 1;
}

.brand img {
  height: 30px;
  display: block;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  padding: 6.4rem 0 2rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.1rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.79rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 15ch;
  font-size: clamp(2.25rem, 6.5vw, 4.6rem);
}

h2 {
  font-size: clamp(1.7rem, 4.2vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

h4 {
  font-size: 1.05rem;
}

.lede {
  margin: 1.15rem 0 0;
  max-width: 64ch;
  font-size: 1.1rem;
  color: var(--muted);
}

.authority-line {
  margin: 0.55rem 0 0;
  color: #4d5765;
  font-size: 0.95rem;
}

.hero-actions,
.contact-actions,
.form-actions,
.card-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.68rem;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0.78rem 1.2rem;
  background: var(--accent);
  color: #f3faf9;
  box-shadow: 0 10px 20px rgba(9, 74, 69, 0.24);
  font-weight: 500;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--accent-strong);
  box-shadow: 0 14px 26px rgba(9, 74, 69, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.btn-sm {
  padding: 0.58rem 0.95rem;
  font-size: 0.93rem;
}

.text-link {
  align-self: center;
  color: var(--accent-strong);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.hero-visual {
  margin: 0;
  min-height: 340px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: clip;
  box-shadow: var(--shadow-sm);
}

.hero-image-visual {
  max-width: 640px;
  width: 100%;
  justify-self: end;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(18, 22, 31, 0.16);
  background: rgba(255, 253, 247, 0.86);
}

.hero-system-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.95;
}

.hero-system-visual {
  padding: 0.9rem;
  background: linear-gradient(145deg, rgba(15, 118, 110, 0.12), rgba(255, 253, 247, 0.9));
}

.hero-system-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.flow-line {
  stroke-dasharray: 6 6;
  animation: flowLine 2.8s linear infinite;
}

@keyframes flowLine {
  from {
    stroke-dashoffset: 26;
    opacity: 0.55;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 0.95;
  }
}

.ops-dash-head h3 {
  margin-top: 0.3rem;
}

.ops-kpis {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.ops-kpi {
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 12px;
  padding: 0.7rem;
  background: rgba(255, 253, 247, 0.88);
}

.ops-kpi span {
  font-size: 0.84rem;
  color: #526071;
}

.ops-kpi strong {
  margin-top: 0.25rem;
  display: block;
  color: #1c2a38;
  font-size: 1.02rem;
}

.motion-float {
  animation: floatVisual 7.6s ease-in-out infinite;
}

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

.proof-bar,
.chip-row,
.jump-links {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.proof-bar {
  margin-top: 1rem;
}

.proof-pill,
.chip {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 253, 247, 0.9);
  padding: 0.36rem 0.7rem;
  font-size: 0.82rem;
  color: #29303b;
}

.chip-proof {
  background: rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.32);
}

.chip-status {
  background: rgba(9, 101, 84, 0.12);
  border-color: rgba(9, 101, 84, 0.34);
  color: #0b544e;
}

.chip-priority {
  background: rgba(15, 118, 110, 0.1);
  border-color: rgba(15, 118, 110, 0.35);
  color: #0b5f58;
}

.dual-path-cta {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.path-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: rgba(255, 253, 247, 0.9);
}

.path-chip {
  width: fit-content;
  margin: 0 0 0.55rem;
  border: 1px solid rgba(21, 24, 29, 0.15);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.55rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.path-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.workflow-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.chip-recommended {
  background: rgba(15, 118, 110, 0.12);
  border-color: rgba(15, 118, 110, 0.4);
  color: #0b5f58;
}

.workflow-recommended {
  border-color: rgba(15, 118, 110, 0.46);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.14);
}

.jump-links {
  margin-top: 1rem;
}

.jump-links a {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.32rem 0.68rem;
  font-size: 0.85rem;
  color: #2d3440;
  background: rgba(255, 253, 247, 0.82);
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0.9rem;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta-inner {
  background: rgba(255, 253, 247, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  display: flex;
  gap: 0.55rem;
  justify-content: center;
  flex-wrap: wrap;
}

.section {
  padding: 5.4rem 0;
}

.section > * {
  position: relative;
  z-index: 1;
}

.major-section {
  position: relative;
}

.major-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(54, 66, 80, 0.22), transparent);
}

#products {
  position: relative;
  isolation: isolate;
}

.section-accent {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 16px;
  mix-blend-mode: overlay;
  opacity: 0.05;
}

.section-accent picture,
.section-accent-image {
  width: 100%;
  height: 100%;
  display: block;
}

.section-accent-image {
  object-fit: cover;
}

.anchor-alias {
  display: block;
  position: relative;
  top: -88px;
  visibility: hidden;
}

.section-head {
  margin-bottom: 1.35rem;
  padding: 0.25rem 0;
  background-image: linear-gradient(rgba(21, 24, 29, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 24, 29, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

.section-intro {
  margin-top: 0.7rem;
  max-width: 72ch;
  color: var(--muted);
}

.segment-toggle {
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 253, 247, 0.9);
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.28rem;
  margin-bottom: 1rem;
}

.filter-pills {
  width: fit-content;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.filter-pill {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 253, 247, 0.9);
  color: #334154;
  font: inherit;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}

.filter-pill.is-active {
  border-color: rgba(15, 118, 110, 0.4);
  background: rgba(15, 118, 110, 0.12);
  color: #0b5f58;
}

.segment-btn {
  border: 0;
  background: transparent;
  border-radius: var(--radius-pill);
  padding: 0.46rem 0.86rem;
  color: #334154;
  font: inherit;
  cursor: pointer;
}

.segment-btn.is-active {
  background: var(--accent);
  color: #eefcf8;
}

.cards {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.35rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.product-card {
  position: relative;
  padding-top: 2.4rem;
}

.ecosystem-chip {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.72rem;
  padding: 0.22rem 0.55rem;
  border-color: rgba(56, 67, 80, 0.32);
  color: #495868;
  background: rgba(255, 253, 247, 0.92);
}

.product-icon {
  position: absolute;
  top: 0.72rem;
  left: 0.72rem;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(56, 67, 80, 0.26);
  border-radius: 9px;
  background: rgba(255, 253, 247, 0.94);
  display: grid;
  place-items: center;
}

.product-icon svg {
  width: 16px;
  height: 16px;
}

.product-icon path {
  fill: none;
  stroke: #3f4d5d;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.core-app-head {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  justify-content: space-between;
}

.core-app-card p strong {
  color: #283545;
}

.label-line {
  margin-top: 0.55rem;
}

.bullet-list {
  margin: 0.75rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.bullet-list li + li {
  margin-top: 0.34rem;
}

.proof-row {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.timeline li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 0.95rem;
}

.timeline span {
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-2);
  font-family: "IBM Plex Mono", monospace;
  color: #283140;
}

.timeline p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.custom-block {
  margin-top: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 247, 0.72);
  padding: 1.1rem;
}

.custom-block > p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.standard-card {
  background: rgba(255, 253, 247, 0.94);
}

.standard-cta-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.solution-tile h4 {
  margin-bottom: 0.2rem;
}

.stack-meta-row {
  margin-bottom: 0.95rem;
}

.metric-line {
  margin-top: 0.9rem;
  color: #2b3848;
}

.project-head {
  display: flex;
  gap: 0.6rem;
  justify-content: space-between;
  align-items: flex-start;
}

.milestone-row {
  margin-top: 0.95rem;
  padding: 0.6rem 0.7rem;
  border-radius: 12px;
  background: rgba(15, 118, 110, 0.06);
  border: 1px solid rgba(15, 118, 110, 0.24);
}

.milestone-row span {
  padding: 0 0.25rem;
}

.project-meta {
  margin-top: 0.72rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  color: #405060;
}

.text-button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  font: inherit;
}

.company-grid article:nth-child(1) {
  background: linear-gradient(150deg, rgba(15, 118, 110, 0.1), rgba(255, 253, 247, 0.95));
}

.company-grid article:nth-child(2) {
  background: linear-gradient(150deg, rgba(217, 119, 6, 0.1), rgba(255, 253, 247, 0.95));
}

.company-grid article:nth-child(3) {
  background: linear-gradient(150deg, rgba(29, 78, 216, 0.1), rgba(255, 253, 247, 0.95));
}

#company {
  position: relative;
  isolation: isolate;
}

.company-visual {
  position: absolute;
  top: 1.2rem;
  right: 0;
  width: min(44%, 460px);
  margin: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: 18px;
  overflow: hidden;
}

.company-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 50%, rgba(246, 244, 237, 0.78), transparent 42%),
    radial-gradient(circle at 100% 50%, rgba(246, 244, 237, 0.78), transparent 42%),
    linear-gradient(120deg, rgba(246, 244, 237, 0.08), rgba(246, 244, 237, 0.64));
}

.company-visual picture,
.company-visual-image {
  width: 100%;
  height: 100%;
  display: block;
}

.company-visual-image {
  object-fit: cover;
  filter: grayscale(20%);
}

.contact-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(15, 118, 110, 0.08), rgba(217, 119, 6, 0.08));
  padding: 1.15rem;
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 1rem;
}

.contact-panel {
  display: grid;
  gap: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.78rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 247, 0.93);
  padding: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.32rem;
  font-size: 0.92rem;
  color: #3f4958;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #ffffff;
  padding: 0.72rem;
  font: inherit;
}

.conditional-group {
  display: grid;
  gap: 0.78rem;
  border: 1px dashed rgba(21, 24, 29, 0.24);
  border-radius: 12px;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.62);
}

.next-steps-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 247, 0.9);
  padding: 1rem;
}

.next-track-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.next-track-grid ol {
  margin: 0.55rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.next-track-grid li + li {
  margin-top: 0.36rem;
}

.trust-note {
  margin: 0.2rem 0 0;
  font-size: 0.92rem;
  color: #49505c;
}

.site-footer {
  padding: 2.5rem 0 7rem;
  text-align: center;
  color: var(--muted);
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-shell[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 32, 0.46);
}

.modal-card {
  position: relative;
  width: min(520px, 96vw);
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.15rem;
}

body.modal-open {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  transition: opacity 560ms cubic-bezier(0.21, 0.8, 0.19, 1),
    transform 560ms cubic-bezier(0.21, 0.8, 0.19, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (max-width: 1080px) {
  .three-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nav-links,
  .hero-layout,
  .dual-path-cta,
  .two-up,
  .three-up,
  .contact-wrap,
  .next-track-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 5.3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

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

  .hero-image-visual {
    justify-self: stretch;
    margin-top: 24px;
  }

  .hero-system-visual svg {
    min-height: 240px;
  }

  .proof-bar {
    gap: 0.45rem;
  }

  .proof-pill {
    font-size: 0.78rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .sticky-cta {
    bottom: 0.5rem;
  }

  .card,
  .contact-form,
  .next-steps-box,
  .custom-block {
    padding: 1.15rem;
  }

  .card:hover {
    transform: none;
  }

  .section-accent {
    border-radius: 12px;
  }

  .company-visual {
    position: relative;
    width: 100%;
    top: 0;
    right: 0;
    margin: 0 0 24px;
    min-height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
