:root {
  --ink: #090e30;
  --navy: #11186a;
  --muted: #69708e;
  --line: #dfe2ef;
  --pink: #dc2d94;
  --pink-dark: #be1f7d;
  --panel: #ffffffd9;
  --soft: #f6f4fb;
  --success: #2c8a62;
  --error: #b7294f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f8f6fd;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.93) 0%, rgba(255, 255, 255, 0.65) 48%, rgba(255, 232, 247, 0.78) 100%),
    url("/hero-bg.png") center / cover no-repeat;
  content: "";
}

body::after {
  position: fixed;
  inset: auto 0 0 0;
  z-index: -1;
  height: 22vh;
  background: linear-gradient(12deg, rgba(220, 45, 148, 0.52), rgba(255, 255, 255, 0) 38%);
  content: "";
  pointer-events: none;
}

.page-shell {
  min-height: 100vh;
  padding: clamp(22px, 2.6vw, 44px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(600px, 1.03fr) minmax(400px, 0.9fr);
  gap: clamp(30px, 3.8vw, 58px);
  align-items: center;
  max-width: 1500px;
  min-height: calc(100vh - clamp(44px, 5.2vw, 88px));
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  margin: 0 0 34px;
  padding: 0 28px;
  border: 1px solid rgba(17, 24, 106, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #20245d;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 3.35vw, 64px);
  line-height: 0.95;
  letter-spacing: 0;
}

h1 span,
.countdown span,
.brand span {
  color: var(--pink);
}

.lead-strong {
  margin: 26px 0 8px;
  font-size: clamp(21px, 1.45vw, 25px);
  font-weight: 700;
}

.lead {
  max-width: 600px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.38;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.feature-card {
  display: grid;
  justify-items: center;
  min-height: 198px;
  padding: 24px 20px 22px;
  border: 1px solid rgba(17, 24, 106, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(24, 27, 74, 0.08);
  text-align: center;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #eeedf4;
  color: var(--navy);
}

.feature-card h2 {
  margin: 18px 0 8px;
  font-size: 20px;
  line-height: 1.1;
}

.feature-card p {
  margin: 0;
  color: #3d4364;
  font-size: 16px;
  line-height: 1.35;
}

.countdown {
  max-width: 720px;
  padding: 24px 30px;
  border: 1px solid rgba(17, 24, 106, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 48px rgba(24, 27, 74, 0.08);
  text-align: center;
}

.countdown p {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 800;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
}

.time-grid div {
  display: grid;
  gap: 4px;
  min-height: 78px;
  place-content: center;
  border-left: 1px solid var(--line);
}

.time-grid div:first-child {
  border-left: 0;
}

.time-grid strong {
  color: #22236f;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1;
}

.time-grid small {
  font-size: 15px;
  font-weight: 700;
}

.signup-panel {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 640px;
  padding-top: 78px;
}

.brand {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  justify-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand strong {
  font-size: clamp(52px, 5.2vw, 86px);
  line-height: 0.8;
}

.brand small {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 3px solid var(--pink);
  color: var(--pink);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 10px;
}

.mail-mark {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 30px auto 22px;
  border: 2px solid rgba(220, 45, 148, 0.18);
  border-radius: 50%;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.22);
}

.panel-heading {
  text-align: center;
}

.panel-heading h2 {
  margin: 0;
  font-size: clamp(30px, 2.55vw, 40px);
  line-height: 1.12;
  font-weight: 500;
}

.panel-heading p {
  margin: 10px 0 28px;
  color: #7b8199;
  font-size: 20px;
}

.waitlist-form {
  display: grid;
  gap: 14px;
  width: min(100%, 600px);
  margin: 0 auto;
  padding: 42px 40px;
  border-radius: 24px;
  background: var(--navy);
  box-shadow: 0 24px 70px rgba(7, 11, 58, 0.22);
}

.waitlist-form label:not(.consent) span {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  min-height: 68px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(220, 45, 148, 0.18);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.35;
}

.consent input {
  width: 16px;
  height: 16px;
  margin-top: 5px;
  accent-color: var(--pink);
}

button {
  min-height: 60px;
  border: 0;
  border-radius: 12px;
  background: var(--pink);
  color: white;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

button:hover {
  background: var(--pink-dark);
  transform: translateY(-1px);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.thank-you-shell {
  display: grid;
  place-items: center;
  padding-top: clamp(22px, 3vw, 42px);
  padding-bottom: clamp(22px, 3vw, 42px);
}

.thank-you-view {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(100%, 640px);
}

.thank-you-brand {
  position: static;
}

.thank-you-brand strong {
  font-size: clamp(44px, 4.8vw, 62px);
}

.thank-you-brand small {
  margin-top: 12px;
  padding-top: 8px;
  font-size: 13px;
  letter-spacing: 7px;
}

.thank-you-card {
  width: min(100%, 600px);
  padding: clamp(26px, 3.4vw, 38px);
  border: 1px solid rgba(17, 24, 106, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 80px rgba(24, 27, 74, 0.12);
  text-align: center;
}

.thank-you-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: rgba(220, 45, 148, 0.08);
}

.thank-you-pill {
  min-height: 34px;
  margin-bottom: 16px;
  padding: 0 22px;
  font-size: 12px;
}

.thank-you-card h1 {
  max-width: 500px;
  margin: 0 auto 16px;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.02;
}

.thank-you-card p {
  max-width: 500px;
  margin: 0 auto;
  color: #3d4364;
  font-size: clamp(16px, 1.55vw, 18px);
  line-height: 1.45;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--pink);
  color: white;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.primary-link:hover {
  background: var(--pink-dark);
  transform: translateY(-1px);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: white;
  font-size: 16px;
  text-align: center;
}

.form-status.success {
  color: #b9ffd9;
}

.form-status.error {
  color: #ffd4dd;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .signup-panel {
    align-self: auto;
    min-height: auto;
    padding-top: 0;
  }

  .brand {
    position: static;
    margin-bottom: 16px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 22px;
  }

  .hero {
    gap: 26px;
    min-height: auto;
  }

  .pill {
    margin-bottom: 24px;
  }

  .lead-strong {
    margin-top: 24px;
  }

  .lead {
    margin-bottom: 26px;
  }

  .feature-grid,
  .time-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .time-grid div,
  .time-grid div:first-child {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .time-grid div:first-child {
    border-top: 0;
  }

  .brand {
    justify-items: start;
  }

  .brand small {
    letter-spacing: 6px;
  }

  .mail-mark {
    margin-top: 12px;
  }

  .waitlist-form {
    padding: 28px 18px;
    border-radius: 18px;
  }

  input[type="text"],
  input[type="email"] {
    min-height: 64px;
    padding: 0 20px;
  }
}
