:root {
  --ink: #20242b;
  --muted: #626871;
  --line: #dfe2e5;
  --surface: #f6f7f8;
  --white: #ffffff;
  --blue: #405b77;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

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

a:focus-visible,
.use-cases-viewport:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.container {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header {
  height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.logo-mark {
  position: absolute;
  z-index: -1;
  right: -20px;
  top: 50%;
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
  pointer-events: none;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(64, 91, 119, 0.45);
  border-radius: 50%;
}

.logo-mark::after {
  inset: 13px;
  border-color: rgba(64, 91, 119, 0.7);
}

.sub-brand {
  padding: 5px 9px;
  border: 1px solid #c7ccd2;
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
}

.header nav {
  justify-content: flex-end;
  gap: 30px;
}

nav a {
  color: #686f78;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 150ms ease;
}

nav a:hover {
  color: var(--blue);
}

.header > .button {
  justify-self: end;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 19px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.button-outline {
  background: var(--white);
  color: var(--ink);
}

.header .button-outline {
  min-height: 48px;
  padding-inline: 23px;
  border-radius: 999px;
  font-size: 13px;
}

.button-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: var(--blue);
  border-color: var(--blue);
}

#difference,
#services,
#contact {
  scroll-margin-top: 96px;
}

/* ---------- Hero ---------- */

.hero {
  padding-block: 86px 40px;
  text-align: center;
}

.hero-kicker,
.label {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 1020px;
  margin-bottom: 26px;
  margin-inline: auto;
  font-size: clamp(48px, 5.6vw, 70px);
  font-weight: 430;
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-accent,
.build-heading span {
  color: var(--blue);
}

.hero-copy > p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

/* ---------- Hero proof points ---------- */

.hero-proof-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555c65;
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
}

.hero-proof-points li::before {
  content: "✓";
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

/* ---------- Hero banner strip ---------- */

.hero-banner {
  max-width: 880px;
  margin: 32px auto 0;
  padding: 22px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 10px;
  text-align: left;
}

.hero-banner p {
  margin: 0;
  color: #454c55;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.hero-banner strong {
  color: var(--ink);
}

/* ---------- Hero video ---------- */

.hero-video-wrap {
  margin: 44px auto 0;
  max-width: 760px;
}

.hero-video-placeholder {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 28%, rgba(64, 91, 119, 0.55), transparent 38%),
    linear-gradient(145deg, #2a3139, #101318 72%);
  border: 1px solid #3a424b;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.hero-video-placeholder::before,
.hero-video-placeholder::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(175, 192, 210, 0.13);
  border-radius: 50%;
}

.hero-video-placeholder::before {
  width: 390px;
  height: 390px;
  right: -130px;
  top: -210px;
}

.hero-video-placeholder::after {
  width: 290px;
  height: 290px;
  right: -82px;
  top: -160px;
}

.hero-video-kicker,
.hero-video-status {
  position: absolute;
  left: 24px;
  color: #c7d1dc;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

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

.hero-video-status {
  bottom: 22px;
}

.hero-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  background: var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.hero-video-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--white);
}

.hero-video-caption {
  margin: 14px 0 0;
  color: #8a9099;
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  padding-top: 30px;
}

.hero-actions .button-dark {
  min-width: 300px;
  min-height: 58px;
  padding-inline: 28px;
  border-radius: 999px;
  font-size: 14px;
}

/* ---------- Shared section rhythm ---------- */

.difference-section {
  padding-block: 76px 80px;
  border-top: 1px solid var(--line);
}

.difference-section .label {
  width: fit-content;
  margin-inline: auto;
  padding: 6px 10px;
  border: 1px solid #aeb7c0;
  line-height: 1;
  text-align: center;
}

.build-heading {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: clamp(38px, 4.4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-align: center;
  text-wrap: balance;
}

.build-intro {
  max-width: 860px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-inline: auto;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.build-intro p {
  max-width: 860px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

/* ---------- Workflow chain ---------- */

.workflow-card {
  margin: 26px auto 0;
  max-width: 980px;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.workflow-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 6px;
}

.workflow-node {
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid #d9dde1;
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
}

.workflow-arrow {
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

/* ---------- Approach grid (five levers) ---------- */

.approach-grid-label {
  width: fit-content;
  margin: 40px auto 0;
  padding: 6px 10px;
  border: 1px solid #aeb7c0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 1;
  text-align: center;
}

.approach-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.approach-item {
  flex: 1 1 280px;
  max-width: 340px;
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(217, 221, 225, 0.8);
  border-radius: 16px;
  box-shadow:
    0 24px 50px -22px rgba(32, 36, 43, 0.16),
    0 10px 22px rgba(32, 36, 43, 0.05);
}

.approach-item h3 {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.approach-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

/* ---------- Services section ---------- */

.services-section {
  padding-block: 76px 84px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.services-intro {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.services-intro h2 {
  margin-bottom: 16px;
  font-size: clamp(40px, 4.8vw, 56px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.services-intro p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  margin-top: 40px;
}

.service-item {
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(217, 221, 225, 0.8);
  border-radius: 16px;
  box-shadow:
    0 24px 50px -22px rgba(32, 36, 43, 0.16),
    0 10px 22px rgba(32, 36, 43, 0.05);
}

.service-item h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.service-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.58;
}

.service-item p + p {
  margin-top: 8px;
}

.service-list-label {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.service-item:not(:has(.service-list-label)) .service-list {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.service-list li {
  position: relative;
  padding-left: 16px;
  color: #555c65;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  transform: translateY(-50%);
  background: #eef2f5;
  border: 1px solid var(--blue);
}

/* ---------- Authority banner (floating card) ---------- */

.authority-section {
  position: relative;
  padding-block: 0 80px;
  background: var(--white);
}

.authority-card {
  position: relative;
  z-index: 2;
  width: min(880px, calc(100% - 64px));
  margin: -56px auto 0;
  padding: 40px 44px;
  background: var(--white);
  border: 1px solid rgba(217, 221, 225, 0.75);
  border-radius: 20px;
  box-shadow:
    0 42px 90px -30px rgba(32, 36, 43, 0.32),
    0 16px 36px rgba(32, 36, 43, 0.1);
  text-align: center;
}

.authority-label {
  width: fit-content;
  margin: 0 auto 16px;
  padding: 6px 10px;
  border: 1px solid #aeb7c0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.authority-card h2 {
  max-width: 620px;
  margin: 0 auto 12px;
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 430;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.authority-lede {
  max-width: 560px;
  margin: 0 auto 20px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.authority-card p:not(.authority-lede) {
  max-width: 620px;
  margin: 0 auto 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.authority-card p:last-child {
  margin-bottom: 0;
}

/* ---------- Closing CTA ---------- */

.closing-cta {
  position: relative;
  overflow: hidden;
  padding-block: 76px 88px;
  background: #20242b;
  color: var(--white);
}

.closing-cta::after {
  content: "";
  position: absolute;
  top: -570px;
  right: -220px;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow:
    0 0 0 120px rgba(255, 255, 255, 0.018),
    0 0 0 240px rgba(255, 255, 255, 0.012);
  pointer-events: none;
}

.closing-cta-inner {
  position: relative;
  z-index: 1;
  width: min(1000px, calc(100% - 64px));
  text-align: center;
}

.closing-cta-heading {
  max-width: 820px;
  margin: 0 auto 24px;
  color: var(--white);
  font-size: clamp(38px, 4.2vw, 54px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.closing-cta p {
  max-width: 680px;
  margin: 0 auto 34px;
  color: #aeb3bb;
  font-size: 18px;
  line-height: 1.6;
}

.closing-cta-button {
  min-height: 52px;
  padding-inline: 28px;
  background: #607ca6;
  border-color: #607ca6;
  border-radius: 999px;
  color: var(--white);
  font-size: 13px;
}

.closing-cta-button:hover {
  background: #6a86b0;
  border-color: #6a86b0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #171b20;
  color: #aeb3bb;
  border-top: 1px solid #353b43;
}

.footer-inner {
  min-height: 116px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding-block: 28px;
}

.footer-brand {
  color: var(--white);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.footer-meta {
  margin: 7px 0 0;
  color: #777f88;
  font-size: 11px;
}

.footer-disclaimer {
  max-width: 560px;
  margin: 6px 0 0;
  color: #5c636c;
  font-size: 10.5px;
  line-height: 1.5;
}

.footer-nav {
  justify-content: flex-end;
  gap: 26px;
}

.footer-nav a {
  color: #aeb3bb;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.footer-nav a:hover {
  color: var(--white);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .container {
    width: min(100% - 48px, 1160px);
  }

  .header nav {
    gap: 18px;
  }

  .header nav a {
    font-size: 11px;
  }

  .hero {
    padding-block: 68px 56px;
  }

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

  .service-list {
    grid-template-columns: 1fr;
  }

  .authority-card {
    width: min(100% - 48px, 880px);
    margin-top: -44px;
    padding: 34px 30px;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 40px);
  }

  .header {
    height: 68px;
    grid-template-columns: 1fr auto;
  }

  .header nav {
    display: none;
  }

  .sub-brand {
    display: none;
  }

  .logo {
    font-size: 14px;
  }

  .header .button {
    min-height: 36px;
    padding-inline: 13px;
    border-radius: 999px;
    font-size: 10px;
  }

  .hero {
    padding-block: 54px 48px;
  }

  .hero-kicker,
  .label {
    margin-bottom: 14px;
    font-size: 11px;
    line-height: 1.5;
  }

  h1 {
    margin-bottom: 22px;
    font-size: clamp(38px, 11vw, 50px);
    line-height: 1.05;
  }

  .hero-copy > p {
    font-size: 15.5px;
  }

  .hero-proof-points {
    display: grid;
    justify-items: center;
    gap: 9px;
    margin-top: 18px;
  }

  .hero-banner {
    padding: 18px 20px;
    margin-top: 26px;
  }

  .hero-video-wrap {
    margin-top: 34px;
  }

  .hero-actions {
    padding-top: 24px;
  }

  .hero-actions .button-dark {
    width: 100%;
    min-width: 0;
  }

  .difference-section {
    padding-block: 56px 60px;
  }

  .build-heading {
    margin-bottom: 28px;
    font-size: clamp(32px, 9vw, 42px);
  }

  .build-intro {
    gap: 14px;
    padding-top: 22px;
  }

  .workflow-card {
    padding: 20px 16px;
  }

  .workflow-chain {
    flex-direction: column;
  }

  .workflow-arrow {
    transform: rotate(90deg);
  }

  .workflow-node {
    width: 100%;
  }

  .approach-grid {
    gap: 14px;
    margin-top: 28px;
  }

  .approach-item {
    flex: 1 1 100%;
    max-width: none;
    padding: 22px;
  }

  .services-section {
    padding-block: 56px 60px;
  }

  .services-grid {
    margin-top: 28px;
  }

  .service-item {
    padding: 22px;
  }

  .authority-section {
    padding-block: 0 56px;
  }

  .authority-card {
    width: calc(100% - 40px);
    margin-top: -36px;
    padding: 28px 22px;
    border-radius: 16px;
  }

  .closing-cta {
    padding-block: 58px 64px;
  }

  .closing-cta::after {
    top: -390px;
    right: -310px;
    width: 600px;
    height: 600px;
  }

  .closing-cta-heading {
    margin-bottom: 22px;
  }

  .closing-cta p {
    margin-bottom: 28px;
    font-size: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 14px 20px;
    flex-wrap: wrap;
  }
}
