@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
  --ink: #e8f3ff;
  --accent: #1ea8ff;
  --accent-2: #5ce7ff;
  --panel: rgba(10, 16, 28, 0.76);
  --panel-border: rgba(132, 181, 255, 0.22);
  --shadow: 0 22px 64px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 18%, rgba(34, 106, 255, 0.24) 0%, rgba(34, 106, 255, 0) 42%),
    radial-gradient(circle at 12% 80%, rgba(0, 170, 255, 0.18) 0%, rgba(0, 170, 255, 0) 44%),
    linear-gradient(160deg, #05080f 0%, #0a1120 100%);
}

main {
  width: min(800px, calc(100% - 1.2rem));
  max-width: 800px;
  max-height: calc(100svh - 1rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 22px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

main > section {
  --visual-top: 0.5rem;
  position: relative;
  padding: 1rem;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  overflow: hidden;
}

.visual {
  position: absolute;
  inset: var(--visual-top);
  border-radius: 14px;
  background: linear-gradient(138deg, #070f1d 0%, #0a1f3d 44%, #0b3766 100%);
  overflow: hidden;
}

.mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(144, 218, 255, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(144, 218, 255, 0.18) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
}

.glow-a {
  width: min(54vw, 620px);
  height: min(54vw, 620px);
  right: -10%;
  top: -32%;
  background: radial-gradient(circle, rgba(59, 176, 255, 0.76) 0%, rgba(59, 176, 255, 0) 64%);
}

.glow-b {
  width: min(44vw, 500px);
  height: min(44vw, 500px);
  left: -12%;
  bottom: -58%;
  background: radial-gradient(circle, rgba(85, 231, 255, 0.34) 0%, rgba(85, 231, 255, 0) 68%);
}

main > section > header {
  display: flex;
  align-items: center;
  padding: 0.3rem 0.2rem 0;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: var(--visual-top);
  overflow: hidden;
  z-index: 2;
}

.hero-content > header {
  display: flex;
  align-items: center;
  padding: 0.3rem 0.2rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.62rem;
}

.logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.name {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  letter-spacing: 0.008em;
  color: #dff0ff;
  font-weight: 700;
}

main > section > .headline {
  max-width: 64ch;
  position: relative;
  z-index: 2;
  padding: 0.8rem 0.2rem 1.3rem;
}

.kicker {
  margin: 0;
  color: #83daff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

h1 {
  margin: 0.6rem 0 0;
  max-width: 14ch;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1.7rem, 5vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: #eff9ff;
  font-weight: 800;
}

.lede {
  margin: 0.6rem 0 0;
  max-width: 46ch;
  font-size: clamp(0.85rem, 1.1vw, 0.96rem);
  line-height: 1.45;
  color: #9fc8ea;
}

main > footer {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.cta {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #04263b;
  background: linear-gradient(130deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 10px 24px rgba(0, 163, 255, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 30px rgba(0, 163, 255, 0.4);
}

.cta:focus-visible,
.mail:focus-visible {
  outline: 2px solid #00b8ff;
  outline-offset: 2px;
}

.mail {
  font-size: clamp(0.85rem, 1.05vw, 0.94rem);
  color: #9cc6ea;
  text-decoration: none;
}

@media (max-width: 680px) {
  main {
    width: calc(100% - 0.8rem);
    max-height: calc(100svh - 0.8rem);
    padding: 0.42rem;
    border-radius: 14px;
  }

  main > section {
    --visual-top: 0.46rem;
    padding: 0.72rem;
    border-radius: 14px;
    gap: 0.5rem;
  }

  .name {
    font-size: 0.93rem;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(1.42rem, 8vw, 2.08rem);
    line-height: 0.98;
  }

  .lede {
    font-size: clamp(0.76rem, 3.2vw, 0.88rem);
    line-height: 1.38;
    max-width: 34ch;
    margin-top: 0.5rem;
  }

  .headline {
    padding-bottom: 0.96rem;
  }

  main > footer {
    flex-direction: column;
    gap: 0.45rem;
    padding: 0 0.32rem;
  }

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

  .cta {
    min-height: 52px;
    font-size: 0.9rem;
  }

  .mail {
    display: block;
    padding: 0.64rem 0;
    font-size: 0.83rem;
  }
}

