:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #536475;
  --soft: #f4f8fb;
  --surface: #ffffff;
  --line: #d9e4ee;
  --blue: #1e66f5;
  --cyan: #13b8c8;
  --green: #18a66a;
  --violet: #6d55f0;
  --navy: #08111f;
  --shadow: 0 22px 70px rgba(16, 32, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(
      circle at top right,
      rgba(19, 184, 200, 0.18),
      transparent 34rem
    ),
    linear-gradient(180deg, #f9fcff 0%, #edf4f8 44%, #ffffff 100%);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.hero,
.section {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-header nav a,
.site-footer nav a {
  color: #33485d;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 7px;
  padding: 0 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.nav-cta,
.button.primary {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 26px rgba(30, 102, 245, 0.22);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: 52px;
  min-height: calc(100vh - 100px);
  padding: 38px 0 70px;
}

.section-label {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  font-weight: 850;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  font-weight: 820;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
}

.hero-lede,
.section > div > p,
.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 17px;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 28px;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  min-height: 580px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  display: block;
  opacity: 0.95;
}

.product-panel {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(8, 17, 31, 0.72);
  backdrop-filter: blur(18px);
}

.product-panel span,
.product-panel strong {
  display: block;
}

.product-panel span {
  margin-bottom: 6px;
  color: #7decff;
  font-size: 13px;
  font-weight: 800;
}

.product-panel strong {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
}

.product-panel ul {
  margin: 0;
  padding-left: 18px;
  color: #d7e8f4;
}

.section {
  padding: 92px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.review-box,
.resource-list a,
.info-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 36px rgba(16, 32, 51, 0.07);
}

.feature-grid article {
  min-height: 172px;
  padding: 24px;
}

.feature-grid article p,
.review-box dd,
.resource-list span {
  color: var(--muted);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.proof-band div {
  min-height: 120px;
  padding: 24px;
  background: var(--surface);
}

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

.proof-band strong {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.proof-band span,
.proof-band a {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: start;
}

.review-box {
  padding: 26px;
}

.review-box dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.review-box dt {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.review-box dd {
  margin: 2px 0 0;
}

.compliance {
  padding-top: 42px;
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.resource-list a {
  display: block;
  min-height: 170px;
  padding: 24px;
  text-decoration: none;
}

.resource-list strong,
.resource-list span {
  display: block;
}

.resource-list strong {
  margin-bottom: 10px;
  font-size: 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 38px 0 54px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.legal-page {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 94px;
}

.legal-page article {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.legal-page h1 {
  font-size: clamp(40px, 6vw, 68px);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 25px;
  line-height: 1.15;
}

.legal-page a {
  color: var(--blue);
  font-weight: 750;
}

.api-page ul {
  padding-left: 22px;
}

.info-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0;
  overflow: hidden;
  background: var(--line);
}

.info-table div {
  padding: 18px;
  background: var(--surface);
}

.info-table strong,
.info-table span {
  display: block;
}

.info-table strong {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.info-table span {
  margin-top: 5px;
  font-weight: 800;
}

.not-found {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 40px;
  text-align: center;
}

.not-found img {
  width: 84px;
  height: auto;
  margin-bottom: 26px;
}

.not-found h1 {
  margin-bottom: 10px;
}

.not-found p {
  color: var(--muted);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .hero,
  .split,
  .two-column {
    grid-template-columns: 1fr;
  }

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

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

  .proof-band,
  .resource-list,
  .info-table {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .hero,
  .section,
  .legal-page {
    width: min(100% - 28px, 1160px);
  }

  .site-header nav {
    gap: 10px;
  }

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

  .nav-cta {
    width: 100%;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .hero-visual,
  .hero-visual > img {
    min-height: 390px;
  }

  .product-panel {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 18px;
  }

  .legal-page article {
    padding: 28px 20px;
  }
}
