:root {
  --ink: #07184f;
  --ink-soft: #17265f;
  --green: #008569;
  --green-deep: #006f5c;
  --mint: #29d5b0;
  --aqua: #5cead2;
  --white: #ffffff;
  --soft: #eef7f5;
  --danger: #ffd3d3;
  --shadow: 0 24px 70px rgba(2, 30, 45, 0.24);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(92, 234, 210, 0.36), transparent 27rem),
    linear-gradient(122deg, #06164f 0 22%, #0fa586 22% 46%, #00765d 46% 100%);
}

button,
input {
  font: inherit;
}

.landing {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(16px, 2.4vw, 30px);
}

.hero {
  width: min(1180px, 100%);
  min-height: min(720px, calc(100vh - 40px));
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(430px, 1.1fr);
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(105deg, rgba(7, 24, 79, 0.82), rgba(7, 24, 79, 0) 37%),
    linear-gradient(112deg, rgba(41, 213, 176, 0.2), rgba(0, 111, 92, 0.7));
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(101deg, transparent 0 36%, rgba(0, 133, 105, 0.4) 36% 54%, rgba(0, 111, 92, 0.9) 54% 100%),
    linear-gradient(90deg, rgba(8, 25, 78, 0.32), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.hero__media {
  min-height: 100%;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background: var(--ink);
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(123deg, rgba(6, 22, 79, 0.02) 0 48%, rgba(41, 213, 176, 0.8) 48% 58%, transparent 58%),
    linear-gradient(101deg, rgba(6, 22, 79, 0.08), rgba(6, 22, 79, 0.62));
}

.hero__media img {
  width: 100%;
  height: calc(100% + 90px);
  display: block;
  object-fit: cover;
  object-position: left top;
  filter: saturate(1.03) contrast(1.02);
  transform: translateY(-36px);
}

.media-ring {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  pointer-events: none;
}

.media-ring--large {
  width: clamp(160px, 18vw, 250px);
  aspect-ratio: 1;
  top: 13%;
  right: -5%;
  border: 18px solid rgba(41, 213, 176, 0.8);
  border-left-color: rgba(6, 22, 79, 0.75);
}

.media-ring--small {
  width: clamp(54px, 7vw, 88px);
  aspect-ratio: 1;
  right: 14%;
  bottom: 24%;
  border: 11px solid rgba(92, 234, 210, 0.78);
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(26px, 3vw, 42px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border: 4px solid rgba(92, 234, 210, 0.9);
  border-radius: 50%;
}

.hero__copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--aqua);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(1.75rem, 2.65vw, 2.75rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.32;
}

.lead-form {
  max-width: 620px;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  width: 1px;
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.field input {
  width: 100%;
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 999px;
  outline: 0;
  box-shadow: 0 12px 28px rgba(0, 35, 55, 0.12);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.field input::placeholder {
  color: rgba(7, 24, 79, 0.62);
}

.field input:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(92, 234, 210, 0.28);
}

.field input.is-invalid {
  border-color: var(--danger);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 560px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.84rem;
  line-height: 1.35;
}

.consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--mint);
}

.consent input.is-invalid {
  outline: 2px solid var(--danger);
  outline-offset: 2px;
}

.turnstile-widget {
  margin-top: 12px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-success {
  color: #c9fff0;
}

button {
  min-height: 50px;
  padding: 0 28px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(5, 15, 58, 0.26);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

button:hover {
  background: var(--ink-soft);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(5, 15, 58, 0.34);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

button:focus-visible {
  outline: 4px solid rgba(92, 234, 210, 0.58);
  outline-offset: 3px;
}

.floating-mail {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  position: fixed;
  right: 26px;
  bottom: 24px;
  z-index: 10;
  color: var(--white);
  background: #16a36f;
  border: 6px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(4, 43, 37, 0.26);
}

@media (max-width: 920px) {
  .landing {
    padding: 0;
  }

  .hero {
    min-height: 100vh;
    grid-template-columns: 1fr;
    border-radius: 0;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(6, 22, 79, 0.08), rgba(0, 111, 92, 0.96) 43%);
  }

  .hero__media {
    min-height: 34vh;
    max-height: 380px;
  }

  .hero__media img {
    object-position: left 42%;
  }

  .media-ring--large {
    right: 13%;
    top: 18%;
  }

  .media-ring--small {
    right: 7%;
    bottom: 12%;
  }

  .hero__content {
    justify-content: start;
    padding: 30px 22px 86px;
  }

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

  button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero__media {
    min-height: 260px;
  }

  h1 {
    font-size: clamp(1.9rem, 9vw, 2.65rem);
  }

  .lead {
    font-size: 1rem;
  }

  .field input {
    min-height: 46px;
  }

  .floating-mail {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }
}
