/* Limo teaser. Brand: lime #D1FA86 + ink #191E26 (limo-app-icon.svg). Bump ?v= in index.html when this changes. */
@font-face { font-family: Urbanist; src: url("assets/urbanist-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Urbanist; src: url("assets/urbanist-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --paper: #ffffff;
  --ink: #191e26;
  --lime: #d1fa86;
  --lime-hover: #c4f56c;
  --muted: #676767;
  --error: #b42318;
  --line: #e2e2df;
  --gutter: 16px;
  --radius: 28px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: Urbanist, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
h1, p { margin: 0; }
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Nav */
.nav { padding: 22px var(--gutter) 0; }
.brand { display: inline-block; line-height: 0; }
.brand img { height: 30px; width: auto; }

/* Page: copy on top, art below on phones; side by side on wide screens */
.page { flex: 1; display: grid; grid-template-rows: auto 1fr; gap: 24px; padding: 28px var(--gutter) 20px; }

.hero { display: flex; flex-direction: column; justify-content: center; max-width: 620px; }

.soon {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 8px 14px 8px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); background: var(--paper);
}
.soon-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); border: 1.5px solid var(--ink); box-shadow: 0 0 0 0 rgba(170, 230, 70, 0.6); animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(170, 230, 70, 0.6); } 70% { box-shadow: 0 0 0 9px rgba(170, 230, 70, 0); } 100% { box-shadow: 0 0 0 0 rgba(170, 230, 70, 0); } }

h1 {
  margin-top: 22px;
  font-size: clamp(46px, 10.5vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
h1 em { font-style: normal; background: linear-gradient(transparent 55%, var(--lime) 55%, var(--lime) 92%, transparent 92%); padding-inline: 0.04em; }
.lead { margin-top: 18px; font-size: 18px; line-height: 1.45; color: var(--muted); max-width: 40ch; text-wrap: pretty; }

/* Waitlist: one pill, input and button living inside it */
.waitlist-form { margin-top: 22px; max-width: 520px; }
.field {
  display: flex; flex-direction: column; gap: 8px;
  padding: 6px; border: 1px solid var(--line); border-radius: 30px; background: var(--paper);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(25, 30, 38, 0.10); }
.field input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 18px;
  border: 0; border-radius: 999px; background: transparent; color: var(--ink); outline: none;
}
.field input::placeholder { color: #6b6b6b; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--lime); color: var(--ink); font-weight: 700; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  transition: background-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.btn:hover { background: var(--lime-hover); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-arrow { display: inline-block; transition: transform 300ms var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.form-status { margin-top: 10px; padding-left: 20px; font-size: 14px; line-height: 1.4; color: var(--muted); min-height: 1.4em; }
.form-status.is-error { color: var(--error); }
.form-status:empty { min-height: 0; margin-top: 0; }
.form-consent { margin-top: 6px; padding-left: 20px; font-size: 13px; line-height: 1.4; color: #7a7a7a; max-width: 44ch; }
.form-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }

/* The panel: rounded frame for the waitlist film */
.field-art { position: relative; overflow: hidden; min-height: 200px; border-radius: var(--radius); }

/* Film variant: the video carries its own #fafafa ground, so the panel matches it */
.field-film { background: #fafafa; border: 1px solid var(--line); aspect-ratio: 4 / 5; }
.film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* Footer */
.footer {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding: 14px var(--gutter) 18px; font-size: 14px; color: var(--muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color 200ms var(--ease-out); }
.footer a:hover { border-color: var(--ink); }

@media (min-width: 520px) {
  .field { flex-direction: row; align-items: center; gap: 6px; border-radius: 999px; }
}

@media (min-width: 900px) {
  :root { --gutter: 40px; }
  .nav { padding-top: 28px; }
  .brand { font-size: 32px; }
  .page {
    grid-template-rows: 1fr; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    column-gap: clamp(40px, 5vw, 80px); padding: 24px var(--gutter) 32px;
  }
  .hero { padding-block: 40px 56px; }
  h1 { font-size: clamp(64px, 6.6vw, 96px); margin-top: 32px; }
  .lead { margin-top: 28px; font-size: 19px; }
  .waitlist-form { margin-top: 36px; }
  .field-art { min-height: 0; }
  .field-film { aspect-ratio: auto; }
  .footer { padding-block: 0 26px; }
}

@media (min-width: 1280px) {
  .page { column-gap: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .soon-dot { animation: none; box-shadow: none; }
}
