@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  --ink-900: #071127;
  --ink-700: #183157;
  --ink-500: #3b5a86;
  --text: #1d2f4d;
  --muted: #57739a;
  --surface: #f5f8fc;
  --card: rgba(255, 255, 255, 0.82);
  --line: rgba(13, 40, 84, 0.15);
  --brand: #0c8ce9;
  --brand-deep: #0464d1;
  --success: #1b9c6f;
  --warning: #d9842f;
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow: 0 24px 60px rgba(5, 25, 55, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: radial-gradient(circle at 8% -10%, #e8f7ff 0%, transparent 38%),
    radial-gradient(circle at 86% -8%, #e9f3ff 0%, transparent 36%),
    linear-gradient(140deg, #f6fbff 0%, #eef5fc 54%, #f8fbff 100%);
  min-height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

a {
  color: var(--brand-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 22px 22px 64px;
}

.top-nav {
  position: sticky;
  top: 16px;
  z-index: 12;
  margin-bottom: 26px;
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(6, 20, 44, 0.08);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}

.nav-brand img {
  display: block;
  width: 300px;
  height: auto;
  max-width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.79rem;
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.7);
}

.nav-pill.cta {
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  color: #fff;
  border-color: transparent;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 60%, #ecf4ff 100%);
  border: 1px solid rgba(6, 48, 102, 0.14);
  box-shadow: var(--shadow);
  padding: 56px 52px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 240px;
  height: 240px;
  right: -110px;
  top: -80px;
  background: radial-gradient(circle, rgba(12, 140, 233, 0.25), transparent 70%);
}

.hero::after {
  width: 300px;
  height: 300px;
  left: -120px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(4, 100, 209, 0.2), transparent 72%);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(12, 140, 233, 0.12);
  color: #07549b;
  border: 1px solid rgba(12, 140, 233, 0.2);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 8px 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 16px 0 12px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  color: var(--ink-900);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero p {
  margin: 0;
  max-width: 760px;
  color: var(--ink-700);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

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

.btn {
  appearance: none;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  box-shadow: 0 8px 20px rgba(4, 100, 209, 0.28);
}

.btn.ghost {
  color: var(--ink-700);
  border: 1px solid rgba(7, 49, 100, 0.2);
  background: rgba(255, 255, 255, 0.8);
}

.stat-grid,
.card-grid {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.stat,
.card,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 10px 24px rgba(6, 24, 52, 0.08);
}

.stat {
  padding: 16px;
}

.stat strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.65rem;
  color: var(--ink-900);
}

.stat span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  margin-top: 26px;
}

.panel {
  padding: 26px;
}

.panel h2,
.panel h3,
.doc h1,
.doc h2 {
  margin: 0 0 10px;
  color: var(--ink-900);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.01em;
}

.panel h2 {
  font-size: 1.58rem;
}

.panel h3 {
  font-size: 1.1rem;
}

.panel p,
.panel li,
.doc p,
.doc li {
  color: var(--ink-700);
  font-size: 0.95rem;
}

.card {
  padding: 20px;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0b5b98;
  background: rgba(12, 140, 233, 0.14);
  border: 1px solid rgba(12, 140, 233, 0.22);
  border-radius: 999px;
  padding: 5px 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid rgba(12, 140, 233, 0.2);
}

.timeline li {
  margin: 0;
  padding: 0 0 14px 16px;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  left: -6px;
  top: 5px;
}

.inline-note {
  border: 1px dashed rgba(12, 140, 233, 0.4);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--ink-700);
  background: rgba(12, 140, 233, 0.07);
}

.footer {
  margin-top: 26px;
  padding: 18px 0 6px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer a {
  color: var(--ink-700);
}

.doc-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 22px;
}

.doc {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.doc h1 {
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  margin-bottom: 8px;
}

.doc h2 {
  margin-top: 22px;
  font-size: 1.3rem;
}

.doc .meta {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.callback-box {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  padding: 28px;
}

.callback-status {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.92rem;
}

.callback-status.info {
  background: rgba(12, 140, 233, 0.11);
  border-color: rgba(12, 140, 233, 0.2);
  color: #0b5a98;
}

.callback-status.success {
  background: rgba(27, 156, 111, 0.1);
  border-color: rgba(27, 156, 111, 0.2);
  color: #157552;
}

.callback-status.error {
  background: rgba(208, 62, 62, 0.1);
  border-color: rgba(208, 62, 62, 0.2);
  color: #a12828;
}

pre {
  overflow: auto;
  background: #09182f;
  color: #d8e6ff;
  border-radius: 12px;
  padding: 12px;
  font-size: 0.79rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

.floaty {
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 860px) {
  .page-shell,
  .doc-wrap {
    padding: 16px 14px 42px;
  }

  .top-nav {
    position: static;
    border-radius: 18px;
    padding: 12px;
  }

  .nav-brand img {
    width: 220px;
    height: auto;
  }

  .hero {
    padding: 32px 22px;
  }

  .panel,
  .doc,
  .callback-box {
    padding: 20px;
  }
}
