:root {
  color-scheme: light;
  --blue-950: #0f1729;
  --blue-900: #1a2f47;
  --blue-800: #1e4a72;
  --blue-700: #2563a8;
  --blue-600: #337ab7;
  --blue-500: #3b7fb9;
  --blue-400: #5b9bd5;
  --blue-100: #e8f1fa;
  --blue-50: #f5f9fc;
  --text-body: #3d4a5c;
  --text-muted: #5a6b7d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 10% 8%, rgba(40, 100, 160, 0.08), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(51, 122, 183, 0.06), transparent 28%),
    #ffffff;
  color: var(--blue-950);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

.site {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 2.4rem 1.25rem 4rem;
}

.wordmark-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.logo-wrap {
  width: min(86vw, 500px);
  margin: 0 auto 1.45rem;
}

.logo-wrap .wordmark,
.logo-wrap .wordmark use {
  --logo-text: #283648;
  --logo-accent: #337ab7;
}

.logo-wrap .wordmark {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.hero {
  width: min(100%, 1360px);
  margin: 0 auto;
  min-height: 72dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  padding: 1.65rem 0 1.8rem;
}

h1 {
  margin: 0.55rem 0 0;
  max-width: 30ch;
  font-size: clamp(1.85rem, 5.2vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--blue-900);
}

p {
  margin: 0;
  max-width: 72ch;
  line-height: 1.55;
  color: var(--text-body);
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.hero-logo-tagline {
  margin: 0 0 2rem;
  color: var(--blue-800);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: clamp(1.18rem, 2.1vw, 1.3rem);
}

.hero-title {
  font-size: clamp(2.1rem, 5.2vw, 3.15rem);
}

.hero-lead {
  max-width: 78ch;
  margin-top: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.cta {
  display: inline-block;
  padding: 0.82rem 1.2rem;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-700) 100%);
  color: #f5f9ff;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid transparent;
}

.cta:hover,
.cta:focus-visible {
  background: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-600) 100%);
}

.cta.secondary {
  background: #ffffff;
  color: var(--blue-800);
  border-color: var(--blue-600);
}

.section {
  margin-top: 3.5rem;
}

.section:first-of-type {
  margin-top: 2.2rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 1.75rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(51, 122, 183, 0.45);
  border-radius: 1rem;
  padding: 1.2rem;
  background: linear-gradient(160deg, #ffffff 0%, var(--blue-50) 100%);
  box-shadow: 0 10px 28px rgba(15, 40, 80, 0.08);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-400) 0%, var(--blue-600) 100%);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  color: var(--blue-900);
}

.card p {
  margin: 0;
  max-width: none;
  font-size: 0.98rem;
  color: var(--text-body);
}

.offer-note {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.26rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
  color: #f2f8ff;
  background: var(--blue-800);
}

.process-grid {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 840px;
  margin: 0 auto;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  left: 2.2rem;
  top: 1.05rem;
  bottom: 0.75rem;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(91, 155, 213, 0.7),
    rgba(91, 155, 213, 0.12)
  );
}

.step {
  position: relative;
  border-radius: 0.9rem;
  background: var(--blue-50);
  border: 1px solid rgba(30, 74, 114, 0.18);
  padding: 1.25rem 1.1rem 1.2rem 4.1rem;
}

.step::before {
  content: attr(data-step);
  position: absolute;
  left: 1.34rem;
  top: 1.25rem;
  width: 1.74rem;
  height: 1.74rem;
  border-radius: 50%;
  background: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(91, 155, 213, 0.22);
  color: var(--blue-950);
  font-size: 0.98rem;
  line-height: 1;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step strong {
  display: flex;
  align-items: center;
  min-height: 1.74rem;
  margin-bottom: 0.4rem;
  color: var(--blue-900);
}

.final-cta {
  margin-top: 3.6rem;
  border-radius: 1rem;
  background: var(--blue-50);
  border: 1px solid rgba(30, 74, 114, 0.2);
  padding: 1.6rem;
  text-align: center;
}

.final-cta p {
  margin-top: 0.55rem;
}

#footer {
  margin: 4.2rem 0 0;
  width: 100%;
  background-color: #101010;
  color: #ffffff;
}

/* Footer main row: flex + horizontal padding; desktop uses space-between */
#footer > .footer-inner {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 1.8rem clamp(1.25rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  box-sizing: border-box;
}

#footer .footer-wordmark,
#footer .footer-wordmark use {
  --logo-text: #ffffff;
  --logo-accent: #63a4ff;
}

#footer .footer-wordmark {
  width: min(70vw, 230px);
  display: block;
  height: auto;
}

#footer .footer-vahala-designs-container {
  text-align: left;
}

#footer .footer-logo-tagline {
  width: min(70vw, 230px);
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#footer .footer-connect h3 {
  margin: 0 0 0.75rem;
}

#footer .footer-connect-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.5;
}

#footer .footer-connect-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0 0 0.4rem;
}

#footer .footer-connect-list li:last-child {
  margin-bottom: 0;
}

#footer .footer-connect-list li i {
  margin-top: 0.2rem;
  flex-shrink: 0;
  color: #ffffff;
}

@media (max-width: 899px) {
  #footer > .footer-inner {
    gap: 2.25rem;
  }

  #footer .footer-connect {
    width: 100%;
  }

  #footer .footer-connect h3 {
    margin-bottom: 1rem;
  }

  #footer .footer-connect-list li {
    margin-bottom: 0.85rem;
  }

  #footer .footer-connect-list li:last-child {
    margin-bottom: 0;
  }
}

#footer .footer-copyright {
  border-top: 1px solid #181818;
  width: 100%;
}

#footer .footer-copyright-inner {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 0.85rem clamp(1.25rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}

#footer .footer-copyright-spacer {
  display: none;
}

#footer .footer-copyright-line {
  margin: 0;
  max-width: min(70vw, 230px);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
}

#footer .text-link {
  color: #ffffff;
  text-decoration: underline;
}

#footer .text-link:hover,
#footer .text-link:focus-visible {
  color: #63a4ff;
}

#footer p,
#footer a,
#footer h3,
#footer .footer-connect-list {
  color: #ffffff;
}

@media (min-width: 900px) {
  .site {
    padding-top: 2.75rem;
    padding-bottom: 5rem;
  }

  .logo-wrap {
    width: min(68vw, 520px);
    margin-bottom: 1.2rem;
  }

  .hero {
    width: min(100%, 1380px);
  }

  .section {
    margin-top: 4rem;
  }

  .section:first-of-type {
    margin-top: 2.5rem;
  }

  .process-grid {
    gap: 1.75rem;
  }

  #footer > .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    padding: 1.85rem clamp(1.75rem, 5vw, 3.5rem);
  }

  #footer .footer-vahala-designs-container {
    flex: 0 1 auto;
  }

  #footer .footer-connect {
    flex: 0 0 auto;
    text-align: left;
  }

  #footer .footer-connect-list li {
    justify-content: flex-start;
  }

  #footer .footer-copyright-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem clamp(1.75rem, 5vw, 3.5rem);
  }

  #footer .footer-copyright-line {
    flex: 0 0 auto;
  }

  #footer .footer-copyright-spacer {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .site {
    padding-top: 2.9rem;
  }

  .hero {
    padding-top: 2rem;
  }
}
