/* ARIFE v116 — readable supporting type + compact enterprise license layout */
:root{
  --arife-copy-min:12px;
  --arife-caption-min:10px;
  --arife-ui-copy-min:9px;
}

/* Keep secondary copy readable across public, account, market and tool pages. */
body{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
main :where(p,[class*="-description"],[class*="-lead"],[class*="-summary"],[class*="-note"],[class*="-hint"]){
  font-size:max(var(--arife-copy-min),1em);
  line-height:1.55;
}
main small{
  font-size:max(var(--arife-caption-min),.82em);
  line-height:1.48;
}
main label,
main :where(dt,dd){
  font-size:max(var(--arife-caption-min),1em);
  line-height:1.42;
}

/* Dense production tools need a slightly smaller floor, but never micro type. */
:is(.studio-page,.motion-transfer-page,.depth-extractor-page,.film-page,.image-studio-page) main :where(p,small,label,dt,dd){
  font-size:max(var(--arife-ui-copy-min),1em);
  line-height:1.48;
}

/* Motion node canvas: improve the empty state, ports, cards and inspector copy. */
.motion-transfer-page .motion-empty-state{
  width:min(390px,72%);
  padding:21px 24px;
}
.motion-transfer-page .motion-empty-state strong{
  font-size:12px!important;
  line-height:1.5!important;
  word-break:keep-all;
}
.motion-transfer-page .motion-empty-state small{
  margin-top:8px!important;
  color:#8e9ba5!important;
  font-size:12px!important;
  line-height:1.5!important;
  word-break:keep-all;
}
.motion-transfer-page .motion-final-inputs span{
  width:132px!important;
  font-size:11px!important;
  line-height:1.35!important;
}
.motion-transfer-page :is(.motion-node-menu>button span em,.generator-node-copy small,.selection-preview small,.motion-model-option-copy>small,.motion-model-option-copy>em,.motion-project-open small,.motion-project-empty,.motion-output-settings>p){
  color:#a3adb4!important;
  font-size:12px!important;
  line-height:1.5!important;
}
.motion-transfer-page :is(.motion-node-menu>button span strong,.generator-node-copy strong,.motion-project-open strong){
  font-size:12px!important;
  line-height:1.4!important;
}
.motion-transfer-page :is(.selection-generator-prompt>span,.selection-generator-options label span,.motion-selection-inspector dt){
  font-size:12px!important;
}
.motion-transfer-page .motion-selection-inspector dd{
  font-size:12px!important;
  line-height:1.45!important;
}
.motion-transfer-page .selection-generator-prompt textarea,
.motion-transfer-page .selection-generator-options select{
  font-size:12px!important;
}
.motion-transfer-page .motion-inspector-head small,
.motion-transfer-page .motion-selection-inspector>header small{
  font-size:11px!important;
}

/* Depth, AI Studio, Image and Film panels: stronger supporting text contrast. */
:is(.depth-extractor-page,.studio-page,.image-studio-page,.film-page) main :where(small,p,[class*="hint"],[class*="description"],[class*="meta"]){
  color:color-mix(in srgb,currentColor 88%,#dfe7eb 12%);
}

/* Enterprise license: calmer scale, tighter rhythm and clearer descriptions. */
.enterprise-v109 .enterprise-shell{
  width:min(1280px,calc(100% - 52px));
}
.enterprise-v109 .enterprise-hero-v109{
  padding:52px 0 46px;
}
.enterprise-v109 .enterprise-hero-grid{
  grid-template-columns:minmax(0,1.08fr) minmax(390px,.72fr);
  gap:42px;
}
.enterprise-v109 .enterprise-hero h1{
  max-width:760px;
  font-size:clamp(44px,5vw,72px);
  line-height:.97;
}
.enterprise-v109 .enterprise-lead{
  max-width:660px;
  margin-top:20px;
  font-size:14px;
  line-height:1.7;
}
.enterprise-v109 .enterprise-actions{margin-top:22px}
.enterprise-v109 .enterprise-hero-notes{margin-top:19px}
.enterprise-license-console{
  padding:17px;
  border-radius:23px;
}
.enterprise-console-head{padding:2px 3px 13px}
.enterprise-console-head small,
.enterprise-console-data small{
  font-size:12px;
}
.enterprise-console-visual{
  height:205px;
  border-radius:18px;
}
.enterprise-console-orb{width:124px}
.enterprise-console-visual>span{font-size:12px}
.enterprise-console-data article{padding:10px 12px}
.enterprise-license-console>p{
  margin-top:11px;
  font-size:11px;
}
.enterprise-proof-strip article{
  min-height:84px;
  gap:12px;
  padding:15px 17px;
}
.enterprise-proof-strip span{
  font-size:11px;
  line-height:1.45;
}
.enterprise-v109 .enterprise-catalog{
  padding:54px 0 70px;
}
.enterprise-v109 .enterprise-heading{
  margin-bottom:20px;
}
.enterprise-v109 .enterprise-heading h2{
  font-size:clamp(32px,3.5vw,50px);
  line-height:1;
}
.enterprise-heading-note{
  padding:14px 16px;
  border-radius:15px;
}
.enterprise-heading-note>span,
.enterprise-heading-note p{font-size:11px}
.enterprise-heading-note>strong{font-size:21px}
.enterprise-v109 .enterprise-filterbar{
  margin-bottom:17px;
  padding:10px;
  border-radius:17px;
}
.enterprise-v109 .enterprise-filterbar .enterprise-tags button{
  min-height:38px;
}
.enterprise-v109 .enterprise-license-card{
  border-radius:20px;
}
.enterprise-v109 .enterprise-license-card.is-featured{
  min-height:420px;
  grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);
}
.enterprise-v109 .enterprise-license-card.is-featured .enterprise-preview{
  min-height:255px;
}
.enterprise-v109 .enterprise-license-card__body,
.enterprise-v109 .enterprise-license-card.is-featured .enterprise-license-card__body{
  padding:25px;
}
.enterprise-v109 .enterprise-license-card h3{
  font-size:clamp(23px,1.8vw,30px);
}
.enterprise-v109 .enterprise-license-card__description{
  font-size:14px;
  line-height:1.62;
}
.enterprise-v109 .enterprise-license-card__meta span,
.enterprise-v109 .enterprise-license-card__rights{
  font-size:11px;
}
.enterprise-contract-v109{
  padding:56px 0 68px;
}
.enterprise-contract-head{
  gap:34px;
  margin-bottom:22px;
}
.enterprise-contract-head h2{
  font-size:clamp(32px,3.6vw,52px);
  line-height:1;
}
.enterprise-contract-head>p{
  max-width:440px;
  font-size:14px;
}
.enterprise-contract-steps li{
  min-height:214px;
  padding:16px;
  border-radius:18px;
}
.enterprise-step-shape{
  width:68px;
  margin:10px auto 18px;
}
.enterprise-contract-steps small{font-size:12px}
.enterprise-contract-steps strong{font-size:16px}
.enterprise-contract-steps p{font-size:12px}
.enterprise-contract-cta{
  margin-top:14px;
  padding:20px 22px;
  border-radius:19px;
}
.enterprise-contract-cta small{font-size:12px}
.enterprise-contract-cta p{font-size:11px}

@media(max-width:1180px){
  .enterprise-v109 .enterprise-hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(360px,.72fr);
    gap:30px;
  }
}
@media(max-width:900px){
  .enterprise-v109 .enterprise-shell{width:min(100% - 34px,1280px)}
  .enterprise-v109 .enterprise-hero-grid{grid-template-columns:1fr}
  .enterprise-v109 .enterprise-license-card.is-featured{grid-template-columns:1fr}
  .enterprise-v109 .enterprise-license-card.is-featured .enterprise-preview{min-height:260px}
}
@media(max-width:680px){
  :root{--arife-copy-min:12px;--arife-caption-min:10px}
  .enterprise-v109 .enterprise-shell{width:min(100% - 24px,1280px)}
  .enterprise-v109 .enterprise-hero-v109{padding:38px 0 34px}
  .enterprise-v109 .enterprise-hero h1{font-size:clamp(39px,12vw,56px)}
  .enterprise-proof-strip article{min-height:76px}
  .enterprise-v109 .enterprise-catalog{padding:42px 0 56px}
  .enterprise-contract-v109{padding:44px 0 54px}
  .enterprise-contract-steps li{min-height:190px}
}
