:root {
  --bg: #f6f8fc;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #101936;
  --text: #0f172a;
  --text-soft: #5b667c;
  --text-inverse: #f8fbff;
  --primary: #3157d5;
  --primary-strong: #2647b2;
  --accent: #18a38f;
  --border: rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 36px rgba(15, 23, 42, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(49, 87, 213, 0.08), transparent 28%),
    radial-gradient(circle at 85% 0%, rgba(24, 163, 143, 0.08), transparent 22%),
    linear-gradient(180deg, #f7f9fd 0%, #f3f7fc 100%);
}

img {
  display: block;
  max-width: 100%;
}

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

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 20px auto 42px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
}

.site-footer {
  margin-top: 24px;
  color: var(--text-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #243247;
  white-space: nowrap;
}

.site-nav,
.footer-links,
.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav,
.footer-links {
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav {
  flex: 1 1 auto;
}

.site-nav a,
.footer-links a {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #5b7cff 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(49, 87, 213, 0.22);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--primary-strong) 0%, var(--primary) 100%);
}

.hero,
.section {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-xl);
  padding: 38px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  overflow: hidden;
}

.eyebrow,
.contact-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow {
  background: rgba(49, 87, 213, 0.1);
  color: var(--primary);
}

.eyebrow-dark {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(248, 251, 255, 0.92);
}

.contact-kicker {
  background: rgba(49, 87, 213, 0.1);
  color: var(--primary);
}

.hero h1,
.section-heading h2,
.cta-copy h2 {
  margin: 16px 0 0;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.section-heading h2,
.cta-copy h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.hero-lead,
.section-heading p,
.feature-card p,
.cta-copy p,
.contact-panel-copy p,
.overlay-card p {
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-lead {
  max-width: 620px;
  font-size: 1.08rem;
}

.hero-actions {
  flex-wrap: wrap;
  margin: 28px 0 22px;
}

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

.hero-proof li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 600;
}

.hero-proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 6px rgba(49, 87, 213, 0.08);
}

.hero-media {
  position: relative;
  min-height: 560px;
}

.hero-dashboard {
  position: absolute;
  inset: 54px 12px 54px 36px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(145deg, #101936 0%, #1a2550 100%);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
  display: grid;
  place-items: center;
  padding: 44px;
}

.hero-dashboard img {
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
}

.overlay-card,
.feature-card,
.contact-panel {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.overlay-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.overlay-card-top {
  top: 0;
  left: 0;
  width: 290px;
  padding: 22px;
}

.overlay-card-bottom {
  right: 12px;
  bottom: 0;
  width: 290px;
  padding: 0;
}

.overlay-copy {
  padding: 18px;
}

.mini-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

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

.feature-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
}

.feature-card h3 {
  display: block;
  margin: 0 0 10px;
}

.feature-card p {
  margin: 0;
}

.feature-card-highlight {
  background: linear-gradient(145deg, rgba(49, 87, 213, 0.08), rgba(24, 163, 143, 0.08));
  border-color: rgba(49, 87, 213, 0.16);
}

.cta-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  align-items: start;
  background:
    radial-gradient(circle at top right, rgba(91, 124, 255, 0.22), transparent 22%),
    radial-gradient(circle at left bottom, rgba(24, 163, 143, 0.18), transparent 22%),
    linear-gradient(145deg, #111a33 0%, #15203d 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.cta-copy h2,
.cta-copy p {
  color: var(--text-inverse);
}

.cta-copy p {
  opacity: 0.8;
}

.contact-panel {
  display: grid;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.98);
}

.contact-panel-copy h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.button-contact {
  justify-content: center;
  width: 100%;
  min-height: 58px;
}

@media (max-width: 1180px) {
  .hero,
  .cta-section,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 500px;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    border-radius: 28px;
    padding: 18px;
  }

  .header-actions,
  .hero-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero,
  .section {
    padding: 24px;
    border-radius: 28px;
  }

  .hero-media {
    min-height: 420px;
  }

  .hero-dashboard {
    inset: 56px 0 96px 0;
  }

  .overlay-card-top {
    width: 240px;
  }

  .overlay-card-bottom {
    width: 230px;
    right: 0;
  }
}

@media (max-width: 560px) {
  .button,
  .hero-actions .button {
    width: 100%;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text {
    font-size: 1.35rem;
  }

  .overlay-card-top,
  .overlay-card-bottom {
    width: calc(100% - 24px);
  }

  .overlay-card-top {
    left: 12px;
  }

  .overlay-card-bottom {
    right: 12px;
  }
}
