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

/* The hidden attribute must always win, even over an element's own
   `display: flex` — otherwise the browser's default [hidden] rule loses
   the cascade to a same-origin author rule with equal specificity. */
[hidden] {
  display: none !important;
}

body {
  background: #101010;
  color: #F7F6F2;
  font-family: 'Hanken Grotesk', sans-serif;
  min-height: 100vh;
}

a {
  color: #FFC629;
}
a:hover {
  color: #FFE08A;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.glow {
  position: absolute;
  top: -18%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 120%);
  height: min(900px, 80vh);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 198, 41, .13), transparent 62%);
  pointer-events: none;
}

.page {
  position: relative;
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
}

/* Header */

.header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  border-radius: 9px;
}

.brand-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.4px;
}

.badge-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: #8B8A84;
}

/* Hero */

.hero {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(20px, 3vh, 44px) 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 30px;
  padding: 7px 15px;
  margin-bottom: clamp(16px, 3vh, 34px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  color: #B9B8B1;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFC629;
  box-shadow: 0 0 9px #FFC629;
}

h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 7.4vw, 88px);
  line-height: .98;
  letter-spacing: -.035em;
  max-width: 15ch;
  text-wrap: balance;
}

.subcopy {
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.55;
  color: #9C9B94;
  margin-top: clamp(14px, 2.2vh, 26px);
  max-width: 44ch;
  text-wrap: pretty;
}

.subcopy em {
  font-style: normal;
  color: #F7F6F2;
}

/* Form */

.form-wrap {
  width: 100%;
  max-width: 430px;
  margin-top: clamp(22px, 3.6vh, 42px);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#email {
  flex: 1;
  min-width: 180px;
  box-sizing: border-box;
  background: #181818;
  border: 1.5px solid #2C2C2C;
  border-radius: 13px;
  padding: 15px 17px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #F7F6F2;
  outline: none;
}
#email::placeholder {
  color: #8B8A84;
}
#email:focus {
  border-color: #FFC629;
  background: #1C1B18;
}

#submit-btn {
  background: #FFC629;
  color: #101010;
  border: none;
  border-radius: 13px;
  padding: 15px 24px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.1px;
  cursor: pointer;
  white-space: nowrap;
}
#submit-btn:hover:not(:disabled) {
  background: #FFE08A;
}
#submit-btn:disabled {
  opacity: .6;
  cursor: default;
}

.form-error {
  text-align: left;
  font-size: 13px;
  color: #F2A0A0;
  margin-top: 10px;
}

.success {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 165, 148, .1);
  border: 1.5px solid rgba(18, 165, 148, .35);
  border-radius: 13px;
  padding: 11px 17px;
  min-height: 54px;
  box-sizing: border-box;
  text-align: left;
  animation: rise .4s ease both;
}

.success-title {
  font-size: 14px;
  font-weight: 800;
  color: #F7F6F2;
}

.success-sub {
  font-size: 12.5px;
  color: #9C9B94;
  margin-top: 2px;
}

.disclaimer {
  font-size: 12px;
  color: #8B8A84;
  margin-top: 12px;
  font-weight: 500;
}

/* Footer */

.footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-shrink: 0;
  font-size: 12px;
  color: #8B8A84;
  font-weight: 500;
}
