/* Coming-soon page of www.focaliza.co. Tokens from design/direccion-visual.md §3 (brand of 2026-11-10). */

@font-face { font-family: Montserrat; font-weight: 700; font-display: swap; src: url(/fonts/montserrat-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 800; font-display: swap; src: url(/fonts/montserrat-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(/fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(/fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat Alternates"; font-weight: 600; font-display: swap; src: url(/fonts/montserrat-alternates-latin-600-normal.woff2) format("woff2"); }

:root {
  --ink: #162225;
  --carbon: #1B2528;
  --carbon-2: #222E32;
  --gray: #344347;
  --accent: #00C4C7;
  --cold-white: #F4F6F8;
  --muted: #A3B1B4;
  --coral: #FF6B57;
  --brand-gradient: linear-gradient(135deg, #14F574 0%, #00C4C7 50%, #0088F6 100%);
  --text-gradient: linear-gradient(90deg, #3DF78F 0%, #2ADCDF 50%, #8FD0FF 100%);
  --font-display: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ui: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-brand: "Montserrat Alternates", Montserrat, system-ui, sans-serif;
  --t-fast: 140ms;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--carbon);
  color: var(--cold-white);
  font: 400 15px/1.6 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Two soft halos of the brand behind the text: the page's only decoration. */
.glow {
  position: fixed;
  inset: -20vmax -20vmax auto auto;
  width: 70vmax;
  height: 70vmax;
  background: radial-gradient(closest-side, rgba(0, 196, 199, .22), transparent 70%),
              radial-gradient(closest-side at 30% 70%, rgba(20, 245, 116, .12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.top, .main, .foot { position: relative; z-index: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }

.top { padding-top: 32px; }

.wordmark {
  display: inline-flex;
  align-items: center;
  font: 600 30px/1 var(--font-brand);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.wordmark .icon {
  display: inline-block;
  position: relative;
  width: 1.2ex;
  height: 1.2ex;
  margin: 0 .05em;
  border-radius: 22%;
  background: var(--brand-gradient);
}
.wordmark .icon::after {
  content: "";
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  border: calc(1.2ex * .15) solid var(--ink);
}
.wordmark .z { font-family: var(--font-ui); }

.main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 56px; padding-bottom: 56px; }

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font: 800 clamp(2.1rem, 6.4vw, 4rem)/1.08 var(--font-display);
  letter-spacing: -0.015em;
}
h1 .grad {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { margin: 20px 0 0; max-width: 56ch; font-size: clamp(15px, 2.2vw, 17px); color: var(--muted); }

.signup { margin-top: 40px; }

.profiles { margin: 0 0 16px; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.profiles legend { width: 100%; margin-bottom: 10px; padding: 0; font-weight: 500; }
.optional { color: var(--muted); font-weight: 400; }

.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  font-weight: 500;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.chip:hover span { border-color: rgba(255, 255, 255, .45); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

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

input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: var(--carbon-2);
  color: var(--cold-white);
  font: inherit;
  font-size: 16px; /* 16 px or more keeps iOS from zooming in on focus */
}
input[type="email"]::placeholder { color: #7D8C90; }
input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
input[type="email"][aria-invalid="true"] { border-color: var(--coral); }

.btn {
  flex: none;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-gradient);
  color: var(--ink);
  font: 600 15px var(--font-ui);
  cursor: pointer;
  transition: filter var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:hover { filter: brightness(1.06) saturate(1.08); box-shadow: 0 6px 18px rgba(0, 196, 199, .35); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 2px solid var(--cold-white); outline-offset: 2px; }
.btn[disabled] { background: rgba(255, 255, 255, .08); color: var(--muted); box-shadow: none; filter: none; cursor: default; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.consent { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

.status { min-height: 1.6em; margin: 8px 0 0; font-weight: 500; }
.status.ok { color: var(--accent); }
.status.error { color: var(--coral); }

.signup.done .profiles, .signup.done .row, .signup.done .consent { display: none; }
.signup.done .status { font-size: 17px; }

.foot { padding-top: 24px; padding-bottom: 32px; font-size: 13px; color: var(--muted); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 560px) {
  .top { padding-top: 24px; }
  .wordmark { font-size: 26px; }
  .main { padding-top: 40px; padding-bottom: 40px; }
  .row { flex-direction: column; }
  input[type="email"] { flex: none; width: 100%; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
