:root {
  color-scheme: light;
  --ink: #f7fbff;
  --muted: rgba(247, 251, 255, 0.78);
  --line: rgba(255, 255, 255, 0.2);
  --navy: #071923;
  --blue: #1c7ed6;
  --teal: #1fb6a6;
  --amber: #f4b860;
  --white-soft: rgba(255, 255, 255, 0.9);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--navy);
}

body {
  min-height: 100%;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #071923 0%, #0d2730 56%, #f3f7f6 56%, #f3f7f6 100%);
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  padding: clamp(10px, 1.4vw, 22px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(34px, 5vw, 68px);
}

.hero {
  position: relative;
  width: min(100%, 1560px);
  min-height: 820px;
  aspect-ratio: 1672 / 941;
  overflow: hidden;
  border-radius: 18px;
  isolation: isolate;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.hero__image,
.hero__slides,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__slides {
  z-index: -2;
  background: #071923;
}

.hero__image {
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 850ms ease;
}

.hero__image.is-active {
  opacity: 1;
}

.hero__shade {
  z-index: -1;
  background:
    radial-gradient(circle at 74% 34%, rgba(31, 182, 166, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(5, 18, 27, 0.96) 0%, rgba(5, 18, 27, 0.84) 31%, rgba(5, 18, 27, 0.3) 58%, rgba(5, 18, 27, 0.12) 100%),
    linear-gradient(0deg, rgba(5, 18, 27, 0.62), rgba(5, 18, 27, 0.05) 44%);
}

.hero__content {
  width: min(100%, 700px);
  height: 100%;
  padding: clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero__eyebrow {
  margin: 0 0 14px;
  color: var(--white-soft);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12em;
  margin: 0;
  font-size: clamp(2.45rem, 4.25vw, 4.05rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero__intro {
  max-width: 34rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.58;
}

.hero__actions {
  width: 100%;
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  padding: 0 18px 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button__icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
}

.button--primary {
  color: #061721;
  background: #fff;
}

.button--primary .button__icon {
  color: #fff;
  background: var(--blue);
}

.button--secondary {
  color: #05161e;
  background: linear-gradient(135deg, #72e2d7, #f4d28a);
}

.button--secondary .button__icon {
  color: #061721;
  background: rgba(255, 255, 255, 0.72);
}

.button--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}

.button--ghost .button__icon {
  color: #061721;
  background: var(--amber);
}

.hero__proof {
  margin-top: 24px;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  border-top: 1px solid var(--line);
  color: rgba(247, 251, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero__proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__proof span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(31, 182, 166, 0.16);
}

.hero__slider-controls {
  margin-top: 18px;
  display: inline-flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero__dot.is-active {
  width: 26px;
  border-radius: 999px;
  background: #fff;
}

.hero__dot:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.64);
  outline-offset: 4px;
}

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

.service-overview {
  width: min(100%, 1080px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  color: #102330;
}

.service-card {
  scroll-margin-top: 28px;
  min-height: 100%;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(16, 35, 48, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 44px rgba(16, 35, 48, 0.09);
}

.service-card--featured {
  background: #fff;
  border-color: rgba(28, 126, 214, 0.2);
}

.service-card__label {
  margin: 0 0 14px;
  color: #1767ad;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.service-card h2 {
  margin: 0;
  color: #071923;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.service-card p:not(.service-card__label) {
  margin: 18px 0 0;
  color: #3d5260;
  font-size: 1rem;
  line-height: 1.68;
}

.collaboration-callout {
  width: min(100%, 1080px);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid rgba(16, 35, 48, 0.1);
  border-radius: 8px;
  color: #102330;
  background: rgba(255, 255, 255, 0.78);
}

.collaboration-callout__label {
  margin: 0 0 8px;
  color: #1767ad;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.collaboration-callout h2 {
  margin: 0;
  color: #071923;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.collaboration-callout p:not(.collaboration-callout__label) {
  max-width: 52rem;
  margin: 8px 0 0;
  color: #3d5260;
  line-height: 1.58;
}

.candidate-callout {
  width: min(100%, 1080px);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid rgba(31, 182, 166, 0.18);
  border-radius: 8px;
  color: #102330;
  background:
    linear-gradient(135deg, rgba(31, 182, 166, 0.12), rgba(244, 184, 96, 0.12)),
    rgba(255, 255, 255, 0.86);
}

.candidate-callout__label {
  margin: 0 0 8px;
  color: #087f75;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.candidate-callout h2 {
  margin: 0;
  color: #071923;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.candidate-callout p:not(.candidate-callout__label) {
  max-width: 52rem;
  margin: 8px 0 0;
  color: #3d5260;
  line-height: 1.58;
}

.mail-choice {
  width: min(100%, 1080px);
  color: #102330;
}

.mail-choice[hidden] {
  display: none;
}

.mail-choice__panel {
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(16, 35, 48, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(16, 35, 48, 0.09);
}

.mail-choice__label {
  margin: 0 0 12px;
  color: #1767ad;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.mail-choice h2 {
  margin: 0;
  color: #071923;
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.mail-choice p:not(.mail-choice__label):not(.mail-choice__status) {
  margin: 16px 0 0;
  color: #3d5260;
  line-height: 1.65;
}

.request-form {
  min-width: 0;
}

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

.request-form__field {
  display: grid;
  gap: 10px;
  color: #203948;
  font-size: 0.9rem;
  font-weight: 800;
}

.request-form__field--wide {
  grid-column: 1 / -1;
}

.request-form input,
.request-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid rgba(16, 35, 48, 0.16);
  border-radius: 8px;
  color: #20313b;
  background: #f8fbfb;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.55;
}

.request-form textarea {
  min-height: 112px;
  resize: vertical;
}

.request-form input:focus,
.request-form textarea:focus {
  outline: 3px solid rgba(31, 182, 166, 0.22);
  border-color: rgba(23, 103, 173, 0.48);
  background: #fff;
}

.mail-choice__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-button {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 35, 48, 0.14);
  border-radius: 999px;
  color: #102330;
  background: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.choice-button--primary {
  color: #fff;
  background: #1767ad;
  border-color: #1767ad;
}

.mail-choice__status {
  grid-column: 1 / -1;
  min-height: 1.4em;
  margin: 0;
  color: #1767ad;
  font-weight: 800;
}

@media (max-width: 760px) {
  .site-shell {
    padding: 0 0 28px;
    gap: 30px;
  }

  .hero {
    width: 100%;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 0;
    background: #071923;
  }

  .hero__slides {
    position: relative;
    display: block;
    height: auto;
    aspect-ratio: 1672 / 941;
    z-index: auto;
  }

  .hero__image {
    object-fit: cover;
    object-position: center;
  }

  .hero__shade {
    display: none;
    background:
      linear-gradient(180deg, rgba(5, 18, 27, 0.42) 0%, rgba(5, 18, 27, 0.92) 48%, rgba(5, 18, 27, 0.98) 100%),
      linear-gradient(90deg, rgba(5, 18, 27, 0.9), rgba(5, 18, 27, 0.22));
  }

  .hero__content {
    width: 100%;
    height: auto;
    padding: 24px 22px 30px;
    justify-content: flex-start;
  }

  .hero h1 {
    max-width: 11.5em;
    font-size: clamp(2.35rem, 12vw, 3.55rem);
  }

  .hero__intro {
    font-size: 1rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .button {
    width: 100%;
    min-height: 52px;
    justify-content: flex-start;
  }

  .service-overview {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mail-choice {
    width: calc(100% - 32px);
  }

  .collaboration-callout {
    width: calc(100% - 32px);
    align-items: flex-start;
    flex-direction: column;
  }

  .collaboration-callout .choice-button {
    width: 100%;
  }

  .candidate-callout {
    width: calc(100% - 32px);
    align-items: flex-start;
    flex-direction: column;
  }

  .candidate-callout .choice-button {
    width: 100%;
  }

  .mail-choice__panel {
    grid-template-columns: 1fr;
  }

  .mail-choice__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .request-form__fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .hero__content {
    padding-inline: 16px;
  }

  .hero__eyebrow {
    font-size: 0.76rem;
  }

  .hero h1 {
    font-size: 2.18rem;
  }

  .button {
    font-size: 0.9rem;
    padding-right: 12px;
  }
}

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

  .hero__image,
  .button {
    transition: none;
  }
}
