:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #596979;
  --paper: #f7f9fb;
  --surface: #ffffff;
  --line: #dce4ea;
  --blue: #0e5a8a;
  --green: #1b6b45;
  --amber: #8a5a00;
  --red: #b3261e;
  --shadow: 0 20px 60px rgba(23, 33, 43, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

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

.topbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: #fff;
  background: rgba(10, 20, 30, 0.52);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-size: 13px;
}

nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

nav a {
  opacity: 0.9;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #111d27;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 23, 0.9) 0%, rgba(7, 16, 23, 0.72) 38%, rgba(7, 16, 23, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 16, 23, 0.4) 0%, rgba(7, 16, 23, 0.1) 70%, #f7f9fb 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 40px));
  padding: 130px 0 90px;
  margin-left: clamp(20px, 6vw, 80px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  color: #9fd9bf;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.lead {
  max-width: 640px;
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: #fff;
  color: var(--blue);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.fineprint {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.strip {
  width: min(1120px, calc(100% - 40px));
  margin: -44px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--line);
}

.strip div {
  background: var(--surface);
  padding: 22px;
}

.strip strong,
.strip span {
  display: block;
}

.strip strong {
  margin-bottom: 6px;
}

.strip span,
.feature-grid p,
.risk-list div,
.pricing li,
.footer p,
.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.65;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 0;
}

.section-heading {
  margin-bottom: 28px;
}

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

.feature-grid article,
.pricing-grid article,
.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.number {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--blue);
  font-weight: 900;
}

.safety {
  width: 100%;
  background: #eef6f1;
  margin-top: 92px;
  padding: 92px max(20px, calc((100vw - 1120px) / 2)) 84px;
}

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

.risk-list div {
  background: rgba(255, 255, 255, 0.78);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 18px;
}

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

.pricing ul,
.legal ul {
  padding-left: 20px;
}

.highlight {
  border-color: rgba(14, 90, 138, 0.42) !important;
  box-shadow: 0 18px 44px rgba(14, 90, 138, 0.14);
}

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 92px auto 0;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.footer p {
  max-width: 560px;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--blue);
  font-weight: 700;
}

.legal {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 60px;
}

.legal .eyebrow {
  color: var(--blue);
}

.legal-card {
  margin-top: 18px;
}

pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: 8px;
  background: #111d27;
  color: #f5f8fb;
  line-height: 1.55;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  width: 70px;
  color: var(--blue);
}

.api-docs h1 {
  color: var(--ink);
}

@media (max-width: 820px) {
  .topbar {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-copy {
    width: calc(100% - 40px);
    margin: 0 auto;
    padding-top: 120px;
  }

  .strip,
  .feature-grid,
  .risk-list,
  .pricing-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .footer {
    display: block;
  }

  .footer-links {
    margin-top: 18px;
  }

  table,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  th {
    width: auto;
    padding-bottom: 2px;
  }

  td {
    padding-top: 2px;
  }
}
