/* TrustMeet — light landing page (homepage only). Warm, human, premium social product. */

:root {
  --lp-bg: #f7f8fc;
  --lp-surface: #ffffff;
  --lp-text: #1a1d26;
  --lp-text-soft: #5c6370;
  --lp-blue: #3b6cf5;
  --lp-blue-soft: #e8efff;
  --lp-purple: #7c6cf0;
  --lp-purple-soft: #f0edff;
  --lp-border: #e8eaef;
  --lp-shadow: 0 4px 24px rgba(26, 29, 38, 0.06);
  --lp-shadow-lg: 0 20px 50px rgba(59, 108, 245, 0.08);
  --lp-radius: 16px;
  --lp-radius-sm: 12px;
  --lp-font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
}

/* ------------------------------------------------------------------------- */
/* Page shell — override dark global theme on home only                     */
/* ------------------------------------------------------------------------- */

body.tm-page--home {
  color-scheme: light;
  margin: 0;
  min-height: 100vh;
  font-family: var(--lp-font);
  color: var(--lp-text);
  background: var(--lp-bg) !important;
  background-image: none !important;
}

body.tm-page--home.tm-body {
  display: flex;
  flex-direction: column;
}

body.tm-page--home .tm-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lp-border);
  box-shadow: none;
}

body.tm-page--home .tm-header__inner {
  padding-top: 14px;
  padding-bottom: 14px;
}

body.tm-page--home .tm-brand__logo {
  filter: none;
  max-height: 44px;
  width: auto;
}

body.tm-page--home .tm-nav a {
  color: var(--lp-text-soft);
  font-weight: 600;
  font-size: 0.9375rem;
}

body.tm-page--home .tm-nav a:hover {
  color: var(--lp-text);
}

body.tm-page--home .tm-nav .tm-btn--primary {
  background: linear-gradient(135deg, var(--lp-blue) 0%, #5b82f7 100%);
  color: #fff !important;
  border: none;
  box-shadow: 0 4px 14px rgba(59, 108, 245, 0.35);
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 20px;
}

body.tm-page--home .tm-nav .tm-btn--primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 20px rgba(59, 108, 245, 0.4);
}

body.tm-page--home .tm-footer {
  background: var(--lp-surface);
  border-top: 1px solid var(--lp-border);
  margin-top: auto;
}

body.tm-page--home .tm-footer__tagline,
body.tm-page--home .tm-footer__note,
body.tm-page--home .tm-footer__copy,
body.tm-page--home .tm-footer__disclaimer {
  color: var(--lp-text-soft);
}

body.tm-page--home .tm-footer__heading {
  color: var(--lp-text);
}

body.tm-page--home .tm-footer a {
  color: var(--lp-blue);
}

body.tm-page--home .tm-footer a:hover {
  color: #2d5ae0;
}

/* ------------------------------------------------------------------------- */
/* Landing layout                                                           */
/* ------------------------------------------------------------------------- */

.tm-lp {
  flex: 1;
  overflow-x: hidden;
}

.tm-lp .container {
  width: min(1120px, 92vw);
  margin-left: auto;
  margin-right: auto;
}

/* Hero */
.tm-lp-hero {
  padding: 48px 0 72px;
}

@media (min-width: 768px) {
  .tm-lp-hero {
    padding: 64px 0 88px;
  }
}

.tm-lp-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .tm-lp-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.tm-lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lp-purple);
  background: var(--lp-purple-soft);
  border: 1px solid rgba(124, 108, 240, 0.2);
  padding: 8px 14px;
  border-radius: 999px;
  margin: 0 0 20px;
}

.tm-lp-hero h1 {
  font-family: var(--lp-font);
  font-size: clamp(2.125rem, 4.5vw, 2.875rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--lp-text);
  margin: 0 0 20px;
}

.tm-lp-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--lp-text-soft);
  margin: 0 0 28px;
  max-width: 34em;
}

.tm-lp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.tm-lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--lp-font);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tm-lp-btn:hover {
  transform: translateY(-1px);
}

.tm-lp-btn--primary {
  background: linear-gradient(135deg, var(--lp-blue) 0%, #6b8af8 100%);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(59, 108, 245, 0.35);
}

.tm-lp-btn--primary:hover {
  box-shadow: 0 12px 32px rgba(59, 108, 245, 0.42);
}

.tm-lp-btn--ghost {
  background: var(--lp-surface);
  color: var(--lp-text) !important;
  border-color: var(--lp-border);
  box-shadow: var(--lp-shadow);
}

.tm-lp-btn--ghost:hover {
  border-color: rgba(59, 108, 245, 0.35);
  background: #fafbff;
}

.tm-lp-legal {
  font-size: 0.875rem;
  color: var(--lp-text-soft);
  margin: 0;
  line-height: 1.5;
}

.tm-lp-legal a {
  color: var(--lp-blue);
  font-weight: 600;
  text-decoration: none;
}

.tm-lp-legal a:hover {
  text-decoration: underline;
}

/* Hero visual — stacked cards */
.tm-lp-hero__visual {
  position: relative;
  min-height: 380px;
}

@media (min-width: 960px) {
  .tm-lp-hero__visual {
    min-height: 420px;
  }
}

.tm-lp-preview {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.tm-lp-badge-safety {
  position: absolute;
  top: -8px;
  right: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--lp-text);
  box-shadow: var(--lp-shadow);
}

.tm-lp-badge-safety svg {
  flex-shrink: 0;
  color: #22c55e;
}

.tm-lp-profile-card {
  position: absolute;
  left: 0;
  right: 0;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 16px 18px;
  box-shadow: var(--lp-shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}

.tm-lp-profile-card--1 {
  top: 24px;
  z-index: 3;
  transform: rotate(-2deg);
}

.tm-lp-profile-card--alt {
  top: 140px;
  z-index: 2;
  transform: rotate(2deg);
  opacity: 0.97;
}

.tm-lp-profile-card--back {
  top: 248px;
  z-index: 1;
  transform: rotate(-1deg);
  opacity: 0.92;
  box-shadow: var(--lp-shadow);
}

.tm-lp-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.125rem;
  color: #fff;
  flex-shrink: 0;
}

.tm-lp-avatar--a {
  background: linear-gradient(145deg, #6b8af8, var(--lp-purple));
}

.tm-lp-avatar--b {
  background: linear-gradient(145deg, #f472b6, #c084fc);
}

.tm-lp-avatar--c {
  background: linear-gradient(145deg, #34d399, #2dd4bf);
}

.tm-lp-profile-card__body {
  min-width: 0;
  flex: 1;
}

.tm-lp-profile-card__name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--lp-text);
  margin: 0 0 4px;
}

.tm-lp-profile-card__meta {
  font-size: 0.8125rem;
  color: var(--lp-text-soft);
  margin: 0;
}

.tm-lp-profile-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tm-lp-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lp-blue-soft);
  color: #3d5fd4;
}

.tm-lp-tag--purple {
  background: var(--lp-purple-soft);
  color: #6b5ce0;
}

.tm-lp-nearby-pill {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: var(--lp-text);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--lp-shadow);
}

/* ------------------------------------------------------------------------- */
/* Trust section                                                            */
/* ------------------------------------------------------------------------- */

.tm-lp-trust {
  padding: 56px 0 72px;
  background: var(--lp-surface);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}

.tm-lp-section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.tm-lp-section-head h2 {
  font-family: var(--lp-font);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lp-text);
  margin: 0 0 12px;
}

.tm-lp-section-head p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--lp-text-soft);
  line-height: 1.6;
}

.tm-lp-trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .tm-lp-trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .tm-lp-trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tm-lp-trust-card {
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 24px 22px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tm-lp-trust-card:hover {
  box-shadow: var(--lp-shadow-lg);
  transform: translateY(-2px);
}

.tm-lp-trust-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.tm-lp-trust-card__icon--blue {
  background: var(--lp-blue-soft);
}

.tm-lp-trust-card__icon--purple {
  background: var(--lp-purple-soft);
}

.tm-lp-trust-card__icon--green {
  background: #ecfdf5;
}

.tm-lp-trust-card__icon--amber {
  background: #fffbeb;
}

.tm-lp-trust-card h3 {
  font-family: var(--lp-font);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--lp-text);
  margin: 0 0 8px;
}

.tm-lp-trust-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--lp-text-soft);
}

/* ------------------------------------------------------------------------- */
/* Vibes section                                                            */
/* ------------------------------------------------------------------------- */

.tm-lp-vibes {
  padding: 72px 0 80px;
}

.tm-lp-vibes__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.tm-lp-vibe-chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--lp-font);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--lp-text);
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow);
}

.tm-lp-vibe-chip:nth-child(odd) {
  background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
  border-color: rgba(59, 108, 245, 0.15);
}

.tm-lp-vibe-chip:nth-child(even) {
  background: linear-gradient(180deg, #fff 0%, #faf8ff 100%);
  border-color: rgba(124, 108, 240, 0.15);
}

/* ------------------------------------------------------------------------- */
/* How it works                                                             */
/* ------------------------------------------------------------------------- */

.tm-lp-steps {
  padding: 72px 0 96px;
  background: linear-gradient(180deg, #f0f4ff 0%, var(--lp-bg) 45%, var(--lp-bg) 100%);
}

.tm-lp-steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .tm-lp-steps__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.tm-lp-step {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--lp-shadow);
}

.tm-lp-step__num {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--lp-blue), var(--lp-purple));
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-lp-step h3 {
  font-family: var(--lp-font);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--lp-text);
  margin: 0 0 8px;
}

.tm-lp-step p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--lp-text-soft);
}

/* ------------------------------------------------------------------------- */
/* Bottom CTA strip                                                         */
/* ------------------------------------------------------------------------- */

.tm-lp-bottom-cta {
  padding: 0 0 56px;
}

.tm-lp-bottom-cta__inner {
  background: linear-gradient(135deg, #3b6cf5 0%, #7c6cf0 100%);
  border-radius: var(--lp-radius);
  padding: 40px 28px;
  text-align: center;
  color: #fff;
  box-shadow: 0 16px 48px rgba(59, 108, 245, 0.25);
}

.tm-lp-bottom-cta__inner h2 {
  font-family: var(--lp-font);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.tm-lp-bottom-cta__inner p {
  margin: 0 0 22px;
  opacity: 0.95;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.tm-lp-bottom-cta__inner .tm-lp-btn--primary {
  background: #fff;
  color: var(--lp-blue) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.tm-lp-bottom-cta__inner .tm-lp-btn--primary:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

@media (max-width: 599px) {
  .tm-lp-preview {
    max-width: 100%;
    padding-top: 8px;
  }

  .tm-lp-badge-safety {
    position: relative;
    top: 0;
    right: 0;
    margin-bottom: 14px;
  }

  .tm-lp-profile-card,
  .tm-lp-profile-card--1,
  .tm-lp-profile-card--alt,
  .tm-lp-profile-card--back {
    position: relative;
    top: auto !important;
    transform: none !important;
    margin-bottom: 12px;
    opacity: 1 !important;
  }

  .tm-lp-nearby-pill {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 4px;
  }

  .tm-lp-hero__visual {
    min-height: 0;
  }
}
