:root {
  --bg: #eff3f8;
  --bg-soft: #e4ebf4;
  --ink: #10295a;
  --ink-soft: #5e6674;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-dark: #10295a;
  --surface-dark-2: #1b376f;
  --accent: #7f8796;
  --accent-soft: rgba(127, 135, 150, 0.14);
  --accent-strong: #6b7280;
  --line: rgba(16, 41, 90, 0.1);
  --line-strong: rgba(16, 41, 90, 0.18);
  --shadow: 0 24px 60px rgba(16, 41, 90, 0.12);
  --shadow-soft: 0 14px 34px rgba(16, 41, 90, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(circle at 0% 0%, rgba(16, 41, 90, 0.1), transparent 24%),
    radial-gradient(circle at 100% 20%, rgba(127, 135, 150, 0.12), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, #eff3f8 34%, #e4ebf4 100%);
}

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

img { display: block; max-width: 100%; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.section {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(233, 239, 247, 0.96));
}

.page-shell {
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: 1rem;
}

.nav-wrap {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(16, 41, 90, 0.1);
  backdrop-filter: blur(18px);
}

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

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

.brand-header {
  flex: 0 1 360px;
}

.brand-logo-header {
  width: clamp(220px, 24vw, 340px);
}

.brand-logo-footer {
  width: clamp(190px, 20vw, 280px);
}

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

.site-nav a {
  color: rgba(16, 41, 90, 0.82);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

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

.nav-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--ink);
  margin: 0.28rem 0;
  border-radius: 999px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border: 1px solid rgba(127, 135, 150, 0.18);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.35rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 1.15rem 0 1.4rem;
  max-width: 12ch;
}

h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 0.95rem 0 1rem;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.25;
  margin-bottom: 0.65rem;
  font-weight: 800;
}

p,
li,
label,
input,
textarea,
button {
  font-size: 1rem;
}

p,
li {
  color: var(--ink-soft);
}

.hero {
  padding-top: 4.8rem;
  padding-bottom: 4.2rem;
}

.hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 3.25rem;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.lead {
  font-size: 1.02rem;
  max-width: 58ch;
  color: #4f5a6b;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 1.9rem 0 1.5rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 0;
}

.hero-points li {
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 41, 90, 0.08);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
}

.hero-signature {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.signature-line {
  width: 4rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-signature p {
  margin: 0;
  color: #657083;
  max-width: 34ch;
}

.glass-panel,
.feature-panel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.glass-panel {
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(234, 240, 247, 0.9));
  border: 1px solid rgba(16, 41, 90, 0.08);
  box-shadow: var(--shadow);
}

.feature-panel {
  background: linear-gradient(180deg, #ffffff, #edf2f8);
  border: 1px solid rgba(16, 41, 90, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-visual img,
.section-illustration {
  width: 100%;
}

.hero-stat-card {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  max-width: 240px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(16, 41, 90, 0.92);
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(16, 41, 90, 0.22);
}

.hero-stat-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 242, 234, 0.7);
}

.trust-strip {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

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

.trust-items div {
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-align: center;
  border: 1px solid rgba(16, 41, 90, 0.08);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

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

.section-heading.left {
  margin: 0 0 2rem;
  text-align: left;
}

.section-intro-band {
  margin: 0 auto 1.6rem;
  max-width: 920px;
  padding: 1.15rem 1.25rem;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.section-intro-band p {
  margin: 0;
  font-size: 1.05rem;
  color: #5d687a;
  font-weight: 600;
}

.cards {
  display: grid;
  gap: 1.3rem;
}

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

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

.card {
  color: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.image-cards .card {
  padding: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(236, 242, 248, 0.95));
  border: 1px solid rgba(16, 41, 90, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.image-cards .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(47, 41, 29, 0.12);
}

.card-art {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(180deg, #e8eef7, #f8fbff);
}

.card-body {
  padding: 1.4rem 1.4rem 1.55rem;
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--ink);
  background: rgba(16, 41, 90, 0.08);
  margin-bottom: 1rem;
}

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

.stack-item {
  position: relative;
  padding: 1.3rem 1.35rem 1.3rem 4.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 41, 90, 0.08);
  box-shadow: var(--shadow-soft);
}

.stack-step {
  position: absolute;
  left: 1.2rem;
  top: 1.25rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
}

.metrics-section .section-heading {
  margin-bottom: 2rem;
}

.compact .metric-card {
  padding: 1.45rem 1.25rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 41, 90, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.metric-card strong {
  display: block;
  font-size: 1.12rem;
  margin-bottom: 0.35rem;
  font-weight: 800;
}

.metric-card span {
  color: var(--ink-soft);
}

.soft-shadow {
  box-shadow: 0 24px 54px rgba(47, 41, 29, 0.12);
}

.cta-box {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
  padding: 2.3rem;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(127, 135, 150, 0.18), transparent 28%),
    linear-gradient(135deg, var(--surface-dark), var(--surface-dark-2));
  color: #ffffff;
  box-shadow: var(--shadow);
}

.cta-box p {
  color: rgba(248, 242, 234, 0.72);
}

.cta-actions {
  display: grid;
  gap: 0.85rem;
  justify-items: end;
}

.cta-note {
  max-width: 24ch;
  font-size: 0.92rem;
  color: rgba(248, 242, 234, 0.72);
  text-align: right;
  font-weight: 700;
}

.contact-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-card {
  padding: 1.2rem 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 41, 90, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.contact-card span {
  display: block;
  color: #7a8392;
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-card a {
  color: var(--ink);
  font-weight: 700;
  word-break: break-word;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.55rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 41, 90, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 41, 90, 0.12);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--ink);
  background: rgba(247, 250, 254, 0.9);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(16, 41, 90, 0.42);
  box-shadow: 0 0 0 4px rgba(16, 41, 90, 0.1);
}

textarea {
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-sm {
  padding: 0.72rem 1rem;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #17346a, #10295a 58%, #0d2149);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(16, 41, 90, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(16, 41, 90, 0.1);
  color: var(--ink);
}

.btn-outline {
  border-color: rgba(16, 41, 90, 0.12);
  background: rgba(16, 41, 90, 0.04);
  color: var(--ink);
}

.site-footer {
  padding: 2rem 0 3rem;
  background: rgba(255, 255, 255, 0.5);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.footer-brand {
  margin-bottom: 0.7rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--ink);
  font-weight: 600;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.thank-you-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.8rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1px solid rgba(16, 41, 90, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.thank-you-card p {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy > *,
.hero-visual,
.section-heading,
.image-cards .card,
.stack-item,
.metric-card,
.cta-box,
.contact-card,
.contact-form {
  animation: rise-in 0.7s ease both;
}

.hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(6) { animation-delay: 0.3s; }

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .contact-grid,
  .three-up,
  .four-up,
  .trust-items,
  .footer-wrap {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-box {
    display: grid;
    justify-content: stretch;
  }

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

  .cta-note {
    text-align: left;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(16, 41, 90, 0.08);
    box-shadow: var(--shadow);
  }

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

  .nav-toggle {
    display: block;
  }

  .brand-header {
    flex-basis: 250px;
  }

  .brand-logo-header {
    width: min(250px, 58vw);
  }

  h1 {
    max-width: 100%;
  }
}

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

  .hero {
    padding-top: 3.2rem;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .trust-items div,
  .hero-points li {
    border-radius: 20px;
  }

  .stack-item {
    padding-left: 1.35rem;
  }

  .stack-step {
    position: static;
    display: inline-block;
    margin-bottom: 0.65rem;
  }

  .hero-stat-card {
    position: static;
    margin: 0 0 1rem;
    max-width: none;
  }

  .hero-signature {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
