/*
 * Shared MissGPT text contrast layer.
 * Shared color treatment plus lighter display names.
 * Sizes, spacing, and layout stay intact.
 */
@font-face{
  font-family:"Neue Montreal Safari";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("/fonts/Neue%20Montreal/woff2/PPNeueMontreal-Regular.woff2") format("woff2");
}
@font-face{
  font-family:"Neue Montreal Safari";
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url("/fonts/Neue%20Montreal/woff2/PPNeueMontreal-Medium.woff2") format("woff2");
}
@font-face{
  font-family:"Neue Montreal Safari";
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url("/fonts/Neue%20Montreal/woff2/PPNeueMontreal-Semibold.woff2") format("woff2");
}

html[data-mg-safari]{
  --font-sans:"Neue Montreal Safari",sans-serif;
}

html[data-mg-safari].missgpt-ios-app.missgpt-native-pricing{
  --font:"Neue Montreal Safari",sans-serif;
}

html[data-mg-safari] .font-medium{
  font-weight:500;
  -webkit-text-stroke:.45px currentColor;
}

html[data-mg-safari] #work h2.font-medium{
  font-weight:400;
  -webkit-text-stroke:0;
}

html[data-mg-safari] .missgpt-profile-copy h1,
html[data-mg-safari] footer .missgpt-footer-wordmark{
  -webkit-text-stroke:0;
}

:root{
  --mg-text-primary:#12110f;
  --mg-text-secondary:rgba(18,17,15,.78);
  --mg-text-quiet:rgba(18,17,15,.68);
  --mg-text-on-dark-secondary:rgba(255,250,244,.84);
  --mg-text-on-dark-quiet:rgba(255,250,244,.74);
  --muted:var(--mg-text-secondary);
}

/* Assistant profiles */
.missgpt-profile-copy h1{
  font-weight:320!important;
}

.missgpt-back,
.missgpt-eyebrow,
.missgpt-mini-card span,
.missgpt-detail-kicker{
  color:var(--mg-text-quiet)!important;
}

.missgpt-slogan{
  color:rgba(18,17,15,.88)!important;
}

.missgpt-lead,
.missgpt-mini-card p,
.missgpt-skills span,
.missgpt-detail-section p:not(.missgpt-message p),
.missgpt-proof-card span{
  color:var(--mg-text-secondary)!important;
}

.missgpt-message span{
  color:var(--mg-text-on-dark-quiet)!important;
}

.missgpt-showcase-card figcaption p{
  color:var(--mg-text-on-dark-secondary)!important;
}

footer .missgpt-footer-wordmark{
  font-weight:300!important;
}

/* Chat shell, history, and sign-in */
.missgpt-chat-title,
.missgpt-chat-side-note,
.missgpt-chat-current span,
.missgpt-chat-status,
.missgpt-chat-suggestion,
.missgpt-chat-footnote,
.missgpt-chat-history-kicker,
.missgpt-chat-history-item span,
.missgpt-chat-history-item small,
.missgpt-chat-history-empty,
.missgpt-chat-history-foot span,
.missgpt-chat-history-clear,
.missgpt-auth-chip,
.missgpt-auth-card p,
.missgpt-auth-footer{
  color:var(--mg-text-secondary)!important;
}

.missgpt-chat-input::placeholder{
  color:var(--mg-text-quiet)!important;
  opacity:1;
}

.missgpt-auth-card h2{
  font-weight:430!important;
}

.missgpt-account-menu-user small,
.missgpt-account-menu-item small,
.missgpt-account-row p,
.missgpt-account-status{
  color:rgba(247,243,238,.76)!important;
}

/* Pricing and plan details */
.pricing-kicker,
.section-kicker,
.plan-label,
.plan-model,
.refill span,
.usage-note span{
  color:var(--mg-text-quiet)!important;
}

.pricing-nav a,
.plan-text,
.plan-price span,
.plan-limit,
.plan li,
.pricing-payment-status,
.section-title p,
.refill p,
.usage-card p,
.usage-list li,
.usage-note p,
.faq-item p,
.pricing-footer{
  color:var(--mg-text-secondary)!important;
}

.plan.is-featured .plan-label,
.plan.is-featured .plan-model,
.plan.is-featured .plan-text,
.plan.is-featured .plan-price span,
.plan.is-featured .plan-limit,
.plan.is-featured li,
.usage-card.is-dark p,
.usage-card.is-dark li{
  color:var(--mg-text-on-dark-secondary)!important;
}

/* Legal and informational pages use the same muted token without changing type. */
.terms-meta,
.terms-lead,
.terms-toc a,
.terms-section p,
.terms-section li,
.legal-meta,
.legal-lead,
.legal-toc a,
.legal-section p,
.legal-section li{
  color:var(--mg-text-secondary)!important;
}
