*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(90rem 36rem at 88% -12%, rgba(56, 189, 201, 0.32), transparent 58%),
    radial-gradient(70rem 32rem at -18% 8%, rgba(245, 158, 66, 0.20), transparent 52%),
    radial-gradient(50rem 28rem at 50% 110%, rgba(37, 99, 235, 0.22), transparent 55%),
    linear-gradient(165deg, #081529 0%, #0f2c45 42%, #0a1e33 100%);
  background-attachment: fixed;
  color: #e7eef6;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

main {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 3.25rem 1.5rem 2.5rem;
  flex: 1;
}

main.simple {
  max-width: 36rem;
  padding-top: 4.5rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3e0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.85rem, 4.2vw, 2.7rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #f4f8fc;
}

.blurb {
  margin: 0;
  font-size: 1.125rem;
  color: #c5d3e0;
  max-width: 36rem;
}

.hero-image {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow:
    0 24px 50px rgba(2, 8, 20, 0.45),
    0 0 0 1px rgba(148, 197, 214, 0.18);
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.services {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.services li {
  margin: 0;
  padding: 1.15rem 1.3rem;
  border-radius: 0.85rem;
  background: rgba(15, 36, 56, 0.45);
  border: 1px solid rgba(148, 197, 214, 0.18);
  backdrop-filter: blur(8px);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f4f8fc;
}

h1 {
  margin: 0 0 1rem;
  font-size: 1.85rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #f4f8fc;
}

.simple h1 {
  margin-bottom: 1.15rem;
}

.simple p {
  margin: 0 0 1rem;
  color: #c5d3e0;
}

.back {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
}

a {
  color: #8edce8;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #c8f3f8;
}

.contact {
  margin-top: 2.75rem;
  padding: 1.7rem 1.7rem 1.85rem;
  border-radius: 1rem;
  background: #f4f1ea;
  color: #1c1917;
  box-shadow: 0 24px 50px rgba(2, 8, 20, 0.35);
}

.contact h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #1c1917;
}

.contact-intro {
  margin: 0 0 1.2rem;
  color: #44403c;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9375rem;
  color: #1c1917;
}

.optional {
  color: #57534e;
  font-weight: 400;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  margin: 0;
  padding: 0.65rem 0.7rem;
  border: 1px solid #d6d3cd;
  border-radius: 6px;
  background: #fffcf7;
  color: #1c1917;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid #0f2c45;
  outline-offset: 1px;
}

textarea {
  resize: vertical;
  min-height: 8rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile {
  min-height: 1.5rem;
}

button {
  align-self: flex-start;
  margin: 0.25rem 0 0;
  padding: 0.65rem 1.25rem;
  border: 1px solid #0f2c45;
  border-radius: 6px;
  background: #0f2c45;
  color: #f4f1ea;
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
}

button:hover:not(:disabled) {
  background: #163955;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.9375rem;
  color: #44403c;
}

.status.error {
  color: #7f1d1d;
}

.status.ok {
  color: #14532d;
}

footer {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem 2.75rem;
  font-size: 0.875rem;
  color: #8aa0b5;
}

footer a {
  color: #8edce8;
}

@media (max-width: 52rem) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .services {
    grid-template-columns: 1fr;
  }

  main {
    padding-top: 2rem;
  }
}
