:root {
  --brand-blue-900: #0c2f67;
  --brand-blue-700: #1456a5;
  --brand-blue-500: #47b6e4;
  --brand-slate-800: #1f2632;
  --brand-slate-600: #3c4654;
  --ink: #0f2544;
  --muted: #425c78;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: rgba(255, 255, 255, 0.95);
  --outline: rgba(9, 58, 116, 0.12);
  --shadow: 0 22px 65px rgba(8, 42, 86, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 20%, rgba(60, 70, 84, 0.2), transparent 38%),
    radial-gradient(circle at 88% 12%, rgba(71, 182, 228, 0.24), transparent 36%),
    linear-gradient(145deg, #edf7ff 0%, #f6f8fc 100%);
  color: var(--ink);
  font-family: "Public Sans", "Segoe UI", sans-serif;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: drift 14s ease-in-out infinite alternate;
}

.orb-one {
  width: clamp(190px, 24vw, 340px);
  height: clamp(190px, 24vw, 340px);
  left: -4%;
  top: -8%;
  background: radial-gradient(circle at 35% 35%, rgba(60, 70, 84, 0.35), transparent 70%);
}

.orb-two {
  width: clamp(230px, 28vw, 390px);
  height: clamp(230px, 28vw, 390px);
  right: -5%;
  bottom: -16%;
  animation-delay: 2s;
  background: radial-gradient(circle at 35% 35%, rgba(31, 151, 211, 0.42), transparent 70%);
}

.orb-three {
  width: clamp(150px, 20vw, 270px);
  height: clamp(150px, 20vw, 270px);
  right: 24%;
  top: 8%;
  animation-delay: 4s;
  background: radial-gradient(circle at 40% 35%, rgba(13, 93, 168, 0.35), transparent 72%);
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 61, 120, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 61, 120, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 46%, #000 25%, transparent 90%);
}

.card {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  padding: clamp(24px, 4.5vw, 48px);
  border-radius: 28px;
  background: linear-gradient(140deg, var(--surface) 0%, var(--surface-strong) 100%);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  animation: rise-in 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand-wrap {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(260px, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 36px);
}

.brand-logo {
  width: 100%;
  max-width: 320px;
  justify-self: center;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(20, 48, 90, 0.14);
}

.headline-wrap {
  animation: reveal 860ms ease-out both;
  animation-delay: 120ms;
}

.kicker {
  margin: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-slate-600);
  font: 600 0.76rem/1.2 "Sora", sans-serif;
}

h1 {
  margin: 12px 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  line-height: 1.08;
  color: var(--brand-blue-900);
}

.lead {
  margin: clamp(20px, 3vw, 28px) 0 0;
  max-width: 62ch;
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 1.72;
  color: var(--muted);
  animation: reveal 900ms ease-out both;
  animation-delay: 220ms;
}

.cta-row {
  margin-top: clamp(24px, 3.4vw, 34px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  animation: reveal 950ms ease-out both;
  animation-delay: 380ms;
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(90deg, var(--brand-blue-700), var(--brand-slate-600));
  color: #ffffff;
  text-decoration: none;
  font: 600 0.96rem/1 "Sora", sans-serif;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(20, 96, 155, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.contact-cta-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-blue-700);
  border-color: rgba(13, 93, 168, 0.22);
  box-shadow: 0 8px 16px rgba(20, 96, 155, 0.08);
}

.contact-cta-secondary:hover,
.contact-cta-secondary:focus-visible {
  color: var(--brand-blue-900);
  border-color: rgba(13, 93, 168, 0.38);
  box-shadow: 0 12px 20px rgba(20, 96, 155, 0.14);
}

.contact-cta.is-copied {
  background: linear-gradient(90deg, #13427f, #2f7cc1);
  color: #ffffff;
  border-color: transparent;
}

.contact-cta:hover,
.contact-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(20, 96, 155, 0.34);
  filter: saturate(1.08);
}

.contact-cta:focus-visible {
  outline: 2px solid rgba(13, 93, 168, 0.6);
  outline-offset: 3px;
}

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

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translateY(0px) translateX(0px);
  }
  to {
    transform: translateY(14px) translateX(10px);
  }
}

@media (max-width: 820px) {
  .brand-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }

  .kicker {
    letter-spacing: 0.14em;
  }

  .lead {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .contact-cta {
    width: 100%;
    text-align: center;
  }
}

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