:root {
  --dp-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --dp-primary: #1351d8;
  --dp-primary-dark: #0f3ea7;
  --dp-accent: #4f8bff;
  --dp-text: #142132;
  --dp-muted: #516071;
  --dp-surface: #ffffff;
  --dp-border: #d6dde5;
  --dp-bg-soft: #edf2ff;
  --dp-gradient: linear-gradient(135deg, #eaf0ff 0%, #ffffff 45%, #eef4ff 100%);
}

.lang-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.lang-btn {
  background: white;
  border: 1px solid var(--dp-border);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 200ms ease;
  text-decoration: none;
  color: var(--dp-text);
}

.lang-btn:hover {
  border-color: var(--dp-primary);
  color: var(--dp-primary);
}

.lang-btn.active {
  background: var(--dp-primary);
  color: white;
  border-color: var(--dp-primary);
}

.dp-footer {
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid var(--dp-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-copy {
  color: var(--dp-muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: var(--dp-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.footer-link:hover {
  text-decoration: underline;
}

html, body, s-page {
  font-family: var(--dp-font);
}

.home-shell {
  margin-top: 8px;
}

.hero-panel {
  background: var(--dp-gradient);
  border: 1px solid var(--dp-border);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -90px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(19, 81, 216, 0.18) 0%,
    rgba(19, 81, 216, 0) 72%
  );
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  animation: rise-in 420ms ease-out;
}

.hero-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--dp-primary-dark);
  font-weight: 800;
}

.hero-logo {
  height: 52px;
  margin-bottom: 16px;
}

.hero-title {
  margin: 0;
  max-width: 680px;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -1.1px;
  color: var(--dp-text);
}

.hero-subtitle {
  margin: 18px 0 0;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--dp-muted);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-secondary-link {
  color: var(--dp-primary-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 62, 167, 0.36);
  padding-bottom: 2px;
}

.hero-secondary-link:hover {
  border-bottom-color: var(--dp-primary-dark);
}

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

.hero-points li {
  color: #213449;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-points li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dp-primary), var(--dp-accent));
}

.hero-side-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 44px rgba(20, 33, 50, 0.09);
  border-radius: 20px;
  padding: 26px;
  align-self: center;
  backdrop-filter: blur(3px);
  animation: rise-in 520ms ease-out;
}

.side-card-label {
  margin: 0;
  color: #5f6f80;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.side-card-value {
  margin: 10px 0 4px;
  font-size: 52px;
  line-height: 1;
  color: var(--dp-text);
  letter-spacing: -1.5px;
  font-weight: 800;
}

.side-card-caption {
  margin: 0;
  color: #516071;
  font-size: 15px;
}

.side-card-separator {
  margin: 20px 0 16px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(19, 81, 216, 0.18) 0%,
    rgba(19, 81, 216, 0) 90%
  );
}

.side-card-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.side-card-metrics span {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--dp-primary-dark);
  letter-spacing: -0.6px;
}

.side-card-metrics p {
  margin: 4px 0 0;
  color: #5f6f80;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}

.dp-section {
  margin-top: 76px;
}

.dp-section-header {
  text-align: center;
  margin: 0 auto 42px;
  max-width: 760px;
}

.dp-section-title {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 38px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.9px;
  color: var(--dp-text);
}

.dp-section-subtitle {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--dp-muted);
}

.stats-grid,
.workflow-grid,
.feature-grid,
.service-grid {
  display: grid;
  gap: 20px;
}

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

.stat-card,
.workflow-step,
.feature-card,
.service-card {
  background: var(--dp-surface);
  border: 1px solid var(--dp-border);
  border-radius: 18px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.stat-card,
.feature-card,
.service-card {
  box-shadow: 0 8px 20px rgba(20, 33, 50, 0.05);
}

.stat-card:hover,
.workflow-step:hover,
.feature-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(19, 81, 216, 0.42);
  box-shadow: 0 16px 28px rgba(20, 33, 50, 0.09);
}

.stat-card {
  padding: 28px 20px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
}

.stat-value {
  display: block;
  margin: 0;
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--dp-primary-dark);
}

.stat-label {
  margin-top: 11px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  color: #3e4c5b;
}

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

.workflow-step {
  padding: 26px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfd 100%);
}

.workflow-number {
  display: inline-block;
  font-size: 12px;
  color: var(--dp-primary-dark);
  font-weight: 800;
  letter-spacing: 1px;
  background: var(--dp-bg-soft);
  border-radius: 999px;
  padding: 6px 10px;
}

.workflow-step h3 {
  margin: 16px 0 10px;
  font-size: 20px;
  line-height: 1.28;
  letter-spacing: -0.3px;
  color: var(--dp-text);
}

.workflow-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #506072;
}

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

.feature-card {
  padding: 28px;
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.feature-icon,
.service-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dp-primary-dark);
  background: linear-gradient(160deg, #e9f5f9 0%, #eaf2ff 100%);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  background: #edf2ff;
  color: #1351d8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 800;
}

.feature-title {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.4px;
  color: var(--dp-text);
}

.feature-text {
  margin: 0;
  color: #4f5f70;
  font-size: 15px;
  line-height: 1.62;
}

.services-section {
  padding-bottom: 20px;
}

.services-kicker {
  margin: 10px 0 0;
  color: var(--dp-primary-dark);
  font-size: 19px;
  letter-spacing: -0.2px;
}

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

.service-card {
  padding: 26px;
  display: flex;
  gap: 16px;
}

.service-icon-wrapper {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.service-icon-wrapper svg {
  width: 26px;
  height: 26px;
}

.service-content h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -0.25px;
  color: var(--dp-text);
}

.service-content p {
  margin: 0;
  color: #4f5f70;
  font-size: 15px;
  line-height: 1.62;
}

.home-cta-strip {
  margin-top: 64px;
  border-radius: 20px;
  border: 1px solid var(--dp-border);
  padding: 26px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(90deg, #ffffff 0%, #f4f8ff 58%, #eef4ff 100%);
}

.home-cta-strip h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.4px;
  color: var(--dp-text);
}

.home-cta-strip p {
  margin: 6px 0 0;
  color: #4f5f70;
  font-size: 15px;
  line-height: 1.6;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1060px) {
  .hero-panel {
    grid-template-columns: 1fr;
    padding: 38px 28px;
  }

  .hero-side-card {
    max-width: 480px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .dp-section {
    margin-top: 56px;
  }

  .dp-section-header {
    margin-bottom: 26px;
  }

  .feature-card,
  .workflow-step,
  .service-card {
    padding: 22px;
  }

  .home-cta-strip h3 {
    font-size: 21px;
  }
}
