:root {
  --primary: #09285f;
  --primary-2: #0b49c8;
  --blue: #168df5;
  --cyan: #18c8c8;
  --soft: #f6faff;
  --text: #10233f;
  --muted: #64748b;
  --line: #e8f0fb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  margin: 0;
  padding: 0;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

.navbar {
  position: relative;
  z-index: 1100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  overflow: visible;
}

.navbar-brand {
  padding: 0;
}

.navbar .container,
.navbar-collapse {
  overflow: visible;
}

.navbar-brand img {
  height: 100px;
  width: auto;
  display: block;
}

.nav-link {
  color: #35506f;
  font-weight: 600;
}

.nav-link:hover {
  color: var(--primary-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

.dropdown-menu {
  z-index: 2000;
  min-width: 260px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 22px 55px rgba(9,40,95,.16);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  color: #35506f;
  font-weight: 700;
  padding: 10px 12px;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--primary-2);
  background: #eef7ff;
}

.dropdown-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--primary-2);
  background: #eef7ff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.btn-primary-gradient {
  border: 0;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-2), var(--blue));
  box-shadow: 0 14px 30px rgba(22,141,245,.22);
}

.btn-primary-gradient:hover {
  color: #fff;
  transform: translateY(-1px);
}

.btn-soft {
  background: #eef7ff;
  color: var(--primary-2);
  border: 1px solid #dceeff;
  font-weight: 700;
}

.hero {
  position: relative;
  padding: 80px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(24,200,200,.18), transparent 30%),
    radial-gradient(circle at 12% 22%, rgba(22,141,245,.16), transparent 31%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  color: var(--primary-2);
  background: rgba(255,255,255,.78);
  font-weight: 700;
  font-size: 14px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
}

h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -0.06em;
  font-weight: 800;
  color: var(--primary);
}

.hero p.lead {
  color: var(--muted);
  font-size: 20px;
  max-width: 620px;
}

.api-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(9,40,95,.12);
  overflow: hidden;
  max-width: 100%;
}

.api-top {
  background: linear-gradient(135deg, #f8fbff, #eef7ff);
  border-bottom: 1px solid var(--line);
  padding: 18px 22px;
  font-weight: 800;
  color: var(--primary);
}

.code {
  margin: 0;
  padding: 26px;
  font-size: 14px;
  color: #21405f;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}

.token-blue {
  color: var(--blue);
  font-weight: 700;
}

.token-cyan {
  color: #0ea5a8;
  font-weight: 700;
}

.section {
  padding: 86px 0;
}

.section-soft {
  background: var(--soft);
}

.section-title {
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.muted {
  color: var(--muted);
}

.content-page {
  background: #fff;
}

.content-hero {
  padding: 76px 0 70px;
  background:
    radial-gradient(circle at 86% 18%, rgba(24,200,200,.14), transparent 28%),
    radial-gradient(circle at 12% 24%, rgba(22,141,245,.12), transparent 31%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.content-hero h1 {
  font-size: clamp(42px, 5vw, 68px);
}

.content-hero .lead {
  color: var(--muted);
  font-size: 20px;
}

.content-card {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(9,40,95,.06);
}

.content-card h2 {
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.content-card p {
  color: var(--muted);
}

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

.docs-wide {
  grid-column: 1 / -1;
}

.faq-list {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.code-block {
  margin: 18px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
  color: #21405f;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.article-body .highlight {
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
  overflow-x: auto;
}

.article-body .highlight pre {
  margin: 0;
  padding: 20px;
  color: #21405f;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.article-body .highlight code {
  color: inherit;
}

.docs-table {
  margin-bottom: 0;
}

.docs-table th {
  color: var(--primary);
  font-weight: 800;
}

.docs-table td {
  color: var(--muted);
  vertical-align: top;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-card-link {
  color: inherit;
  text-decoration: none;
  transition: .2s ease;
}

.blog-card-link:hover,
.blog-card-link:focus {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(9,40,95,.1);
}

.blog-card-link:hover .btn-soft,
.blog-card-link:focus .btn-soft {
  color: #fff;
  background: var(--primary-2);
  border-color: var(--primary-2);
}

.blog-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #061835;
  object-fit: contain;
}

.blog-card-image-logo {
  padding: 18px;
  background: #fff;
}

.blog-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.article-meta {
  color: var(--primary-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-body {
  max-width: 840px;
  margin: 0 auto;
  color: var(--text);
  font-size: 18px;
  line-height: 1.8;
}

.article-body img {
  display: block;
  width: 100%;
  max-height: 620px;
  margin: 0 auto 42px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #061835;
  box-shadow: 0 18px 45px rgba(9,40,95,.08);
  object-fit: contain;
}

.article-body h2 {
  margin: 42px 0 16px;
  color: var(--primary);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.article-body p {
  margin-bottom: 20px;
}

.article-toc {
  margin: 34px 0 42px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  box-shadow: 0 14px 34px rgba(9,40,95,.06);
}

.article-toc h2 {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.article-toc ol {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: article-toc;
}

.article-toc li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  counter-increment: article-toc;
  color: var(--primary-2);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.article-toc li::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 24px;
  border-radius: 8px;
  background: #eef7ff;
  color: var(--primary-2);
  content: counter(article-toc);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.article-toc a {
  color: #35506f;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.article-toc a:hover,
.article-toc a:focus {
  color: var(--primary-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.recommended-articles {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.recommended-articles h2 {
  margin: 6px 0 14px;
  font-size: 24px;
}

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

.recommended-article-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  min-height: 88px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(9,40,95,.05);
  color: inherit;
  text-decoration: none;
  transition: .2s ease;
}

.recommended-article-card:hover,
.recommended-article-card:focus {
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(9,40,95,.09);
}

.recommended-article-card img {
  grid-row: 1 / span 2;
  width: 76px;
  height: 58px;
  margin: 0;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #061835;
  box-shadow: none;
  object-fit: contain;
}

.recommended-article-card-logo {
  background: #fff;
}

.recommended-article-card span {
  margin: 0;
  color: var(--primary-2);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.recommended-article-card h3 {
  margin: 0;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.28;
}

.product-card {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(9,40,95,.06);
  transition: .2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(9,40,95,.1);
}

.product-card.is-coming-soon {
  background: #f3f4f6;
  border-color: #d1d5db;
  box-shadow: none;
  color: #6b7280;
}

.product-card.is-coming-soon:hover {
  transform: none;
  box-shadow: none;
}

.product-card.is-coming-soon .icon-box {
  background: #e5e7eb;
  color: #6b7280;
}

.product-card.is-coming-soon h5 {
  color: #4b5563;
}

.product-card.is-coming-soon .muted {
  color: #6b7280;
}

.coming-soon-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 28px;
  padding: 5px 10px;
  margin-bottom: 12px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgba(22,141,245,.14),
    rgba(24,200,200,.18)
  );
  color: var(--primary-2);
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 18px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  background: #fff;
}

.metric.is-coming-soon {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #6b7280;
}

.metric.is-coming-soon strong {
  color: #4b5563;
}

.metric.is-coming-soon span:not(.coming-soon-label) {
  color: #6b7280;
}

.metric.is-coming-soon .coming-soon-label {
  margin-bottom: 10px;
  background: #fff;
}

.metric strong {
  display: block;
  font-size: 34px;
  color: var(--primary-2);
  letter-spacing: -0.04em;
}

.flow-step {
  border-left: 3px solid #dbeafe;
  padding-left: 24px;
  position: relative;
}

.flow-step::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--cyan);
  border: 4px solid #e8fbfb;
}

.email-verifier {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(9,40,95,.08);
}

.email-verifier-endpoint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid #dceeff;
  border-radius: 12px;
  background: #f8fbff;
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  word-break: break-word;
}

.email-verifier-form .form-label {
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
}

.email-verifier-form .form-control {
  border-color: #dceeff;
  color: var(--text);
  min-height: 46px;
}

.email-verifier-form .form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 .2rem rgba(22,141,245,.14);
}

.email-verifier-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #dceeff;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.email-verifier-status.is-running {
  border-color: #bae6fd;
  background: #eff6ff;
  color: var(--primary-2);
}

.email-verifier-status.is-pass {
  border-color: #99f6e4;
  background: #ecfeff;
  color: #0f766e;
}

.email-verifier-status.is-review {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.email-verifier-status.is-fail {
  border-color: #fecaca;
  background: #fff1f2;
  color: #be123c;
}

.email-verifier-result {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
}

.email-verifier-summary {
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.email-verifier-result.is-pass {
  border-color: #99f6e4;
  background: #f0fdfa;
}

.email-verifier-result.is-review {
  border-color: #fde68a;
  background: #fffbeb;
}

.email-verifier-result.is-fail {
  border-color: #fecaca;
  background: #fff1f2;
}

.email-verifier-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.email-verifier-signal {
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(220,238,255,.9);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
}

.email-verifier-signal span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.email-verifier-signal strong {
  display: block;
  color: var(--primary);
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.cta {
  border-radius: 34px;
  padding: 56px;
  background:
    radial-gradient(circle at 80% 20%, rgba(24,200,200,.35), transparent 32%),
    linear-gradient(
      135deg,
      var(--primary),
      var(--primary-2) 55%,
      var(--blue)
    );
  color: #fff;
  box-shadow: 0 28px 80px rgba(11,73,200,.22);
}

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--muted);
}

footer img {
  height: 80px;
  width: auto;
}

@media (max-width: 991px) {
  .hero {
    padding-top: 220px;
  }

  .docs-grid,
  .blog-grid,
  .recommended-articles-grid {
    grid-template-columns: 1fr;
  }

  .navbar-brand img {
    height: 120px;
  }

  .cta {
    padding: 34px;
  }
}

@media (max-width: 576px) {
  .navbar-brand img {
    height: 90px;
  }

  .hero {
    padding: 170px 0 60px;
  }

  h1 {
    font-size: 38px;
    letter-spacing: -0.04em;
  }

  .hero p.lead {
    font-size: 18px;
  }

  .content-hero {
    padding: 56px 0 52px;
  }

  .content-card {
    padding: 22px;
  }

  .article-toc {
    padding: 18px;
  }

  .product-card,
  .metric,
  .email-verifier {
    padding: 20px;
  }

  .cta {
    padding: 24px;
    border-radius: 24px;
  }

  .code {
    padding: 16px;
    font-size: 12px;
  }

  .api-top {
    padding: 14px 18px;
  }

  .email-verifier-signals {
    grid-template-columns: 1fr;
  }

  footer img {
    height: 60px;
  }
}
