:root {
  --cp-bg: #111318;
  --cp-bg-soft: #1a1d24;
  --cp-card: rgba(255,255,255,0.05);
  --cp-card-strong: rgba(255,255,255,0.05);
  --cp-border: rgba(255,255,255,0.08);
  --cp-text: #f1f6f4;
  --cp-text-2: rgba(241,246,244,0.55);
  --cp-text-3: rgba(241,246,244,0.38);
  --cp-accent: #fccf2f;
  --cp-shadow: 0 8px 32px rgba(0,0,0,0.28);
  --cp-radius-xl: 20px;
  --cp-radius-lg: 16px;
  --cp-radius-md: 12px;
  --cp-max: 1280px;
}

[data-theme="light"] {
  --cp-bg: #f5f6f7;
  --cp-bg-soft: #ffffff;
  --cp-card: rgba(14,36,48,0.04);
  --cp-card-strong: rgba(14,36,48,0.06);
  --cp-border: rgba(14,36,48,0.08);
  --cp-text: #0e2430;
  --cp-text-2: rgba(14,36,48,0.55);
  --cp-text-3: rgba(14,36,48,0.38);
  --cp-shadow: 0 4px 20px rgba(14,36,48,0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cp-bg);
  color: var(--cp-text);
  font-family: 'Inter', system-ui, sans-serif;
}

.page-wrapper {
  min-height: 100dvh;
}

.cp-main {
  width: min(calc(100% - 32px), var(--cp-max));
  margin: 0 auto;
  padding: 136px 0 88px;
}

.cp-hero {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: var(--cp-radius-xl);
  background: var(--cp-card);
  border: 1px solid var(--cp-border);
  box-shadow: var(--cp-shadow);
  margin-bottom: 28px;
}

.cp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(252,207,47,0.12);
  color: var(--cp-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-title {
  margin: 0 0 14px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.cp-lead {
  max-width: 760px;
  margin: 0;
  color: var(--cp-text-2);
  font-size: 18px;
  line-height: 1.7;
}

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

.cp-card,
.cp-section {
  padding: 26px;
  border-radius: var(--cp-radius-lg);
  background: var(--cp-card);
  border: 1px solid var(--cp-border);
  box-shadow: var(--cp-shadow);
}

.cp-card h2,
.cp-section h2 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.cp-card h3,
.cp-section h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.cp-card p,
.cp-section p {
  margin: 0 0 14px;
  color: var(--cp-text-2);
  line-height: 1.7;
}

.cp-card p:last-child,
.cp-section p:last-child {
  margin-bottom: 0;
}

.cp-span-12 { grid-column: span 12; }
.cp-span-8 { grid-column: span 8; }
.cp-span-7 { grid-column: span 7; }
.cp-span-6 { grid-column: span 6; }
.cp-span-5 { grid-column: span 5; }
.cp-span-4 { grid-column: span 4; }

.cp-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.cp-stat {
  padding: 18px;
  border-radius: var(--cp-radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--cp-border);
}

[data-theme="light"] .cp-stat {
  background: rgba(14,36,48,0.04);
}

.cp-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 26px;
  line-height: 1;
}

.cp-stat span {
  color: var(--cp-text-2);
  font-size: 14px;
}

.cp-list,
.cp-checklist,
.cp-faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cp-list li,
.cp-checklist li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 18px;
  color: var(--cp-text-2);
  line-height: 1.65;
}

.cp-list li::before,
.cp-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cp-accent);
}

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

.cp-contact-item {
  padding: 18px;
  border-radius: var(--cp-radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--cp-border);
}

[data-theme="light"] .cp-contact-item {
  background: rgba(14,36,48,0.04);
}

.cp-contact-label {
  display: block;
  margin-bottom: 8px;
  color: var(--cp-text-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-contact-value,
.cp-link {
  color: var(--cp-text);
  font-weight: 600;
  text-decoration: none;
}

.cp-link:hover {
  color: var(--cp-accent);
}

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

.cp-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: var(--cp-radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--cp-border);
}

[data-theme="light"] .cp-step {
  background: rgba(14,36,48,0.04);
}

.cp-step-num {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--cp-accent);
  color: #000;
  font-size: 20px;
  font-weight: 800;
}

.cp-faq-item {
  border-top: 1px solid var(--cp-border);
}

.cp-faq-item:first-child {
  border-top: 0;
}

.cp-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 700;
}

.cp-faq-item summary::-webkit-details-marker {
  display: none;
}

.cp-faq-item p {
  padding-bottom: 18px;
}

.cp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--cp-accent);
  color: #000;
  font-weight: 800;
  text-decoration: none;
}

.cp-meta {
  margin-top: 24px;
  color: var(--cp-text-3);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .cp-span-8,
  .cp-span-7,
  .cp-span-6,
  .cp-span-5,
  .cp-span-4 {
    grid-column: span 12;
  }

  .cp-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .cp-main {
    width: min(calc(100% - 20px), var(--cp-max));
    padding: 120px 0 72px;
  }

  .cp-hero,
  .cp-card,
  .cp-section {
    padding: 20px;
  }

  .cp-title {
    font-size: 34px;
  }

  .cp-lead {
    font-size: 16px;
  }

  .cp-step {
    grid-template-columns: 1fr;
  }
}
