:root {
  --ink: #101317;
  --muted: #626b74;
  --line: #d9dee3;
  --paper: #f6f8f8;
  --white: #ffffff;
  --graphite: #161b20;
  --teal: #00b9b7;
  --teal-dark: #008d8b;
  --red: #e64336;
  --shadow: 0 24px 70px rgba(12, 18, 24, .16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  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;
}

img,
svg {
  display: block;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(0, 185, 183, .45);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 19, 23, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--graphite), #28333b);
  border-bottom: 3px solid var(--teal);
  border-radius: 8px;
  font-size: .82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #e5eaee;
  font-size: .95rem;
  font-weight: 650;
}

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

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}

.nav-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 10px 24px rgba(230, 67, 54, .24);
}

.section-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 19, 23, .98) 0%, rgba(15, 19, 23, .92) 42%, rgba(15, 19, 23, .7) 100%),
    radial-gradient(circle at 70% 30%, rgba(0, 185, 183, .16), transparent 34%),
    var(--graphite);
}

.hero-inner {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .95fr);
  align-items: center;
  gap: 56px;
  padding: 62px 0 58px;
}

.section-label {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.platform-panel h2,
.data-copy h2,
.contact h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0;
  line-height: .98;
}

.hero h1 {
  max-width: 720px;
  color: var(--white);
  font-size: clamp(3.2rem, 5vw, 5rem);
}

.hero h1 span {
  color: var(--red);
}

.hero-summary {
  max-width: 650px;
  margin: 28px 0 0;
  color: #d4dadd;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  padding: 0 22px;
  border: 1px solid transparent;
}

.button-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 16px 34px rgba(230, 67, 54, .24);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 610px;
  margin: 46px 0 0;
}

.hero-stats div,
.service-card,
.data-table,
.trust-band div {
  border-radius: 8px;
}

.service-card,
.data-table,
.trust-band div {
  background: var(--white);
  border: 1px solid rgba(16, 19, 23, .08);
}

.hero-stats div {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 18px;
}

.hero-stats dt {
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: #c1c9ce;
  font-size: .9rem;
}

.hero-visual {
  position: relative;
  min-height: 500px;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 42px -20px -22px 42px;
  z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(0, 185, 183, .22) 0 1px, transparent 1px 42px), var(--graphite);
  border-radius: 8px;
}

.hero-visual img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.system-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: min(320px, calc(100% - 56px));
  padding: 20px;
  color: var(--white);
  background: rgba(22, 27, 32, .88);
  border: 1px solid rgba(255, 255, 255, .18);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.system-card span {
  display: block;
  color: #9ce8e5;
  font-size: .82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.system-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
}

.audience,
.services,
.platforms,
.database,
.trust-band,
.contact {
  padding: 94px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .6fr);
  gap: 48px;
  align-items: end;
}

.section-heading h2,
.platform-panel h2,
.data-copy h2,
.contact h2 {
  font-size: clamp(2.2rem, 4vw, 4.5rem);
}

.section-heading p:last-child,
.platform-panel p,
.data-copy p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.audience-grid article {
  min-height: 190px;
  padding: 24px;
  color: var(--white);
  background: linear-gradient(145deg, #151a1f, #242c32);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(16, 19, 23, .12);
}

.audience-grid strong,
.audience-grid span {
  display: block;
}

.audience-grid strong {
  font-size: 1.25rem;
  line-height: 1.1;
}

.audience-grid span {
  margin-top: 14px;
  color: #c5cdd3;
}

.service-card {
  min-height: 310px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 34px rgba(16, 19, 23, .06);
}

.icon-box {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--teal-dark);
  background: #e8f8f7;
  border-radius: 8px;
}

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

.service-card h3,
.workflow-list h3 {
  margin: 26px 0 10px;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.12;
}

.service-card p,
.workflow-list p {
  margin: 0;
  color: var(--muted);
}

.platforms {
  width: 100%;
  max-width: none;
  background: var(--graphite);
}

.platform-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: start;
  color: var(--white);
}

.platform-panel h2 {
  color: var(--white);
}

.platform-panel p {
  margin-top: 22px;
  color: #b6c0c8;
}

.workflow-list {
  display: grid;
  gap: 14px;
}

.workflow-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
}

.workflow-list span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--teal);
  background: rgba(0, 185, 183, .12);
  border-radius: 8px;
  font-weight: 900;
}

.workflow-list h3 {
  margin-top: 0;
  color: var(--white);
}

.workflow-list p {
  color: #b6c0c8;
}

.database {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, .7fr);
  gap: 60px;
  align-items: center;
}

.data-copy p {
  margin-top: 22px;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--teal-dark);
  font-weight: 900;
}

.data-table {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table-row {
  display: grid;
  grid-template-columns: 1.2fr .9fr .55fr;
  gap: 16px;
  padding: 18px 22px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.table-row:first-child {
  border-top: 0;
}

.table-head {
  color: var(--white);
  background: var(--ink);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.table-row strong {
  color: var(--teal-dark);
}

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

.trust-band div {
  padding: 24px;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  font-size: 1.15rem;
}

.trust-band span {
  margin-top: 8px;
  color: var(--muted);
}

.contact {
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 54px;
  color: var(--white);
  background: linear-gradient(135deg, var(--graphite), #27333a);
  border-radius: 8px;
}

.contact h2 {
  color: var(--white);
}

.contact p {
  max-width: 730px;
  margin-top: 18px;
  color: #c5cdd3;
}

.site-footer {
  color: #c8d0d6;
  background: #0f1317;
}

.footer-grid,
.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .8fr;
  gap: 48px;
  padding: 54px 0;
}

.footer-brand {
  color: var(--white);
}

.site-footer p {
  max-width: 470px;
  margin: 18px 0 0;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: .88rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-top: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

@media (max-width: 980px) {
  .nav-shell {
    height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero-inner,
  .section-heading,
  .platform-panel,
  .database,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-visual,
  .hero-visual img {
    min-height: 0;
    height: 460px;
  }

  .service-grid,
  .audience-grid,
  .trust-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .nav-cta {
    display: none;
  }

  .nav-links {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-stats,
  .audience-grid,
  .service-grid,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-visual img {
    height: 340px;
  }

  .hero-visual::before {
    inset: 26px -10px -14px 24px;
  }

  .system-card {
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
  }

  .audience,
  .services,
  .platforms,
  .database,
  .trust-band {
    padding: 68px 0;
  }

  .workflow-list article,
  .table-row {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 32px 24px;
    margin-bottom: 48px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
