:root {
  --pink: #f33795;
  --pink-dark: #c82176;
  --purple: #211136;
  --purple-deep: #10071f;
  --purple-soft: #6e3a88;
  --gold: #e6bd64;
  --gold-soft: #f6dea0;
  --cream: #fff7ec;
  --ink: #211f29;
  --muted: #7f7485;
  --paper: #fff8fc;
  --line: #ecddea;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(38, 13, 43, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--purple-deep);
  font-family:
    Avenir, Montserrat, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.hero {
  height: min(860px, 100vh);
  height: min(860px, 100svh);
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  grid-template-rows: 64px minmax(0, 1fr);
  align-items: stretch;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(243, 55, 149, 0.28), transparent 30%),
    radial-gradient(circle at 48% 82%, rgba(230, 189, 100, 0.22), transparent 31%),
    linear-gradient(105deg, #10071f 0%, #160a2d 46%, #241044 100%);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 7, 31, 0.94) 0%, rgba(16, 7, 31, 0.82) 42%, rgba(16, 7, 31, 0.28) 69%, rgba(16, 7, 31, 0.68) 100%),
    linear-gradient(180deg, rgba(16, 7, 31, 0.08) 0%, rgba(16, 7, 31, 0.72) 100%);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, transparent, rgba(7, 3, 14, 0.82));
  pointer-events: none;
  z-index: 2;
}

.topbar {
  grid-column: 1 / -1;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 4;
  border-bottom: 1px solid rgba(246, 222, 160, 0.14);
}

.topbar__logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(246, 222, 160, 0.34), 0 14px 34px rgba(0, 0, 0, 0.22);
}

.hero__content {
  width: min(760px, calc(100vw - 40px));
  margin: 0 auto 0 max(40px, 8vw);
  padding: clamp(48px, 7vh, 72px) 0 clamp(42px, 6vh, 68px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 3;
}

.brand-mark {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 12px 34px rgba(231, 47, 133, 0.16);
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 38px;
  border: 1px solid rgba(230, 189, 100, 0.45);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(230, 189, 100, 0.8);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  color: var(--cream);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(3.05rem, 5.65vw, 6.05rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 24px;
  text-wrap: balance;
}

h1 strong {
  color: var(--pink);
  font-weight: 700;
  background: linear-gradient(90deg, var(--pink) 0%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__text {
  max-width: 590px;
  color: rgba(255, 247, 236, 0.78);
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
  line-height: 1.62;
  margin-bottom: 22px;
}

.hero__list {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  color: rgba(255, 247, 236, 0.88);
  list-style: none;
}

.hero__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.35;
}

.hero__list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(230, 189, 100, 0.6);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 62px;
  border: 0;
  border-radius: 999px;
  padding: 0 30px;
  cursor: pointer;
  color: #160a2d;
  background: linear-gradient(90deg, var(--gold) 0%, #ffe8ad 100%);
  font: inherit;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: linear-gradient(90deg, #f0c96f 0%, #fff0c8 100%);
  box-shadow: 0 18px 38px rgba(230, 189, 100, 0.25);
  transform: translateY(-1px);
}

.button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(243, 55, 149, 0.35);
  outline-offset: 3px;
}

.hero__note {
  margin: 14px 0 0;
  color: rgba(255, 247, 236, 0.56);
  font-size: 0.94rem;
}

.hero__media {
  margin: 0;
  height: 100%;
  min-height: 0;
  position: relative;
  z-index: 1;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 13%, rgba(243, 55, 149, 0.26), transparent 25%),
    linear-gradient(90deg, rgba(16, 7, 31, 0.94) 0%, rgba(16, 7, 31, 0.18) 37%, rgba(16, 7, 31, 0.2) 100%),
    linear-gradient(180deg, rgba(16, 7, 31, 0.16) 0%, rgba(16, 7, 31, 0.72) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 26%;
  filter: saturate(0.92) contrast(1.02) brightness(0.74);
}

.signup {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
  padding: clamp(48px, 6vw, 78px) 0;
  color: var(--cream);
  scroll-margin-top: 18px;
}

.signup__intro {
  align-self: start;
  padding-top: 8px;
}

.signup h2 {
  color: var(--cream);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.signup p {
  color: rgba(255, 247, 236, 0.7);
  font-size: 1.05rem;
  line-height: 1.55;
}

.form {
  background: rgba(255, 248, 252, 0.96);
  border: 1px solid rgba(230, 189, 100, 0.22);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 40px);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.hidden-field {
  display: none;
}

label {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 750;
}

input,
select {
  width: 100%;
  min-height: 52px;
  border: 1px solid #dbc5d8;
  border-radius: 10px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

input::placeholder {
  color: #9b8f96;
}

.button--submit {
  width: 100%;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--pink) 0%, #9f4ed2 100%);
  color: var(--white);
}

.button--submit:hover,
.button--submit:focus-visible {
  background: linear-gradient(90deg, var(--pink-dark) 0%, #7d37ac 100%);
  box-shadow: 0 16px 34px rgba(243, 55, 149, 0.24);
}

.form__status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--purple-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.signup .form__privacy {
  margin: 10px 0 0;
  color: #7a6e79;
  font-size: 0.82rem;
  line-height: 1.4;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 64px auto auto;
    height: auto;
    min-height: 0;
  }

  .topbar {
    order: -2;
    background: rgba(16, 7, 31, 0.84);
  }

  .hero__content {
    min-height: auto;
    margin: 0 auto;
    padding-top: clamp(28px, 6vh, 42px);
    padding-top: clamp(28px, 6svh, 42px);
    padding-bottom: clamp(42px, 8vh, 58px);
    padding-bottom: clamp(42px, 8svh, 58px);
  }

  .hero__media {
    height: clamp(260px, 36vh, 340px);
    height: clamp(260px, 36svh, 340px);
    min-height: 0;
    order: -1;
  }

  .hero__media img {
    height: 100%;
    min-height: 0;
    max-height: none;
    object-position: center 38%;
  }

  .hero__media::before {
    background:
      linear-gradient(180deg, rgba(16, 7, 31, 0.1), rgba(16, 7, 31, 0.42)),
      linear-gradient(90deg, rgba(16, 7, 31, 0.35), rgba(16, 7, 31, 0.16));
  }

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

@media (min-width: 881px) and (max-height: 820px) {
  .hero {
    grid-template-rows: 56px minmax(0, 1fr);
  }

  .topbar {
    min-height: 56px;
  }

  .topbar__logo {
    width: 48px;
    height: 48px;
  }

  .hero__content {
    padding-top: clamp(28px, 4vh, 42px);
    padding-bottom: 40px;
  }

  .eyebrow {
    min-height: 34px;
    margin-bottom: 16px;
    padding: 0 16px;
  }

  h1 {
    font-size: clamp(2.85rem, 4.4vw, 5rem);
    line-height: 0.96;
    margin-bottom: 18px;
  }

  .hero__text {
    font-size: clamp(1rem, 1.15vw, 1.14rem);
    line-height: 1.48;
    margin-bottom: 16px;
  }

  .hero__list {
    gap: 8px;
    margin-bottom: 20px;
  }

  .button {
    min-height: 58px;
  }
}

@media (max-width: 520px) {
  .hero__content,
  .signup {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.25rem);
  }

  .button {
    width: 100%;
    padding: 0 18px;
  }

  .form {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
