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

:root {
  --bg: #0b1220;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --surface-alt: #eef6ff;
  --text: #0f172a;
  --muted: #475569;
  --inverse: #e5eefc;
  --primary: #2563eb;
  --secondary: #0f766e;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 20px 50px rgba(2, 6, 23, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

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 right, rgba(37, 99, 235, 0.14), transparent 26%),
    radial-gradient(circle at bottom left, rgba(15, 118, 110, 0.08), transparent 24%),
    linear-gradient(180deg, #f9fbff 0%, #ffffff 58%, #f7fafc 100%);
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: white;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.5), rgba(255, 255, 255, 0.8));
}

.section-soft {
  background: linear-gradient(180deg, rgba(219, 234, 254, 0.45), rgba(255, 255, 255, 0.85));
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
}

h1, h2, h3 {
  margin: 0 0 1rem;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.lead {
  font-size: 1.08rem;
  max-width: 62ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(248, 250, 252, 0.78);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text small {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  font-weight: 500;
  color: #1e293b;
}

.nav-cta {
  color: white !important;
  padding: 0.8rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: #0f172a;
  border-radius: 999px;
}

.hero {
  padding-top: 6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy,
.hero-visual,
.feature-card,
.benefit-item,
.step-card,
.contact-form,
.dashboard-card,
.cta-band-wrap {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-copy {
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 3rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.75rem;
}

.hero-badges span {
  border: 1px solid rgba(37, 99, 235, 0.15);
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.26);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.34);
}

.btn-block {
  width: 100%;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.trust-strip div {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.trust-strip strong {
  display: block;
  margin-bottom: 0.4rem;
}

.trust-strip small {
  color: var(--muted);
}

.hero-visual {
  min-height: 560px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #dbeafe, #eff6ff 45%, #ffffff 100%);
  padding: 1.5rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.dashboard {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.dashboard-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  padding: 1.25rem;
}

.main-panel {
  inset: 2rem 2rem auto auto;
  width: min(100%, 380px);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
}

.signal {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.14);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.stat-box small,
.dashboard-card small {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.stat-box strong,
.dashboard-card strong {
  font-size: 1.2rem;
}

.chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.55rem;
  align-items: end;
  min-height: 130px;
  margin-top: 1.3rem;
}

.chart span {
  display: block;
  background: linear-gradient(180deg, #60a5fa, #0f766e);
  border-radius: 999px 999px 12px 12px;
}

.chart span:nth-child(1) { height: 36%; }
.chart span:nth-child(2) { height: 58%; }
.chart span:nth-child(3) { height: 72%; }
.chart span:nth-child(4) { height: 65%; }
.chart span:nth-child(5) { height: 88%; }

.side-panel {
  left: 1rem;
  top: 6rem;
  width: 220px;
}

.side-panel strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1rem;
}

.bottom-panel {
  left: 3rem;
  bottom: 1.5rem;
  width: min(100%, 330px);
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.three-up {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.benefit-item,
.step-card,
.contact-form {
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
  align-items: start;
}

.benefit-list {
  display: grid;
  gap: 1rem;
}

.section-copy {
  max-width: 60ch;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step-number {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1d4ed8;
  font-weight: 800;
  margin-bottom: 1rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq-item p {
  margin-top: 0.85rem;
}

.cta-band {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.cta-band-wrap {
  background: linear-gradient(135deg, #0f172a, #0f766e);
  color: var(--inverse);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.cta-band-wrap h2,
.cta-band-wrap p {
  color: var(--inverse);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

label {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: white;
  color: var(--text);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(37, 99, 235, 0.85);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.error-message {
  min-height: 1rem;
  color: #b91c1c;
  font-size: 0.88rem;
}

.form-status {
  min-height: 1.2rem;
  font-weight: 600;
}

.site-footer {
  padding: 1.5rem 0 2rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-layout,
  .contact-grid,
  .three-up,
  .steps {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 440px;
  }

  .dashboard {
    min-height: 400px;
  }

  .main-panel {
    inset: 1rem 1rem auto 1rem;
    width: auto;
  }

  .side-panel {
    left: 1rem;
    top: auto;
    bottom: 6.8rem;
  }

  .bottom-panel {
    left: 1rem;
    right: 1rem;
    width: auto;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .cta-band-wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .hero-copy,
  .hero-visual,
  .feature-card,
  .benefit-item,
  .step-card,
  .contact-form,
  .cta-band-wrap {
    padding: 1.15rem;
  }

  .brand-text small {
    display: none;
  }

  h1 {
    max-width: 100%;
  }

  .side-panel {
    width: calc(100% - 2rem);
    bottom: 7.4rem;
  }
}
