/* ── Clooz landing page ──────────────────────────────────────────────
   Rebuilt from the design handoff (design_handoff_landing_page).
   Tokens mirror the Clooz brand (coral / teal / ink, Space Grotesk +
   Hanken Grotesk). Kept framework-free so the whole site is static. */

:root {
  --coral-400: #FF8264;  /* primary brand, CTA, path, badges */
  --coral-300: #FFA791;  /* button hover */
  --coral-500: #F2552E;  /* button press */
  --teal-400:  #1DD1B8;  /* secondary brand, focus ring fill */
  --ink-50:    #FAF8F6;  /* page + input background */
  --ink-400:   #B3ADA8;  /* disabled / meta text */
  --ink-500:   #8E8884;  /* placeholder, nav link */
  --ink-600:   #6A6561;  /* secondary body text */
  --ink-900:   #1B1A19;  /* primary text, dark buttons */
  --hairline:  #EBE6E1;  /* card / nav borders */
  --input-border: #D6D0CB;
  --error:     #D42A2A;
  --success-bg: #E8FBF6;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: var(--ink-50); }
body { font-family: var(--font-body); color: var(--ink-900); }

/* ── Animations ──────────────────────────────────────────────────── */
@keyframes pulseRing {
  0%   { transform: translate(-50%,-50%) scale(1);   opacity: .5; }
  100% { transform: translate(-50%,-50%) scale(3.6); opacity: 0;  }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatA { 0%,100% { transform: translate(-50%,-50%); } 50% { transform: translate(-50%, calc(-50% - 7px)); } }
@keyframes floatB { 0%,100% { transform: translate(-50%,-50%); } 50% { transform: translate(-50%, calc(-50% - 9px)); } }
@keyframes floatC { 0%,100% { transform: translate(-50%,-50%); } 50% { transform: translate(-50%, calc(-50% - 6px)); } }
@keyframes floatMobile { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

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

/* ── Page shell ──────────────────────────────────────────────────── */
.page {
  min-height: 100vh;
  background: var(--ink-50);
  display: flex;
  flex-direction: column;
}

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: rgba(250,248,246,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; }
.nav__wordmark {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; letter-spacing: -.025em;
  color: var(--ink-900);
}
.nav__link {
  font-size: 13px; font-weight: 500; letter-spacing: .01em;
  color: var(--ink-500); text-decoration: none;
  transition: color .15s;
}
.nav__link:hover { color: var(--coral-400); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 72px 24px 56px;
  position: relative; overflow: hidden;
}
.hero__shape { position: absolute; border-radius: 50%; pointer-events: none; opacity: .055; }
.hero__shape--coral { top: -180px; right: -140px; width: 520px; height: 520px; background: var(--coral-400); }
.hero__shape--teal  { bottom: -120px; left: -100px; width: 340px; height: 340px; background: var(--teal-400); }

.hero__overline {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-400);
  margin-bottom: 22px;
  animation: fadeUp .5s ease-out both;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 7.5vw, 88px); font-weight: 700;
  line-height: 1.03; letter-spacing: -.04em; color: var(--ink-900);
  max-width: 720px; text-wrap: balance;
  animation: fadeUp .5s .07s ease-out both;
}
.hero__body {
  font-size: clamp(15px, 2vw, 17px); line-height: 1.65;
  color: var(--ink-600); max-width: 440px; margin-top: 22px;
  text-wrap: balance;
  animation: fadeUp .5s .14s ease-out both;
}

/* ── Path visual: shared landmark card bits ──────────────────────── */
.lm__photo-wrap { position: relative; display: inline-block; }
.lm__badge {
  position: absolute; top: 0; right: 0;
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--ink-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; line-height: 1; color: var(--ink-900);
  z-index: 2;
}
.lm__badge--coral { background: var(--coral-400); }
.lm__badge--teal  { background: var(--teal-400); }
.lm__photo { border-radius: 50%; overflow: hidden; border: 4px solid #fff; }
.lm__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm__label {
  margin-top: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-900);
}
.lm__chip {
  display: inline-flex; align-items: center; margin-top: 5px;
  border-radius: 999px; padding: 3px 9px;
}
.lm__chip span { font-size: 9px; font-weight: 700; letter-spacing: .08em; }
/* DS rule: bright fills get near-black labels, dark fill gets light label */
.lm__chip--coral { background: var(--coral-400); }
.lm__chip--coral span { color: var(--ink-900); }
.lm__chip--teal  { background: var(--teal-400); }
.lm__chip--teal span { color: var(--ink-900); }

/* Clue pulse marker (shared) */
.pulse { position: relative; width: 12px; height: 12px; }
.pulse__ring {
  position: absolute; left: 50%; top: 50%;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--coral-400);
  animation: pulseRing 2.2s ease-out infinite;
}
.pulse__ring--delay { animation-delay: 1.1s; }
.pulse__dot {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--coral-400); border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(255,130,100,.5);
}

/* ── Desktop path ────────────────────────────────────────────────── */
.path-desktop {
  display: block; width: 100%;
  overflow-x: auto; overflow-y: visible;
  margin: 52px 0 44px;
  animation: fadeUp .5s .22s ease-out both;
}
.path-desktop__stage { position: relative; width: 880px; height: 400px; margin: 0 auto; }
.path-desktop__glow {
  position: absolute; left: 440px; top: 135px; transform: translate(-50%,-50%);
  width: 260px; height: 260px; border-radius: 50%;
  background: var(--coral-400); opacity: .09; filter: blur(55px);
  pointer-events: none;
}
.path-desktop__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.path-desktop .pulse { position: absolute; }
.lm--desktop { position: absolute; }
.lm--desktop .lm__inner { transform: translate(-50%,-50%); text-align: center; }
.lm--desktop .lm__inner--a { animation: floatA 4.8s ease-in-out infinite; }
.lm--desktop .lm__inner--b { animation: floatB 4.8s 1.6s ease-in-out infinite; }
.lm--desktop .lm__inner--c { animation: floatC 4.8s 3.2s ease-in-out infinite; }
.lm--desktop .lm__photo { box-shadow: 0 6px 28px rgba(27,26,25,.15); }
.lm--desktop .lm__photo--featured { box-shadow: 0 8px 36px rgba(27,26,25,.20); }

/* ── Mobile path ─────────────────────────────────────────────────── */
.path-mobile {
  display: none; flex-direction: column; align-items: center;
  width: 100%; margin: 40px 0 36px;
  animation: fadeUp .5s .22s ease-out both;
}
.path-mobile .lm__inner { text-align: center; animation: floatMobile 4.8s ease-in-out infinite; }
.path-mobile .lm__inner--b { animation-delay: 1.6s; }
.path-mobile .lm__inner--c { animation-delay: 3.2s; }
.path-mobile .lm__photo { box-shadow: 0 6px 24px rgba(27,26,25,.15); }
.path-mobile .lm__photo--featured { box-shadow: 0 8px 32px rgba(27,26,25,.20); }
.path-mobile .lm__label { margin-top: 9px; }
.path-mobile .lm__chip { margin-top: 4px; }
.connector { display: flex; flex-direction: column; align-items: center; margin: 10px 0; }
.connector__line {
  width: 2px; height: 22px;
  background: repeating-linear-gradient(to bottom,
    rgba(255,130,100,.75) 0, rgba(255,130,100,.75) 5px,
    transparent 5px, transparent 9px);
}
.connector .pulse { margin: 2px 0; }
.connector .pulse__dot { box-shadow: none; }

/* ── CTA store badges ────────────────────────────────────────────── */
.cta {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  animation: fadeUp .5s .3s ease-out both;
}
.cta__badge {
  border: none; background: none; padding: 0; cursor: pointer;
  border-radius: 8px; line-height: 0;
  transition: transform .12s ease, box-shadow .12s ease;
}
.cta__badge img { height: 52px; width: auto; display: block; border-radius: 8px; }
.cta__badge:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(27,26,25,.28); }
.cta__badge:active { transform: scale(.97); }
.cta__badge:focus-visible { outline: 2px solid var(--coral-400); outline-offset: 3px; }

.hero__subtitle {
  margin-top: 16px; font-size: 13px; letter-spacing: .01em;
  color: var(--ink-400);
  animation: fadeUp .5s .38s ease-out both;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 18px 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer span { font-size: 13px; color: var(--ink-400); }

/* ── Notify modal ────────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 100; display: none; padding: 20px;
  align-items: center; justify-content: center;
  background: rgba(27,26,25,.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.modal.is-open { display: flex; }
.modal__card {
  position: relative; background: #fff; border-radius: 24px;
  padding: 36px 36px 32px; max-width: 420px; width: 100%;
  box-shadow: 0 24px 72px rgba(27,26,25,.28);
}
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  background: #F3EFEB; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .12s;
}
.modal__close:hover { background: #E9E4DF; }
.modal__logo { display: flex; justify-content: center; margin-bottom: 20px; }
.modal__logo img { width: 52px; height: 52px; border-radius: 50%; }
.modal__title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; letter-spacing: -.025em;
  color: var(--ink-900);
}
.modal__body { font-size: 15px; color: var(--ink-600); line-height: 1.6; }

.form { text-align: center; }
.form__title { margin-bottom: 6px; }
.form__body { margin-bottom: 24px; }
.form__input {
  width: 100%; padding: 13px 16px; display: block;
  border: 1.5px solid var(--input-border); border-radius: 14px;
  font-family: var(--font-body); font-size: 16px; color: var(--ink-900);
  background: var(--ink-50); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form__input::placeholder { color: var(--ink-500); }
.form__input:focus { border-color: var(--teal-400); box-shadow: 0 0 0 4px rgba(29,209,184,.15); }
.form__error { font-size: 13px; color: var(--error); text-align: left; margin-top: 7px; }
.form__error:empty { display: none; }
.form__submit {
  width: 100%; padding: 14px; margin-top: 10px;
  background: var(--coral-400); border: none; border-radius: 14px;
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  letter-spacing: .01em; color: var(--ink-900); cursor: pointer;
  transition: background .12s, transform .09s;
}
.form__submit:hover { background: var(--coral-300); }
.form__submit:active { background: var(--coral-500); color: #fff; transform: scale(.98); }
.form__submit:disabled { opacity: .6; cursor: default; }
.form__fineprint { font-size: 12px; color: var(--ink-400); margin-top: 14px; }

.thanks { text-align: center; padding: 8px 0; }
.thanks__icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--success-bg);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.thanks__title { margin-bottom: 8px; }
.thanks__close {
  margin-top: 24px; padding: 12px 32px;
  background: var(--ink-900); border: none; border-radius: 999px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  color: #fff; cursor: pointer; transition: transform .09s;
}
.thanks__close:active { transform: scale(.97); }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .path-desktop { display: none; }
  .path-mobile  { display: flex; }
}
@media (max-width: 480px) {
  .nav    { padding: 0 16px; }
  .hero   { padding: 48px 20px 40px; }
  .footer { padding: 16px; }
}
