/*
|--------------------------------------------------------------------------
| ibisCar Launch Page
|--------------------------------------------------------------------------
| Page-specific styles for public_html/index.html.
|
| Shared external website styles are provided by:
| /assets/css/external.css
|
| Do not place global brand, header, footer, or dashboard styles here.
|--------------------------------------------------------------------------
*/


/* -----------------------------------------------------------------------
   Launch main layout
   ----------------------------------------------------------------------- */

main.launch-main {
  padding: 50px 0 70px;
}


/* -----------------------------------------------------------------------
   Launch hero
   ----------------------------------------------------------------------- */

.launch-hero {
  padding-top: 10px;
}


/* -----------------------------------------------------------------------
   Launch headline
   ----------------------------------------------------------------------- */

.launch-headline {
  max-width: 16ch;
  margin: 26px auto 0;

  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.015em;

  color: var(--navy);
}


/* -----------------------------------------------------------------------
   Launch subheading
   ----------------------------------------------------------------------- */

.launch-sub {
  max-width: 46ch;
  margin: 18px auto 0;

  color: var(--muted);

  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}


/* -----------------------------------------------------------------------
   Countdown
   ----------------------------------------------------------------------- */

.countdown {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;

  margin: 40px 0 8px;
}

.cd-unit {
  width: 84px;
}

.cd-box {
  padding: 16px 0;

  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}

.cd-val {
  display: block;

  color: var(--navy);

  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.01em;

  font-variant-numeric: tabular-nums;
}

.cd-label {
  display: block;

  margin-top: 10px;

  color: var(--muted-light);

  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* -----------------------------------------------------------------------
   Waitlist / notification form
   ----------------------------------------------------------------------- */

.notify {
  margin-top: 40px;
}

.notify-form {
  display: flex;
  gap: 10px;

  width: 100%;
  max-width: 420px;

  margin: 0 auto;
}

.notify-form input {
  flex: 1;
  min-width: 0;

  padding: 13px 16px;

  border: 1px solid var(--line);
  border-radius: var(--radius-s);

  background: var(--surface);

  color: var(--ink);

  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.3;

  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.notify-form input::placeholder {
  color: var(--muted-light);
  opacity: 1;
}

.notify-form input:focus {
  outline: none;
  border-color: var(--navy-light);
}

.notify-form input:disabled {
  background: var(--surface-2);
  cursor: not-allowed;
}


/* -----------------------------------------------------------------------
   Honeypot
   -----------------------------------------------------------------------
   This field exists in the HTML for bot protection.
   Legitimate users should never see it.
   ----------------------------------------------------------------------- */

.honeypot {
  position: absolute !important;

  left: -10000px !important;
  top: auto !important;

  width: 1px !important;
  height: 1px !important;

  overflow: hidden !important;
}


/* -----------------------------------------------------------------------
   Waitlist success message
   ----------------------------------------------------------------------- */

.notify-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;

  width: 100%;
  max-width: 420px;

  margin: 0 auto;

  padding: 13px 16px;

  border-radius: var(--radius-s);

  background: var(--success-bg);
  color: var(--success);

  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;

  text-align: left;
}

.notify-success.show {
  display: flex;
}

.notify-success svg {
  width: 17px;
  height: 17px;

  flex-shrink: 0;
}


/* -----------------------------------------------------------------------
   Waitlist error
   ----------------------------------------------------------------------- */

.notify-error {
  display: none;

  width: 100%;
  max-width: 420px;

  margin: 12px auto 0;

  color: #B42318;

  font-size: 13px;
  line-height: 1.5;

  text-align: left;
}

.notify-error.show {
  display: block;
}


/* -----------------------------------------------------------------------
   Waitlist privacy / reassurance note
   ----------------------------------------------------------------------- */

.notify-note {
  margin-top: 12px;

  color: var(--muted-light);

  font-size: 12.5px;
  line-height: 1.5;

  text-align: center;
}


/* -----------------------------------------------------------------------
   Launch category tags
   ----------------------------------------------------------------------- */

.tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 34px;
}

.tag {
  padding: 6px 14px;

  border: 1px solid var(--line);
  border-radius: 20px;

  background: var(--surface-2);
  color: var(--navy-mid);

  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 600;
}


/* -----------------------------------------------------------------------
   Mobile — 560px
   ----------------------------------------------------------------------- */

@media (max-width: 560px) {
  main.launch-main {
    padding: 45px 0 70px;
  }

  .launch-hero {
    padding-top: 15px;
  }

  .launch-headline {
    font-size: 32px;
  }
}


/* -----------------------------------------------------------------------
   Mobile — 480px
   ----------------------------------------------------------------------- */

@media (max-width: 480px) {
  .countdown {
    gap: 10px;
  }

  .cd-unit {
    width: 68px;
  }

  .cd-box {
    padding: 12px 0;
  }

  .cd-val {
    font-size: 24px;
  }

  .notify-form {
    flex-direction: column;
  }

  .notify-form button {
    width: 100%;
  }
}