/* =========================================================
   UR Invited — Landing redesign (2026)
   Loaded after the legacy landing CSS; owns the marketing
   look. Structure + JS hooks in index.html are unchanged, so
   every button keeps its function.
   ========================================================= */

/* ---------- Rhythm ---------- */
.container { max-width: 1180px; }
main > section { position: relative; }

/* ---------- HEADER ---------- */
.header {
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.header--scrolled {
  border-bottom-color: var(--color-divider);
  box-shadow: 0 8px 30px -22px rgba(60,40,30,0.35);
}
.header__inner { padding-top: 0.85rem; padding-bottom: 0.85rem; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.01em; color: var(--color-text); }
.logo svg { color: var(--brand); }
.nav { gap: 2rem; }
.nav a { font-weight: 500; font-size: 0.95rem; color: var(--color-text-muted); position: relative; }
.nav a:hover { color: var(--color-text); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px;
  background: var(--brand); border-radius: 2px; transition: right 220ms var(--ease-out, ease);
}
.nav a:hover::after { right: 0; }
.nav__signin { font-weight: 600; color: var(--color-text); }
.nav__signin:hover { color: var(--brand-700); }

/* ---------- HERO ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__grid { align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
/* Confident left-aligned copy in the split hero (legacy centered it). */
.hero__copy { text-align: left; }
.hero__copy > * { margin-left: 0; margin-right: 0; }
.hero__lead { margin-left: 0; }
@media (max-width: 860px) {
  /* Single-column stack on phones reads best centered. */
  .hero__copy { text-align: center; }
  .hero__copy .hero__overline { margin-left: auto; margin-right: auto; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__trust--list { align-items: center; }
}

.hero__overline {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.76rem; letter-spacing: 0.01em; text-transform: none;
  color: var(--brand-700);
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  padding: 0.4rem 0.85rem; border-radius: var(--radius-full);
  margin-bottom: 1.4rem;
}
.hero__overline::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px var(--brand-100);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.9rem, 6.4vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--brand);
  display: inline-block;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.6; color: var(--color-text-muted);
  max-width: 34ch; margin-bottom: 2rem;
}
.hero__lead strong { color: var(--color-text); font-weight: 600; }

.hero__cta { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero__cta-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.97rem; color: var(--color-text);
  padding: 0.5rem 0.25rem;
}
.hero__cta-secondary svg { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--brand-050); color: var(--brand); border: 1px solid var(--brand-100); transition: transform 160ms ease, background 160ms ease; }
.hero__cta-secondary:hover svg { background: var(--brand); color: #fff; transform: scale(1.06); }

.hero__trust--list { display: flex; flex-direction: column; gap: 0.6rem; margin: 0; padding: 0; }
.hero__trust--list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.94rem; color: var(--color-text-muted); }
.hero__trust--list li svg { color: #fff; background: var(--brand); border-radius: 50%; padding: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
.hero__trust--list li span span[data-uv-price], .hero__trust--list strong { color: var(--color-text); font-weight: 600; }

/* Phone mock — premium float */
.demo-stage { display: flex; justify-content: center; perspective: 1400px; }
.phone-frame {
  border-radius: 2.6rem;
  box-shadow: 0 50px 90px -40px rgba(60,40,30,0.5), 0 6px 18px -8px rgba(60,40,30,0.2);
  border: 10px solid #1c1830;
  background: #1c1830;
  animation: uvFloat 6s ease-in-out infinite;
}
@keyframes uvFloat { 0%,100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-14px) rotate(-1.2deg); } }
@media (prefers-reduced-motion: reduce) { .phone-frame { animation: none; } }
.phone-screen { border-radius: 2rem; }
.hero-mini__title { font-family: var(--font-display); font-weight: 600; }
.hero-mini__names { font-family: var(--font-script); color: var(--brand); }
.hero-mini__eyebrow { color: var(--brand-700); }
.hero-mini__cta { background: var(--brand) !important; color: #fff !important; box-shadow: var(--shadow-brand) !important; }

/* ---------- SECTION HEADS ---------- */
.section-overline {
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 0.75rem;
}
.section-title--lg {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.015em; line-height: 1.08;
  color: var(--color-text);
}
.section-title--lg em { font-style: italic; color: var(--brand); }
.section-lead { color: var(--color-text-muted); font-size: clamp(1rem,1.4vw,1.15rem); }

/* ---------- HOW IT WORKS ---------- */
.how-simple { padding-block: clamp(3rem, 6vw, 5.5rem); }
.steps-line { margin-top: 2.75rem; display: grid; gap: 0; border-top: 1px solid var(--color-divider); }
.step-line {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem;
  padding: 1.75rem 0; border-bottom: 1px solid var(--color-divider);
  align-items: start; transition: background 200ms ease;
}
.step-line:hover { background: var(--brand-050); border-radius: var(--radius-lg); }
.step-line__num {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  width: 3rem; height: 3rem; display: grid; place-items: center;
  border-radius: var(--radius-full); background: #fff; color: var(--brand);
  border: 1.5px solid var(--brand-100); box-shadow: var(--shadow-sm);
}
.step-line__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--color-text); margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.step-line__copy { color: var(--color-text-muted); font-size: 1rem; }

/* ---------- TEMPLATE GALLERY ---------- */
.gallery { padding-block: clamp(3rem, 6vw, 5.5rem); }
.tpl-feature {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden; text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform 260ms var(--ease-out, ease), box-shadow 260ms ease, border-color 260ms ease;
  margin-top: 1.75rem;
}
.tpl-feature:first-of-type { margin-top: 2.5rem; }
.tpl-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--brand-100); }
.tpl-feature__art { min-height: 340px; }
.tpl-feature__copy { padding: clamp(1.75rem, 3vw, 2.75rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.tpl-feature__badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand-700); background: var(--brand-050);
  border: 1px solid var(--brand-100);
  padding: 0.35rem 0.75rem; border-radius: var(--radius-full); margin-bottom: 1rem;
}
.tpl-feature__badge svg { color: var(--color-accent); }
.tpl-feature__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem,3vw,2.4rem); letter-spacing: -0.015em; color: var(--color-text); margin-bottom: 0.6rem; }
.tpl-feature__lead { color: var(--color-text-muted); font-size: 1rem; line-height: 1.6; margin-bottom: 1.25rem; }
.tpl-feature__list { display: flex; gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; flex-wrap: wrap; }
.tpl-feature__list li { font-size: 0.82rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; }
.tpl-feature__list li span { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--brand); letter-spacing: 0; text-transform: none; }
.tpl-feature__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.97rem;
  color: #fff; background: var(--brand);
  padding: 0.8rem 1.4rem; border-radius: var(--radius-full);
  box-shadow: var(--shadow-brand); transition: background 160ms ease, transform 160ms ease;
}
.tpl-feature:hover .tpl-feature__cta { background: var(--brand-600); transform: translateX(2px); }

/* ---------- LOVED / TESTIMONIALS ---------- */
.loved { background: linear-gradient(180deg, var(--color-bg), var(--color-surface-offset) 120%); padding-block: clamp(3.5rem, 6vw, 6rem); }
.loved__container { max-width: 1180px; margin: 0 auto; padding-inline: 1.25rem; text-align: center; }
.loved__overline { font-family: var(--font-body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin-bottom: 0.75rem; }
.loved__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2.5rem; text-align: left; }
.loved__card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 0.85rem;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.loved__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.loved__stars { color: var(--color-accent); font-size: 1.05rem; letter-spacing: 0.12em; }
.loved__quote { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: 1.12rem; line-height: 1.4; color: var(--color-text); }
.loved__author { font-size: 0.85rem; font-weight: 600; color: var(--color-text); margin-top: auto; }
.loved__author span { font-weight: 400; color: var(--color-text-faint); }
.loved__footnote { margin-top: 2rem; font-size: 0.8rem; color: var(--color-text-faint); }

/* ---------- HOST DASHBOARD TEASER ---------- */
.host-teaser { padding-block: clamp(3.5rem, 6vw, 6rem); }
.host-mock { max-width: 1000px; margin: 2.5rem auto 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--color-border); background: var(--color-surface); }
.host-mock__btn--primary { background: var(--brand) !important; color: #fff !important; }
.host-mock__nav .is-active { color: var(--brand) !important; }
.host-mock__pill, .host-mock__tag--yes { background: var(--brand-050); color: var(--brand-700); }
.host-teaser__foot { text-align: center; color: var(--color-text-muted); margin-top: 1.75rem; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
#faq { padding-block: clamp(3rem, 6vw, 5.5rem); }
.faq { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq details {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 0.25rem 1.35rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 0;
  font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--color-text);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 1.5rem;
  color: var(--brand); line-height: 1; transition: transform 220ms var(--ease-out, ease);
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.2rem; color: var(--color-text-muted); font-size: 1rem; line-height: 1.65; }
.faq details a { color: var(--brand-700); font-weight: 600; }

/* ---------- FOOTER ---------- */
.footer { background: var(--color-text); color: #d8d2df; padding-block: 3rem; }
.footer .logo { color: #fff; }
.footer .logo svg { color: var(--brand); }
.footer__links a { color: #b9b2c4; }
.footer__links a:hover { color: #fff; }
.footer > .container > div:last-child { color: #8b8496; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .tpl-feature { grid-template-columns: 1fr; }
  .tpl-feature__art { min-height: 240px; }
  .loved__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .loved__grid { grid-template-columns: 1fr; }
  .hero__cta { gap: 0.85rem; }
  .step-line { grid-template-columns: auto 1fr; gap: 1rem; }
}
