/* MeetPlanHub design rotate — locked library chrome, domain tokens.
   No box-shadow, no gradients. Google fonts via --font-sans / --font-display. */

body {
  background: #fff;
  color: var(--ink);
  font-family: var(--font-sans);
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

/* —— Header: loadfast-store-header (sand bar, logo + nav left, ink CTA right) —— */
.site-header {
  background: var(--header-sand);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}

.site-header__brand img {
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.site-header__nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
}

.site-header__nav a:hover,
.site-header__nav a.is-active {
  color: var(--ink);
}

.site-header__desktop-auth {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-right: 0.35rem;
}

.header-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem 0.2rem;
}

.btn--ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
}

.btn--ink:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

.btn--light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--ink);
  border: 1px solid #fff;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font-weight: 600;
  font-family: var(--font-sans);
}

.btn--ghost {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-weight: 600;
  font-family: var(--font-sans);
  gap: 0.35rem;
}

@media (min-width: 1024px) {
  .site-header__desktop-auth { display: flex; }
  .profile-auth { display: none; }
}

/* —— Hero: liveblocks-notifications-hero (centered badge, dual CTA, two cards) —— */
.mph-hero {
  padding: 3.5rem 0 4rem;
  background: #fff;
  text-align: center;
}

.mph-hero__badge {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-sans);
}

.mph-hero h1 {
  margin: 0 auto 1.25rem;
  max-width: 16ch;
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  font-weight: 650;
  line-height: 1.05;
  color: var(--ink);
}

.mph-hero__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.mph-hero__chips {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin: 0 0 2.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  flex-wrap: wrap;
}

.mph-hero__chips span { display: inline-flex; align-items: center; gap: 0.4rem; }

.mph-hero__grid {
  display: grid;
  gap: 1.25rem;
  text-align: left;
}

@media (min-width: 860px) {
  .mph-hero__grid { grid-template-columns: 1fr 1fr; }
}

.mph-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1.2rem;
}

.mph-card h3 { margin: 0 0 0.35rem; font-family: var(--font-sans); font-size: 1.05rem; }

.mph-card__meta { margin: 0 0 0.85rem; color: var(--muted); font-size: 0.8rem; }

.mph-note {
  background: var(--primary-tint);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  margin: 0.75rem 0;
}

.mph-note strong { display: block; font-size: 0.9rem; }
.mph-note p { margin: 0.25rem 0 0; font-size: 0.9rem; color: var(--ink); }

.mph-row {
  display: flex;
  gap: 0.65rem;
  padding: 0.55rem 0.2rem;
  border-bottom: 1px solid var(--line);
}
.mph-row:last-child { border-bottom: 0; opacity: 0.72; }

.mph-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.mph-row p { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.88rem; }
.mph-time { color: var(--primary); font-size: 0.75rem; font-weight: 600; margin-left: 0.4rem; }

.mph-card .btn--ink { width: 100%; margin-top: 0.35rem; }

/* —— Features: loops-so-feature-4 —— */
.mph-features {
  padding: 4.5rem 0;
  background: #fafaf9;
}

.mph-kicker {
  display: block;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.mph-features h2,
.mph-about h2,
.mph-cta h2 {
  text-align: center;
  margin: 0 0 1.5rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 650;
}

.mph-photo {
  width: min(100%, 920px);
  margin: 0 auto 1.75rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
}

.mph-photo img { width: 100%; height: 100%; object-fit: cover; }

.mph-feature-grid {
  display: grid;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 860px) {
  .mph-feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.mph-feature {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.2rem 1.35rem;
}

.mph-feature__plus {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  color: #9aa0a6;
  font-size: 1.25rem;
  line-height: 1;
}

.mph-feature__icon {
  height: 7.5rem;
  display: grid;
  place-items: center;
  color: var(--primary);
}

.mph-feature h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
}

.mph-feature p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

/* —— How it works: conductor numbered column —— */
.mph-path {
  background: #141414;
  color: #fafafa;
  padding: 4.25rem 0;
}

.mph-path h2 {
  margin: 0 0 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  color: #fafafa;
  letter-spacing: 0;
}

.mph-path ol { max-width: 40rem; margin: 0 auto; padding: 0; list-style: none; }
.mph-path li { display: flex; gap: 0.85rem; margin: 0 0 1.35rem; font-family: var(--font-sans); font-size: 0.95rem; }
.mph-path .num { color: #8b8494; min-width: 1.4rem; }
.mph-path strong { color: #fff; }
.mph-path p { margin: 0.2rem 0 0; color: #c4b8d4; }

/* —— About: typography-layout-course —— */
.mph-about {
  padding: 4.5rem 0;
  background: var(--ink);
  color: #fff;
}

.mph-about__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .mph-about__grid { grid-template-columns: 0.85fr 1.15fr; gap: 3rem; }
}

.mph-about__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #2a2033;
}

.mph-about__photo img { width: 100%; height: 100%; object-fit: cover; }

.mph-about__label {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cbb8de;
}

.mph-about__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #cbb8de;
  margin: 0 0 0.6rem;
}

.mph-about h2 {
  text-align: left;
  margin: 0 0 1rem;
  font-style: italic;
  font-weight: 650;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.05;
  color: #fff;
}

.mph-about p { color: #ddd0e8; font-size: 1rem; line-height: 1.65; }
.mph-about .emph { color: #fff; }

.mph-caps {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #3a2d48;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

/* —— Pricing: datafa two-column cards on dark band —— */
.mph-pricing {
  background: #1a1a1a;
  color: #fff;
  padding: 4.25rem 0;
}

.mph-pricing h2 {
  text-align: center;
  margin: 0 0 1.25rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.mph-pill {
  display: table;
  margin: 0 auto 1.5rem;
  border: 1px solid #4b5563;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  color: #d1d5db;
  font-size: 0.88rem;
}

.mph-price-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .mph-price-grid { grid-template-columns: 1fr 1fr; }
}

.mph-price {
  background: #242424;
  border: 1px solid #3f3f46;
  border-radius: 12px;
  padding: 1.4rem 1.35rem;
}

.mph-price__name {
  color: #9ca3af;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
}

.mph-price__amount {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  font-family: var(--font-sans);
}

.mph-price__amount span { font-size: 1rem; color: #9ca3af; font-weight: 500; }

.mph-price ul { margin: 1rem 0 1.15rem; }
.mph-price li { display: flex; gap: 0.5rem; margin: 0 0 0.55rem; color: #fff; font-size: 0.95rem; }
.mph-price li::before { content: "✓"; color: #A347E1; font-weight: 700; }

.mph-price .btn--ink { background: var(--primary); border-color: var(--primary); width: 100%; }
.mph-price .btn--ink:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.mph-price .fine { margin: 0.65rem 0 0; text-align: center; color: #9ca3af; font-size: 0.88rem; }

/* —— CTA: clerk split card, solid tint, mark instead of glow —— */
.mph-cta { padding: 4rem 0; background: #fff; }

.mph-cta__card {
  display: grid;
  gap: 1.5rem;
  background: var(--primary-tint);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  padding: 2rem 1.4rem;
}

@media (min-width: 860px) {
  .mph-cta__card {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 2.5rem 2.25rem;
  }
}

.mph-cta h2 { text-align: left; margin: 0 0 0.7rem; max-width: 16ch; }
.mph-cta p { margin: 0 0 1.1rem; color: var(--muted); max-width: 36rem; line-height: 1.55; }
.mph-cta strong { color: var(--ink); font-weight: 650; }

.mph-cta__media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: #fff;
}

.mph-cta__media img { width: 100%; height: 100%; object-fit: cover; }

/* —— Contact: incab narrow form —— */
.mph-contact {
  background: #F5F7F6;
  padding: 4.25rem 0 4.75rem;
}

.mph-contact__inner { max-width: 36rem; margin: 0 auto; }

.mph-contact h2 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  color: #2D3B41;
}

.mph-contact .lead { margin: 1rem 0 1.4rem; color: #637077; font-size: 0.95rem; }

.mph-contact .user-input,
.mph-contact textarea {
  width: 100%;
  border: 1px solid #CACECE;
  background: #fff;
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: #2D3B41;
  margin-bottom: 0.75rem;
}

.mph-contact .user-input:focus,
.mph-contact textarea:focus {
  outline: 2px solid var(--primary);
  border-color: var(--primary);
}

.mph-contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.4rem;
}

.mph-contact__row a { font-size: 0.8rem; color: #6b7280; text-decoration: underline; }

/* —— FAQ chrome: cap-so panel, locked list shape —— */
.mph-faq { padding: 4.5rem 0; background: #fff; }
.mph-faq h2 { text-align: center; margin: 0 0 1.5rem; font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 550; }

.faq-items,
.mph-faq .faq-items,
.mph-faq ul.faq-items[data-locked-faq] {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 0.4rem 1.4rem 0.6rem;
}

.faq-items li { border-bottom: 1px solid #e5e7eb; padding: 1.15rem 0; }
.faq-items li:last-child { border-bottom: 0; }
.faq-items h3 { margin: 0 0 0.45rem; font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.faq-items .answer, .faq-items .answer p { color: var(--muted); font-size: 0.98rem; line-height: 1.6; }
.faq-items .answer p { margin: 0 0 0.7rem; }
.faq-items table { width: 100%; border-collapse: collapse; margin: 0.6rem 0 0.8rem; }
.faq-items th, .faq-items td { border: 1px solid var(--line); padding: 0.55rem 0.7rem; text-align: left; color: var(--ink); }
.faq-items th { background: var(--primary-tint); }

/* —— Footer: footer-teamway cream columns + dark trust bar —— */
.site-footer { background: var(--cream); color: var(--ink); }
.site-footer__main { background: transparent; }
.site-footer__headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 550;
  margin: 0 0 1.5rem;
  color: #111;
}
.site-footer a { color: #444; }
.site-footer a:hover { color: var(--primary-dark); }
.site-footer h3,
.site-footer__col h3 { color: #111; font-family: var(--font-sans); }
.site-footer__brand p {
  color: #444;
}
.site-footer__col a {
  color: #444;
}
.site-footer__contact a,
.site-footer__contact p {
  color: #444;
}
.site-footer__trust {
  color: #444;
}
.site-footer__trust .encryption {
  color: #444;
}
.site-footer__trust .encryption img {
  filter: none;
  opacity: 1;
}
.site-footer__copy { background: var(--primary-dark); color: #fff; }
.site-footer__copy p, .site-footer__copy a { color: #fff; }
.footer-logo-link img { height: 42px; width: auto; max-width: 220px; object-fit: contain; background: transparent; }

.site-footer__jump {
  display: grid;
  gap: 0.35rem 2rem;
  margin: 0 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e0ddd8;
}
@media (min-width: 800px) {
  .site-footer__jump { grid-template-columns: 1fr 1fr 1fr; }
}
.site-footer__jump a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  color: #111;
  font-weight: 600;
}

/* —— Welcome recipe D —— */
#welcomeModal.modal-overlay.open,
#welcomeModal.modal-overlay.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  z-index: 10000;
  padding: 1.25rem;
}
#welcomeModal .welcome-card--footer-cta {
  width: min(22rem, 100%);
  max-width: 22rem;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-sans);
  text-align: center;
}
#welcomeModal .welcome-top { background: var(--primary); color: #fff; padding: 1.5rem 1.25rem 1.25rem; }
#welcomeModal .welcome-badge {
  width: 2rem; height: 2rem; margin: 0 auto 0.85rem; border-radius: 0.4rem;
  background: #fff; color: var(--primary); display: flex; align-items: center; justify-content: center;
}
#welcomeModal .welcome-top h3 { margin: 0 0 0.5rem; color: #fff; font-size: 1.15rem; font-family: var(--font-display); }
#welcomeModal .welcome-top__lead { margin: 0; color: #fff; font-size: 0.9rem; line-height: 1.45; }
#welcomeModal .welcome-bottom { padding: 1.15rem 1.25rem 1.35rem; text-align: left; }
#welcomeModal .welcome-consent { margin: 0 0 1rem; color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
#welcomeModal .welcome-bottom a { color: var(--primary); }
#welcomeModal .welcome-actions { text-align: center; }
#welcomeModal .welcome-actions .btn { min-width: 8rem; }

/* —— Auth photo split —— */
.auth-stage--photo-split {
  padding: 2rem 1rem 3rem;
  background: var(--primary-tint);
}
.auth-split {
  display: grid;
  width: min(100%, 64rem);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.auth-split__media {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  min-height: 16rem;
  padding: 1.5rem;
  color: #fff;
  background-color: var(--primary-dark);
  background-image: var(--auth-split-img);
  background-size: cover;
  background-position: center;
}
.auth-split__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 16, 36, 0.55);
}
.auth-split__logo {
  position: relative; z-index: 1; height: 42px; width: auto; margin: 0 auto;
  background: transparent; object-fit: contain;
}
.auth-split__copy { position: relative; z-index: 1; text-align: center; align-self: center; }
.auth-split__eyebrow { margin: 0 0 0.4rem; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; }
.auth-split__title { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); color: #fff; }
.auth-split__title span { display: block; margin-top: 0.45rem; font-family: var(--font-sans); font-size: 1rem; font-weight: 400; }
.auth-split__policies { position: relative; z-index: 1; margin: 0; text-align: center; font-size: 0.85rem; }
.auth-split__policies a { color: #fff; text-decoration: underline; }
.auth-split__panel { padding: 1.5rem 1.35rem 1.75rem; }
.auth-split__form-title { margin: 0 0 0.75rem; font-family: var(--font-display); }
.auth-split .user-input {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--line);
  padding: 0.55rem 0;
  font: inherit;
  background: transparent;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.auth-split .user-input:focus { outline: none; border-bottom-color: var(--primary); }
.auth-split__actions { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; }
.auth-text-btn { border: 0; background: none; color: var(--ink); text-decoration: underline; cursor: pointer; font: inherit; }
.signup-pricing-box { margin: 0 0 1rem; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
@media (min-width: 1024px) {
  .auth-split { grid-template-columns: 1fr 1fr; }
  .auth-split__media { min-height: 32rem; }
}

/* login modal photo-split tone */
.modal-overlay.open { display: flex !important; }
.modal {
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-sans);
}
.modal h3 { font-family: var(--font-display); }
.auth-submit, .btn--primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}
.auth-submit:hover, .btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

/* —— Policy curve hero —— */
.policy-hero--curve {
  position: relative;
  width: 100%;
  min-height: 16rem;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background-color: var(--primary-dark);
  background-image: var(--policy-hero-image);
  background-size: cover;
  background-position: center;
  border-radius: 0 0 50% 50% / 18%;
}
.policy-hero--curve .policy-hero__overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem clamp(3.5rem, 8vw, 5rem);
  background: color-mix(in srgb, var(--primary) 78%, transparent);
}
.policy-hero--curve h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
}
.policy-hero--curve .policy-hero__lead {
  margin: 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.55;
  color: #fff;
}
.policy-content, .wrap { font-family: var(--font-sans); font-size: 1rem; line-height: 1.65; color: var(--ink); }
.wrap, .policy-content { overflow-x: visible; max-width: 48rem; }
.wrap table, .policy-content table {
  width: 100%; max-width: 100%; min-width: 0; border-collapse: collapse;
  margin: 1rem 0 1.5rem; font-size: 15px; border: 1px solid var(--line); table-layout: fixed;
}
.wrap table th, .wrap table td, .policy-content table th, .policy-content table td {
  border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top;
  color: var(--ink); overflow-wrap: anywhere; min-width: 0;
}
.wrap table th, .policy-content table th { background: var(--primary-tint); font-weight: 700; }
.policy-content a:not([class*="btn"]):not(.policy-hero__cta),
.wrap a:not([class*="btn"]):not(.policy-hero__cta) {
  color: var(--primary-dark); font-weight: 700; text-decoration: underline;
}
@media (max-width: 1023px) {
  .wrap table, .policy-content table {
    display: block; width: 100%; min-width: 0; max-width: 100%; border: 0; table-layout: auto; font-size: 15px;
  }
}
@media (max-width: 600px) {
  .policy-hero--curve { border-radius: 0 0 40% 40% / 12%; min-height: 12rem; }
}

.page-panel, .factory-support, .support-cancel, .cancel-membership-section {
  font-family: var(--font-sans);
}
.factory-chat-now { color: #fff; }

/* inner pages */
.page-hero h1 { font-family: var(--font-display); }
