:root {
  --bg: #f3f7f8;
  --surface: #ffffff;
  --surface-muted: #ecf2f5;
  --ink: #102332;
  --ink-muted: #4e6474;
  --brand: #0f6c86;
  --brand-strong: #08495f;
  --accent: #ff8f3f;
  --ok: #1c8b54;
  --line: #d4e0e8;
  --radius: 16px;
  --shadow: 0 18px 34px -28px rgba(8, 21, 35, 0.4);
  --max: 1120px;
  --space-hero-top: clamp(88px, 10vw, 128px);
  --space-hero-bottom: clamp(62px, 7vw, 96px);
  --space-section-y: clamp(72px, 8.5vw, 112px);
  --space-section-content: clamp(34px, 4vw, 52px);
  --space-card-grid-gap: 22px;
  --space-split-gap: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 15%, rgba(15, 108, 134, 0.2), transparent 36%),
    radial-gradient(circle at 10% 95%, rgba(255, 143, 63, 0.2), transparent 28%),
    var(--bg);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  font-family: "Sora", "Avenir Next Condensed", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

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

img {
  max-width: 100%;
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(243, 247, 248, 0.82);
  border-bottom: 1px solid rgba(16, 35, 50, 0.06);
}

.header-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.brand span {
  color: var(--brand);
}

.primary-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 26px;
  font-weight: 600;
  color: var(--ink-muted);
}

.primary-nav a[aria-current="page"] {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 7px 10px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-primary {
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 9px 22px -14px rgba(15, 108, 134, 0.9);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.primary-nav .mobile-nav-book-demo {
  display: none;
}

.btn:hover {
  transform: translateY(-1px);
}

main {
  overflow: clip;
}

.about-main {
  overflow: visible;
}

.hero {
  padding: var(--space-hero-top) 0 var(--space-hero-bottom);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
}

.hero-center .hero-grid {
  grid-template-columns: 1fr;
}

.hero-center .hero-grid > div {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.hero-center p {
  margin-inline: auto;
  text-align: center;
}

.hero-center .hero-actions {
  justify-content: center;
}

.hero-center .metric-grid {
  max-width: 760px;
  margin-inline: auto;
  margin-top: 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--brand-strong);
  background: rgba(15, 108, 134, 0.11);
  padding: 7px 10px;
  border-radius: 999px;
}

.hero h1 {
  margin-top: 12px;
  font-size: clamp(2rem, 4.9vw, 4rem);
}

.hero p {
  margin-top: 16px;
  color: var(--ink-muted);
  max-width: 56ch;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-video {
  margin-top: 22px;
}

.hero-video video {
  width: 100%;
  max-width: 840px;
  border-radius: 16px;
  border: 1px solid #bfd0db;
  background: #0b1f2f;
  box-shadow: var(--shadow);
}

.metric-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}

.metric strong {
  display: block;
  font-size: 1.5rem;
  color: var(--brand-strong);
  line-height: 1.1;
}

.metric span {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.panel {
  background: linear-gradient(165deg, #fff, #eaf2f5);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 22px;
  box-shadow: var(--shadow);
}

.panel h3 {
  font-size: 1.3rem;
}

.check-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: var(--ink-muted);
}

.check-list li::before {
  content: "✓";
  color: var(--ok);
  font-weight: 700;
}

.section {
  padding: var(--space-section-y) 0;
}

.section h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

.section-copy {
  color: var(--ink-muted);
  margin-top: 14px;
  max-width: 64ch;
}

.section > .wrap > .card-grid,
.section > .wrap > .split,
.section > .wrap > .table-wrap,
.section > .wrap > .customer-case,
.section > .wrap > .prose {
  margin-top: var(--space-section-content);
}

.section > .wrap.split {
  margin-top: 0;
}

.card-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-card-grid-gap);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 12px;
  background: linear-gradient(145deg, #e8f4f8, #d7ebf2);
  color: var(--brand-strong);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 1.14rem;
}

.card p {
  margin-top: 10px;
  color: var(--ink-muted);
}

.split {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-split-gap);
}

.table-wrap {
  margin-top: 0;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

th {
  background: #0e2536;
  color: #fff;
  font-size: 0.86rem;
}

tr:last-child td {
  border-bottom: none;
}

.highlight-row td {
  background: #e5f4f8;
  font-weight: 700;
}

.kicker {
  color: var(--brand-strong);
  font-weight: 700;
}

.cta {
  margin: 0;
  background: linear-gradient(130deg, #0f6c86, #08364a);
  border-radius: calc(var(--radius) + 6px);
  padding: 34px;
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-section {
  padding-top: clamp(40px, 5vw, 68px);
  padding-bottom: clamp(72px, 8vw, 112px);
}

.cta p {
  margin-top: 10px;
  color: #d5eef5;
  max-width: 54ch;
}

.cta .btn-primary {
  margin-top: 20px;
  background: #fff;
  color: #0f6c86;
}

.site-footer {
  border-top: 1px solid rgba(16, 35, 50, 0.1);
  padding: 22px 0 30px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.form-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  display: none;
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid transparent;
  font-weight: 600;
}

.form-status.show {
  display: block;
}

.form-status.success {
  color: #15553a;
  background: #e7f7ef;
  border-color: #b7e2c9;
}

.form-status.error {
  color: #7b1f1f;
  background: #fdeeee;
  border-color: #f2c7c7;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 7px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #bfd0db;
  border-radius: 10px;
  font: inherit;
  padding: 10px 11px;
  background: #fff;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.prose {
  max-width: 760px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.about-prose .eyebrow {
  margin-bottom: 24px;
}

.about-sidebar {
  position: sticky;
  top: 108px;
}

.about-floating-cta {
  padding: 28px;
}

.prose h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  margin-top: 34px;
}

.prose p {
  margin-top: 12px;
  color: var(--ink-muted);
}

.prose ul {
  margin: 12px 0 0 20px;
  color: var(--ink-muted);
}

.prose li {
  margin-top: 8px;
}

.image-placeholder {
  margin-top: 18px;
  border: 1px dashed #aac0ce;
  border-radius: 12px;
  min-height: 220px;
  display: grid;
  place-items: center;
  color: #6b8494;
  background: #f7fbfd;
  font-weight: 600;
}

.customer-case {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-split-gap);
  align-items: stretch;
}

.customer-case + .customer-case {
  margin-top: 72px;
  padding-top: 12px;
  border-top: 1px solid rgba(16, 35, 50, 0.08);
}

.customer-case.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.case-map {
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid #1e3242;
  box-shadow: var(--shadow);
  background: #0a1118;
}

.case-map svg {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: block;
}

.case-body {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.case-body h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.case-body p {
  margin-top: 10px;
  color: var(--ink-muted);
}

.case-meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-pill {
  border: 1px solid #c9dae4;
  background: #f2f8fb;
  color: #244458;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.case-outcomes {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.case-outcomes li {
  display: flex;
  gap: 9px;
  color: var(--ink-muted);
}

.case-outcomes li::before {
  content: "✓";
  color: var(--ok);
  font-weight: 800;
}

.workflow-grid {
  margin-top: var(--space-section-content);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.workflow-step h3 {
  margin-top: 8px;
}

.workflow-step p {
  margin-top: 10px;
}

.workflow-shot {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #f5fafc;
}

.workflow-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.65s ease forwards;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

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

  .fade-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .card-grid,
  .form-grid,
  .customer-case,
  .customer-case.reverse {
    grid-template-columns: 1fr;
  }

  .primary-nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .primary-nav.open {
    display: block;
  }

  .primary-nav ul {
    padding: 12px 0 6px;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-nav-book-demo {
    display: inline-flex;
    width: 100%;
    margin-top: 10px;
    justify-content: center;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .header-row {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .hero {
    padding-top: 68px;
    padding-bottom: 54px;
  }

  .section {
    padding: 62px 0;
  }

  .cta-section {
    padding-top: 34px;
    padding-bottom: 72px;
  }

  .card-grid {
    margin-top: 0;
    gap: 18px;
  }

  .split {
    margin-top: 0;
    gap: 18px;
  }

  .customer-case {
    margin-top: 0;
    gap: 18px;
  }

  .customer-case + .customer-case {
    margin-top: 44px;
    padding-top: 8px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-prose .eyebrow {
    margin-bottom: 18px;
  }

  .about-sidebar {
    position: static;
    margin-top: 8px;
  }
}
