/* ═══════════════════════════════════════════════════════
   Trustead — Shared styles for paid landing pages (M5)
   Used by /v7, /v7-short, /airbnb-alt, /airbnb-alt-short, /login
   ═══════════════════════════════════════════════════════ */

/* Brand gradient — vertical light → dark, canonical post-M4 */
:root {
  --p-grad-vertical: linear-gradient(180deg, #8B5CF6 0%, #312E81 100%);
}

/* ── Header [Login] [Sign Up] paid-page nav ── */
.paid-nav-row { display: flex; align-items: center; gap: 8px; }
.nav-login-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: transparent;
  color: var(--ink, #1A1D21);
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
  font-family: inherit;
  white-space: nowrap;
}
.nav-login-btn:hover { background: rgba(0,0,0,0.04); }
.nav-signup-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--p-grad-vertical);
  color: #fff;
  border: 0;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(99,102,241,0.28);
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
  white-space: nowrap;
}
.nav-signup-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(99,102,241,0.36); filter: brightness(1.05); }

/* Hero CTA on paid pages — gradient fill (vertical), white text */
.hero-cta-paid {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: var(--p-grad-vertical);
  color: #fff;
  border: 0;
  border-radius: 100px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(99,102,241,0.30);
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}
.hero-cta-paid:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(99,102,241,0.40); filter: brightness(1.05); }

/* Override .grad-text to use vertical gradient on paid pages */
.grad-text-vertical {
  background: var(--p-grad-vertical);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══ EMAIL CAPTURE POPUP ═══ */
.paid-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}
.paid-popup.paid-popup--open {
  visibility: visible;
  opacity: 1;
  transition: opacity 200ms ease;
}
.paid-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 16, 61, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.paid-popup-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 24px;
  padding: 40px 36px 32px;
  box-shadow: 0 24px 80px rgba(19,16,61,0.30), 0 4px 12px rgba(0,0,0,0.10);
  transform: translateY(8px) scale(0.98);
  transition: transform 200ms ease;
}
.paid-popup--open .paid-popup-card { transform: translateY(0) scale(1); }
.paid-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #6B7280;
  transition: background 200ms ease, color 200ms ease;
}
.paid-popup-close:hover { background: rgba(0,0,0,0.05); color: #1A1D21; }
.paid-popup-close svg { width: 18px; height: 18px; }

.paid-popup-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6366F1;
  background: #F5F3FF;
  border: 1px solid #DDD6FE;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
}
.paid-popup h3 {
  font-family: var(--font-display, 'Instrument Serif', Georgia, serif);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #1A1D21;
  margin: 0 0 12px;
}
.paid-popup p.paid-popup-body {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.55;
  margin: 0 0 22px;
}

.paid-popup-form { display: block; }
.paid-popup-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: #1A1D21;
  background: #FAF8F5;
  border: 1.5px solid #E5E1DA;
  border-radius: 12px;
  outline: none;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.paid-popup-input:focus { border-color: #8B5CF6; background: #fff; box-shadow: 0 0 0 3px rgba(139,92,246,0.12); }
.paid-popup-error { font-size: 13px; color: #B91C1C; margin: 6px 0 0; min-height: 0; }
.paid-popup-reassure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6B7280;
  margin: 6px 0 16px;
}
.paid-popup-reassure svg { width: 13px; height: 13px; flex-shrink: 0; }
.paid-popup-submit {
  width: 100%;
  padding: 14px 20px;
  background: var(--p-grad-vertical);
  color: #fff;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(99,102,241,0.28);
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}
.paid-popup-submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(99,102,241,0.36); filter: brightness(1.05); }
.paid-popup-submit:disabled { opacity: 0.6; cursor: progress; }

/* Popup success state */
.paid-popup-success { text-align: center; padding: 8px 0 0; }
.paid-popup-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #059669;
}
.paid-popup-success-icon svg { width: 28px; height: 28px; }
.paid-popup-success h3 { margin-bottom: 8px; }
.paid-popup-success p { font-size: 14px; color: #6B7280; margin: 0 0 22px; }

.paid-popup-share-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 22px;
}
.paid-popup-share-label { font-size: 12px; color: #9CA3AF; font-family: var(--font-mono, 'JetBrains Mono', monospace); letter-spacing: 0.08em; text-transform: uppercase; margin-right: 4px; }
.paid-popup-share-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F3F0EB;
  border: 1px solid #E5E1DA;
  border-radius: 50%;
  color: #6B7280;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.paid-popup-share-btn:hover { background: #F5F3FF; color: #6366F1; border-color: #DDD6FE; }
.paid-popup-share-btn svg { width: 14px; height: 14px; fill: currentColor; }

.paid-popup-survey-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #fff;
  color: #6366F1;
  border: 1.5px solid #DDD6FE;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 200ms ease, color 200ms ease;
}
.paid-popup-survey-link:hover { background: #F5F3FF; }

body.paid-popup-locked { overflow: hidden; }

/* ═══ /login PAGE ═══ */
.login-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #FAF8F5 0%, #F3F0EB 100%);
}
.login-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 64px;
}
.login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid #E5E1DA;
  border-radius: 24px;
  padding: 44px 40px 36px;
  box-shadow: 0 8px 32px rgba(19,16,61,0.06), 0 1px 3px rgba(0,0,0,0.04);
}
.login-logo {
  display: block;
  margin: 0 auto 22px;
  height: 36px;
  width: auto;
}
.login-card h1 {
  font-family: var(--font-display, 'Instrument Serif', Georgia, serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #1A1D21;
  text-align: center;
  margin: 0 0 8px;
  line-height: 1.15;
}
.login-card .login-sub {
  text-align: center;
  font-size: 14px;
  color: #6B7280;
  margin: 0 0 28px;
}
.login-form .login-row + .login-row { margin-top: 14px; }
.login-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6B7280;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.login-form input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: #1A1D21;
  background: #FAF8F5;
  border: 1.5px solid #E5E1DA;
  border-radius: 10px;
  outline: none;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.login-form input:focus { border-color: #8B5CF6; background: #fff; box-shadow: 0 0 0 3px rgba(139,92,246,0.12); }
.login-forgot {
  display: block;
  text-align: right;
  font-size: 12px;
  color: #6366F1;
  text-decoration: none;
  margin: 8px 0 22px;
  cursor: pointer;
}
.login-forgot:hover { text-decoration: underline; }
.login-submit {
  width: 100%;
  padding: 14px 20px;
  background: var(--p-grad-vertical);
  color: #fff;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(99,102,241,0.28);
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}
.login-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(99,102,241,0.36); filter: brightness(1.05); }
.login-divider {
  margin: 22px 0 18px;
  text-align: center;
  font-size: 12px;
  color: #9CA3AF;
  position: relative;
}
.login-divider::before,
.login-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 20px);
  height: 1px;
  background: #E5E1DA;
}
.login-divider::before { left: 0; }
.login-divider::after { right: 0; }
.login-signup-link {
  text-align: center;
  font-size: 14px;
  color: #6B7280;
}
.login-signup-link a {
  color: #6366F1;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}
.login-signup-link a:hover { text-decoration: underline; }

/* ═══ SHORT-PAGE HERO + MECHANISM ═══ */
.short-hero {
  position: relative;
  padding: 140px 0 80px;
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(139,92,246,0.14) 0%, rgba(139,92,246,0.06) 35%, transparent 65%), #FAF8F5;
  overflow: hidden;
}
.short-hero-content {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}
.short-hero-text { max-width: 560px; }
.short-hero h1 {
  font-family: var(--font-display, 'Instrument Serif', Georgia, serif);
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #1A1D21;
  font-weight: 400;
  margin: 0 0 22px;
}
.short-hero h1 em { font-style: italic; }
.short-hero p.short-hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: #6B7280;
  margin: 0 0 36px;
  max-width: 480px;
}
.short-hero-image {
  width: 100%;
  height: 360px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(19,16,61,0.16);
  background: #F3F0EB;
}
.short-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mechanism / Steps section (3 steps) */
.short-mechanism {
  padding: 100px 0 120px;
  background: #fff;
}
.short-mechanism-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}
.short-mechanism-header { text-align: center; margin-bottom: 56px; }
.short-mechanism-header .section-label-paid {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6366F1;
  background: #F5F3FF;
  border: 1px solid #DDD6FE;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
}
.short-mechanism-header h2 {
  font-family: var(--font-display, 'Instrument Serif', Georgia, serif);
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #1A1D21;
  font-weight: 400;
  margin: 0 0 12px;
}
.short-mechanism-header h2 em { font-style: italic; }
.short-mechanism-header p {
  font-size: 17px;
  color: #6B7280;
  margin: 0;
}
.short-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.short-step-card {
  background: #FAF8F5;
  border: 1px solid #E5E1DA;
  border-radius: 20px;
  padding: 32px 28px;
}
.short-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--p-grad-vertical);
  color: #fff;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}
.short-step-card h3 {
  font-family: var(--font-display, 'Instrument Serif', Georgia, serif);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #1A1D21;
  font-weight: 400;
  margin: 0 0 8px;
}
.short-step-card p {
  font-size: 15px;
  line-height: 1.55;
  color: #6B7280;
  margin: 0;
}

/* ═══ AIRBNB-COMPARISON SECTIONS ═══ */
.compare-section {
  padding: 100px 0 120px;
  background: #fff;
}
.compare-inner { max-width: 1100px; margin: 0 auto; padding: 0 48px; }
.compare-header { text-align: center; margin-bottom: 56px; }
.compare-header .section-label-paid {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6366F1;
  background: #F5F3FF;
  border: 1px solid #DDD6FE;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
}
.compare-header h2 {
  font-family: var(--font-display, 'Instrument Serif', Georgia, serif);
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #1A1D21;
  font-weight: 400;
  margin: 0;
}
.compare-header h2 em { font-style: italic; }

.compare-table {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  border: 1px solid #E5E1DA;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.compare-th, .compare-td {
  padding: 22px 24px;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid #F3F0EB;
}
.compare-table > div:nth-last-child(-n+3) { border-bottom: 0; }
.compare-th {
  font-weight: 600;
  color: #1A1D21;
  background: #FAF8F5;
}
.compare-th--airbnb { color: #FF5A5F; font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.compare-th--trustead {
  background: var(--p-grad-vertical);
  color: #fff;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.compare-td--airbnb { color: #6B7280; }
.compare-td--trustead { color: #1A1D21; font-weight: 500; background: #FBFAFE; }

/* Wedge-page section title utility (used in /airbnb-alt + /private + /sublet wedge sections) */
.alt-section-h2 {
  font-family: var(--font-display, 'Instrument Serif', Georgia, serif);
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #1A1D21;
  font-weight: 400;
  margin: 0 0 14px;
}
.alt-section-h2 em { font-style: italic; }
.alt-section-sub {
  font-size: 17px;
  color: #6B7280;
  margin: 0;
  text-align: center;
}
@media (max-width: 540px) {
  .alt-section-h2 { font-size: 30px; }
}

/* ═══ AIRBNB-ALT MULTI-SECTION (long page) ═══ */
.alt-why-section {
  padding: 100px 0;
  background: #FAF8F5;
}
.alt-why-inner { max-width: 1100px; margin: 0 auto; padding: 0 48px; }
.alt-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
}
.alt-why-card {
  background: #fff;
  border: 1px solid #E5E1DA;
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.alt-why-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(19,16,61,0.08); }
.alt-why-card h3 {
  font-family: var(--font-display, 'Instrument Serif', Georgia, serif);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #1A1D21;
  font-weight: 400;
  margin: 0 0 10px;
}
.alt-why-card h3 em { font-style: italic; }
.alt-why-card p { font-size: 15px; line-height: 1.55; color: #6B7280; margin: 0; }
.alt-why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(180deg, #F5F3FF 0%, #EDE9FE 100%);
  border: 1px solid #DDD6FE;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6366F1;
  margin-bottom: 18px;
}
.alt-why-icon svg { width: 22px; height: 22px; }

.alt-icp-section {
  padding: 100px 0;
  background: #fff;
}
.alt-icp-inner { max-width: 1100px; margin: 0 auto; padding: 0 48px; }
.alt-icp-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.alt-icp-card {
  background: #FAF8F5;
  border: 1px solid #E5E1DA;
  border-radius: 20px;
  padding: 28px 24px;
  text-align: left;
}
.alt-icp-card h3 {
  font-family: var(--font-display, 'Instrument Serif', Georgia, serif);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #1A1D21;
  font-weight: 400;
  margin: 0 0 8px;
}
.alt-icp-card p { font-size: 14px; line-height: 1.55; color: #6B7280; margin: 0; }

.alt-faq-section {
  padding: 100px 0 120px;
  background: #FAF8F5;
}
.alt-faq-inner { max-width: 800px; margin: 0 auto; padding: 0 48px; }
.alt-faq-item {
  background: #fff;
  border: 1px solid #E5E1DA;
  border-radius: 16px;
  padding: 22px 26px;
}
.alt-faq-item + .alt-faq-item { margin-top: 14px; }
.alt-faq-item h3 {
  font-family: var(--font-display, 'Instrument Serif', Georgia, serif);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #1A1D21;
  font-weight: 400;
  margin: 0 0 8px;
}
.alt-faq-item p { font-size: 15px; line-height: 1.6; color: #6B7280; margin: 0; }

/* ═══ PAID-PAGE FOOTER (minimal, dark) ═══ */
.paid-footer {
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: #6B7280;
  background: #FAF8F5;
  border-top: 1px solid #E5E1DA;
}
.paid-footer a { color: #6366F1; text-decoration: none; }
.paid-footer a:hover { text-decoration: underline; }

/* ═══ SHORT-PAGE: hide the long-page nav links (anchors that don't exist) ═══ */
body.short-page .nav-links { display: none; }


/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .short-hero { padding: 110px 0 60px; }
  .short-hero-content { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
  .short-hero h1 { font-size: 44px; }
  .short-hero p.short-hero-sub { font-size: 17px; }
  .short-hero-image { height: 260px; }
  .short-mechanism { padding: 70px 0 80px; }
  .short-mechanism-inner { padding: 0 24px; }
  .short-mechanism-header h2 { font-size: 32px; }
  .short-steps-grid { grid-template-columns: 1fr; gap: 18px; }
  .short-step-card { padding: 26px 22px; }
  .compare-section { padding: 70px 0 90px; }
  .compare-inner { padding: 0 24px; }
  .compare-header h2 { font-size: 32px; }
  .compare-table { grid-template-columns: 1fr; }
  .compare-th-row-mobile-only { display: none; }
  .compare-table > div { border-bottom: 1px solid #F3F0EB; }
  .alt-why-section, .alt-icp-section, .alt-faq-section { padding: 70px 0; }
  .alt-why-inner, .alt-icp-inner, .alt-faq-inner { padding: 0 24px; }
  .alt-why-grid { grid-template-columns: 1fr; gap: 18px; }
  .alt-icp-list { grid-template-columns: 1fr; gap: 14px; }
  .login-main { padding: 100px 16px 48px; }
  .login-card { padding: 32px 24px; }
  .paid-popup-card { padding: 32px 24px 24px; }
  .paid-popup h3 { font-size: 24px; }
  .nav-links-paid { display: none; }
}
@media (max-width: 540px) {
  .short-hero h1 { font-size: 36px; }
  .short-hero p.short-hero-sub { font-size: 15px; }
  .compare-header h2, .alt-why-section h2, .alt-icp-section h2 { font-size: 28px; }
}
