@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-opsz-normal.woff2") format("woff2");
}

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

html {
  background: #0b172f;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: #ffffff;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(128deg, #26386b 0%, #124665 48%, #0b172f 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

/* The two-plane visibility mark, repeated faintly and fading in from the right. */
.pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 44%;
  height: 100%;
  pointer-events: none;
  background: url("/pattern.svg") 0 0 / 123px 123px repeat;
  opacity: 0.14;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 55%);
  mask-image: linear-gradient(to right, transparent 0%, #000 55%);
}

.wrap {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(24px, 5vw, 56px);
  padding-right: clamp(24px, 5vw, 56px);
}

.header {
  padding-top: 40px;
}

.logo {
  display: block;
  width: clamp(200px, 22vw, 280px);
  height: auto;
}

.logo-link {
  display: inline-block;
  border-radius: 4px;
}

.main {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 64px;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
  max-width: 880px;
}


h1 {
  margin: 0;
  font-size: clamp(44px, 6.9vw, 100px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.018em;
}

.h1-small {
  font-size: clamp(40px, 5vw, 72px);
}

/* The motion rule: transparent to magenta. */
.rule {
  display: block;
  width: 96px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(228, 13, 127, 0) 0%, #e40d7f 100%);
}

.copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 600px;
}

.lead {
  margin: 0;
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.body {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn svg {
  flex: none;
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: #e40d7f;
}

.btn-primary:hover {
  background: #c40a6c;
}

.btn-secondary {
  padding: 0 24px;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.footer {
  padding-bottom: 32px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.footer-name {
  font-weight: 700;
  color: #ffffff;
}

.footer a {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 760px) {
  .pattern {
    width: 100%;
    height: 320px;
    background-size: 82px 82px;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  }

  .header {
    padding-top: 32px;
  }

  .logo {
    width: 188px;
  }

  .main {
    align-items: flex-end;
    padding-top: 56px;
    padding-bottom: 40px;
  }

  .content {
    gap: 24px;
  }


  h1 {
    font-size: clamp(36px, 11.2vw, 60px);
  }

  .copy {
    gap: 12px;
  }

  .lead {
    font-size: 20px;
  }

  .body {
    font-size: 17px;
    line-height: 1.55;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
    padding-top: 4px;
  }

  .btn {
    padding: 0 24px;
  }

  .footer {
    padding-bottom: 24px;
  }

  .footer-inner {
    font-size: 13px;
  }
}

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