:root {
  --ink: #10215f;
  --muted: #5b6381;
  --paper: #f7f8fc;
  --panel: #ffffff;
  --line: #d9deef;
  --primary: #13236f;
  --primary-2: #20348c;
  --violet: #7a4ca4;
  --teal: #56b9bd;
  --mist: #eef6fa;
  --silver: #eef0f5;
  --shadow: 0 24px 80px rgba(16, 33, 95, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(247, 248, 252, 0.94);
  border-bottom: 1px solid rgba(16, 33, 95, 0.1);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  display: block;
  width: 132px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}

.header-cta,
.button.primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(19, 35, 111, 0.24);
}

.button.secondary {
  color: var(--primary);
  background: #fff;
  border-color: var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: clamp(44px, 7vw, 98px) clamp(20px, 5vw, 72px) 34px;
  overflow: hidden;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5.4vw, 5.85rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.25;
  margin-bottom: 12px;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-lede {
  max-width: 680px;
  font-size: 1.1rem;
}

.hero-actions,
.trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 30px;
}

.trust-row {
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-row span {
  padding-left: 16px;
  border-left: 3px solid var(--teal);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(19, 35, 111, 0.94), rgba(86, 185, 189, 0.84)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.14' stroke-width='1'%3E%3Cpath d='M40 80h440M40 160h440M40 240h440M40 320h440M40 400h440M80 40v440M160 40v440M240 40v440M320 40v440M400 40v440'/%3E%3C/g%3E%3C/svg%3E");
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-card,
.ledger-panel {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.dashboard-card {
  width: min(260px, 72%);
  padding: 24px;
}

.dashboard-card.revenue {
  top: 44px;
  left: 34px;
}

.dashboard-card.statement {
  right: 30px;
  bottom: 54px;
}

.card-label {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.dashboard-card strong {
  display: block;
  font-size: 2rem;
}

.dashboard-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.progress-line {
  height: 10px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--mist);
}

.progress-line span {
  display: block;
  width: 86%;
  height: 100%;
  background: var(--teal);
}

.ledger-panel {
  left: 52px;
  right: 52px;
  top: 190px;
  padding: 26px;
}

.ledger-head,
.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ledger-head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.ledger-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-row strong {
  color: var(--primary);
}

.brand-accent {
  position: absolute;
  width: 220px;
  height: 110px;
  right: -44px;
  top: 28px;
  border: 16px solid rgba(255, 255, 255, 0.42);
  border-left-color: rgba(122, 76, 164, 0.78);
  border-right-color: rgba(86, 185, 189, 0.78);
  border-radius: 50%;
  transform: rotate(-8deg);
  opacity: 0.85;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 72px);
  background: var(--line);
  border: 1px solid var(--line);
}

.proof-band div {
  padding: 26px;
  background: #fff;
}

.proof-band strong {
  display: block;
  color: var(--primary);
  font-size: 1.65rem;
  margin-bottom: 6px;
}

.proof-band span {
  color: var(--muted);
}

.section {
  padding: clamp(70px, 10vw, 120px) clamp(20px, 5vw, 72px);
}

.intro {
  max-width: 1120px;
}

.intro p {
  max-width: 760px;
  font-size: 1.05rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 36px;
  margin-bottom: 36px;
}

.section-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.section-heading p {
  max-width: 420px;
  margin-bottom: 0;
}

.service-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.plan,
.timeline-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  padding: 28px;
  min-height: 270px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--primary);
  background: var(--mist);
  font-size: 0.9rem;
  font-weight: 900;
}

.fit-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 46px;
  align-items: center;
  background: var(--primary);
  color: #fff;
}

.fit-section .section-kicker,
.fit-section p {
  color: #9fe5e8;
}

.fit-section h2 {
  margin-bottom: 0;
}

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

.fit-list span {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-weight: 700;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline-item {
  padding: 28px;
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--violet);
  font-weight: 900;
}

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

.plan {
  position: relative;
  padding: 30px;
}

.plan.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.popular {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--violet);
  font-size: 0.75rem;
  font-weight: 900;
}

.plan strong {
  display: block;
  margin: 22px 0;
  color: var(--primary);
  font-size: 1.6rem;
}

.plan ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.plan li {
  color: var(--muted);
}

.plan li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 44px;
  align-items: start;
  background: #fff;
}

.contact-note {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-top: 28px;
  padding: 22px;
  border-left: 5px solid var(--teal);
  background: var(--paper);
}

.contact-note span {
  color: var(--muted);
  line-height: 1.6;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 3px solid rgba(86, 185, 189, 0.32);
  border-color: var(--teal);
}

.wide {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--primary);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--ink);
}

.site-footer strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 1060px) {
  .hero,
  .fit-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 118px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: 2.55rem;
  }

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

  .dashboard-card {
    width: calc(100% - 40px);
  }

  .dashboard-card.revenue {
    left: 20px;
    top: 22px;
  }

  .dashboard-card.statement {
    left: 20px;
    right: auto;
    bottom: 22px;
  }

  .ledger-panel {
    left: 20px;
    right: 20px;
    top: 170px;
    padding: 20px;
  }

  .proof-band,
  .service-grid,
  .timeline,
  .plan-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 18px;
  }
}

@media (max-width: 460px) {
  .button {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
  }

  .ledger-head,
  .ledger-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
