:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5eaf1;
  --brand: #1f4e79;
  --brand-dark: #163a59;
  --blue: #2d9bf0;
  --green: #5bb545;
  --orange: #ff9f2d;
  --purple: #6e5acb;
  --danger: #d93025;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 14px min(7vw, 72px);
  background: rgba(255, 255, 255, 0.94);
}

.brand,
.nav,
.actions,
.cta-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(31, 78, 121, 0.14);
}

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

.nav {
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 800;
  text-decoration: none;
}

.primary {
  background: var(--blue);
  color: #ffffff;
}

.secondary,
.ghost {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--brand);
}

.hero,
.section,
.cta {
  padding-right: min(7vw, 72px);
  padding-left: min(7vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 42px;
  align-items: center;
  min-height: 620px;
  padding-top: 54px;
  padding-bottom: 54px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 3.6rem;
  line-height: 1.04;
}

h2 {
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 2.15rem;
  line-height: 1.14;
}

h3 {
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 1.04rem;
}

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

.hero-copy p {
  max-width: 720px;
  font-size: 1.12rem;
}

.actions,
.cta-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.dashboard-preview,
.card,
.step,
.plan,
.faq,
.cta,
.checkout-form,
.result-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 35px rgba(31, 78, 121, 0.08);
}

.dashboard-preview {
  padding: 18px;
}

.hero-logo {
  display: block;
  width: min(320px, 82%);
  margin: 0 auto 18px;
  border-radius: 8px;
}

.preview-top {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.preview-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.preview-grid article {
  border-radius: 8px;
  padding: 14px;
  background: #f7fafc;
}

.preview-grid small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.preview-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--brand);
  font-size: 1.35rem;
}

.preview-chart {
  height: 150px;
  margin: 16px 0;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(45, 155, 240, 0.16), rgba(91, 181, 69, 0.14)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(31, 78, 121, 0.08) 35px 36px);
}

.preview-list p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.preview-list span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.section {
  padding-top: 58px;
  padding-bottom: 58px;
}

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

.card-grid,
.plans-grid,
.steps-grid {
  display: grid;
  gap: 16px;
}

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

.card,
.step,
.plan,
.faq {
  padding: 20px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: #ffffff;
  color: var(--brand);
  font-weight: 800;
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
}

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

.plan {
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: rgba(45, 155, 240, 0.55);
  box-shadow: 0 18px 42px rgba(45, 155, 240, 0.15);
}

.plan strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 1.8rem;
}

.tax-note {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  font-weight: 800;
}

.plan ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
}

.plan .button {
  margin-top: auto;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.checkout-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
}

.checkout-form input:focus,
.checkout-form select:focus {
  border-color: var(--blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(45, 155, 240, 0.14);
}

.checkout-message,
.notice {
  margin-bottom: 0;
}

.result-box {
  padding: 26px;
}

.credentials {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #f7fafc;
}

.credentials p {
  margin-bottom: 0;
}

.hidden {
  display: none !important;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 42px min(7vw, 72px) 58px;
  padding-top: 30px;
  padding-bottom: 30px;
  background: var(--brand);
}

.cta h2,
.cta p {
  color: #ffffff;
}

.cta .eyebrow {
  color: #bfe6c0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px min(7vw, 72px);
  background: var(--brand-dark);
  color: #ffffff;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .split,
  .cta {
    display: grid;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .plans-grid,
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    font-size: 2.7rem;
  }
}

@media (max-width: 640px) {
  .site-header,
  .footer {
    align-items: start;
  }

  .nav {
    display: none;
  }

  .card-grid,
  .plans-grid,
  .steps-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}
