/* ==========================================================================
   cta.css  -  WAITLIST FORM / CALL TO ACTION (CONTENT)
   Used by: <section id="cta"> in index.html. Behaviour: js/waitlist.js.
   ========================================================================== */

/* The section has a dark background with light text. */
#cta { background: var(--text-main); color: var(--page-bg); }
/* Label colour on the dark background. */
#cta .kick { color: var(--border-dark); }
/* A bigger heading for this section. */
#cta h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: .96; letter-spacing: -.055em; }
/* Highlighted word (light blue). */
#cta h2 em { color: #8DB8FF; }  /* lighter brand blue so it can be read on the navy background */
/* The text and form column. */
.cta-body { display: flex; flex-direction: column; gap: 14px; }
/* Paragraph colour. */
.cta-body p { font-size: clamp(17px, 1.6vw, 20px); color: var(--border-dark); }
/* The form: parts stacked with small gaps. */
.cta-body form { display: flex; flex-direction: column; gap: 8px; }
/* The label above the email box. */
.cta-body label { font: 11.5px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--border-dark); }
/* FIELD: the email box and the button on one row. */
.field { display: flex; flex-wrap: wrap; gap: 10px; }
/* The email input box. */
.field input { flex: 1 1 260px; min-width: 0; min-height: 62px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--page-bg); color: var(--text-main); font-size: 18px; }
/* The submit button. */
.field button { flex: 0 0 auto; min-height: 62px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--brand-gradient); color: #fff; font: 13px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; }
/* The small square at the end of the button text. */
.field button::after { content: ""; width: 7px; height: 7px; background: #fff; }
/* Phones: the button takes the full width. */
@media (max-width: 480px) { .field button { flex: 1 1 100%; justify-content: center; } }
/* The red error message (hidden until the email is wrong). */
#errorText { display: none; align-self: flex-start; padding: 8px 12px; border-radius: 6px; background: #FFE4E1; color: #8E1B1B; font: 12.5px var(--font-mono); }
/* The thank-you message (hidden until the email is accepted). */
#thanksBox { display: none; align-items: center; gap: 14px; padding: 20px; border-radius: 12px; background: var(--page-bg); color: var(--text-main); }
/* The small blue square before the thank-you text. */
#thanksBox::before { content: ""; flex: 0 0 10px; height: 10px; background: var(--brand-blue); }
/* Small notes under the form. */
.cta-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font: 11.5px var(--font-mono); color: var(--border-dark); }
/* The privacy sentence. "!important" makes sure these values win. */
.privacy { font-size: 9px !important; line-height: 1.5; color: #94A3B8 !important; }
/* Honeypot box for catching bots: moved off-screen so people never see it. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

