/* ============================================================
   PARTNER TEMPLATE  Shared styles for all partner landing pages
   Color flow: Partner Blue → Neutral → Soft Mint → Clarity
   ============================================================ */

/* ── Partner Config (overridden per-partner via JS) ── */
:root {
  --partner-primary: #1a8fc4;
  --partner-primary-dark: #156e99;
  --partner-primary-light: #e8f4fa;
  --partner-accent: #0fb5e3;
  --partner-gradient: linear-gradient(
    145deg,
    #1a8fc4 0%,
    #0fb5e3 50%,
    #5bc4e8 100%
  );

  /* Transition colors */
  --neutral-bg: #f8fafb;
  --neutral-surface: #ffffff;
  --mint-soft: #e8f5f0;
  --mint-medium: #b8e6d4;
  --clarity-green: #27ae60;

  /* Typography */
  --partner-font: "Poppins", sans-serif;

  /* Spacing */
  --partner-radius: 16px;
  --partner-radius-sm: 10px;
}

/* ── Reset & Base ── */
.partner-page {
  margin: 0;
  padding: 0;
  font-family: var(--partner-font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: #ffffff;
  color: #1e293b;
}

.partner-page * {
  box-sizing: border-box;
}

/* ── Screen Container ── */
.partner-screen {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  position: relative;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.partner-screen.hidden {
  display: none;
}

.partner-screen.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

.partner-screen.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   SCREEN 1  LANDING PAGE (Partner Blue)
   ============================================================ */
.screen-landing {
  background: var(--partner-gradient);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle animated background shapes */
.screen-landing::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  animation: floatBubble 20s ease-in-out infinite;
}

.screen-landing::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  animation: floatBubble 25s ease-in-out infinite reverse;
}

@keyframes floatBubble {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -30px);
  }
}

.landing-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
  width: 100%;
}

.landing-content::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

/* ── Partner + Clarity Logo Row ── */
.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.partner-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.logo-text-group {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  line-height: 1.2;
}

.logo-divider::before {
  content: "";
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.3);
}

.clarity-logo-small {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.clarity-logo-small .cl-icon {
  font-size: 1.15rem;
}

/* ── Headline ── */
.landing-headline {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.landing-headline em {
  font-style: italic;
  position: relative;
}

.landing-headline .heart {
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  margin-left: 0.15em;
  transform: translateY(0.15em);
}

.landing-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  opacity: 0.95;
  line-height: 1.55;
  margin-bottom: 2.5rem;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Feature List ── */
.landing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  text-align: left;
}

.landing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0;
  font-size: 1rem;
  line-height: 1.5;
}

.landing-features .feat-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

.landing-features .feat-text strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.15rem;
  font-size: 1rem;
}

.landing-features .feat-text span {
  opacity: 0.92;
  font-size: 0.9rem;
  font-weight: 450;
}

/* ── CTA Button ── */
.btn-partner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 360px;
  padding: 1.25rem 2rem;
  min-height: 56px;
  border: none;
  border-radius: 50px;
  font-family: var(--partner-font);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn-partner--white {
  background: #ffffff;
  color: var(--partner-primary-dark);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.18),
    0 0 0 3px rgba(255, 255, 255, 0.25);
}

.btn-partner--white:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.22),
    0 0 0 3px rgba(255, 255, 255, 0.3);
}

.btn-partner--white:active {
  transform: translateY(0);
}

/* ── Powered by + Footer ── */
.landing-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.powered-by {
  font-size: 0.8rem;
  opacity: 0.7;
  letter-spacing: 0.03em;
}

.landing-trust {
  font-size: 0.78rem;
  opacity: 0.65;
  font-weight: 450;
  max-width: 300px;
  line-height: 1.5;
}

/* ── Partner Badge (bottom of landing) ── */
.partner-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 100%;
}

.partner-badge-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.partner-badge-info {
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.35;
}

.partner-badge-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.partner-badge-info span {
  opacity: 0.85;
  font-size: 0.8rem;
  font-weight: 450;
}

.partner-badge-logo {
  margin-left: auto;
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ============================================================
   SCREEN 2  TRANSITION (Neutral / Soft)
   ============================================================ */
.screen-transition {
  background: var(--neutral-bg);
  color: #1e293b;
}

.transition-content {
  max-width: 480px;
  width: 100%;
  text-align: center;
}

/* Top logo bar */
.transition-logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.transition-partner-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.transition-clarity-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.transition-clarity-tag .clarity-name {
  font-weight: 600;
  color: #64748b;
  font-size: 0.75rem;
}

/* Working with badge */
.working-with-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--partner-primary-light);
  color: var(--partner-primary-dark);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.working-with-badge .badge-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--partner-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}

/* Headline */
.transition-headline {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.transition-headline .heart {
  color: var(--partner-primary);
  opacity: 0.6;
  display: inline-flex;
  align-items: center;
  margin-left: 0.15em;
  transform: translateY(0.15em);
}

.transition-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: #475569;
  margin-bottom: 2.5rem;
  line-height: 1.55;
}

/* ── Action Cards ── */
.action-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.action-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--partner-radius);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  text-decoration: none;
  color: inherit;
}

.action-card:hover {
  border-color: var(--partner-primary);
  box-shadow: 0 4px 20px rgba(26, 143, 196, 0.1);
  transform: translateY(-2px);
}

.action-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.action-card--talk .action-card-icon {
  background: var(--partner-primary-light);
  color: var(--partner-primary);
}

.action-card--type .action-card-icon {
  background: var(--mint-soft);
  color: var(--clarity-green);
}

.action-card-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.2rem 0;
  color: #0f172a;
}

.action-card-text p {
  font-size: 0.95rem;
  color: #475569;
  font-weight: 450;
  margin: 0;
}

.action-card-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  color: #cbd5e1;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.action-card:hover .action-card-arrow {
  color: var(--partner-primary);
  transform: translateX(3px);
}

/* ── Control note ── */
.control-note {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--partner-radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
  margin-bottom: 2rem;
}

.control-note-icon {
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

.control-note h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  color: #0f172a;
}

.control-note p {
  font-size: 0.95rem;
  color: #475569;
  font-weight: 450;
  margin: 0;
  line-height: 1.5;
}

/* Powered by footer for transition */
.transition-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 1rem;
}

.transition-footer .clarity-word {
  font-weight: 600;
  color: var(--clarity-green);
  letter-spacing: 0.03em;
}

/* ============================================================
   SCREEN 3  LOADING / TRANSITION INTO CLARITY (Soft Mint)
   ============================================================ */
.screen-loading {
  background: linear-gradient(
    180deg,
    var(--neutral-bg) 0%,
    var(--mint-soft) 100%
  );
  color: #1e293b;
}

.loading-content {
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.loading-spinner {
  width: 56px;
  height: 56px;
  margin: 0 auto 2rem;
  position: relative;
}

.loading-spinner::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  border: 3px solid var(--mint-medium);
  border-top-color: var(--clarity-green);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-headline {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.loading-sub {
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.loading-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.loading-steps li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 450;
  color: #475569;
  transition: color 0.4s ease;
}

.loading-steps li.active {
  color: #0f172a;
  font-weight: 500;
}

.loading-steps li.done {
  color: var(--clarity-green);
}

.loading-step-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: all 0.4s ease;
}

.loading-steps li.active .loading-step-icon {
  background: var(--mint-medium);
  color: #0f172a;
}

.loading-steps li.done .loading-step-icon {
  background: var(--clarity-green);
  color: #ffffff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 480px) {
  .landing-headline {
    font-size: 1.95rem;
  }

  .partner-screen {
    padding: 1.5rem 1.25rem;
  }

  .logo-row {
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .partner-logo {
    height: 24px;
  }

  .transition-headline {
    font-size: 1.75rem;
  }

  .action-card {
    padding: 1.25rem 1.5rem;
    min-height: 85px;
  }

  .action-card-text h3 {
    font-size: 1.15rem;
  }

  .btn-partner {
    min-height: 60px;
    font-size: 1.2rem;
  }

  .landing-features li {
    font-size: 0.95rem;
  }
}

@media (min-width: 768px) {
  .landing-headline {
    font-size: 3rem;
  }

  .landing-content {
    max-width: 560px;
  }

  .transition-content {
    max-width: 560px;
  }

  .transition-headline {
    font-size: 2.3rem;
  }
}

/* ============================================================
   SCREEN 1B  BUYER POSITION (Lightweight pre-analysis)
   ============================================================ */
.screen-buyer-position {
  background: var(--neutral-bg);
  color: #1e293b;
}

.buyer-position-content {
  max-width: 480px;
  width: 100%;
}

.buyer-position-header {
  text-align: center;
  margin-bottom: 2rem;
}

.buyer-position-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.buyer-position-header p {
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.5;
}

.buyer-position-header .bp-reassurance {
  font-size: 0.85rem;
  font-weight: 450;
  color: #64748b;
  font-style: italic;
  margin-top: 0.5rem;
}

/* Buyer Position Form */
.bp-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bp-field {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--partner-radius-sm);
  padding: 1rem 1.25rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.bp-field:focus-within {
  border-color: var(--partner-primary);
  box-shadow: 0 0 0 3px rgba(26, 143, 196, 0.1);
}

.bp-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
}

.bp-field select,
.bp-field input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: var(--partner-font);
  font-size: 0.95rem;
  font-weight: 500;
  color: #1e293b;
  background: #f8fafb;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.bp-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.bp-field select:focus,
.bp-field input:focus {
  outline: none;
  border-color: var(--partner-primary);
}

/* Toggle buttons row */
.bp-toggle-row {
  display: flex;
  gap: 0.5rem;
}

.bp-toggle-btn {
  flex: 1;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafb;
  font-family: var(--partner-font);
  font-size: 0.88rem;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  min-height: 44px;
}

.bp-toggle-btn:hover {
  border-color: var(--partner-primary);
  color: var(--partner-primary);
}

.bp-toggle-btn.active {
  background: var(--partner-primary-light);
  border-color: var(--partner-primary);
  color: var(--partner-primary-dark);
  font-weight: 600;
}

.bp-continue-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.15rem 2rem;
  min-height: 54px;
  border: none;
  border-radius: 50px;
  font-family: var(--partner-font);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--partner-primary);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(26, 143, 196, 0.25);
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.bp-continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 143, 196, 0.3);
}

.bp-continue-btn:active {
  transform: translateY(0);
}

.bp-skip-link {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  border: none;
  background: none;
  font-family: var(--partner-font);
}

.bp-skip-link:hover {
  color: var(--partner-primary);
}

/* Powered by footer for buyer position */
.bp-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 1.5rem;
}

.bp-footer .clarity-word {
  font-weight: 600;
  color: var(--clarity-green);
  letter-spacing: 0.03em;
}

/* ============================================================
   MAS LETTINGS CUSTOM LANDING PAGE
   ============================================================ */

.screen-landing-mas {
  background: #ffffff;
  color: #0d2240;
  padding: 0; /* Remove default padding for full width */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mas-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Header */
.mas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 2rem;
}

.mas-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.mas-header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mas-header-titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mas-title-main {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0d2240;
  letter-spacing: 0.05em;
}

.mas-title-sub {
  font-size: 1rem;
  font-weight: 500;
  color: #e46c24;
  letter-spacing: 0.05em;
  margin-top: 0.1rem;
}

.mas-partnership-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mas-partnership-tag {
  background: #0d2240;
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.mas-clarity-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mas-clarity-icon {
  font-size: 1.5rem;
  color: #27ae60;
}

.mas-clarity-text {
  display: flex;
  flex-direction: column;
}

.mas-clarity-brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0d2240;
}

.mas-clarity-sub {
  font-size: 0.6rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.02em;
}

/* Top Layout */
.mas-top-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .mas-top-layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.mas-layout-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mas-hero-content {
  background: #0d2240;
  color: #ffffff;
  padding: 3rem 2rem;
  border-radius: 16px;
}

.mas-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.mas-text-highlight {
  color: #e46c24;
  display: block;
}

.mas-hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.5;
}

/* Deal Score Card */
.mas-deal-score-card {
  background: #ffffff;
  color: #0d2240;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mas-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.mas-score-display {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 10px solid #e2e8f0;
  border-top-color: #27ae60; /* Simulate progress */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transform: rotate(-45deg); /* Make it look like a gauge */
}

.mas-score-circle {
  transform: rotate(45deg); /* Counter rotate content */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mas-score-percent {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0d2240;
}

.mas-score-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
}

.mas-score-list {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.mas-score-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
  font-weight: 500;
}

.mas-icon-check {
  color: #27ae60;
  margin-right: 0.25rem;
}

.mas-icon-warning {
  color: #e11d48;
  margin-right: 0.25rem;
}

.mas-status-good {
  color: #27ae60;
  font-weight: 700;
}

.mas-status-risk {
  color: #e11d48;
  font-weight: 700;
}

.mas-btn-analysis {
  width: 100%;
  padding: 1rem;
  background: #0d2240;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.mas-btn-analysis:hover {
  background: #1e3a5f;
}

/* Problem Section */
.mas-problem-section {
  text-align: center;
  margin-bottom: 3rem;
}

.mas-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0d2240;
  margin-bottom: 2rem;
}

.mas-problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .mas-problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mas-problem-item {
  background: #f8fafb;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mas-problem-icon {
  width: 50px;
  height: 50px;
  background: #e46c24;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.mas-problem-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #475569;
}

.mas-problem-item strong {
  color: #0d2240;
  display: block;
  margin-bottom: 0.25rem;
}

.mas-solution-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0d2240;
}

/* Orange Banner */
.mas-orange-banner {
  background: #e46c24;
  color: #ffffff;
  text-align: center;
  padding: 1.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 8px;
  margin-bottom: 3rem;
}

/* Confidence Section */
.mas-confidence-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .mas-confidence-section {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.mas-confidence-left {
  background: #0d2240;
  color: #ffffff;
  padding: 2.5rem;
  border-radius: 12px;
}

.mas-confidence-left h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.mas-conf-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mas-conf-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.mas-conf-icon {
  font-size: 1.5rem;
}

.mas-conf-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.mas-conf-text span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.mas-confidence-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #f8fafb;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.mas-sidebar-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0d2240;
  text-align: center;
}

.mas-orange-text {
  color: #e46c24;
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

/* CTA Section */
.mas-cta-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .mas-cta-section {
    grid-template-columns: 1fr 1fr;
  }
}

.mas-cta-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 12px;
}

.mas-cta-orange {
  background: #e46c24;
  color: #ffffff;
}

.mas-cta-dark {
  background: #0d2240;
  color: #ffffff;
}

.mas-cta-icon {
  font-size: 2.5rem;
}

.mas-cta-text {
  display: flex;
  flex-direction: column;
}

.mas-cta-text strong {
  font-size: 1.5rem;
  font-weight: 800;
}

.mas-cta-text span {
  font-size: 1rem;
  opacity: 0.9;
}

/* Footer Tags */
.mas-footer-tags {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 2rem;
}

.mas-tag-divider {
  color: #cbd5e1;
}

/* Contact Footer */
.mas-contact-footer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  background: #0d2240;
  color: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.mas-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.mas-contact-icon {
  color: #e46c24;
}

/* Bottom Branding */
.mas-branding-bottom {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.05em;
  padding-bottom: 2rem;
}

/* Responsive for MAS Lettings Section */
@media (max-width: 600px) {
  .mas-header {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
  }

  .mas-header-left {
    flex-direction: column;
    gap: 0.5rem;
  }

  .mas-header-titles {
    align-items: center;
  }

  .mas-partnership-container {
    justify-content: center;
  }

  .mas-hero-title {
    font-size: 1.8rem;
  }

  .mas-deal-score-card {
    max-width: 100%;
    margin: 0 auto;
  }

  .mas-contact-footer {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

/* ============================================================
   DELATO FINANCE  PREMIUM UI OVERRIDES (v2)
   Card-based layout: cream bg → logo header → navy hero → white card
   ============================================================ */

/* --- Root overrides --- */
body[data-partner="CLARITY-PARTNERDEMO"] {
  --partner-font: "Inter", "Helvetica Neue", sans-serif;
  --partner-radius: 16px;
  --partner-radius-sm: 10px;
  --delato-cream: #f5efe5;
  --delato-cream-light: #faf7f1;
  --delato-gold: var(--partner-accent);
  --delato-navy: #02224f;
}

/* --- Hide branded header & toggle icons by default (non-Delato) --- */
.bp-brand-header {
  display: none;
}
.bp-btn-icon {
  display: none;
}

/* ============================================================
   SHARED: All screens get cream background
   ============================================================ */
body[data-partner="CLARITY-PARTNERDEMO"] .screen-landing,
body[data-partner="CLARITY-PARTNERDEMO"] .screen-buyer-position,
body[data-partner="CLARITY-PARTNERDEMO"] .screen-transition,
body[data-partner="CLARITY-PARTNERDEMO"] .screen-loading {
  background: var(--delato-cream-light);
}

/* Remove animated bubbles */
body[data-partner="CLARITY-PARTNERDEMO"] .screen-landing::before,
body[data-partner="CLARITY-PARTNERDEMO"] .screen-landing::after {
  display: none;
}
body[data-partner="CLARITY-PARTNERDEMO"] .landing-content::before {
  display: none;
}

/* ============================================================
   LANDING SCREEN
   ============================================================ */
body[data-partner="CLARITY-PARTNERDEMO"] .screen-landing {
  color: #1e293b;
}

body[data-partner="CLARITY-PARTNERDEMO"] .landing-content {
  max-width: 480px;
}

/* ── Logo row: vertically stacked ── */
body[data-partner="CLARITY-PARTNERDEMO"] .logo-row {
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

body[data-partner="CLARITY-PARTNERDEMO"] .logo-text-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 12px;
}

body[data-partner="CLARITY-PARTNERDEMO"] .partner-logo {
  height: 38px;
  filter: none;
}

body[data-partner="CLARITY-PARTNERDEMO"] .logo-divider {
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  opacity: 1;
}

body[data-partner="CLARITY-PARTNERDEMO"] .logo-divider::before {
  display: none;
}

body[data-partner="CLARITY-PARTNERDEMO"] .logo-divider span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #94a3b8;
}

body[data-partner="CLARITY-PARTNERDEMO"] .clarity-logo-small {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--clarity-green);
  opacity: 1;
}

body[data-partner="CLARITY-PARTNERDEMO"] .clarity-logo-small .cl-icon {
  color: var(--clarity-green);
}

/* ── Unified Landing Wrapper ── */
body[data-partner="CLARITY-PARTNERDEMO"] .landing-unified-wrapper {
  background: var(--delato-navy);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(2, 34, 79, 0.08);
}

/* ── Hero Box: inside unified wrapper ── */
body[data-partner="CLARITY-PARTNERDEMO"] .landing-hero-box {
  background: transparent;
  color: #ffffff;
  padding: 2.5rem 2rem 2rem;
  margin-bottom: 0;
  text-align: left;
}

/* Content Box (white card for Delato) */
body[data-partner="CLARITY-PARTNERDEMO"] .landing-content-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.75rem 1.5rem 2rem;
  margin: 0 1.25rem; /* Leaves navy edges on left/right */
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body[data-partner="CLARITY-PARTNERDEMO"] .landing-headline {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.12;
  text-align: left;
  color: #ffffff;
}

body[data-partner="CLARITY-PARTNERDEMO"] .landing-headline::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: var(--delato-gold);
  border-radius: 2px;
  margin-top: 0.5rem;
}

body[data-partner="CLARITY-PARTNERDEMO"] .landing-headline em {
  font-style: italic;
}

body[data-partner="CLARITY-PARTNERDEMO"] .landing-headline .heart {
  color: var(--delato-gold);
  opacity: 0.8;
}

body[data-partner="CLARITY-PARTNERDEMO"] .landing-subtitle {
  font-weight: 400;
  opacity: 0.92;
  font-size: 1rem;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  line-height: 1.55;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

body[data-partner="CLARITY-PARTNERDEMO"] .landing-subtitle-italic {
  color: var(--delato-gold) !important;
  opacity: 1 !important;
  font-style: italic !important;
  font-weight: 500 !important;
  margin-bottom: 0.5rem !important;
}

/* ── Content Box: white card ── */

body[data-partner="CLARITY-PARTNERDEMO"] .landing-features {
  text-align: left;
  margin-bottom: 1.5rem;
  color: #1e293b;
}

body[data-partner="CLARITY-PARTNERDEMO"] .landing-features li {
  color: #1e293b;
}

body[data-partner="CLARITY-PARTNERDEMO"] .landing-features .feat-icon {
  background: var(--delato-gold);
  color: #ffffff;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
}

body[data-partner="CLARITY-PARTNERDEMO"] .landing-features .feat-text strong {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e293b;
}

body[data-partner="CLARITY-PARTNERDEMO"] .landing-features .feat-text span {
  font-weight: 400;
  opacity: 0.7;
  font-size: 0.88rem;
  color: #475569;
}

/* CTA: Gold button */
body[data-partner="CLARITY-PARTNERDEMO"] .btn-partner--white {
  background: var(--delato-gold);
  color: #ffffff;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(184, 157, 94, 0.3);
  max-width: 100%;
  width: 100%;
}

body[data-partner="CLARITY-PARTNERDEMO"] .btn-partner--white:hover {
  box-shadow: 0 8px 24px rgba(184, 157, 94, 0.45);
  transform: translateY(-2px);
  background: #c8ac6a;
  color: #ffffff;
}

/* ── Partner Badge ── */
body[data-partner="CLARITY-PARTNERDEMO"] .partner-badge {
  background: transparent;
  border-radius: 0;
  padding: 1.5rem 2rem 2rem;
  color: #ffffff;
  border: none;
  backdrop-filter: none;
}

body[data-partner="CLARITY-PARTNERDEMO"] .partner-badge-avatar {
  background: var(--delato-gold);
  color: var(--delato-navy);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
}

body[data-partner="CLARITY-PARTNERDEMO"] .partner-badge-info {
  flex: 1;
  min-width: 0;
}

body[data-partner="CLARITY-PARTNERDEMO"] .partner-badge-info strong {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
}

body[data-partner="CLARITY-PARTNERDEMO"] .partner-badge-info span {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

body[data-partner="CLARITY-PARTNERDEMO"] .partner-badge-logo {
  height: 28px;
  /* CSS Filter to turn the image into var(--delato-gold) #b89d5e */
  filter: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1015%)
    hue-rotate(6deg) brightness(93%) contrast(87%);
  opacity: 1;
}

/* ── Footer ── */
body[data-partner="CLARITY-PARTNERDEMO"] .landing-trust {
  font-size: 0.82rem;
  opacity: 0.7;
  font-weight: 400;
  max-width: 320px;
  line-height: 1.55;
  color: #475569;
}

body[data-partner="CLARITY-PARTNERDEMO"] .landing-footer {
  text-align: center;
}

/* ============================================================
   BUYER POSITION SCREEN
   ============================================================ */

/* Show branded header for Delato */
body[data-partner="CLARITY-PARTNERDEMO"] .bp-brand-header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-brand-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 12px;
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-brand-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #94a3b8;
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-brand-clarity {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--clarity-green);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-brand-clarity .cl-icon {
  font-size: 1rem;
}

/* Unified BP Wrapper */
body[data-partner="CLARITY-PARTNERDEMO"] .bp-unified-wrapper {
  background: var(--delato-navy);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(2, 34, 79, 0.08);
}

/* Buyer Position Header → inside unified wrapper */
body[data-partner="CLARITY-PARTNERDEMO"] .buyer-position-header {
  background: transparent;
  color: #ffffff;
  padding: 2.5rem 2rem 1.5rem;
  margin-bottom: 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}

/* Decorative Gold Circles */
body[data-partner="CLARITY-PARTNERDEMO"] .buyer-position-header::before {
  content: "";
  position: absolute;
  top: -45px;
  right: -25px;
  width: 120px;
  height: 120px;
  background: var(--delato-gold);
  opacity: 0.5;
  border-radius: 50%;
  z-index: 1;
}

body[data-partner="CLARITY-PARTNERDEMO"] .buyer-position-header::after {
  content: "";
  position: absolute;
  top: 0px;
  right: -45px;
  width: 100px;
  height: 100px;
  background: var(--delato-gold);
  opacity: 0.7;
  border-radius: 50%;
  z-index: 1;
}

body[data-partner="CLARITY-PARTNERDEMO"] .buyer-position-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

/* Gold Line Under Heading */
body[data-partner="CLARITY-PARTNERDEMO"] .buyer-position-header h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: var(--delato-gold);
  border-radius: 2px;
  margin-top: 0.5rem;
}

body[data-partner="CLARITY-PARTNERDEMO"] .buyer-position-header p {
  position: relative;
  z-index: 2;
}

body[data-partner="CLARITY-PARTNERDEMO"] .buyer-position-header p {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

body[data-partner="CLARITY-PARTNERDEMO"]
  .buyer-position-header
  .bp-reassurance {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* Content Box → white card inside unified wrapper */
body[data-partner="CLARITY-PARTNERDEMO"] .bp-content-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  margin: 0 1.25rem 1.25rem; /* Leaves navy edges */
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-field {
  border-radius: 10px;
  border-color: #e5e0d8;
  padding: 1rem 1.25rem;
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-field:focus-within {
  border-color: var(--delato-gold);
  box-shadow: 0 0 0 3px rgba(184, 157, 94, 0.1);
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-field select {
  border-radius: 8px;
  border-color: #e5e0d8;
  font-weight: 400;
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-field select:focus {
  border-color: var(--delato-gold);
}

/* Toggle buttons: vertical layout with icons */
body[data-partner="CLARITY-PARTNERDEMO"] .bp-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--delato-gold);
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-toggle-btn {
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 0.5rem;
  border-radius: 10px;
  border-color: #e5e0d8;
  min-height: 72px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #475569;
  transition: all 0.25s ease;
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-toggle-btn:hover {
  border-color: var(--delato-gold);
  color: var(--delato-navy);
  background: var(--delato-cream-light);
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-toggle-btn.active {
  background: var(--delato-cream);
  border-color: var(--delato-gold);
  color: var(--delato-navy);
  font-weight: 600;
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-toggle-btn.active .bp-btn-icon {
  color: var(--delato-navy);
}

/* Continue button: gold */
body[data-partner="CLARITY-PARTNERDEMO"] .bp-continue-btn {
  background: var(--delato-gold);
  color: #ffffff;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 4px 16px rgba(184, 157, 94, 0.3);
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-continue-btn:hover {
  background: #c8ac6a;
  box-shadow: 0 8px 24px rgba(184, 157, 94, 0.4);
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-skip-link:hover {
  color: var(--delato-gold);
}

body[data-partner="CLARITY-PARTNERDEMO"] .bp-footer .clarity-word {
  color: var(--clarity-green);
}

/* ============================================================
   TRANSITION SCREEN
   ============================================================ */

body[data-partner="CLARITY-PARTNERDEMO"] .screen-transition {
  position: relative;
  overflow: hidden;
}

/* Decorative warm organic shape */
body[data-partner="CLARITY-PARTNERDEMO"] .screen-transition::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -40px;
  width: 280px;
  height: 280px;
  background: radial-gradient(
    ellipse at 60% 40%,
    var(--delato-cream) 0%,
    rgba(184, 157, 94, 0.15) 50%,
    transparent 70%
  );
  border-radius: 50% 50% 30% 70% / 40% 60% 50% 50%;
  pointer-events: none;
  z-index: 0;
}

body[data-partner="CLARITY-PARTNERDEMO"] .transition-content {
  position: relative;
  z-index: 1;
}

/* Logo bar: vertically stacked */
body[data-partner="CLARITY-PARTNERDEMO"] .transition-logo-bar {
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

body[data-partner="CLARITY-PARTNERDEMO"] .transition-clarity-tag {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 12px;
}

body[data-partner="CLARITY-PARTNERDEMO"] .transition-partner-logo {
  height: 38px;
}

body[data-partner="CLARITY-PARTNERDEMO"] .transition-clarity-tag {
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
}

body[data-partner="CLARITY-PARTNERDEMO"]
  .transition-clarity-tag
  span:first-child {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #94a3b8;
}

body[data-partner="CLARITY-PARTNERDEMO"]
  .transition-clarity-tag
  .clarity-name {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--clarity-green);
}

/* Transition hero box: navy card */
body[data-partner="CLARITY-PARTNERDEMO"] .transition-hero-box {
  background: var(--delato-navy);
  color: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  margin-bottom: 1rem;
  text-align: left;
}

body[data-partner="CLARITY-PARTNERDEMO"] .transition-headline {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-align: left;
  line-height: 1.2;
}

body[data-partner="CLARITY-PARTNERDEMO"] .transition-headline::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: var(--delato-gold);
  border-radius: 2px;
  margin-top: 0.5rem;
}

body[data-partner="CLARITY-PARTNERDEMO"] .transition-headline .heart {
  color: var(--delato-gold);
  opacity: 0.7;
}

body[data-partner="CLARITY-PARTNERDEMO"] .transition-subtitle {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}

body[data-partner="CLARITY-PARTNERDEMO"]
  .transition-hero-box
  .transition-subtitle[style*="italic"] {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Transition content box */
body[data-partner="CLARITY-PARTNERDEMO"] .transition-content-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Action cards: warm cream backgrounds */
body[data-partner="CLARITY-PARTNERDEMO"] .action-card {
  background: #ffffff;
  border: 1px solid #e8e0d4;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}

body[data-partner="CLARITY-PARTNERDEMO"] .action-card:hover {
  border-color: var(--delato-gold);
  box-shadow: 0 4px 20px rgba(184, 157, 94, 0.12);
  transform: translateY(-2px);
}

body[data-partner="CLARITY-PARTNERDEMO"] .action-card-icon {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  min-width: 48px;
}

body[data-partner="CLARITY-PARTNERDEMO"] .action-card--talk .action-card-icon,
body[data-partner="CLARITY-PARTNERDEMO"]
  .action-card--type
  .action-card-icon {
  background: rgba(184, 157, 94, 0.2);
  color: var(--delato-gold);
}

body[data-partner="CLARITY-PARTNERDEMO"] .action-card-text h3 {
  font-weight: 600;
  color: var(--delato-navy);
}

body[data-partner="CLARITY-PARTNERDEMO"] .action-card-text p {
  color: #64748b;
  font-weight: 400;
}

body[data-partner="CLARITY-PARTNERDEMO"] .action-card-arrow {
  color: var(--delato-gold);
}

body[data-partner="CLARITY-PARTNERDEMO"]
  .action-card:hover
  .action-card-arrow {
  color: var(--delato-navy);
}

/* Control note */
body[data-partner="CLARITY-PARTNERDEMO"] .control-note {
  background: #ffffff;
  border: 1px solid #e8e0d4;
  border-radius: 16px;
}

body[data-partner="CLARITY-PARTNERDEMO"] .control-note-icon {
  color: var(--delato-gold);
}

body[data-partner="CLARITY-PARTNERDEMO"] .control-note h4 {
  color: var(--delato-navy);
  font-weight: 600;
}

body[data-partner="CLARITY-PARTNERDEMO"] .control-note p {
  color: #64748b;
  font-weight: 400;
}

body[data-partner="CLARITY-PARTNERDEMO"] .transition-footer .clarity-word {
  color: var(--clarity-green);
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */

body[data-partner="CLARITY-PARTNERDEMO"] .loading-spinner::before {
  border-color: #e5e0d8;
  border-top-color: var(--delato-gold);
}

body[data-partner="CLARITY-PARTNERDEMO"] .loading-headline {
  color: var(--delato-navy);
  font-weight: 600;
}

body[data-partner="CLARITY-PARTNERDEMO"] .loading-steps li.done {
  color: var(--delato-gold);
}

body[data-partner="CLARITY-PARTNERDEMO"]
  .loading-steps
  li.done
  .loading-step-icon {
  background: var(--delato-gold);
  color: #ffffff;
}

body[data-partner="CLARITY-PARTNERDEMO"]
  .loading-steps
  li.active
  .loading-step-icon {
  background: var(--delato-cream);
  color: var(--delato-navy);
}

/* Unified Transition Wrapper */
body[data-partner="CLARITY-PARTNERDEMO"] .transition-unified-wrapper {
  background: var(--delato-navy);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(2, 34, 79, 0.08);
}

/* Transition Hero Box → inside unified wrapper */
body[data-partner="CLARITY-PARTNERDEMO"] .transition-hero-box {
  background: transparent !important;
  color: #ffffff;
  padding: 2.5rem 2rem 1.5rem;
  margin-bottom: 0;
  text-align: left;
}

body[data-partner="CLARITY-PARTNERDEMO"] .transition-headline {
  color: #ffffff !important;
}

body[data-partner="CLARITY-PARTNERDEMO"] .transition-subtitle {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Transition Content Box → white card inside unified wrapper */
body[data-partner="CLARITY-PARTNERDEMO"] .transition-content-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  margin: 0 1.25rem 1.25rem; /* Leaves navy edges */
}

/* Action Card Icon → inverted circle like feat-icon */
body[data-partner="CLARITY-PARTNERDEMO"] .action-card-icon {
  background: var(--delato-gold) !important;
  color: #ffffff !important;
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Control Note Icon → inverted circle like feat-icon */
body[data-partner="CLARITY-PARTNERDEMO"] .control-note-icon {
  background: var(--delato-gold) !important;
  color: #ffffff !important;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   RESPONSIVE  Delato
   ============================================================ */
@media (max-width: 480px) {
  body[data-partner="CLARITY-PARTNERDEMO"] .landing-headline {
    font-size: 1.9rem;
  }

  body[data-partner="CLARITY-PARTNERDEMO"] .buyer-position-header h2 {
    font-size: 1.7rem;
  }

  body[data-partner="CLARITY-PARTNERDEMO"] .transition-headline {
    font-size: 1.7rem;
  }

  body[data-partner="CLARITY-PARTNERDEMO"] .bp-toggle-btn {
    min-height: 65px;
    padding: 0.7rem 0.4rem;
  }

  body[data-partner="CLARITY-PARTNERDEMO"] .landing-hero-box,
  body[data-partner="CLARITY-PARTNERDEMO"] .landing-content-box,
  body[data-partner="CLARITY-PARTNERDEMO"] .buyer-position-header,
  body[data-partner="CLARITY-PARTNERDEMO"] .bp-form,
  body[data-partner="CLARITY-PARTNERDEMO"] .transition-hero-box {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
  }

  body[data-partner="CLARITY-PARTNERDEMO"] .partner-badge {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
  }

  body[data-partner="CLARITY-PARTNERDEMO"] .partner-badge-logo {
    content: url("assets/Delato Finance Small.png");
    height: 32px;
    width: auto;
    filter: none !important; /* The small logo is already gold */
  }
}

@media (min-width: 768px) {
  body[data-partner="CLARITY-PARTNERDEMO"] .landing-headline {
    font-size: 2.8rem;
  }

  body[data-partner="CLARITY-PARTNERDEMO"] .buyer-position-header h2 {
    font-size: 2.3rem;
  }
}
