/* ═══════════════════════════════════════════════════════════════
   Peacox CRAFT — landing / hub page
   (design tokens come from styles.css)
   ═══════════════════════════════════════════════════════════════ */

.lp-page { min-height: 96vh; }

/* ── top bar: logo left, user right ── */
.lp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 4px;
}

.lp-user {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 8px 6px 6px;
  box-shadow: var(--shadow);
}
.lp-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-navy);
  color: #fff;
  display: grid;
  place-items: center;
  font: 800 14px var(--font-body);
}
.lp-email { font-size: 12.5px; font-weight: 800; color: var(--muted); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-user .btn { padding: 6px 11px; font-size: 12px; }

/* ── hero title ── */
.lp-main { display: flex; flex-direction: column; gap: 22px; }

.lp-hero { text-align: center; padding: 26px 10px 2px; }
.lp-hero h1 {
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.lp-peacox {
  font-family: 'Poppins', var(--font-body);
  font-weight: 300;
  font-size: clamp(30px, 4.6vw, 52px);
  letter-spacing: 10px;
  color: #45494E;
  text-transform: uppercase;
}
.lp-craft {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 60px);
  letter-spacing: 4px;
  color: var(--c-navy);
}
.lp-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px auto 12px;
  max-width: 420px;
}
.lp-rule::before, .lp-rule::after {
  content: '';
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-green), var(--c-gold), var(--c-orange), var(--c-purple));
}
.lp-rule .star { color: var(--c-gold); font-size: 15px; }
.lp-sub {
  margin: 0 auto;
  max-width: 560px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--muted);
}

/* ── sign-in card ── */
.lp-auth {
  width: min(420px, 100%);
  margin: 8px auto 20px;
  padding: 28px 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lp-auth h2 {
  margin: 0 0 2px;
  font-family: var(--font-disp);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  color: var(--c-navy);
}

.lp-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid #D4DAE8;
  border-radius: 12px;
  font: 800 14px var(--font-body);
  color: var(--ink);
  cursor: pointer;
  transition: box-shadow 0.12s ease, transform 0.12s ease;
}
.lp-google:hover { box-shadow: 0 4px 12px rgba(27, 37, 89, 0.14); transform: translateY(-1px); }
.lp-google svg { width: 18px; height: 18px; }

.lp-or {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.lp-or::before, .lp-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

#emailForm { display: flex; flex-direction: column; gap: 12px; }
.lp-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.lp-field input {
  font: 700 14px var(--font-body);
  color: var(--ink);
  background: #F7F9FE;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.lp-field input:focus { border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(36, 86, 214, 0.14); background: #fff; }

.lp-submit { justify-content: center; width: 100%; padding: 11px 14px; font-size: 14px; }
.lp-links { text-align: center; }
.lp-links .link-btn {
  margin: 0;
  border: none;
  background: none;
  font: 800 13px var(--font-body);
  color: var(--c-blue);
  cursor: pointer;
  text-decoration: underline;
}
.lp-note { margin: 2px 0 0; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); }

/* ── hub tiles ── */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(880px, 100%);
  margin: 4px auto 14px;
}

.lp-tile {
  --tc: var(--c-blue);
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  min-width: 0;
}
.lp-tile::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--tc);
  border-radius: 3px 0 0 3px;
}
.lp-tile.blue   { --tc: var(--c-blue); }
.lp-tile.green  { --tc: var(--c-green); }
.lp-tile.purple { --tc: var(--c-purple); }
.lp-tile.orange { --tc: var(--c-orange); }

a.lp-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(27, 37, 89, 0.16); }
a.lp-tile:hover .lp-arrow { transform: translateX(4px); color: var(--tc); }

.lp-ic {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 16px;
  background: color-mix(in srgb, var(--tc) 12%, white);
  color: var(--tc);
  display: grid;
  place-items: center;
}
.lp-ic svg { width: 26px; height: 26px; }

.lp-body { min-width: 0; }
.lp-body h3 {
  margin: 0 0 3px;
  font-family: var(--font-disp);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--c-navy);
}
.lp-body p { margin: 0; font-size: 12.5px; font-weight: 700; color: var(--muted); line-height: 1.5; }

.lp-arrow {
  margin-left: auto;
  flex: none;
  color: #B9C1D6;
  transition: transform 0.14s ease, color 0.14s ease;
}
.lp-arrow svg { width: 22px; height: 22px; }

.lp-tile.soon { cursor: default; }
.lp-tile.soon .lp-ic, .lp-tile.soon .lp-body { opacity: 0.55; }
.lp-soon {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  background: #EEF1F8;
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ── responsive ── */
@media (max-width: 720px) {
  .lp-grid { grid-template-columns: 1fr; }
  .lp-top { flex-direction: column; align-items: center; gap: 12px; }
  .lp-email { max-width: 140px; }
  .lp-auth { padding: 22px 18px 20px; }
}
