/* ------------------------------------------------------------------ *
 * Voach — coming-soon landing page
 * Palette drawn from the app: navy #11283f, cobalt #1a56db,
 * action blue #208AEF, dark surfaces #080b12 / #131c2b.
 * ------------------------------------------------------------------ */

:root {
  --bg:        #080b12;   /* deep app-dark background          */
  --surface:   #101a2b;   /* card surface                     */
  --surface-2: #16223a;   /* input surface                    */
  --border:    #24344f;   /* hairline borders                 */
  --navy:      #11283f;
  --cobalt:    #1a56db;
  --action:    #208aef;   /* primary CTA / accent             */
  --action-2:  #4aa3ff;
  --ink:       #f2f6fc;   /* primary text                     */
  --muted:     #9fb0c6;   /* secondary text                   */
  --faint:     #6b7c96;   /* tertiary text                    */
  --good:      #34d399;

  --radius: 20px;
  --maxw: 34rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
}

a { color: var(--action-2); }
a:hover { color: #7bc0ff; }

/* ------------------------------------------------------------------ *
 * Ambient background: blueprint grid + radial cobalt glow
 * ------------------------------------------------------------------ */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -10%, #0e1830 0%, var(--bg) 60%);
}

.bg__grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(to right,  rgba(120, 170, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 170, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  /* fade the grid toward the edges so it reads as a subtle blueprint */
  -webkit-mask-image: radial-gradient(80% 65% at 50% 38%, #000 40%, transparent 100%);
          mask-image: radial-gradient(80% 65% at 50% 38%, #000 40%, transparent 100%);
}

.bg__glow {
  position: absolute;
  top: -18vmax;
  left: 50%;
  width: 80vmax;
  height: 80vmax;
  transform: translateX(-50%);
  background: radial-gradient(circle at center,
              rgba(32, 138, 239, 0.28) 0%,
              rgba(26, 86, 219, 0.14) 32%,
              transparent 62%);
  filter: blur(8px);
  animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translateX(-50%) translateY(0)      scale(1);    opacity: 0.9; }
  to   { transform: translateX(-50%) translateY(2.2vmax) scale(1.06); opacity: 1;   }
}

/* ------------------------------------------------------------------ *
 * Layout
 * ------------------------------------------------------------------ */
.hero {
  margin: auto;
  width: 100%;
  max-width: var(--maxw);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: clamp(1.75rem, 5vw, 3rem) clamp(1.25rem, 5vw, 2.75rem);
  background: linear-gradient(180deg, rgba(22, 34, 58, 0.55), rgba(16, 26, 43, 0.35));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 24px 60px -24px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}

.mark {
  width: clamp(84px, 22vw, 112px);
  height: auto;
  border-radius: 24px;
  margin-bottom: 0.5rem;
  box-shadow: 0 12px 40px -12px rgba(32, 138, 239, 0.6);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--action-2);
}

.wordmark {
  margin: 0.15rem 0 0;
  font-size: clamp(2.75rem, 11vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff, #bcd6f5);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.tagline {
  margin: 0.5rem 0 0;
  font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  font-weight: 600;
  color: var(--ink);
}

.lede {
  margin: 0.9rem auto 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 2.6vw, 1.05rem);
}
.lede strong { color: var(--ink); font-weight: 700; }

/* ------------------------------------------------------------------ *
 * Platforms — "Coming to iPhone / Android / Web"
 * ------------------------------------------------------------------ */
.platforms {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.platforms__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(32, 138, 239, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.platform__icon {
  width: 18px;
  height: 18px;
  color: var(--action-2);
  flex: 0 0 auto;
}

/* ------------------------------------------------------------------ *
 * Notify-me form
 * ------------------------------------------------------------------ */
.notify {
  width: 100%;
  max-width: 27rem;
  margin: 1.75rem auto 0;
}

.notify__label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--faint);
}

.notify__row {
  display: flex;
  gap: 0.5rem;
}

.notify__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.8rem 0.95rem;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.notify__input::placeholder { color: var(--faint); }
.notify__input:focus-visible {
  border-color: var(--action);
  box-shadow: 0 0 0 3px rgba(32, 138, 239, 0.25);
}

.notify__btn {
  flex: 0 0 auto;
  padding: 0.8rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(180deg, var(--action-2), var(--action));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  transition: transform 0.1s ease, filter 0.15s ease;
}
.notify__btn:hover { filter: brightness(1.07); }
.notify__btn:active { transform: translateY(1px); }
.notify__btn:disabled { opacity: 0.6; cursor: default; }
.notify__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(32, 138, 239, 0.4);
}

.notify__status {
  margin: 0.7rem 0 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  color: var(--muted);
}
.notify__status.is-ok    { color: var(--good); font-weight: 600; }
.notify__status.is-error { color: #f9a8a8; }

/* honeypot — visually hidden but present for bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ------------------------------------------------------------------ *
 * Footer
 * ------------------------------------------------------------------ */
.footer {
  margin-top: 1.75rem;
  font-size: 0.82rem;
  color: var(--faint);
}
.footer a { color: var(--faint); text-decoration: none; }
.footer a:hover { color: var(--muted); text-decoration: underline; }

/* ------------------------------------------------------------------ *
 * Small screens
 * ------------------------------------------------------------------ */
@media (max-width: 30rem) {
  .notify__row { flex-direction: column; }
  .notify__btn { width: 100%; }
}

/* ------------------------------------------------------------------ *
 * Respect reduced-motion: freeze the glow
 * ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .bg__glow { animation: none; }
  * { transition: none !important; }
}
