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

:root {
  --bg: #dd2d4a;
  --heart: #e44762;
}

html,
body {
  height: 100%;
}

html {
  background: var(--bg);
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--bg);
  min-height: 100vh;
  color: #fff;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 48px);
  height: 64px;
  flex-shrink: 0;
}

.nav-logo {
  font-weight: 900;
  font-size: 15px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.55);
}

.nav-cta {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 14px;
  padding: 9px 22px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.12s,
    color 0.12s;
  -webkit-tap-highlight-color: transparent;
}

.nav-cta:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.hero {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 clamp(16px, 5vw, 32px) 80px;
  overflow: hidden;
}

h1 {
  font-size: clamp(60px, 8.5vw, 108px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

h1 em {
  font-style: normal;
  color: #ffe566;
}

.hero-sub {
  font-size: clamp(20px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 380px;
  margin-top: 36px;
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 18px;
  padding: 18px 40px;
  background: #fff;
  color: var(--bg);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  margin-top: 40px;
  transition:
    transform 0.08s,
    background 0.08s;
  position: relative;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}

.hero-cta:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
}

.hero-cta:active {
  transform: translateY(1px);
}

/* Ghost heart */
.page-heart .hero::before {
  content: '';
  position: absolute;
  width: min(93vw, 520px);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 29 A25 25 0 0 0 0 29 Q0 71 50 99 Q100 71 100 29 A25 25 0 0 0 50 29 Z' fill='%23e44762'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: blur(0px);
  pointer-events: none;
  user-select: none;
}
