:root {
  --cp-bg: #eef3ff;
  --cp-card: #ffffff;
  --cp-text: #0f1d40;
  --cp-muted: #5f6e93;
  --cp-line: #dbe5fa;
  --cp-brand: #1f6df6;
  --cp-brand-dark: #1453c9;
  --cp-hero: #071948;
  --cp-hero-2: #0a2a74;
  --cp-radius: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--cp-text);
  background: var(--cp-bg);
  line-height: 1.45;
}

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

.cp-container {
  width: min(1220px, 100% - 38px);
  margin-inline: auto;
}

.cp-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e5ecfa;
  backdrop-filter: blur(8px);
}

.cp-nav-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.cp-brand img {
  width: auto;
  height: 40px;
  max-width: 152px;
  object-fit: contain;
}

.cp-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cp-nav a {
  font-size: 16px;
  font-weight: 500;
  color: #213767;
  padding: 8px 10px;
  border-bottom: 2px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}

.cp-nav a:hover,
.cp-nav a.active {
  color: var(--cp-brand);
  border-color: var(--cp-brand);
}

.cp-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid #cdd9f3;
  color: #1c3566;
  font-weight: 600;
  font-size: 15px;
  background: #fff;
}

.cp-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #d0dbf2;
  border-radius: 11px;
  color: #1a2f62;
  background: #fff;
  align-items: center;
  justify-content: center;
}

.cp-menu-toggle svg {
  width: 20px;
  height: 20px;
}

.cp-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 24%, rgba(63, 147, 255, 0.22), transparent 33%),
    radial-gradient(circle at 84% 8%, rgba(98, 173, 255, 0.24), transparent 35%),
    linear-gradient(132deg, var(--cp-hero), var(--cp-hero-2));
  color: #e8f0ff;
  border-bottom: 1px solid rgba(176, 198, 246, 0.32);
}

.cp-hero-wrap {
  padding: 62px 0 58px;
}

.cp-kicker {
  margin: 0;
  color: #9fc2ff;
  font-size: 13px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
}

.cp-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
}

.cp-hero p {
  margin: 18px 0 0;
  max-width: 760px;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
  color: #cfe0ff;
}

.cp-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  min-width: 158px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.cp-btn.primary {
  background: linear-gradient(135deg, #2d7cf7, #1454c8);
  color: #fff;
}

.cp-btn.secondary {
  border-color: rgba(188, 210, 253, 0.7);
  color: #deebff;
  background: rgba(9, 30, 77, 0.36);
}

.cp-section {
  padding: 66px 0;
}

.cp-section-title {
  margin: 0 0 10px;
  font-size: clamp(30px, 2.6vw, 42px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #132758;
}

.cp-section-title .accent {
  color: var(--cp-brand);
}

.cp-section-intro {
  margin: 0 0 30px;
  color: var(--cp-muted);
  max-width: 820px;
  font-size: 17px;
  line-height: 1.62;
}

.cp-surface {
  background: var(--cp-card);
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  box-shadow: 0 12px 26px rgba(17, 43, 95, 0.09);
}

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

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

.cp-card {
  padding: 22px;
}

.cp-card h3 {
  margin: 0 0 10px;
  color: #122758;
  font-size: 23px;
  letter-spacing: -0.02em;
}

.cp-card p {
  margin: 0;
  color: #53648b;
  font-size: 15px;
  line-height: 1.62;
}

.cp-chip-set {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.cp-chip {
  border-radius: 999px;
  border: 1px solid #d0ddf5;
  background: #fff;
  color: #28437a;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
}

.cp-chip.active {
  background: linear-gradient(135deg, #2d7cf7, #1a58cc);
  border-color: transparent;
  color: #fff;
}

.cp-feature-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 185px auto;
}

.cp-feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cp-feature-copy {
  padding: 18px;
}

.cp-feature-copy h3 {
  margin: 0 0 8px;
  color: #14295c;
  font-size: 21px;
}

.cp-feature-copy p {
  margin: 0;
  color: #52638b;
  font-size: 15px;
  line-height: 1.58;
}

.cp-is-hidden {
  display: none !important;
}

.cp-tabs {
  display: grid;
  gap: 14px;
}

.cp-tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cp-tab-btn {
  border-radius: 999px;
  border: 1px solid #d2dff6;
  padding: 9px 15px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #26457f;
  background: #fff;
  cursor: pointer;
}

.cp-tab-btn.active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #2e7cf6, #1a58cb);
}

.cp-tab-panel {
  display: none;
}

.cp-tab-panel.active {
  display: block;
}

.cp-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.cp-list li {
  border: 1px solid #dbe5fb;
  border-radius: 11px;
  background: #f8faff;
  padding: 12px 14px;
  color: #334f82;
  font-size: 15px;
  line-height: 1.48;
}

.cp-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cp-metric {
  padding: 16px;
  border: 1px solid #d9e4fa;
  border-radius: 12px;
  background: #fff;
}

.cp-metric strong {
  display: block;
  font-size: 32px;
  color: #13285c;
  line-height: 1;
  letter-spacing: -0.02em;
}

.cp-metric span {
  display: block;
  margin-top: 8px;
  color: #576991;
  font-size: 14px;
}

.cp-form {
  display: grid;
  gap: 12px;
}

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

.cp-form input,
.cp-form textarea,
.cp-form select {
  width: 100%;
  border-radius: 11px;
  border: 1px solid #d3def3;
  background: #fff;
  color: #1b3368;
  font: inherit;
  font-size: 15px;
  padding: 0 12px;
}

.cp-form input,
.cp-form select {
  min-height: 46px;
}

.cp-form textarea {
  min-height: 140px;
  padding-top: 12px;
  resize: vertical;
}

.cp-form-message {
  margin: 0;
  min-height: 20px;
  color: #5272ac;
  font-size: 13px;
}

.cp-form-message.success {
  color: #179857;
}

.cp-form-message.error {
  color: #d54f4f;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

body.cp-reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}

body.cp-reveal-on [data-reveal].is-shown {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .cp-menu-toggle {
    display: inline-flex;
  }

  .cp-nav,
  .cp-login-link {
    display: none;
  }

  .cp-nav-row.menu-open {
    position: relative;
  }

  .cp-nav-row.menu-open .cp-nav,
  .cp-nav-row.menu-open .cp-login-link {
    display: flex;
  }

  .cp-nav-row.menu-open .cp-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e2ebfa;
    border-radius: 0 0 12px 12px;
    padding: 10px 12px 12px;
    gap: 0;
    box-shadow: 0 14px 28px rgba(12, 35, 82, 0.14);
  }

  .cp-nav-row.menu-open .cp-nav a {
    width: 100%;
    border-bottom: 1px solid #edf2fc;
  }

  .cp-nav-row.menu-open .cp-login-link {
    position: absolute;
    top: 360px;
    left: 12px;
    right: 12px;
    justify-content: center;
    background: #f4f8ff;
  }

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

  .cp-metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cp-container {
    width: min(1220px, 100% - 24px);
  }

  .cp-hero-wrap {
    padding: 48px 0 44px;
  }

  .cp-section {
    padding: 50px 0;
  }

  .cp-grid-2,
  .cp-grid-3,
  .cp-form-grid,
  .cp-metric-row {
    grid-template-columns: 1fr;
  }
}
