:root {
  --navy: #002f55;
  --yellow: #ffd326;
  --cream: #fff8dc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
}

img {
  max-width: 100%;
  height: auto;
}

body {
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.95) 0 0.8rem, transparent 0.9rem),
    radial-gradient(circle at 82% 22%, rgba(255,255,255,0.85) 0 1.5rem, transparent 1.6rem),
    linear-gradient(135deg, #fff8d6 0%, #ffe25c 42%, #ffd326 100%);
  overflow-x: hidden;
}

.page {
  min-height: 100svh;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 36px);
  overflow: hidden;
}

.card {
  position: relative;
  z-index: 2;
  width: min(960px, calc(100vw - 28px));
  text-align: center;
  padding: clamp(22px, 6vw, 68px) clamp(16px, 5vw, 70px);
  border-radius: clamp(24px, 5vw, 42px);
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,248,220,0.9));
  border: 3px solid rgba(0,47,85,0.08);
  box-shadow: 0 28px 80px rgba(0,47,85,0.22);
}

.brand-logo {
  display: block;
  width: clamp(220px, 62vw, 520px);
  max-height: clamp(115px, 24vw, 230px);
  object-fit: contain;
  margin: 0 auto clamp(10px, 2vw, 16px);
  filter: drop-shadow(0 10px 18px rgba(0,47,85,0.22));
}

.eyebrow {
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 clamp(12px, 2vw, 16px);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--yellow);
  font-size: clamp(0.7rem, 2.4vw, 0.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(2rem, 9vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--navy);
}

.intro {
  max-width: 720px;
  margin: clamp(16px, 3vw, 24px) auto 0;
  font-size: clamp(1rem, 3.8vw, 1.32rem);
  line-height: 1.55;
  color: rgba(0,47,85,0.82);
  font-weight: 600;
}

.category-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(22px, 4vw, 32px) 0;
}

.category-row span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  border: 2px solid rgba(0,47,85,0.15);
  font-weight: 900;
  font-size: clamp(0.86rem, 3vw, 1rem);
  box-shadow: 0 8px 18px rgba(0,47,85,0.08);
}

.signup {
  width: min(580px, 100%);
  margin: 0 auto;
}

.signup label {
  display: block;
  font-weight: 900;
  margin-bottom: 12px;
}

.signup-row {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(0,47,85,0.14);
  box-shadow: 0 16px 36px rgba(0,47,85,0.14);
}

input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 16px;
  font: inherit;
  color: var(--navy);
  background: transparent;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  background: var(--navy);
  color: var(--yellow);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

footer {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(0,47,85,0.72);
  font-weight: 800;
  font-size: 0.9rem;
}

.bubble {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,0.95), rgba(255,255,255,0.28) 48%, rgba(255,255,255,0.06) 70%);
  border: 1px solid rgba(255,255,255,0.85);
  animation: float 8s ease-in-out infinite;
}

.bubble-one { width: clamp(70px, 10vw, 110px); height: clamp(70px, 10vw, 110px); left: 7%; top: 16%; }
.bubble-two { width: clamp(45px, 7vw, 70px); height: clamp(45px, 7vw, 70px); right: 10%; top: 20%; animation-delay: 1.3s; }
.bubble-three { width: clamp(90px, 13vw, 140px); height: clamp(90px, 13vw, 140px); right: 7%; bottom: 15%; animation-delay: 2.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-22px) scale(1.04); }
}

@media (max-width: 640px) {
  .hero {
    align-items: start;
    padding: 18px 14px 58px;
  }

  .card {
    margin-top: 12px;
  }

  .brand-logo {
    width: min(88vw, 390px);
    max-height: 165px;
  }

  .signup-row {
    flex-direction: column;
    border-radius: 24px;
  }

  input {
    min-height: 46px;
    text-align: center;
  }

  button {
    width: 100%;
  }

  footer {
    font-size: 0.8rem;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    width: 84vw;
    max-height: 140px;
  }

  .category-row span {
    padding: 9px 11px;
  }
}


.input--hidden,
.hidden-frame {
  display: none !important;
}

.form-message {
  display: none;
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 18px;
  background: #fff4a8;
  border: 2px solid #ffd326;
  color: #002f55;
  font-weight: 900;
  text-align: center;
}

.form-message.show {
  display: block;
}
