/* =============================================
   HeyCara Landing Page — style.css
   Teal: #2c6e6a  |  Coral: #e07050
   Cream: #f5f0e8  |  Dark: #1a1a1a
   Headings/buttons: Hammersmith One
   Body/fields: Inter
   ============================================= */

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

:root {
  --teal:       #2c6e6a;
  --teal-dark:  #1e504d;
  --teal-soft:  #e0eeec;
  --coral:      #e07050;
  --coral-dark: #c45a3c;
  --coral-soft: #fdf0eb;
  --cream:      #f5f0e8;
  --cream-card: #fffcf8;
  --dark:       #1a1a1a;
  --muted:      #6b6560;
  --border:     #e4ddd3;
  --white:      #ffffff;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --shadow:     0 4px 28px rgba(26, 26, 26, 0.07);
  --shadow-btn: 0 2px 12px rgba(224, 112, 80, 0.3);
  --max-w:      600px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--dark);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =============================================
   MAIN / HERO
   ============================================= */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(48px, 8vw, 96px) 24px clamp(48px, 8vw, 80px);
  text-align: center;
}

.hero {
  max-width: var(--max-w);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Hero logo */
.hero-logo {
  width: 160px;
  height: auto;
  display: block;
  margin-bottom: 40px;
}

/* Eyebrow badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* Headline */
h1 {
  font-family: 'Hammersmith One', sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.6rem);
  font-weight: 400; /* Hammersmith One is inherently bold */
  line-height: 1.2;
  letter-spacing: -0.2px;
  color: var(--dark);
  margin-bottom: 18px;
}

h1 em {
  font-style: normal;
  color: var(--coral);
}

.hey-text {
  color: var(--coral);
}

/* Subheadline */
.subheadline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--muted);
  font-weight: 400;
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

/* =============================================
   WAITLIST FORM CARD
   ============================================= */
.form-wrap {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: var(--max-w);
}

.form-wrap label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  text-align: left;
}

.form-prompt {
  color: var(--dark);
  font-family: 'Hammersmith One', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 14px;
  text-align: left;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.mailchimp-bot-field {
  left: -5000px;
  position: absolute;
}

.input-row {
  display: flex;
  gap: 10px;
}

.email-input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.email-input::placeholder {
  color: #b0a99f;
}

.email-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(44, 110, 106, 0.12);
}

.email-input.error {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(224, 112, 80, 0.12);
}

.submit-btn {
  padding: 14px 22px;
  background: var(--coral);
  color: var(--cream);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Hammersmith One', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: var(--shadow-btn);
}

.submit-btn:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(224, 112, 80, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-btn);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: left;
  font-family: 'Inter', sans-serif;
}

.form-note a {
  color: var(--dark);
  font-weight: 600;
  margin-left: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =============================================
   THANK-YOU STATE
   ============================================= */
.thankyou {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.thankyou.visible {
  display: flex;
}

.thankyou-icon {
  width: 54px;
  height: 54px;
  background: var(--teal-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.thankyou-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--teal);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thankyou h3 {
  font-family: 'Hammersmith One', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--dark);
}

.thankyou p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.thankyou .redirect-note {
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 500;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  text-align: center;
  padding: 24px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--teal);
  border-top: 1px solid var(--border);
}

/* =============================================
   PRIVACY POLICY
   ============================================= */
.policy-main {
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(32px, 6vw, 64px);
  text-align: left;
}

.policy-card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  max-width: 720px;
  padding: clamp(28px, 5vw, 48px);
  width: 100%;
}

.policy-card h1 {
  margin-bottom: 8px;
}

.policy-card h2 {
  color: var(--teal);
  font-family: 'Hammersmith One', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin: 28px 0 8px;
}

.policy-card p {
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}

.policy-card a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-date {
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.back-link {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 28px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 480px) {
  .input-row {
    flex-direction: column;
  }

  .submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
  }

  .form-wrap {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }

  .hero-logo {
    width: 140px;
  }
}
