/* Hola Miami — coming soon. Palette from the logo; text colors are WCAG AA on their backgrounds. */
:root {
  --navy: #0e2134;          /* logo wordmark */
  --ink: #0e2134;
  --ink-muted: #3a4a5c;     /* 8.6:1 on sand */
  --sand: #fff7ee;
  --sand-2: #fdeedd;
  --white: #ffffff;
  --coral: #fc6751;         /* logo sun: decorative / on navy only */
  --coral-700: #b83a26;     /* buttons & links on light bg: 5.4:1 */
  --peach: #ffb45e;
  --teal: #049dae;          /* logo road: decorative / on navy only */
  --teal-700: #056a76;      /* text on light bg: 6.1:1 */
  --line: #eadccb;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(14 33 52 / .06), 0 8px 24px rgb(14 33 52 / .06);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--font);
  color: var(--ink);
  background: var(--sand);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-700); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; color: var(--white); }

/* Header */
.site-header { padding-block: 16px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; border-radius: 8px; }
.brand img { width: 150px; height: auto; }
@media (min-width: 640px) { .brand img { width: 172px; } }

.lang {
  display: inline-flex; padding: 4px; gap: 2px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
}
.lang a {
  display: inline-grid; place-items: center; min-width: 44px; min-height: 36px; padding: 0 12px;
  border-radius: 999px; font-weight: 700; font-size: .875rem; letter-spacing: .04em;
  color: var(--ink-muted); text-decoration: none;
}
.lang a:hover { color: var(--navy); background: var(--sand-2); }
.lang a[aria-current="page"] { background: var(--navy); color: var(--white); }

/* Hero */
.hero { padding-block: 24px 56px; }
.hero .wrap { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding-block: 48px 88px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 56px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--coral-700); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgb(252 103 81 / .2); }
.hero h1 { font-size: clamp(2.25rem, 1.4rem + 4.2vw, 4rem); font-weight: 800; }
.hero h1 .hl {
  background: linear-gradient(transparent 68%, rgb(252 103 81 / .35) 68%, rgb(255 180 94 / .45) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lede { margin-top: 20px; font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--ink-muted); max-width: 36em; }

.art { max-width: 360px; margin-inline: auto; }
@media (min-width: 900px) { .art { max-width: 460px; } }
@media (max-width: 599px) { .art { display: none; } } /* decorative; keep the form above the fold on phones */

/* Signup */
.signup {
  margin-top: 32px; padding: 20px; max-width: 540px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
@media (min-width: 640px) { .signup { padding: 24px; } }
.signup h2 { font-size: 1.25rem; font-weight: 800; }
.signup__label { display: block; margin: 12px 0 6px; font-size: .9375rem; font-weight: 600; }
.signup__row { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 480px) { .signup__row { flex-direction: row; } }
.signup input[type="email"] {
  flex: 1; min-width: 0; min-height: 50px; padding: 0 16px;
  font: inherit; color: var(--ink); background: var(--sand);
  border: 2px solid #8a97a6; border-radius: 12px;
}
.signup input[type="email"]::placeholder { color: #5b6878; opacity: 1; }
.signup input[type="email"]:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 2px; border-color: var(--teal-700); }
.signup input[aria-invalid="true"] { border-color: var(--coral-700); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border: 0; border-radius: 12px;
  font: 700 1rem/1 var(--font); color: var(--white); background: var(--coral-700);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: #9c2f1d; color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; cursor: progress; }
.signup__note { margin-top: 10px; font-size: .875rem; color: var(--ink-muted); }
.signup__status { margin-top: 10px; font-weight: 600; }
.signup__status:empty { margin: 0; }
.signup__status[data-state="ok"] { color: var(--teal-700); }
.signup__status[data-state="error"] { color: var(--coral-700); }
.signup.is-done .signup__row, .signup.is-done .signup__note, .signup.is-done label { display: none; }

/* No-JS fallback notices (server redirects to #signup-ok etc.) */
.notice { display: none; margin-top: 10px; font-weight: 600; }
.notice:target { display: block; }
.notice--ok { color: var(--teal-700); }
.notice--error { color: var(--coral-700); }

/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Sections */
.coming { padding-block: 64px; background: var(--white); border-block: 1px solid var(--line); }
@media (min-width: 900px) { .coming { padding-block: 88px; } }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); font-weight: 800; }
.section-head p { margin-top: 12px; color: var(--ink-muted); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.card {
  position: relative; padding: 24px; border-radius: var(--radius);
  background: var(--sand); border: 1px solid var(--line);
}
.card h3 { font-size: 1.25rem; font-weight: 800; margin-top: 16px; }
.card p { margin-top: 8px; color: var(--ink-muted); }
.card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  color: var(--white); background: var(--teal-700);
}
.card:nth-child(2) .card__icon { background: var(--coral-700); }
.card:nth-child(3) .card__icon { background: var(--navy); }
.card:nth-child(4) .card__icon { background: #8a4b08; }
.card__icon svg { width: 26px; height: 26px; }
.card__soon {
  position: absolute; top: 24px; right: 24px;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted);
}
.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 4px 12px; border-radius: 999px; font-size: .875rem; font-weight: 600;
  background: var(--white); border: 1px solid var(--line); color: var(--navy);
}

/* Footer */
.site-footer { background: var(--navy); color: #dfe6ee; padding-block: 56px 32px; }
.site-footer a { color: var(--white); }
.cta { display: grid; gap: 20px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid rgb(255 255 255 / .14); }
@media (min-width: 800px) { .cta { grid-template-columns: 1fr auto; } }
.cta h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); font-weight: 800; color: var(--white); }
.cta p { margin-top: 8px; }
.cta .btn { background: var(--coral); color: var(--navy); }
.cta .btn:hover { background: var(--peach); color: var(--navy); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding-top: 28px; font-size: .9375rem; }
.footer-bottom img { width: 140px; height: auto; }
.footer-bottom nav { display: flex; gap: 16px; }

/* 404 / 410 pages */
.gone { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 48px; }
.gone h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; }
.gone p { margin-top: 12px; color: var(--ink-muted); }
.gone .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn--ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
