:root {
  --blue-900: #0b3d91;
  --blue-600: #2563eb;
  --blue-100: #dbeafe;
  --cloud: #f8fafc;
  --white: #ffffff;
  --text: #334155;
  --heading: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --teal: #0f766e;
  --green: #16a34a;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius: 8px;
  --shell: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cloud);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.mobile-break {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-900);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff 0%, #edf6ff 100%);
  color: var(--blue-900);
  box-shadow: 0 10px 24px rgba(11, 61, 145, 0.12);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.nav-menu {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: #eef6ff;
  color: var(--blue-900);
  outline: none;
}

.nav-menu .mobile-cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue-900);
  cursor: pointer;
}

.nav-toggle svg,
.button svg,
.icon-box svg,
.benefit-item svg,
.footer-links svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border 180ms ease,
    color 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  background: var(--blue-900);
  color: var(--white);
  box-shadow: 0 14px 26px rgba(11, 61, 145, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-600);
}

.button-secondary {
  background: transparent;
  border-color: var(--blue-900);
  color: var(--blue-900);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #eff6ff;
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.button-on-dark {
  background: var(--white);
  color: var(--blue-900);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.button-on-dark:hover,
.button-on-dark:focus-visible {
  background: #eaf4ff;
}

.section {
  padding: 86px 0;
}

.hero {
  padding: 54px 0 78px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0) 86%),
    radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.08), transparent 28%),
    var(--cloud);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--heading);
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 710px;
  font-size: clamp(2.45rem, 4.55vw, 4.1rem);
  font-weight: 800;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
}

h3 {
  font-size: 1.08rem;
  font-weight: 800;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: 1.08rem;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 0.88rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.hero-proof strong {
  color: var(--blue-900);
  font-weight: 800;
}

.hero-media {
  position: relative;
  min-width: 0;
}

.hero-media::before {
  position: absolute;
  inset: 18px -16px -16px 20px;
  z-index: -1;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(15, 118, 110, 0.1)),
    #ffffff;
  content: "";
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
}

.align-left {
  margin: 0;
  text-align: left;
}

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

.feature-card,
.benefit-item,
.step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.feature-card {
  padding: 22px;
  min-height: 250px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 22px 44px rgba(11, 61, 145, 0.1);
}

.icon-box {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: var(--radius);
  background: #eff6ff;
  color: var(--blue-600);
}

.feature-card:nth-child(3) .icon-box,
.benefit-item:nth-child(7) svg {
  color: var(--teal);
  background: #ecfdf5;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.process {
  background: var(--white);
  border-block: 1px solid var(--border);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 20px;
}

.step > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--blue-900);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 6px;
}

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

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 18px;
  color: var(--heading);
  font-weight: 700;
}

.benefit-item svg {
  color: var(--blue-600);
}

.benefit-item:nth-child(1) svg,
.benefit-item:nth-child(6) svg {
  color: var(--green);
}

.cta {
  padding: 54px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 44px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(15, 118, 110, 0.1)),
    var(--blue-900);
  color: var(--white);
  box-shadow: 0 28px 60px rgba(11, 61, 145, 0.22);
}

.cta .eyebrow,
.cta h2,
.cta p {
  color: var(--white);
}

.cta p:not(.eyebrow) {
  max-width: 660px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.55fr 0.8fr;
  gap: 42px;
  padding: 54px 0 36px;
}

.footer-brand p {
  max-width: 400px;
  margin: 18px 0 0;
  color: var(--muted);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h2 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 0.92rem;
  font-weight: 800;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 28px;
  color: var(--muted);
  font-weight: 600;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--blue-600);
  outline: none;
}

.footer-bottom {
  padding: 18px 0 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1060px) {
  .nav {
    position: relative;
    grid-template-columns: 1fr;
    padding-right: 64px;
  }

  .nav-toggle {
    position: absolute;
    top: 50%;
    right: 0;
    display: grid;
    transform: translateY(-50%);
  }

  .nav-action {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    min-height: 44px;
  }

  .nav-menu .mobile-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 4px;
    background: var(--blue-900);
    color: var(--white);
  }

  .nav-menu .mobile-cta:hover,
  .nav-menu .mobile-cta:focus-visible {
    background: var(--blue-600);
    color: var(--white);
  }

  .hero-grid,
  .process-grid,
  .cta-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-media {
    max-width: 620px;
  }

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

  .cta-inner {
    justify-items: start;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: 100%;
  }

  .shell {
    width: calc(100% - 42px);
    max-width: calc(100% - 42px);
    margin-inline: auto;
    padding-inline: 0;
  }

  .site-header {
    position: sticky;
  }

  .nav {
    min-height: 66px;
    padding-right: 72px;
  }

  .nav-toggle {
    right: 0;
  }

  .nav-menu {
    top: 66px;
    right: 14px;
    left: 14px;
  }

  .brand {
    font-size: 0.98rem;
  }

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

  .brand-mark svg {
    width: 27px;
    height: 27px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 34px 0 56px;
  }

  h1 {
    font-size: clamp(2rem, 8.4vw, 2.36rem);
    line-height: 1.15;
    text-wrap: initial;
  }

  .mobile-break {
    display: initial;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
  }

  .hero-media::before {
    inset: 12px -8px -10px 12px;
  }

  .hero-media img {
    max-height: 310px;
  }

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

  .feature-card {
    min-height: auto;
  }

  .step {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .step > span {
    width: 40px;
    height: 40px;
  }

  .cta-inner {
    padding: 30px 22px;
  }

  .button-on-dark {
    width: 100%;
  }

  .footer-grid {
    gap: 28px;
  }
}

@media (max-width: 390px) {
  .brand span:last-child {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .button {
    padding-inline: 14px;
  }
}
