:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #071a2b;
  color: #f5f8fb;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(66, 197, 181, 0.16), transparent 34rem),
    linear-gradient(135deg, #071a2b 0%, #0a2940 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

main {
  display: grid;
  min-height: calc(100vh - 5rem);
  place-items: center;
  padding: 3rem 1.5rem;
}

.card {
  width: min(100%, 46rem);
  padding: clamp(2rem, 7vw, 5rem);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
  background: rgba(6, 24, 39, 0.72);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.mark {
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  margin-bottom: 2.75rem;
  place-items: center;
  border: 1px solid #42c5b5;
  border-radius: 1rem;
  color: #8eeadd;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #8eeadd;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.intro {
  max-width: 35rem;
  margin: 2rem 0;
  color: #c6d5e2;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.7;
}

.contact {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  min-width: 12rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0.75rem;
  background: #42c5b5;
  color: #04151f;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.contact:hover {
  transform: translateY(-2px);
  background: #76ded2;
}

.contact:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.email {
  margin: 1rem 0 0;
  color: #91a8b9;
  font-size: 0.875rem;
}

footer {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  color: #91a8b9;
  font-size: 0.875rem;
}

@media (max-width: 38rem) {
  main {
    align-items: start;
    padding-top: 1.5rem;
  }

  .card {
    padding: 2rem;
  }

  .mark {
    margin-bottom: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact {
    transition: none;
  }
}
